| /external/libese/ready_se/google/keymint/KM300/Applet/AndroidSEProvider/src/com/android/javacard/keymaster/ |
| D | KMUtils.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 11 * distributed under the License is distributed on an "AS IS" (short)0IS, 66 public static final short year2051 = 2051; 67 public static final short year2020 = 2020; 71 // -------------------------------------- 72 public static short convertToDate(short time, byte[] scratchPad, boolean utcFlag) { in convertToDate() 74 short yrsCount = 0; in convertToDate() 75 short monthCount = 1; in convertToDate() 76 short dayCount = 1; in convertToDate() 77 short hhCount = 0; in convertToDate() [all …]
|
| D | KMAttestationCertImpl.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 11 * distributed under the License is distributed on an "AS IS" (short)0IS, 37 // rsaEncryption - 1.2.840.113549.1.1.1 41 // ecPublicKey - 1.2.840.10045.2.1 45 // prime256v1 curve - 1.2.840.10045.3.1.7 49 // Key Usage Extn - 2.5.29.15 51 // Android Extn - 1.3.6.1.4.1.11129.2.1.17 56 private static final short RSA_SIG_LEN = 256; 59 // Signature algorithm identifier - ecdsaWithSha256 - 1.2.840.10045.4.3.2 64 // Signature algorithm identifier - sha256WithRSAEncryption - 1.2.840.113549.1.1.11 [all …]
|
| /external/libese/ready_se/google/keymint/KM200/Applet/AndroidSEProvider/src/com/android/javacard/keymaster/ |
| D | KMUtils.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 11 * distributed under the License is distributed on an "AS IS" (short)0IS, 66 public static final short year2051 = 2051; 67 public static final short year2020 = 2020; 71 // -------------------------------------- 72 public static short convertToDate(short time, byte[] scratchPad, boolean utcFlag) { in convertToDate() 74 short yrsCount = 0; in convertToDate() 75 short monthCount = 1; in convertToDate() 76 short dayCount = 1; in convertToDate() 77 short hhCount = 0; in convertToDate() [all …]
|
| D | KMAttestationCertImpl.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 11 * distributed under the License is distributed on an "AS IS" (short)0IS, 37 // rsaEncryption - 1.2.840.113549.1.1.1 41 // ecPublicKey - 1.2.840.10045.2.1 45 // prime256v1 curve - 1.2.840.10045.3.1.7 49 // Key Usage Extn - 2.5.29.15 51 // Android Extn - 1.3.6.1.4.1.11129.2.1.17 56 private static final short RSA_SIG_LEN = 256; 59 // Signature algorithm identifier - ecdsaWithSha256 - 1.2.840.10045.4.3.2 64 // Signature algorithm identifier - sha256WithRSAEncryption - 1.2.840.113549.1.1.11 [all …]
|
| /external/guava/guava-tests/test/com/google/common/primitives/ |
| D | ShortsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 41 private static final short[] EMPTY = {}; 42 private static final short[] ARRAY1 = {(short) 1}; 43 private static final short[] ARRAY234 = {(short) 2, (short) 3, (short) 4}; 45 private static final short LEAST = Short.MIN_VALUE; 46 private static final short GREATEST = Short.MAX_VALUE; 48 private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST}; 51 for (short value : VALUES) { in testHashCode() 52 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value)); in testHashCode() 57 for (short value : VALUES) { in testCheckedCast() [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/primitives/ |
| D | ShortsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 41 private static final short[] EMPTY = {}; 42 private static final short[] ARRAY1 = {(short) 1}; 43 private static final short[] ARRAY234 = {(short) 2, (short) 3, (short) 4}; 45 private static final short LEAST = Short.MIN_VALUE; 46 private static final short GREATEST = Short.MAX_VALUE; 48 private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST}; 51 for (short value : VALUES) { in testHashCode() 52 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value)); in testHashCode() 57 for (short value : VALUES) { in testCheckedCast() [all …]
|
| /external/elfutils/tests/ |
| D | run-disasm-riscv64.sh | 18 . $srcdir/test-subr.sh 20 testfiles testfile-riscv64-dis1.o testfile-riscv64-dis1.expect 21 testrun_compare ${abs_top_builddir}/src/objdump -d testfile-riscv64-dis1.o < testfile-riscv64-dis1.… 26 cat <<EOF | riscv64-linux-gnu-as -c -o testfile-riscv64-dis1.o - 322 .short 0x1000 323 .short 0x0800 324 .short 0x0400 325 .short 0x0200 326 .short 0x0100 327 .short 0x0080 [all …]
|
| /external/libese/ready_se/google/keymint/KM200/Applet/src/com/android/javacard/keymaster/ |
| D | KMRemotelyProvisionedComponentDevice.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 119 private static final short RKP_VERSION = (short) 0x02; 130 private static final short MAX_SEND_DATA = 512; 142 // based on MORE_DATA or NO_DATA flags. BCC - Boot Certificate Chain. 143 // ACC - Additional Certificate Chain. 150 private static final short DATA_SIZE = 512; 169 // The size of short types. 176 // BEGIN - It is the initial stage where the process is initialized and construction of 178 // UPDATE - Challenge, EEK and RKP keys are sent to the applet for further process. 179 // FINISH - MacedPublicKeys are constructed and construction of protected data is initiated. [all …]
|
| D | KMCose.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 47 public static final byte COSE_LABEL_COSE_KEY = (byte) 0xFF; // -1 50 public static final byte COSE_ALG_AES_GCM_256 = 3; // AES-GCM mode w/ 256-bit key, 128-bit tag. 51 public static final byte COSE_ALG_HMAC_256 = 5; // HMAC w/ SHA-256 52 public static final byte COSE_ALG_ES256 = (byte) 0xF9; // ECDSA w/ SHA-256; -7 53 public static final byte COSE_ALG_ECDH_ES_HKDF_256 = (byte) 0xE7; // ECDH-EC+HKDF-256; -25 69 public static final short AES_GCM_KEY_SIZE_BITS = 256; 71 public static final short COSE_KEY_KEY_TYPE = 1; 72 public static final short COSE_KEY_KEY_ID = 2; 73 public static final short COSE_KEY_ALGORITHM = 3; [all …]
|
| D | KMEncoder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 50 private static final short TINY_PAYLOAD = 0x17; 51 private static final short SHORT_PAYLOAD = 0x100; 59 private short[] scratchBuf; 60 private short[] stack; 63 bufferRef = JCSystem.makeTransientObjectArray((short) 1, JCSystem.CLEAR_ON_RESET); in KMEncoder() 67 scratchBuf[START_OFFSET] = (short) 0; in KMEncoder() 68 scratchBuf[LEN_OFFSET] = (short) 0; in KMEncoder() 69 scratchBuf[STACK_PTR_OFFSET] = (short) 0; in KMEncoder() 72 private void push(short objPtr) { in push() [all …]
|
| D | KMAsn1Parser.java | 72 public static final short MAX_EMAIL_ADD_LEN = 255; 95 0x40, /* 1-64 commonName */ 96 0x28, /* 1-40 surname */ 97 0x40, /* 1-64 serial */ 98 0x02, /* 1-2 country */ 99 (byte) 0x80, /* 1-128 locality */ 100 (byte) 0x80, /* 1-128 state */ 101 0x40, /* 1-64 organization */ 102 0x40, /* 1-64 organization unit*/ 103 0x40, /* 1-64 title */ [all …]
|
| /external/libese/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/ |
| D | KMRemotelyProvisionedComponentDevice.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 140 // Denotes COSE Integer with short lengths. 141 private static final short SHORT_PAYLOAD = 0x100; 143 private static final short MAX_SEND_DATA = 512; 160 private static final short DATA_SIZE = 512; 174 // The size of short types. 179 // BEGIN - It is the initial stage where the process is initialized and construction of 181 // UPDATE - Challenge, EEK and RKP keys are sent to the applet for further process. 182 // FINISH - MacedPublicKeys are constructed and construction of protected data is initiated. 183 // GET_UDS_CERTS_RESPONSE - Constructed the UDSCerts in the response. [all …]
|
| D | KMEncoder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 50 private static final short TINY_PAYLOAD = 0x17; 51 private static final short SHORT_PAYLOAD = 0x100; 59 private short[] scratchBuf; 60 private short[] stack; 63 bufferRef = JCSystem.makeTransientObjectArray((short) 1, JCSystem.CLEAR_ON_RESET); in KMEncoder() 67 scratchBuf[START_OFFSET] = (short) 0; in KMEncoder() 68 scratchBuf[LEN_OFFSET] = (short) 0; in KMEncoder() 69 scratchBuf[STACK_PTR_OFFSET] = (short) 0; in KMEncoder() 72 private void push(short objPtr) { in push() [all …]
|
| D | KMCose.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 47 public static final byte COSE_LABEL_COSE_KEY = (byte) 0xFF; // -1 50 public static final byte COSE_ALG_AES_GCM_256 = 3; // AES-GCM mode w/ 256-bit key, 128-bit tag. 51 public static final byte COSE_ALG_HMAC_256 = 5; // HMAC w/ SHA-256 52 public static final byte COSE_ALG_ES256 = (byte) 0xF9; // ECDSA w/ SHA-256; -7 53 public static final byte COSE_ALG_ECDH_ES_HKDF_256 = (byte) 0xE7; // ECDH-EC+HKDF-256; -25 69 public static final short AES_GCM_KEY_SIZE_BITS = 256; 74 public static final byte COSE_KEY_CURVE = -1; 75 public static final byte COSE_KEY_PUBKEY_X = -2; 76 public static final byte COSE_KEY_PUBKEY_Y = -3; [all …]
|
| /external/python/cpython2/Modules/ |
| D | cstubs | 10 <returntype> can be: void, short, long (XXX maybe others?) 12 <type> can be: char, string, short, float, long, or double 31 opposite from the order used in C to declare a two-dimensional 69 short arg1 ; 83 varray -- an array of v.. calls. 86 The points may be 2- or 3-dimensional but must all have the 161 vnarray, nvarray -- an array of n3f and v3f calls. 231 wvec = PyTuple_GetItem(w, 1 - inorm); 245 [len(s_knots) - s_order], [len(t_knots) - t_order] 297 s_nctl = arg1 - arg6; [all …]
|
| /external/clang/lib/Headers/ |
| D | vecintrin.h | 1 /*===---- vecintrin.h - Vector intrinsics ----------------------------------=== 21 *===-----------------------------------------------------------------------=== 38 ((PARM) & ((PARM) - 1)) == 0, \ 41 /*-- __lcbb -----------------------------------------------------------------*/ 44 __lcbb(const void *__ptr, unsigned short __len) 57 /*-- vec_extract ------------------------------------------------------------*/ 74 static inline __ATTRS_o_ai signed short 75 vec_extract(vector signed short __vec, int __index) { in vec_extract() 79 static inline __ATTRS_o_ai unsigned short 80 vec_extract(vector bool short __vec, int __index) { in vec_extract() [all …]
|
| /external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
| D | Grouper.java | 19 private static final Grouper GROUPER_NEVER = new Grouper((short) -1, (short) -1, (short) -2); 20 private static final Grouper GROUPER_MIN2 = new Grouper((short) -2, (short) -2, (short) -3); 21 private static final Grouper GROUPER_AUTO = new Grouper((short) -2, (short) -2, (short) -2); 22 … private static final Grouper GROUPER_ON_ALIGNED = new Grouper((short) -4, (short) -4, (short) 1); 24 private static final Grouper GROUPER_WESTERN = new Grouper((short) 3, (short) 3, (short) 1); 25 private static final Grouper GROUPER_INDIC = new Grouper((short) 3, (short) 2, (short) 1); 26 … private static final Grouper GROUPER_WESTERN_MIN2 = new Grouper((short) 3, (short) 3, (short) 2); 27 private static final Grouper GROUPER_INDIC_MIN2 = new Grouper((short) 3, (short) 2, (short) 2); 56 short grouping1 = (short) properties.getGroupingSize(); in forProperties() 57 short grouping2 = (short) properties.getSecondaryGroupingSize(); in forProperties() [all …]
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
| D | Grouper.java | 17 private static final Grouper GROUPER_NEVER = new Grouper((short) -1, (short) -1, (short) -2); 18 private static final Grouper GROUPER_MIN2 = new Grouper((short) -2, (short) -2, (short) -3); 19 private static final Grouper GROUPER_AUTO = new Grouper((short) -2, (short) -2, (short) -2); 20 … private static final Grouper GROUPER_ON_ALIGNED = new Grouper((short) -4, (short) -4, (short) 1); 22 private static final Grouper GROUPER_WESTERN = new Grouper((short) 3, (short) 3, (short) 1); 23 private static final Grouper GROUPER_INDIC = new Grouper((short) 3, (short) 2, (short) 1); 24 … private static final Grouper GROUPER_WESTERN_MIN2 = new Grouper((short) 3, (short) 3, (short) 2); 25 private static final Grouper GROUPER_INDIC_MIN2 = new Grouper((short) 3, (short) 2, (short) 2); 54 short grouping1 = (short) properties.getGroupingSize(); in forProperties() 55 short grouping2 = (short) properties.getSecondaryGroupingSize(); in forProperties() [all …]
|
| /external/libese/ready_se/google/keymint/KM300/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/ |
| D | KMRsaOAEPEncoding.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 11 * distributed under the License is distributed on an "AS IS" (short)0IS, 31 final short MGF1_BUF_SIZE = 256; 63 private short getDigestLength() { in getDigestLength() 87 public void init(Key theKey, byte theMode, byte[] bArray, short bOff, short bLen) in init() 108 public short doFinal( in doFinal() 109 byte[] inBuff, short inOffset, short inLength, byte[] outBuff, short outOffset) in doFinal() 111 short len = cipher.doFinal(inBuff, inOffset, inLength, outBuff, outOffset); in doFinal() 113 // https://tools.ietf.org/html/rfc8017#section-7.1 in doFinal() 114 // https://www.inf.pucrs.br/~calazans/graduate/TPVLSI_I/RSA-oaep_spec.pdf in doFinal() [all …]
|
| /external/libese/ready_se/google/keymint/KM200/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/ |
| D | KMRsaOAEPEncoding.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 11 * distributed under the License is distributed on an "AS IS" (short)0IS, 31 final short MGF1_BUF_SIZE = 256; 63 private short getDigestLength() { in getDigestLength() 87 public void init(Key theKey, byte theMode, byte[] bArray, short bOff, short bLen) in init() 108 public short doFinal( in doFinal() 109 byte[] inBuff, short inOffset, short inLength, byte[] outBuff, short outOffset) in doFinal() 111 short len = cipher.doFinal(inBuff, inOffset, inLength, outBuff, outOffset); in doFinal() 113 // https://tools.ietf.org/html/rfc8017#section-7.1 in doFinal() 114 // https://www.inf.pucrs.br/~calazans/graduate/TPVLSI_I/RSA-oaep_spec.pdf in doFinal() [all …]
|
| /external/jline/src/src/main/java/jline/ |
| D | ConsoleOperations.java | 2 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved. 45 final short UNKNOWN = -99; 50 final short MOVE_TO_BEG = -1; 55 final short MOVE_TO_END = -3; 60 final short PREV_CHAR = -4; 65 final short NEWLINE = -6; 70 final short KILL_LINE = -7; 75 final short CLEAR_SCREEN = -8; 80 final short NEXT_HISTORY = -9; 85 final short PREV_HISTORY = -11; [all …]
|
| /external/clang/test/Sema/ |
| D | ms_bitfield_layout.c | 1 // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-la… 3 // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-… 13 short y; 17 // CHECK-NEXT: 0 | struct A 18 // CHECK-NEXT: 0 | char x 19 // CHECK-NEXT: 4:0-21 | int a 20 // CHECK-NEXT: 8:- | int 21 // CHECK-NEXT: 8:0-9 | int c 22 // CHECK-NEXT: 12:0-2 | char b 23 // CHECK-NEXT: 12:3-6 | char d [all …]
|
| /external/libese/apps/boot/card/src/com/android/verifiedboot/storage/ |
| D | Storage.java | 8 // http://www.apache.org/licenses/LICENSE-2.0 17 // echo -e '00A4040010A0000004765049584C424F4F54000101 9000\n8000000000 9000\n' | ese-replay nq-… 19 // ${JAVA_HOME}/bin/java -jar gp.jar -d --install avb_storage.cap 58 /* Note, globalState never needs to be backed up as any clients should re-register on every 59 * call -- not just on install(). 71 private short metadataLength; 95 private final static short NO_METADATA = (short) 0; 96 private final static short NO_REQ_LOCKS = (short) 0; 98 private final static short OWNER_LOCK_METADATA_SIZE = (short) 2048; 99 private final static short INCOMING_BYTES_MAX = (short) 1024; [all …]
|
| /external/ltp/testcases/kernel/syscalls/fcntl/ |
| D | fcntl11.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 64 void compare_lock(struct flock *, short, short, int, int, pid_t); 66 void do_test(struct flock *, short, short, int, int); 69 int do_lock(int, short, short, int, int); 128 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 139 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 141 fl->l_type = type; in do_test() 142 fl->l_whence = whence; in do_test() 143 fl->l_start = start; in do_test() 144 fl->l_len = len; in do_test() [all …]
|
| /external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
| D | BitFieldTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 39 assertEquals(bf_multi.getValue(-1), 127); in testGetValue() 41 assertEquals(bf_single.getValue(-1), 1); in testGetValue() 43 assertEquals(bf_zero.getValue(-1), 0); in testGetValue() 52 assertEquals(bf_multi.getShortValue((short) - 1), (short) 127); in testGetShortValue() 53 assertEquals(bf_multi.getShortValue((short) 0), (short) 0); in testGetShortValue() 54 assertEquals(bf_single.getShortValue((short) - 1), (short) 1); in testGetShortValue() 55 assertEquals(bf_single.getShortValue((short) 0), (short) 0); in testGetShortValue() 56 assertEquals(bf_zero.getShortValue((short) -1), (short) 0); in testGetShortValue() 57 assertEquals(bf_zero.getShortValue((short) 0), (short) 0); in testGetShortValue() [all …]
|