/external/clang/test/CodeGenCXX/ |
D | 2010-07-23-DeclLoc.cpp | 35 typedef _SIZE SIZE; typedef in SizeAndEndianness 41 template <typename SIZE> class TRange { 43 typename SIZE::ptr_t _location; 44 typename SIZE::size_t _length; 45 …TRange(typename SIZE::ptr_t location, typename SIZE::size_t length) : _location(location), _length… in TRange() 47 template <typename SIZE, typename T> class TRangeValue : public TRange<SIZE> { 50 …TRangeValue(typename SIZE::ptr_t location, typename SIZE::size_t length, T value) : TRange<SIZE>(l… in TRangeValue() 52 template <typename SIZE> class TAddressRelocator {}; 55 template <typename SIZE> class TRawSymbolOwnerData 57 TRangeValue< SIZE, uint8_t* > _TEXT_text_section; [all …]
|
/external/elfutils/0.153/libasm/ |
D | asm_addint8.c | 38 #ifndef SIZE 39 # define SIZE 8 macro 51 FCT(SIZE) (asmscn, num) 53 TYPE(SIZE) num; 67 if (SIZE == 8) 69 else if (SIZE == 16) 72 else if (SIZE == 32) 91 #if SIZE > 8 95 TYPE(SIZE) var = num; 98 if (__libasm_ensure_section_space (asmscn, SIZE / 8) != 0) [all …]
|
D | asm_adduint8.c | 33 #ifndef SIZE 34 # define SIZE 8 macro 48 UFCT(SIZE) (asmscn, num) 50 UTYPE(SIZE) num; 52 return INTUSE(FCT(SIZE)) (asmscn, (TYPE(SIZE)) num);
|
/external/okhttp/okio/src/test/java/okio/ |
D | OkBufferTest.java | 54 buffer.writeUtf8(repeat('a', Segment.SIZE * 4)); in completeSegmentByteCountOnBufferWithFullSegments() 55 assertEquals(Segment.SIZE * 4, buffer.completeSegmentByteCount()); in completeSegmentByteCountOnBufferWithFullSegments() 60 buffer.writeUtf8(repeat('a', Segment.SIZE * 4 - 10)); in completeSegmentByteCountOnBufferWithIncompleteTailSegment() 61 assertEquals(Segment.SIZE * 3, buffer.completeSegmentByteCount()); in completeSegmentByteCountOnBufferWithIncompleteTailSegment() 66 buffer.writeUtf8(repeat('a', Segment.SIZE * 2)); in readUtf8SpansSegments() 67 buffer.readUtf8(Segment.SIZE - 1); in readUtf8SpansSegments() 73 buffer.writeUtf8(repeat('a', Segment.SIZE)); in readUtf8EntireBuffer() 74 assertEquals(repeat('a', Segment.SIZE), buffer.readUtf8(Segment.SIZE)); in readUtf8EntireBuffer() 144 int size = (Segment.SIZE / 2) - 1; in moveBytesBetweenBuffersShareSegment() 150 int size = (Segment.SIZE / 2) + 1; in moveBytesBetweenBuffersReassignSegment() [all …]
|
D | RealBufferedSourceTest.java | 32 source.writeUtf8(repeat('b', Segment.SIZE)); in inputStreamFromSource() 37 assertEquals(Segment.SIZE + 2, source.size()); in inputStreamFromSource() 41 assertEquals(Segment.SIZE - 1, in.available()); in inputStreamFromSource() 45 byte[] data = new byte[Segment.SIZE * 2]; in inputStreamFromSource() 46 assertEquals(Segment.SIZE - 1, in.read(data, 0, data.length)); in inputStreamFromSource() 47 assertEquals(repeat('b', Segment.SIZE - 1), new String(data, 0, Segment.SIZE - 1, UTF_8)); in inputStreamFromSource() 114 source.writeUtf8(repeat('a', Segment.SIZE)); in requireReadsOneSegmentAtATime() 115 source.writeUtf8(repeat('b', Segment.SIZE)); in requireReadsOneSegmentAtATime() 120 assertEquals(Segment.SIZE, source.size()); in requireReadsOneSegmentAtATime() 121 assertEquals(Segment.SIZE, bufferedSource.buffer().size()); in requireReadsOneSegmentAtATime() [all …]
|
/external/chromium_org/ppapi/c/ |
D | pp_macros.h | 65 #define PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, CTYPENAME, SIZE) \ argument 68 ## NAME ## _is_not_ ## SIZE ## \ 69 _bytes_wide[(sizeof(CTYPENAME) == SIZE) ? 1 : -1]; } 77 #define PP_COMPILE_ASSERT_SIZE_IN_BYTES(NAME, SIZE) \ argument 78 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, NAME, SIZE) 86 #define PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(NAME, SIZE) \ argument 87 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, struct NAME, SIZE) 95 #define PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(NAME, SIZE) \ argument 96 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, enum NAME, SIZE)
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLMessageDigestJDK.java | 97 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMessageDigestJDK.MD5 99 super(EVP_MD, SIZE); in MD5() 105 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMessageDigestJDK.SHA1 107 super(EVP_MD, SIZE); in SHA1() 113 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMessageDigestJDK.SHA224 115 super(EVP_MD, SIZE); in SHA224() 121 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMessageDigestJDK.SHA256 123 super(EVP_MD, SIZE); in SHA256() 129 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMessageDigestJDK.SHA384 131 super(EVP_MD, SIZE); in SHA384() [all …]
|
D | OpenSSLMac.java | 132 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMac.HmacMD5 135 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacMD5() 141 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMac.HmacSHA1 144 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacSHA1() 150 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMac.HmacSHA224 153 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacSHA224() 159 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMac.HmacSHA256 162 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacSHA256() 168 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); field in OpenSSLMac.HmacSHA384 171 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacSHA384() [all …]
|
/external/eigen/bench/ |
D | sparse_setter.cpp | 6 #ifndef SIZE 7 #define SIZE 100000 macro 63 int rows = SIZE; in main() 64 int cols = SIZE; in main() 197 SparseMatrix<Scalar> mat(SIZE,SIZE); in setinnerrand_eigen() 211 DynamicSparseMatrix<Scalar> mat(SIZE,SIZE); in setrand_eigen_dynamic() 226 DynamicSparseMatrix<Scalar> mat(SIZE,SIZE); in setrand_eigen_sumeq() 229 DynamicSparseMatrix<Scalar> aux(SIZE,SIZE); in setrand_eigen_sumeq() 244 DynamicSparseMatrix<Scalar> setter(SIZE,SIZE); in setrand_eigen_compact() 258 SparseMatrix<Scalar> mat(SIZE,SIZE); in setrand_eigen_gnu_hash() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicDoubleArrayTest.java | 59 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); in testConstructor() 60 for (int i = 0; i < SIZE; i++) { in testConstructor() 115 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); in testIndexing() 116 for (int index : new int[] { -1, SIZE }) { in testIndexing() 180 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); in testCompareAndSet() 181 for (int i : new int[] { 0, SIZE - 1}) { in testCompareAndSet() 220 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); in testWeakCompareAndSet() 221 for (int i : new int[] { 0, SIZE - 1}) { in testWeakCompareAndSet() 241 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); in testGetAndSet() 242 for (int i : new int[] { 0, SIZE - 1}) { in testGetAndSet() [all …]
|
/external/pixman/demos/ |
D | conical-test.c | 4 #define SIZE 128 macro 7 #define WIDTH (SIZE * GRADIENTS_PER_ROW) 8 #define HEIGHT (SIZE * NUM_ROWS) 71 pixman_double_to_fixed (SIZE), in main() 72 pixman_double_to_fixed (SIZE)); in main() 89 0, 0, 0, 0, column * SIZE, row * SIZE, in main() 90 SIZE, SIZE); in main()
|
D | radial-test.c | 7 #define SIZE 128 macro 8 #define WIDTH (SIZE * NUM_GRADIENTS) 9 #define HEIGHT (SIZE * NUM_REPEAT) 166 pixman_double_to_fixed (SIZE), in main() 167 pixman_double_to_fixed (SIZE)); in main() 195 i * SIZE, j * SIZE, in main() 196 SIZE, SIZE); in main()
|
/external/valgrind/main/callgrind/tests/ |
D | simwork.c | 9 #define SIZE 100000 macro 16 for(i = 0; i< SIZE; i++) a[i] = b[i] = 1.0; in init() 22 for(i = 0; i< SIZE; i++) { in do_add() 34 for(i = 0; i< SIZE; i++) sum += c[i]; in do_sum() 54 a = (double*) malloc(SIZE * sizeof(double)); in main() 55 b = (double*) malloc(SIZE * sizeof(double)); in main() 56 c = (double*) malloc(SIZE * sizeof(double)); in main()
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
D | quad-tex.c | 117 #define SIZE 16 macro 121 ubyte tex2d[SIZE][SIZE][4]; in init_tex() 124 #if (SIZE != 2) in init_tex() 125 for (s = 0; s < SIZE; s++) { in init_tex() 126 for (t = 0; t < SIZE; t++) { in init_tex() 136 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 137 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 165 texture = graw_util_create_tex2d(&info, SIZE, SIZE, in init_tex()
|
D | tex-srgb.c | 146 #define SIZE 64 in init_tex() macro 147 ubyte tex2d[SIZE][SIZE][4]; in init_tex() 150 for (s = 0; s < SIZE; s++) { in init_tex() 151 for (t = 0; t < SIZE; t++) { in init_tex() 153 tex2d[t][s][1] = s * 255 / SIZE; in init_tex() 154 tex2d[t][s][2] = t * 255 / SIZE; in init_tex() 159 texture = graw_util_create_tex2d(&info, SIZE, SIZE, in init_tex() 199 #undef SIZE in init_tex()
|
D | quad-sample.c | 161 #define SIZE 16 macro 169 ubyte tex2d[SIZE][SIZE][4]; in init_tex() 172 #if (SIZE != 2) in init_tex() 173 for (s = 0; s < SIZE; s++) { in init_tex() 174 for (t = 0; t < SIZE; t++) { in init_tex() 184 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 185 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 215 templat.width0 = SIZE; in init_tex() 216 templat.height0 = SIZE; in init_tex() 228 u_box_2d(0,0,SIZE,SIZE, &box); in init_tex() [all …]
|
D | tex-swizzle.c | 120 #define SIZE 256 in init_tex() macro 122 ubyte tex2d[SIZE][SIZE][4]; in init_tex() 125 for (s = 0; s < SIZE; s++) { in init_tex() 126 for (t = 0; t < SIZE; t++) { in init_tex() 134 texture = graw_util_create_tex2d(&info, SIZE, SIZE, in init_tex() 155 #undef SIZE in init_tex()
|
/external/mesa3d/src/gallium/tests/graw/ |
D | quad-tex.c | 117 #define SIZE 16 macro 121 ubyte tex2d[SIZE][SIZE][4]; in init_tex() 124 #if (SIZE != 2) in init_tex() 125 for (s = 0; s < SIZE; s++) { in init_tex() 126 for (t = 0; t < SIZE; t++) { in init_tex() 136 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 137 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 165 texture = graw_util_create_tex2d(&info, SIZE, SIZE, in init_tex()
|
D | tex-srgb.c | 146 #define SIZE 64 in init_tex() macro 147 ubyte tex2d[SIZE][SIZE][4]; in init_tex() 150 for (s = 0; s < SIZE; s++) { in init_tex() 151 for (t = 0; t < SIZE; t++) { in init_tex() 153 tex2d[t][s][1] = s * 255 / SIZE; in init_tex() 154 tex2d[t][s][2] = t * 255 / SIZE; in init_tex() 159 texture = graw_util_create_tex2d(&info, SIZE, SIZE, in init_tex() 199 #undef SIZE in init_tex()
|
D | quad-sample.c | 161 #define SIZE 16 macro 169 ubyte tex2d[SIZE][SIZE][4]; in init_tex() 172 #if (SIZE != 2) in init_tex() 173 for (s = 0; s < SIZE; s++) { in init_tex() 174 for (t = 0; t < SIZE; t++) { in init_tex() 184 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 185 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 215 templat.width0 = SIZE; in init_tex() 216 templat.height0 = SIZE; in init_tex() 228 u_box_2d(0,0,SIZE,SIZE, &box); in init_tex() [all …]
|
/external/bison/lib/ |
D | isnan.c | 48 # define SIZE SIZEOF_LDBL macro 60 # define SIZE SIZEOF_DBL macro 72 # define SIZE SIZEOF_FLT macro 149 return (memcmp (&m.value, &plus_inf, SIZE) != 0 in FUNC() 150 && memcmp (&m.value, &minus_inf, SIZE) != 0); in FUNC() 165 memset (&m1.value, 0, SIZE); in FUNC() 166 memset (&m2.value, 0, SIZE); in FUNC() 169 if (memcmp (&m1.value, &m2.value, SIZE) != 0) in FUNC()
|
/external/webp/src/enc/ |
D | picture_tools.c | 24 #define SIZE 8 macro 25 #define SIZE2 (SIZE / 2) 71 w = pic->width / SIZE; in WebPCleanupTransparentArea() 72 h = pic->height / SIZE; in WebPCleanupTransparentArea() 80 const int off = (y * pic->argb_stride + x) * SIZE; in WebPCleanupTransparentArea() 81 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { in WebPCleanupTransparentArea() 86 flatten_argb(pic->argb + off, argb_value, pic->argb_stride, SIZE); in WebPCleanupTransparentArea() 99 const int off_a = (y * pic->a_stride + x) * SIZE; in WebPCleanupTransparentArea() 100 const int off_y = (y * pic->y_stride + x) * SIZE; in WebPCleanupTransparentArea() 102 if (is_transparent_area(a_ptr + off_a, pic->a_stride, SIZE)) { in WebPCleanupTransparentArea() [all …]
|
/external/chromium_org/third_party/libwebp/enc/ |
D | picture_tools.c | 24 #define SIZE 8 macro 25 #define SIZE2 (SIZE / 2) 71 w = pic->width / SIZE; in WebPCleanupTransparentArea() 72 h = pic->height / SIZE; in WebPCleanupTransparentArea() 80 const int off = (y * pic->argb_stride + x) * SIZE; in WebPCleanupTransparentArea() 81 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { in WebPCleanupTransparentArea() 86 flatten_argb(pic->argb + off, argb_value, pic->argb_stride, SIZE); in WebPCleanupTransparentArea() 99 const int off_a = (y * pic->a_stride + x) * SIZE; in WebPCleanupTransparentArea() 100 const int off_y = (y * pic->y_stride + x) * SIZE; in WebPCleanupTransparentArea() 102 if (is_transparent_area(a_ptr + off_a, pic->a_stride, SIZE)) { in WebPCleanupTransparentArea() [all …]
|
/external/eigen/bench/btl/generic_bench/static/ |
D | static_size_generator.hh | 28 template <int SIZE,template<class> class Perf_Analyzer, template<class> class Action, template<clas… 32 tab_sizes.push_back(SIZE); in go() 34 Perf_Analyzer<Action<Interface<REAL_TYPE,SIZE> > > perf_action; in go() 35 tab_mflops.push_back(perf_action.eval_mflops(SIZE)); in go() 37 static_size_generator<SIZE-1,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops); in go()
|
/external/chromium_org/ppapi/api/ |
D | pp_macros.idl | 43 (which should always be valid) if the enum's size is SIZE, and otherwise the 54 SIZE is the expected size in bytes. 56 #define PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, CTYPENAME, SIZE) \ 59 ## NAME ## _is_not_ ## SIZE ## \ 60 _bytes_wide[(sizeof(CTYPENAME) == SIZE) ? 1 : -1]; } 68 #define PP_COMPILE_ASSERT_SIZE_IN_BYTES(NAME, SIZE) \ 69 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, NAME, SIZE) 77 #define PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(NAME, SIZE) \ 78 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, struct NAME, SIZE) 86 #define PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(NAME, SIZE) \ [all …]
|