Searched refs:spec (Results 1 – 25 of 25) sorted by relevance
46 jlong timespecToMs(timespec spec) { in timespecToMs() argument47 return jlong(spec.tv_sec) * 1000 + spec.tv_nsec / 1000000; in timespecToMs()52 struct timespec spec; in createIntent() local53 clock_gettime(CLOCK_MONOTONIC, &spec); in createIntent()70 jlong timestamp = timespecToMs(spec); in createIntent()
58 event = Mock(spec=TestCaseEvent)68 event = Mock(spec=TestClassEvent)81 event = Mock(spec=TestClassBeginEvent)89 event = Mock(spec=TestClassBeginEvent)91 event2 = Mock(spec=TestClassEndEvent)101 event = Mock(spec=TestClassBeginEvent)103 event2 = Mock(spec=TestCaseBeginEvent)114 event = Mock(spec=TestClassBeginEvent)116 event2 = Mock(spec=TestCaseBeginEvent)119 event3 = Mock(spec=TestCaseEndEvent)
90 String spec, String description, Charset... additionalPwdEncodings) in getPasswords() argument141 if (spec.startsWith("pass:")) { in getPasswords()142 char[] pwd = spec.substring("pass:".length()).toCharArray(); in getPasswords()144 } else if (SPEC_STDIN.equals(spec)) { in getPasswords()165 } else if (spec.startsWith("file:")) { in getPasswords()166 String name = spec.substring("file:".length()); in getPasswords()181 } else if (spec.startsWith("env:")) { in getPasswords()182 String name = spec.substring("env:".length()); in getPasswords()191 throw new IOException("Unsupported password spec for " + description + ": " + spec); in getPasswords()
39 import java.security.spec.InvalidKeySpecException;40 import java.security.spec.PKCS8EncodedKeySpec;48 import javax.crypto.spec.PBEKeySpec;472 private static PrivateKey loadPkcs8EncodedPrivateKey(PKCS8EncodedKeySpec spec) in loadPkcs8EncodedPrivateKey() argument475 return KeyFactory.getInstance("RSA").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()479 return KeyFactory.getInstance("EC").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()483 return KeyFactory.getInstance("DSA").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()
117 spec = mock.MagicMock()118 spec.avd_type = constants.TYPE_GCE119 spec.instance_type = constants.INSTANCE_TYPE_REMOTE120 spec.image_source = constants.IMAGE_SRC_LOCAL121 self.Patch(avd_spec, "AVDSpec", return_value=spec)
49 mock_lte_sim = mock.Mock(spec=LteSimulation)62 self.test.unpack_userparams(simulation=mock.Mock(spec=LteSimulation),78 self.test.unpack_userparams(simulation=mock.Mock(spec=LteSimulation))
66 simulation=mock.Mock(spec=LteSimulation),78 spec=cmw.CMW500CellularSimulator)),
50 self.test.unpack_userparams(simulation=mock.Mock(spec=LteSimulation))
21 import java.security.spec.AlgorithmParameterSpec;22 import java.security.spec.MGF1ParameterSpec;23 import java.security.spec.PSSParameterSpec;
71 import java.security.spec.AlgorithmParameterSpec;72 import java.security.spec.InvalidKeySpecException;73 import java.security.spec.X509EncodedKeySpec;
200 void executeTestRun(ITestInvocationListener listener, String runName, String spec) in executeTestRun() argument202 listener.testRunStarted(runName, spec.length()); in executeTestRun()204 for (char c : spec.toCharArray()) { in executeTestRun()207 "Received unexpected test spec character '%c' in spec \"%s\"", c, spec)); in executeTestRun()
231 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)245 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)264 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)282 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)302 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)321 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)337 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)352 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
102 self.mod_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
228 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)242 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)261 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)279 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)299 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)318 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)334 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)349 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
99 self.mod_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
32 import java.security.spec.InvalidKeySpecException;33 import java.security.spec.PKCS8EncodedKeySpec;
32 *.spec
43 import java.security.spec.AlgorithmParameterSpec;44 import java.security.spec.X509EncodedKeySpec;
45 import java.security.spec.AlgorithmParameterSpec;46 import java.security.spec.X509EncodedKeySpec;
50 import java.security.spec.AlgorithmParameterSpec;51 import java.security.spec.X509EncodedKeySpec;
43 import java.security.spec.AlgorithmParameterSpec;
37 import java.security.spec.AlgorithmParameterSpec;
1021 sepc||spec
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...