Home
last modified time | relevance | path

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

12345678910>>...292

/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)
88 "glDeleteBuffers": LogSpec({1: pointer(size = "n")}),
89 "glDeleteFramebuffers": LogSpec({1: pointer(size = "n")}),
90 "glDeleteQueries": LogSpec({1: pointer(size = "n")}),
91 "glDeleteRenderbuffers": LogSpec({1: pointer(size = "n")}),
[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/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/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/trace-viewer/tracing/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-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-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-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/elfutils/src/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 …]
/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/linux-tools-perf/src/tools/perf/util/
Dtrace-event-read.c45 static int __do_read(int fd, void *buf, int size) in __do_read() argument
47 int rsize = size; in __do_read()
49 while (size) { in __do_read()
50 int ret = read(fd, buf, size); in __do_read()
64 size -= ret; in __do_read()
71 static int do_read(void *data, int size) in do_read() argument
75 r = __do_read(input_fd, data, size); in do_read()
78 size, r); in do_read()
88 static void skip(int size) in skip() argument
93 while (size) { in skip()
[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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DAbstractHeightMap.java60 protected int size = 0; field in AbstractHeightMap
101 heightData[x + (z * size)] = height; in setHeightAtPoint()
115 public void setSize(int size) throws Exception { in setSize() argument
116 if (size <= 0) { in setSize()
120 this.size = size; in setSize()
153 return heightData[x + (z * size)]; in getTrueHeightAtPoint()
167 return ((heightData[x + (z * size)]) * heightScale); in getScaledHeightAtPoint()
187 if (x + 1 >= size) { in getInterpolatedHeight()
196 if (z + 1 >= size) { in getInterpolatedHeight()
236 return size; in getSize()
[all …]
/external/robolectric/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/mesa3d/src/gallium/drivers/r300/
Dr300_emit.h37 unsigned size, void* state);
40 unsigned size, void* state);
43 unsigned size, void* state);
46 unsigned size, void* state);
49 unsigned size, void *state);
53 void r300_emit_fs(struct r300_context* r300, unsigned size, void *state);
55 void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *state);
57 void r300_emit_fs_rc_constant_state(struct r300_context* r300, unsigned size, void *state);
59 void r500_emit_fs(struct r300_context* r300, unsigned size, void *state);
61 void r500_emit_fs_constants(struct r300_context* r300, unsigned size, void *state);
[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.c8 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType) in SeqInStream_Read2() argument
10 while (size != 0) in SeqInStream_Read2()
12 size_t processed = size; in SeqInStream_Read2()
17 size -= processed; in SeqInStream_Read2()
22 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size) in SeqInStream_Read() argument
24 return SeqInStream_Read2(stream, buf, size, SZ_ERROR_INPUT_EOF); in SeqInStream_Read()
40 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size) in LookInStream_LookRead() argument
43 if (*size == 0) in LookInStream_LookRead()
45 RINOK(stream->Look(stream, &lookBuf, size)); in LookInStream_LookRead()
46 memcpy(buf, lookBuf, *size); in LookInStream_LookRead()
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_mem_test.cc18 size_t size = Ident(sizeof(T) * length); in MemSetOOBTestTemplate() local
19 T *array = Ident((T*)malloc(size)); in MemSetOOBTestTemplate()
24 MEMSET(array, element, size); in MemSetOOBTestTemplate()
25 MEMSET(array, element, size - 1); in MemSetOOBTestTemplate()
37 EXPECT_DEATH(MEMSET(array, 0, size + 1), in MemSetOOBTestTemplate()
41 EXPECT_DEATH(MEMSET(array + 1, element, size + sizeof(T)), in MemSetOOBTestTemplate()
48 EXPECT_DEATH(MEMSET((char*)array - 1, element, size), in MemSetOOBTestTemplate()
54 EXPECT_DEATH(memset(array - 5, element, size + 5 * sizeof(T)), in MemSetOOBTestTemplate()
62 EXPECT_DEATH(MEMSET((char*)array - 2, element, size + 4), in MemSetOOBTestTemplate()
78 static bool AllocateTwoAdjacentArrays(char **x1, char **x2, size_t size) { in AllocateTwoAdjacentArrays() argument
[all …]
/external/vboot_reference/firmware/2lib/
D2common.c14 int vb2_safe_memcmp(const void *s1, const void *s2, size_t size) in vb2_safe_memcmp() argument
20 if (0 == size) in vb2_safe_memcmp()
27 while (size--) in vb2_safe_memcmp()
33 int vb2_align(uint8_t **ptr, uint32_t *size, uint32_t align, uint32_t want_size) in vb2_align() argument
41 if (*size < offs) in vb2_align()
45 *size -= offs; in vb2_align()
48 if (*size < want_size) in vb2_align()
54 void vb2_workbuf_init(struct vb2_workbuf *wb, uint8_t *buf, uint32_t size) in vb2_workbuf_init() argument
57 wb->size = size; in vb2_workbuf_init()
60 if (vb2_align(&wb->buf, &wb->size, VB2_WORKBUF_ALIGN, 0)) in vb2_workbuf_init()
[all …]
/external/boringssl/src/crypto/cipher/
Daead_test.cc65 key.size(), tag.size(), in TestAEAD()
72 std::vector<uint8_t> out(in.size() + EVP_AEAD_max_overhead(aead)); in TestAEAD()
75 if (!EVP_AEAD_CTX_seal(&ctx, bssl::vector_data(&out), &out_len, out.size(), in TestAEAD()
76 bssl::vector_data(&nonce), nonce.size(), in TestAEAD()
77 bssl::vector_data(&in), in.size(), in TestAEAD()
78 bssl::vector_data(&ad), ad.size())) { in TestAEAD()
84 if (out.size() != ct.size() + tag.size()) { in TestAEAD()
86 (unsigned)(ct.size() + tag.size())); in TestAEAD()
89 if (!t->ExpectBytesEqual(bssl::vector_data(&ct), ct.size(), in TestAEAD()
90 bssl::vector_data(&out), ct.size()) || in TestAEAD()
[all …]
/external/eigen/test/eigen2/
Deigen2_map.cpp16 int size = m.size(); in map_class_vector() local
19 Scalar* array1 = ei_aligned_new<Scalar>(size); in map_class_vector()
20 Scalar* array2 = ei_aligned_new<Scalar>(size); in map_class_vector()
21 Scalar* array3 = new Scalar[size+1]; in map_class_vector()
24 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); in map_class_vector()
25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size); in map_class_vector()
26 …Map<VectorType>(array3unaligned, size) = Map<VectorType>((const Scalar*)array1, size); // test non… in map_class_vector()
27 VectorType ma1 = Map<VectorType>(array1, size); in map_class_vector()
28 VectorType ma2 = Map<VectorType, Aligned>(array2, size); in map_class_vector()
29 VectorType ma3 = Map<VectorType>(array3unaligned, size); in map_class_vector()
[all …]
/external/proguard/src/proguard/evaluation/
DVariables.java40 protected int size; field in Variables
46 public Variables(int size) in Variables() argument
48 this.values = new Value[size]; in Variables()
49 this.size = size; in Variables()
59 this(variables.size); in Variables()
69 public void reset(int size) in reset() argument
72 if (size > values.length) in reset()
75 values = new Value[size]; in reset()
83 this.size = size; in reset()
94 if (this.size < other.size) in initialize()
[all …]

12345678910>>...292