Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 10059) sorted by relevance

12345678910>>...403

/external/deqp/scripts/opengl/
Dgen_call_log_wrapper.py35 def pointer (size): argument
36 return lambda name: "getPointerStr(%s, %s)" % (name, size)
38 def enumPointer (group, size): argument
39 …numPointerStr(%(name)s, %(size)s, %(nameFunc)s)" % {"name": name, "size": size, "nameFunc": ("get%…
41 def booleanPointer (size): argument
42 return lambda name: "getBooleanPointerStr(%s, %s)" % (name, size)
90 "glDeleteBuffers": LogSpec({1: pointer(size = "n")}),
91 "glDeleteFramebuffers": LogSpec({1: pointer(size = "n")}),
92 "glDeleteQueries": LogSpec({1: pointer(size = "n")}),
93 "glDeleteRenderbuffers": LogSpec({1: pointer(size = "n")}),
[all …]
/external/tpm2/
Dtpm_generated.h16 UINT16 uint8_t_Marshal(uint8_t* source, BYTE** buffer, INT32* size);
18 TPM_RC uint8_t_Unmarshal(uint8_t* target, BYTE** buffer, INT32* size);
20 UINT16 int8_t_Marshal(int8_t* source, BYTE** buffer, INT32* size);
22 TPM_RC int8_t_Unmarshal(int8_t* target, BYTE** buffer, INT32* size);
24 UINT16 uint16_t_Marshal(uint16_t* source, BYTE** buffer, INT32* size);
26 TPM_RC uint16_t_Unmarshal(uint16_t* target, BYTE** buffer, INT32* size);
28 UINT16 int16_t_Marshal(int16_t* source, BYTE** buffer, INT32* size);
30 TPM_RC int16_t_Unmarshal(int16_t* target, BYTE** buffer, INT32* size);
32 UINT16 uint32_t_Marshal(uint32_t* source, BYTE** buffer, INT32* size);
34 TPM_RC uint32_t_Unmarshal(uint32_t* target, BYTE** buffer, INT32* size);
[all …]
Dtpm_generated.c9 UINT16 uint8_t_Marshal(uint8_t* source, BYTE** buffer, INT32* size) { in uint8_t_Marshal() argument
11 if (!size || *size < sizeof(uint8_t)) { in uint8_t_Marshal()
29 *size -= sizeof(uint8_t); in uint8_t_Marshal()
33 TPM_RC uint8_t_Unmarshal(uint8_t* target, BYTE** buffer, INT32* size) { in uint8_t_Unmarshal() argument
35 if (!size || *size < sizeof(uint8_t)) { in uint8_t_Unmarshal()
53 *size -= sizeof(uint8_t); in uint8_t_Unmarshal()
57 UINT16 int8_t_Marshal(int8_t* source, BYTE** buffer, INT32* size) { in int8_t_Marshal() argument
59 if (!size || *size < sizeof(int8_t)) { in int8_t_Marshal()
77 *size -= sizeof(int8_t); in int8_t_Marshal()
81 TPM_RC int8_t_Unmarshal(int8_t* target, BYTE** buffer, INT32* size) { in int8_t_Unmarshal() argument
[all …]
DMemoryLib.c31 UINT32 size, // IN: number of octets to moved in MemoryMove() argument
39 pAssert(size <= dSize); in MemoryMove()
42 dSize -= size; in MemoryMove()
43 if (p>q || (p+size <= q)) in MemoryMove()
45 while(size--) in MemoryMove()
52 p += size; in MemoryMove()
53 q += size; in MemoryMove()
55 while (size--) in MemoryMove()
75 UINT32 size // IN: size of bytes being compared in MemoryEqual() argument
84 for(; size > 0; size--) in MemoryEqual()
[all …]
/external/valgrind/none/tests/mips64/
Dextract_insert_bit_field.stdout.exp-mips64r22 ins :: in 0x0, in1 0x0, out 0x0, pos: 0, size: 1
3 ins :: in 0x0, in1 0xffffffffffffffff, out 0xfffffffffffffffe, pos: 0, size: 1
4 ins :: in 0x0, in1 0x98765432, out 0xffffffff98765432, pos: 0, size: 1
5 ins :: in 0x0, in1 0xffffffffff865421, out 0xffffffffff865420, pos: 0, size: 1
6 ins :: in 0xffffffffffffffff, in1 0x0, out 0x1, pos: 0, size: 1
7 ins :: in 0xffffffffffffffff, in1 0xffffffffffffffff, out 0xffffffffffffffff, pos: 0, size: 1
8 ins :: in 0xffffffffffffffff, in1 0x98765432, out 0xffffffff98765433, pos: 0, size: 1
9 ins :: in 0xffffffffffffffff, in1 0xffffffffff865421, out 0xffffffffff865421, pos: 0, size: 1
10 ins :: in 0x98765432, in1 0x0, out 0x0, pos: 0, size: 1
11 ins :: in 0x98765432, in1 0xffffffffffffffff, out 0xfffffffffffffffe, pos: 0, size: 1
[all …]
/external/eigen/doc/snippets/
DTutorial_AdvancedInitialization_ThreeWays.cpp1 const int size = 6; variable
2 MatrixXd mat1(size, size);
3 mat1.topLeftCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2);
4 mat1.topRightCorner(size/2, size/2) = MatrixXd::Identity(size/2, size/2);
5 mat1.bottomLeftCorner(size/2, size/2) = MatrixXd::Identity(size/2, size/2);
6 mat1.bottomRightCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2);
9 MatrixXd mat2(size, size);
10 mat2.topLeftCorner(size/2, size/2).setZero();
11 mat2.topRightCorner(size/2, size/2).setIdentity();
12 mat2.bottomLeftCorner(size/2, size/2).setIdentity();
[all …]
/external/proguard/src/proguard/util/
DArrayUtil.java38 public static boolean equal(byte[] array1, byte[] array2, int size) in equal() argument
40 for (int index = 0; index < size; index++) in equal()
59 public static boolean equal(short[] array1, short[] array2, int size) in equal() argument
61 for (int index = 0; index < size; index++) in equal()
80 public static boolean equal(int[] array1, int[] array2, int size) in equal() argument
82 for (int index = 0; index < size; index++) in equal()
101 public static boolean equal(Object[] array1, Object[] array2, int size) in equal() argument
103 for (int index = 0; index < size; index++) in equal()
137 public static boolean equalOrNull(Object[] array1, Object[] array2, int size) in equalOrNull() argument
141 equal(array1, array2, size); in equalOrNull()
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtests23.dat2 <p><font size=4><font color=red><font size=4><font size=4><font size=4><font size=4><font size=4><f…
13 | size="4"
17 | size="4"
19 | size="4"
21 | size="4"
23 | size="4"
25 | size="4"
32 | size="4"
34 | size="4"
36 | size="4"
[all …]
/external/pcre/dist/sljit/
DsljitExecAllocator.c84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() argument
86 return VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); in alloc_chunk()
89 static SLJIT_INLINE void free_chunk(void* chunk, sljit_uw size) in free_chunk() argument
91 SLJIT_UNUSED_ARG(size); in free_chunk()
97 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() argument
102 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0); in alloc_chunk()
108 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, dev_zero, 0); in alloc_chunk()
114 static SLJIT_INLINE void free_chunk(void* chunk, sljit_uw size) in free_chunk() argument
116 munmap(chunk, size); in free_chunk()
128 sljit_uw size; member
[all …]
/external/valgrind/coregrind/m_gdbserver/
Dvalgrind-low-ppc64.c176 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
188 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
189 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
190 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
191 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
192 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
193 case 5: VG_(transfer) (&ppc64->guest_GPR5, buf, dir, size, mod); break; in transfer_register()
194 case 6: VG_(transfer) (&ppc64->guest_GPR6, buf, dir, size, mod); break; in transfer_register()
195 case 7: VG_(transfer) (&ppc64->guest_GPR7, buf, dir, size, mod); break; in transfer_register()
196 case 8: VG_(transfer) (&ppc64->guest_GPR8, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-ppc32.c179 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
191 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
192 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
193 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
194 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
195 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
196 case 5: VG_(transfer) (&ppc32->guest_GPR5, buf, dir, size, mod); break; in transfer_register()
197 case 6: VG_(transfer) (&ppc32->guest_GPR6, buf, dir, size, mod); break; in transfer_register()
198 case 7: VG_(transfer) (&ppc32->guest_GPR7, buf, dir, size, mod); break; in transfer_register()
199 case 8: VG_(transfer) (&ppc32->guest_GPR8, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-arm64.c140 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
152 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break; in transfer_register()
153 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break; in transfer_register()
154 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break; in transfer_register()
155 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break; in transfer_register()
156 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); break; in transfer_register()
157 case 5: VG_(transfer) (&arm->guest_X5, buf, dir, size, mod); break; in transfer_register()
158 case 6: VG_(transfer) (&arm->guest_X6, buf, dir, size, mod); break; in transfer_register()
159 case 7: VG_(transfer) (&arm->guest_X7, buf, dir, size, mod); break; in transfer_register()
160 case 8: VG_(transfer) (&arm->guest_X8, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-tilegx.c145 transfer_direction dir, int size, Bool *mod ) in transfer_register() argument
155 case 0: VG_(transfer) (&tilegx->guest_r0, buf, dir, size, mod); break; in transfer_register()
156 case 1: VG_(transfer) (&tilegx->guest_r1, buf, dir, size, mod); break; in transfer_register()
157 case 2: VG_(transfer) (&tilegx->guest_r2, buf, dir, size, mod); break; in transfer_register()
158 case 3: VG_(transfer) (&tilegx->guest_r3, buf, dir, size, mod); break; in transfer_register()
159 case 4: VG_(transfer) (&tilegx->guest_r4, buf, dir, size, mod); break; in transfer_register()
160 case 5: VG_(transfer) (&tilegx->guest_r5, buf, dir, size, mod); break; in transfer_register()
161 case 6: VG_(transfer) (&tilegx->guest_r6, buf, dir, size, mod); break; in transfer_register()
162 case 7: VG_(transfer) (&tilegx->guest_r7, buf, dir, size, mod); break; in transfer_register()
163 case 8: VG_(transfer) (&tilegx->guest_r8, buf, dir, size, mod); break; in transfer_register()
[all …]
/external/deqp/framework/referencerenderer/
DrrVertexAttrib.cpp60 inline void readOrder (typename tcu::Vector<DstScalarType, 4>& dst, const int size, const void* ptr) in readOrder() argument
63 deMemcpy(aligned, ptr, size * sizeof(SrcScalarType)); in readOrder()
66 if (size >= 2) dst[Order::T1] = DstScalarType(aligned[1]); in readOrder()
67 if (size >= 3) dst[Order::T2] = DstScalarType(aligned[2]); in readOrder()
68 if (size >= 4) dst[Order::T3] = DstScalarType(aligned[3]); in readOrder()
72 inline void readUnormOrder (tcu::Vec4& dst, const int size, const void* ptr) in readUnormOrder() argument
77 deMemcpy(aligned, ptr, size * sizeof(SrcScalarType)); in readUnormOrder()
80 if (size >= 2) dst[Order::T1] = float(aligned[1]) / float(range); in readUnormOrder()
81 if (size >= 3) dst[Order::T2] = float(aligned[2]) / float(range); in readUnormOrder()
82 if (size >= 4) dst[Order::T3] = float(aligned[3]) / float(range); in readUnormOrder()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddevice.cpp56 *num_devices = devs.size(); in clGetDeviceIDs()
59 std::min((cl_uint)devs.size(), num_entries), in clGetDeviceIDs()
67 size_t size, void *buf, size_t *size_ret) { in clGetDeviceInfo() argument
73 return scalar_property<cl_device_type>(buf, size, size_ret, dev->type()); in clGetDeviceInfo()
76 return scalar_property<cl_uint>(buf, size, size_ret, dev->vendor_id()); in clGetDeviceInfo()
79 return scalar_property<cl_uint>(buf, size, size_ret, 1); in clGetDeviceInfo()
82 return scalar_property<cl_uint>(buf, size, size_ret, in clGetDeviceInfo()
83 dev->max_block_size().size()); in clGetDeviceInfo()
86 return vector_property<size_t>(buf, size, size_ret, in clGetDeviceInfo()
90 return scalar_property<size_t>(buf, size, size_ret, in clGetDeviceInfo()
[all …]
/external/elfutils/tests/
Drun-aggregate-size.sh68 c size 1
69 i size 4
70 l size 8
71 v size 8
72 s size 16
73 ca size 16
74 ia size 128
75 va size 512
76 sa size 128
80 c size 1
[all …]
Drun-elfputzdata.sh45 Lets compress 22 .sbss, size: 0
47 Lets compress 24 .stab, size: 21540
48 Lets compress 25 .stabstr, size: 57297
49 Lets compress 26 .comment, size: 648
50 Lets compress 27 .debug_aranges, size: 56
51 Lets compress 28 .debug_pubnames, size: 93
52 Lets compress 29 .debug_info, size: 960
53 Lets compress 30 .debug_abbrev, size: 405
54 Lets compress 31 .debug_line, size: 189
55 Lets compress 32 .note, size: 240
[all …]
/external/opencv3/samples/gpu/performance/
Dtests.cpp70 for (int size = 2000; size <= 8000; size *= 2) in TEST() local
72 SUBTEST << size << 'x' << size << ", 32F"; in TEST()
74 gen(src, size, size, CV_32F, 0, 1); in TEST()
97 for (int size = 1000; size <= 4000; size *= 2) in TEST() local
99 SUBTEST << size << 'x' << size << ", 8UC4, INTER_LINEAR, BORDER_REPLICATE"; in TEST()
101 gen(src, size, size, CV_8UC4, 0, 256); in TEST()
103 xmap.create(size, size, CV_32F); in TEST()
104 ymap.create(size, size, CV_32F); in TEST()
105 for (int i = 0; i < size; ++i) in TEST()
109 for (int j = 0; j < size; ++j) in TEST()
[all …]
/external/e2fsprogs/tests/f_journal/
Dexpect.12 Clearing orphaned inode 37 (uid=0, gid=0, mode=0100600, size=4096)
3 Clearing orphaned inode 90 (uid=0, gid=0, mode=040700, size=1024)
4 Clearing orphaned inode 67 (uid=0, gid=0, mode=0100600, size=4096)
5 Clearing orphaned inode 50 (uid=0, gid=0, mode=0100600, size=4096)
6 Clearing orphaned inode 57 (uid=0, gid=0, mode=040700, size=1024)
7 Clearing orphaned inode 80 (uid=0, gid=0, mode=040700, size=1024)
8 Clearing orphaned inode 45 (uid=0, gid=0, mode=040700, size=1024)
9 Clearing orphaned inode 71 (uid=0, gid=0, mode=0100600, size=4096)
10 Clearing orphaned inode 86 (uid=0, gid=0, mode=040700, size=1024)
11 Clearing orphaned inode 83 (uid=0, gid=0, mode=040700, size=1024)
[all …]
/external/curl/tests/unit/
Dunit1302.c48 size_t size = 0; variable
52 rc = Curl_base64_encode(data, "i", 1, &output, &size);
54 fail_unless(size == 4, "size should be 4");
58 rc = Curl_base64_encode(data, "ii", 2, &output, &size);
60 fail_unless(size == 4, "size should be 4");
64 rc = Curl_base64_encode(data, "iii", 3, &output, &size);
66 fail_unless(size == 4, "size should be 4");
70 rc = Curl_base64_encode(data, "iiii", 4, &output, &size);
72 fail_unless(size == 8, "size should be 8");
76 rc = Curl_base64_encode(data, "\xff\x01\xfe\x02", 4, &output, &size);
[all …]
/external/skia/gm/
Dskbug_257.cpp15 int size) { in rotated_checkerboard_shader() argument
17 bm.allocN32Pixels(2 * size, 2 * size); in rotated_checkerboard_shader()
19 bm.eraseArea(SkIRect::MakeLTRB(0, 0, size, size), c2); in rotated_checkerboard_shader()
20 bm.eraseArea(SkIRect::MakeLTRB(size, size, 2 * size, 2 * size), c2); in rotated_checkerboard_shader()
62 static void test_text(SkCanvas* canvas, SkScalar size, in test_text() argument
69 canvas->drawText(text, strlen(text), 32, size / 2 + Y, type); in test_text()
71 exercise_draw_pos_text(canvas, text, 32, size / 2 + Y + lineSpacing, type); in test_text()
73 size / 2 + Y + 2 * lineSpacing, type); in test_text()
79 const SkScalar size = 256; variable
94 SkRect rect = SkRect::MakeLTRB(8, 8 + translate, size - 8,
[all …]
/external/boringssl/src/crypto/cipher/
Daead_test.cc52 if (!EVP_AEAD_CTX_init_with_direction(ctx.get(), aead, key.data(), key.size(), in TestAEAD()
53 tag.size(), evp_aead_seal)) { in TestAEAD()
58 std::vector<uint8_t> out(in.size() + EVP_AEAD_max_overhead(aead)); in TestAEAD()
61 if (!EVP_AEAD_CTX_seal(ctx.get(), out.data(), &out_len, out.size(), in TestAEAD()
62 nonce.data(), nonce.size(), in.data(), in.size(), in TestAEAD()
63 ad.data(), ad.size())) { in TestAEAD()
69 if (out.size() != ct.size() + tag.size()) { in TestAEAD()
71 (unsigned)(ct.size() + tag.size())); in TestAEAD()
74 if (!t->ExpectBytesEqual(ct.data(), ct.size(), out.data(), ct.size()) || in TestAEAD()
75 !t->ExpectBytesEqual(tag.data(), tag.size(), out.data() + ct.size(), in TestAEAD()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSparseArrayTest.java49 assertEquals(0, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
55 assertEquals(i + 1, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
71 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
74 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
80 int size = sparseArray.size(); in testSparseArrayWithDefaultCapacity() local
82 assertEquals(size + 1, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
83 assertEquals(size, sparseArray.indexOfKey(NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
84 assertEquals(size, sparseArray.indexOfValue(VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
85 assertEquals(NON_EXISTED_KEY, sparseArray.keyAt(size)); in testSparseArrayWithDefaultCapacity()
86 assertEquals(VALUE_FOR_NON_EXISTED_KEY, sparseArray.valueAt(size)); in testSparseArrayWithDefaultCapacity()
[all …]
/external/vboot_reference/tests/
Dvb21_common2_tests.c29 uint32_t size = key->c.total_size; in test_unpack_key() local
32 key2 = (struct vb2_packed_key *)malloc(size); in test_unpack_key()
34 memcpy(key2, key, size); in test_unpack_key()
35 TEST_SUCC(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
38 memcpy(key2, key, size); in test_unpack_key()
40 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
44 memcpy(key2, key, size); in test_unpack_key()
45 key2->c.fixed_size += size; in test_unpack_key()
46 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
50 memcpy(key2, key, size); in test_unpack_key()
[all …]
/external/lzma/C/
D7zStream.c10 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType) in SeqInStream_Read2() argument
12 while (size != 0) in SeqInStream_Read2()
14 size_t processed = size; in SeqInStream_Read2()
19 size -= processed; in SeqInStream_Read2()
24 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size) in SeqInStream_Read() argument
26 return SeqInStream_Read2(stream, buf, size, SZ_ERROR_INPUT_EOF); in SeqInStream_Read()
42 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size) in LookInStream_LookRead() argument
45 if (*size == 0) in LookInStream_LookRead()
47 RINOK(stream->Look(stream, &lookBuf, size)); in LookInStream_LookRead()
48 memcpy(buf, lookBuf, *size); in LookInStream_LookRead()
[all …]

12345678910>>...403