/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | ShortsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 private static final short[] EMPTY = {}; 40 private static final short[] ARRAY1 = {(short) 1}; 41 private static final short[] ARRAY234 42 = {(short) 2, (short) 3, (short) 4}; 44 private static final short LEAST = Short.MIN_VALUE; 45 private static final short GREATEST = Short.MAX_VALUE; 47 private static final short[] VALUES = 48 { LEAST, (short) -1, (short) 0, (short) 1, GREATEST }; 51 for (short value : VALUES) { in testHashCode() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | ShortsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 43 private static final short[] EMPTY = {}; 44 private static final short[] ARRAY1 = {(short) 1}; 45 private static final short[] ARRAY234 46 = {(short) 2, (short) 3, (short) 4}; 48 private static final short LEAST = Short.MIN_VALUE; 49 private static final short GREATEST = Short.MAX_VALUE; 51 private static final short[] VALUES = 52 { LEAST, (short) -1, (short) 0, (short) 1, GREATEST }; 55 for (short value : VALUES) { in testHashCode() [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 …]
|
D | altivec.h | 1 /*===---- altivec.h - Standard header for type generic math ---------------===*\ 21 \*===----------------------------------------------------------------------===*/ 49 static __inline__ vector short __ATTRS_o_ai vec_perm(vector signed short __a, 50 vector signed short __b, 53 static __inline__ vector unsigned short __ATTRS_o_ai 54 vec_perm(vector unsigned short __a, vector unsigned short __b, 57 static __inline__ vector bool short __ATTRS_o_ai vec_perm( 58 vector bool short __a, vector bool short __b, vector unsigned char __c); 107 return __builtin_altivec_vmaxsb(__a, -__a); in vec_abs() 110 static __inline__ vector signed short __ATTRS_o_ai [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 …]
|
D | align-x86.c | 1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s 2 // expected-no-diagnostics 6 short chk1[__alignof__(g1) == 8 ? 1 : -1]; 7 short chk2[__alignof__(double) == 8 ? 1 : -1]; 10 short chk1[__alignof__(g2) == 8 ? 1 : -1]; 11 short chk2[__alignof__(long long) == 8 ? 1 : -1]; 14 short chk1[__alignof__(g5) == 8 ? 1 : -1]; 15 short chk2[__alignof__(unsigned long long) == 8 ? 1 : -1]; 18 short chk1[__alignof__(g3) == 8 ? 1 : -1]; 19 short chk2[__alignof__(_Complex double) == 8 ? 1 : -1]; [all …]
|
D | compare.c | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s -W… 7 …return C != 1; // expected-warning {{comparison between pointer and integer ('char *' and 'int')}} in test() 16 … (a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in ints() 18 (a == (unsigned short) b) + in ints() 20 ((long) a == b) + // expected-warning {{comparison of integers of different signs}} in ints() 21 ((int) a == b) + // expected-warning {{comparison of integers of different signs}} in ints() 22 ((short) a == b) + // expected-warning {{comparison of integers of different signs}} in ints() 23 ((signed char) a == b) + // expected-warning {{comparison of integers of different signs}} in ints() 24 …((long) a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs… in ints() 25 … ((int) a == (unsigned int) b) + // expected-warning {{comparison of integers of different signs}} in ints() [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/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Shorts.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 37 * Static utility methods pertaining to {@code short} primitives, that are not 38 * already found in either {@link Short} or {@link Arrays}. 41 * "http://code.google.com/p/guava-libraries/wiki/PrimitivesExplained"> 52 * The number of bytes required to represent a primitive {@code short} 55 public static final int BYTES = Short.SIZE / Byte.SIZE; 58 * The largest power of two that can be represented as a {@code short}. 62 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); 66 * {@code ((Short) value).hashCode()}. 68 * @param value a primitive {@code short} value [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 …]
|
D | fcntl21.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 63 void compare_lock(struct flock *, short, short, int, int, pid_t); 65 void do_test(struct flock *, short, short, int, int); 68 int do_lock(int, short, short, int, int); 149 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 160 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 162 fl->l_type = type; in do_test() 163 fl->l_whence = whence; in do_test() 164 fl->l_start = start; in do_test() 165 fl->l_len = len; in do_test() [all …]
|
D | fcntl20.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); 104 if ((fd = mkstemp(template)) == -1) in setup() 113 if (sigaction(SIGCHLD, &act, NULL) == -1) in setup() 141 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 152 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 154 fl->l_type = type; in do_test() 155 fl->l_whence = whence; in do_test() [all …]
|
D | fcntl19.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 68 void compare_lock(struct flock *, short, short, int, int, pid_t); 70 void do_test(struct flock *, short, short, int, int); 73 int do_lock(int, short, short, int, int); 142 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 153 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 155 fl->l_type = type; in do_test() 156 fl->l_whence = whence; in do_test() 157 fl->l_start = start; in do_test() 158 fl->l_len = len; in do_test() [all …]
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Shorts.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 * Static utility methods pertaining to {@code short} primitives, that are not 40 * already found in either {@link Short} or {@link Arrays}. 43 * "http://code.google.com/p/guava-libraries/wiki/PrimitivesExplained"> 54 * The number of bytes required to represent a primitive {@code short} 57 public static final int BYTES = Short.SIZE / Byte.SIZE; 60 * The largest power of two that can be represented as a {@code short}. 64 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); 68 * {@code ((Short) value).hashCode()}. 70 * @param value a primitive {@code short} value [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | stackmap-liveness.ll | 1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -enable-patchpoint-liveness=false | F… 2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | F… 4 ; Note: Print verbose stackmaps using -debug-only=stackmaps. 6 ; CHECK-LABEL: .section __LLVM_STACKMAPS,__llvm_stackmaps 7 ; CHECK-NEXT: __LLVM_StackMaps: 9 ; CHECK-NEXT: .byte 1 10 ; CHECK-NEXT: .byte 0 11 ; CHECK-NEXT: .short 0 13 ; CHECK-NEXT: .long 2 15 ; CHECK-NEXT: .long 0 [all …]
|
/external/clang/test/CodeGen/ |
D | ms_struct-pack.c | 1 // RUN: %clang_cc1 -emit-llvm-only -triple i386-apple-darwin9 -fdump-record-layouts %s | FileCheck… 6 short m:9; // size is 2 8 short w:13; // size is 8 9 short e:3; // size is 8 12 short y:16; // size is 12 13 short u:1; // size is 14 18 short d:10; // size is 22 19 short f:4; // size is 22 22 short h:13; // size is 26 32 static int a1[(sizeof(one_ms) == 38) - 1]; [all …]
|
/external/llvm/unittests/Support/ |
D | TrailingObjectsTest.cpp | 1 //=== - llvm/unittest/Support/TrailingObjectsTest.cpp ---------------------===// 8 //===----------------------------------------------------------------------===// 19 class Class1 final : protected TrailingObjects<Class1, short> { 25 size_t numTrailingObjects(OverloadToken<short>) const { return NumShorts; } in numTrailingObjects() 29 getTrailingObjects<short>()); in Class1() 34 void *Mem = ::operator new(totalSizeToAlloc<short>(NumShorts)); in create() 39 short get(unsigned Num) const { return getTrailingObjects<short>()[Num]; } in get() 52 class Class2 final : protected TrailingObjects<Class2, double, short> { 58 size_t numTrailingObjects(OverloadToken<short>) const { in numTrailingObjects() 69 static Class2 *create(short S = 0, double D = 0.0) { in create() [all …]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
D | LZMACoder.java | 5 * Igor Pavlov <http://7-zip.org/> 21 + LengthCoder.HIGH_SYMBOLS - 1; 31 static final int ALIGN_MASK = ALIGN_SIZE - 1; 40 final short[][] isMatch = new short[State.STATES][POS_STATES_MAX]; 41 final short[] isRep = new short[State.STATES]; 42 final short[] isRep0 = new short[State.STATES]; 43 final short[] isRep1 = new short[State.STATES]; 44 final short[] isRep2 = new short[State.STATES]; 45 final short[][] isRep0Long = new short[State.STATES][POS_STATES_MAX]; 46 final short[][] distSlots = new short[DIST_STATES][DIST_SLOTS]; [all …]
|
/external/clang/test/SemaCXX/ |
D | compare.cpp | 1 // Force x86-64 because some of our heuristics are actually based 4 // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare -std=… 12 … (a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in test0() 14 (a == (unsigned short) b) + in test0() 16 ((long) a == b) + // expected-warning {{comparison of integers of different signs}} in test0() 17 ((int) a == b) + // expected-warning {{comparison of integers of different signs}} in test0() 18 ((short) a == b) + // expected-warning {{comparison of integers of different signs}} in test0() 19 ((signed char) a == b) + // expected-warning {{comparison of integers of different signs}} in test0() 20 …((long) a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs… in test0() 21 … ((int) a == (unsigned int) b) + // expected-warning {{comparison of integers of different signs}} in test0() [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-anyregcc.ll | 1 ; RUN: llc < %s -mtriple=arm64-apple-darwin | FileCheck %s 3 ; Stackmap Header: no constants - 6 callsites 4 ; CHECK-LABEL: .section __LLVM_STACKMAPS,__llvm_stackmaps 5 ; CHECK-NEXT: __LLVM_StackMaps: 7 ; CHECK-NEXT: .byte 1 8 ; CHECK-NEXT: .byte 0 9 ; CHECK-NEXT: .short 0 11 ; CHECK-NEXT: .long 8 13 ; CHECK-NEXT: .long 0 15 ; CHECK-NEXT: .long 8 [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | squashfs_fs.h | 22 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 53 #define SQUASHFS_INVALID_BLK ((long long) -1) 54 #define SQUASHFS_USED_BLK ((long long) -2) 176 SQUASHFS_METADATA_SIZE - 1) / \ 192 SQUASHFS_METADATA_SIZE - 1) / \ 208 SQUASHFS_METADATA_SIZE - 1) / \ 224 SQUASHFS_METADATA_SIZE - 1) / \ 240 (SQUASHFS_MAX_FILE_SIZE_LOG - 2)) 253 unsigned short offset; 254 unsigned short pad; [all …]
|
/external/libese/apps/weaver/card/src/com/android/weaver/core/ |
D | CoreSlots.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 37 for (short i = 0; i < NUM_SLOTS; ++i) { in CoreSlots() 48 public short getNumSlots() { in getNumSlots() 53 public void write(short rawSlotId, byte[] key, short keyOffset, in write() 54 byte[] value, short valueOffset) { in write() 55 final short slotId = validateSlotId(rawSlotId); in write() 60 public byte read(short rawSlotId, byte[] key, short keyOffset, in read() 61 byte[] outValue, short outOffset) { in read() 62 final short slotId = validateSlotId(rawSlotId); in read() 67 public void eraseValue(short rawSlotId) { in eraseValue() [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | ppc64-anyregcc.ll | 2 target datalayout = "E-m:e-i64:64-n32:64" 3 target triple = "powerpc64-unknown-linux-gnu" 5 ; CHECK-LABEL: test: 8 ; CHECK-LABEL: property_access1: 11 ; CHECK-LABEL: property_access2: 14 ; CHECK-LABEL: property_access3: 17 ; CHECK-LABEL: anyreg_test1: 20 ; CHECK-LABEL: anyreg_test2: 23 ; CHECK-LABEL: patchpoint_spilldef: 26 ; CHECK-LABEL: patchpoint_spillargs: [all …]
|