Home
last modified time | relevance | path

Searched refs:opmode (Results 1 – 25 of 30) sorted by relevance

12

/external/lua/src/
Dlopcodes.c72 #define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m)) macro
76 opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */
77 ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */
78 ,opmode(0, 1, OpArgN, OpArgN, iABx) /* OP_LOADKX */
79 ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */
80 ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_LOADNIL */
81 ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_GETUPVAL */
82 ,opmode(0, 1, OpArgU, OpArgK, iABC) /* OP_GETTABUP */
83 ,opmode(0, 1, OpArgR, OpArgK, iABC) /* OP_GETTABLE */
84 ,opmode(0, 0, OpArgK, OpArgK, iABC) /* OP_SETTABUP */
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipherRSA.java170 void engineInitInternal(int opmode, Key key, AlgorithmParameterSpec spec) in engineInitInternal() argument
172 if (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE) { in engineInitInternal()
174 } else if (opmode == Cipher.DECRYPT_MODE || opmode == Cipher.UNWRAP_MODE) { in engineInitInternal()
177 throw new InvalidParameterException("Unsupported opmode " + opmode); in engineInitInternal()
239 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException { in engineInit() argument
241 engineInitInternal(opmode, key, null); in engineInit()
248 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
255 engineInitInternal(opmode, key, params); in engineInit()
259 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) in engineInit() argument
266 engineInitInternal(opmode, key, null); in engineInit()
[all …]
DOpenSSLCipher.java282 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException { in engineInit() argument
283 checkAndSetEncodedKey(opmode, key); in engineInit()
293 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
295 checkAndSetEncodedKey(opmode, key); in engineInit()
300 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) in engineInit() argument
303 engineInit(opmode, key, spec, random); in engineInit()
451 private byte[] checkAndSetEncodedKey(int opmode, Key key) throws InvalidKeyException { in checkAndSetEncodedKey() argument
452 if (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE) { in checkAndSetEncodedKey()
454 } else if (opmode == Cipher.DECRYPT_MODE || opmode == Cipher.UNWRAP_MODE) { in checkAndSetEncodedKey()
457 throw new InvalidParameterException("Unsupported opmode " + opmode); in checkAndSetEncodedKey()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLCipherRSA.java172 void engineInitInternal(int opmode, Key key, AlgorithmParameterSpec spec) in engineInitInternal() argument
174 if (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE) { in engineInitInternal()
176 } else if (opmode == Cipher.DECRYPT_MODE || opmode == Cipher.UNWRAP_MODE) { in engineInitInternal()
179 throw new InvalidParameterException("Unsupported opmode " + opmode); in engineInitInternal()
241 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException { in engineInit() argument
243 engineInitInternal(opmode, key, null); in engineInit()
250 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
257 engineInitInternal(opmode, key, params); in engineInit()
261 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) in engineInit() argument
268 engineInitInternal(opmode, key, null); in engineInit()
[all …]
DOpenSSLCipher.java285 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException { in engineInit() argument
286 checkAndSetEncodedKey(opmode, key); in engineInit()
296 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
298 checkAndSetEncodedKey(opmode, key); in engineInit()
303 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) in engineInit() argument
306 engineInit(opmode, key, spec, random); in engineInit()
454 private byte[] checkAndSetEncodedKey(int opmode, Key key) throws InvalidKeyException { in checkAndSetEncodedKey() argument
455 if (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE) { in checkAndSetEncodedKey()
457 } else if (opmode == Cipher.DECRYPT_MODE || opmode == Cipher.UNWRAP_MODE) { in checkAndSetEncodedKey()
460 throw new InvalidParameterException("Unsupported opmode " + opmode); in checkAndSetEncodedKey()
/external/u-boot/drivers/power/regulator/
Ds2mps11_regulator.c166 static int s2mps11_buck_mode(struct udevice *dev, int op, int *opmode) in s2mps11_buck_mode() argument
188 *opmode = OP_OFF; in s2mps11_buck_mode()
191 *opmode = OP_STANDBY; in s2mps11_buck_mode()
194 *opmode = OP_ON; in s2mps11_buck_mode()
202 switch (*opmode) { in s2mps11_buck_mode()
213 pr_err("Wrong mode: %d for buck: %d\n", *opmode, buck); in s2mps11_buck_mode()
425 static int s2mps11_ldo_mode(struct udevice *dev, int op, int *opmode) in s2mps11_ldo_mode() argument
446 *opmode = OP_OFF; in s2mps11_ldo_mode()
449 *opmode = OP_STANDBY; in s2mps11_ldo_mode()
452 *opmode = OP_STANDBY_LPM; in s2mps11_ldo_mode()
[all …]
Dmax77686.c412 static int max77686_ldo_mode(struct udevice *dev, int op, int *opmode) in max77686_ldo_mode() argument
419 *opmode = -EINVAL; in max77686_ldo_mode()
438 *opmode = ret; in max77686_ldo_mode()
443 switch (*opmode) { in max77686_ldo_mode()
493 pr_err("Wrong mode: %d for ldo%d", *opmode, ldo); in max77686_ldo_mode()
537 static int max77686_buck_mode(struct udevice *dev, int op, int *opmode) in max77686_buck_mode() argument
574 *opmode = ret; in max77686_buck_mode()
579 switch (*opmode) { in max77686_buck_mode()
614 pr_err("Wrong mode: %d for buck: %d\n", *opmode, buck); in max77686_buck_mode()
Dpfuze100.c314 static int pfuze100_regulator_mode(struct udevice *dev, int op, int *opmode) in pfuze100_regulator_mode() argument
330 *opmode = val; in pfuze100_regulator_mode()
342 *opmode = val; in pfuze100_regulator_mode()
353 *opmode = val; in pfuze100_regulator_mode()
365 *opmode << SWBST_MODE_SHIFT); in pfuze100_regulator_mode()
370 *opmode << SW_MODE_SHIFT); in pfuze100_regulator_mode()
375 *opmode << LDO_MODE_SHIFT); in pfuze100_regulator_mode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseStreamCipher.java180 int opmode, in engineInit() argument
272 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit()
288 switch (opmode) in engineInit()
299 throw new InvalidParameterException("unknown opmode " + opmode + " passed"); in engineInit()
309 int opmode, in engineInit() argument
338 engineInit(opmode, key, paramSpec, random); in engineInit()
343 int opmode, in engineInit() argument
350 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
DBaseWrapCipher.java176 int opmode, in engineInit() argument
231 if (opmode == Cipher.WRAP_MODE || opmode == Cipher.ENCRYPT_MODE) in engineInit()
246 switch (opmode) in engineInit()
279 int opmode, in engineInit() argument
309 engineInit(opmode, key, paramSpec, random); in engineInit()
313 int opmode, in engineInit() argument
320 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
DBaseBlockCipher.java543 int opmode, in engineInit() argument
916 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit()
982 switch (opmode) in engineInit()
993 throw new InvalidParameterException("unknown opmode " + opmode + " passed"); in engineInit()
1071 int opmode, in engineInit() argument
1105 engineInit(opmode, key, paramSpec, random); in engineInit()
1111 int opmode, in engineInit() argument
1118 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseStreamCipher.java184 int opmode, in engineInit() argument
276 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit()
292 switch (opmode) in engineInit()
303 throw new InvalidParameterException("unknown opmode " + opmode + " passed"); in engineInit()
313 int opmode, in engineInit() argument
342 engineInit(opmode, key, paramSpec, random); in engineInit()
347 int opmode, in engineInit() argument
354 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
DBaseWrapCipher.java180 int opmode, in engineInit() argument
235 if (opmode == Cipher.WRAP_MODE || opmode == Cipher.ENCRYPT_MODE) in engineInit()
250 switch (opmode) in engineInit()
283 int opmode, in engineInit() argument
313 engineInit(opmode, key, paramSpec, random); in engineInit()
317 int opmode, in engineInit() argument
324 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
DBaseBlockCipher.java547 int opmode, in engineInit() argument
920 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit()
986 switch (opmode) in engineInit()
997 throw new InvalidParameterException("unknown opmode " + opmode + " passed"); in engineInit()
1075 int opmode, in engineInit() argument
1109 engineInit(opmode, key, paramSpec, random); in engineInit()
1115 int opmode, in engineInit() argument
1122 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java271 int opmode, in engineInit() argument
283 if (privateKeyOnly && opmode == Cipher.ENCRYPT_MODE) in engineInit()
293 if (publicKeyOnly && opmode == Cipher.ENCRYPT_MODE) in engineInit()
359 switch (opmode) in engineInit()
370 throw new InvalidParameterException("unknown opmode " + opmode + " passed to RSA"); in engineInit()
375 int opmode, in engineInit() argument
396 engineInit(opmode, key, paramSpec, random); in engineInit()
400 int opmode, in engineInit() argument
407 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java275 int opmode, in engineInit() argument
287 if (privateKeyOnly && opmode == Cipher.ENCRYPT_MODE) in engineInit()
297 if (publicKeyOnly && opmode == Cipher.ENCRYPT_MODE) in engineInit()
363 switch (opmode) in engineInit()
374 throw new InvalidParameterException("unknown opmode " + opmode + " passed to RSA"); in engineInit()
379 int opmode, in engineInit() argument
400 engineInit(opmode, key, paramSpec, random); in engineInit()
404 int opmode, in engineInit() argument
411 engineInit(opmode, key, (AlgorithmParameterSpec)null, random); in engineInit()
/external/u-boot/drivers/usb/ulpi/
Dulpi.c146 int ulpi_opmode_sel(struct ulpi_viewport *ulpi_vp, unsigned opmode) in ulpi_opmode_sel() argument
151 switch (opmode) { in ulpi_opmode_sel()
156 topmode = opmode; in ulpi_opmode_sel()
160 "falling back to OpMode Normal\n", __func__, opmode); in ulpi_opmode_sel()
/external/u-boot/drivers/net/
Ddesignware.c269 writel(readl(&dma_p->opmode) & ~(RXSTART | TXSTART), &dma_p->opmode); in _dw_eth_halt()
314 writel(readl(&dma_p->opmode) | FLUSHTXFIFO | STOREFORWARD, in designware_eth_init()
315 &dma_p->opmode); in designware_eth_init()
317 writel(readl(&dma_p->opmode) | FLUSHTXFIFO, in designware_eth_init()
318 &dma_p->opmode); in designware_eth_init()
321 writel(readl(&dma_p->opmode) | RXSTART | TXSTART, &dma_p->opmode); in designware_eth_init()
/external/u-boot/include/power/
Dmax77686_pmic.h159 int max77686_set_ldo_mode(struct pmic *p, int ldo, char opmode);
161 int max77686_set_buck_mode(struct pmic *p, int buck, char opmode);
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java4145 private static void checkCipher_DoFinal_invalidMode_Failure(int opmode) throws Exception { in checkCipher_DoFinal_invalidMode_Failure() argument
4147 "doFinal() should throw IllegalStateException [mode=%d]", opmode); in checkCipher_DoFinal_invalidMode_Failure()
4148 int bs = createAesCipher(opmode).getBlockSize(); in checkCipher_DoFinal_invalidMode_Failure()
4151 createAesCipher(opmode).doFinal(); in checkCipher_DoFinal_invalidMode_Failure()
4157 createAesCipher(opmode).doFinal(new byte[0]); in checkCipher_DoFinal_invalidMode_Failure()
4163 createAesCipher(opmode).doFinal(new byte[2 * bs], 0, bs); in checkCipher_DoFinal_invalidMode_Failure()
4169 createAesCipher(opmode).doFinal(new byte[2 * bs], 0, bs, new byte[2 * bs], 0); in checkCipher_DoFinal_invalidMode_Failure()
4189 private static void checkCipher_Update_invalidMode_Failure(final int opmode) throws Exception { in checkCipher_Update_invalidMode_Failure() argument
4190 String msg = "update() should throw IllegalStateException [mode=" + opmode + "]"; in checkCipher_Update_invalidMode_Failure()
4191 final int bs = createAesCipher(opmode).getBlockSize(); in checkCipher_Update_invalidMode_Failure()
[all …]
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java4143 private static void checkCipher_DoFinal_invalidMode_Failure(int opmode) throws Exception { in checkCipher_DoFinal_invalidMode_Failure() argument
4145 "doFinal() should throw IllegalStateException [mode=%d]", opmode); in checkCipher_DoFinal_invalidMode_Failure()
4146 int bs = createAesCipher(opmode).getBlockSize(); in checkCipher_DoFinal_invalidMode_Failure()
4149 createAesCipher(opmode).doFinal(); in checkCipher_DoFinal_invalidMode_Failure()
4155 createAesCipher(opmode).doFinal(new byte[0]); in checkCipher_DoFinal_invalidMode_Failure()
4161 createAesCipher(opmode).doFinal(new byte[2 * bs], 0, bs); in checkCipher_DoFinal_invalidMode_Failure()
4167 createAesCipher(opmode).doFinal(new byte[2 * bs], 0, bs, new byte[2 * bs], 0); in checkCipher_DoFinal_invalidMode_Failure()
4187 private static void checkCipher_Update_invalidMode_Failure(final int opmode) throws Exception { in checkCipher_Update_invalidMode_Failure() argument
4188 String msg = "update() should throw IllegalStateException [mode=" + opmode + "]"; in checkCipher_Update_invalidMode_Failure()
4189 final int bs = createAesCipher(opmode).getBlockSize(); in checkCipher_Update_invalidMode_Failure()
[all …]
/external/mksh/src/
Dtree.c312 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) in wdvarput() argument
343 if (opmode & WDS_TPUTS) in wdvarput()
392 if (opmode & WDS_TPUTS) { in wdvarput()
398 if (opmode & WDS_TPUTS) { in wdvarput()
410 wp = wdvarput(shf, wp, 0, opmode); in wdvarput()
671 wdstrip(const char *wp, int opmode) in wdstrip() argument
676 wdvarput(&shf, wp, 0, opmode); in wdstrip()
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/rdev_change_bss/
Dformat18 … %d, use short preamble: %d, use short slot time: %d, ap isolate: %d, ht opmode: %d", REC->wiphy_n…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_change_bss/
Dformat18 … %d, use short preamble: %d, use short slot time: %d, ap isolate: %d, ht opmode: %d", REC->wiphy_n…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/rdev_change_bss/
Dformat18 … %d, use short preamble: %d, use short slot time: %d, ap isolate: %d, ht opmode: %d", REC->wiphy_n…

12