Home
last modified time | relevance | path

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

12345678910>>...377

/external/python/cpython2/Lib/test/
Dtest_bigmem.py43 def test_capitalize(self, size): argument
45 s = '-' * size + SUBSTR
52 def test_center(self, size): argument
54 s = SUBSTR.center(size)
55 self.assertEqual(len(s), size)
63 @precisionbigmemtest(size=_2G - 1, memuse=character_size)
64 def test_center_unicode(self, size): argument
67 s = SUBSTR.center(size)
71 self.assertEqual(len(s), size)
80 def test_count(self, size): argument
[all …]
/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/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/pcre/dist2/src/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.c254 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
297 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
298 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
299 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
300 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
301 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
302 case 5: VG_(transfer) (&ppc64->guest_GPR5, buf, dir, size, mod); break; in transfer_register()
303 case 6: VG_(transfer) (&ppc64->guest_GPR6, buf, dir, size, mod); break; in transfer_register()
304 case 7: VG_(transfer) (&ppc64->guest_GPR7, buf, dir, size, mod); break; in transfer_register()
305 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 …]
/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/python/cpython2/Modules/
Daudioop.c69 search(PyInt16 val, PyInt16 *table, int size) in search() argument
73 for (i = 0; i < size; i++) { in search()
77 return (size); in search()
314 audioop_check_size(int size) in audioop_check_size() argument
316 if (size != 1 && size != 2 && size != 4) { in audioop_check_size()
325 audioop_check_parameters(int len, int size) in audioop_check_parameters() argument
327 if (!audioop_check_size(size)) in audioop_check_parameters()
329 if (len % size != 0) { in audioop_check_parameters()
340 int len, size, val = 0; in audioop_getsample() local
343 if ( !PyArg_ParseTuple(args, "s#ii:getsample", &cp, &len, &size, &i) ) in audioop_getsample()
[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/syslinux/gpxe/src/core/
Dmalloc.c41 size_t size; member
50 size_t size; member
100 void * alloc_memblock ( size_t size, size_t align ) { in alloc_memblock() argument
111 size = ( size + MIN_MEMBLOCK_SIZE - 1 ) & ~( MIN_MEMBLOCK_SIZE - 1 ); in alloc_memblock()
114 DBG ( "Allocating %#zx (aligned %#zx)\n", size, align ); in alloc_memblock()
119 post_size = block->size - pre_size - size; in alloc_memblock()
128 post = ( ( ( void * ) block ) + size ); in alloc_memblock()
130 ( ( ( void * ) pre ) + pre->size ), pre, block, in alloc_memblock()
131 post, ( ( ( void * ) pre ) + pre->size ) ); in alloc_memblock()
138 post->size = post_size; in alloc_memblock()
[all …]
/external/skia/gm/
Dskbug_257.cpp16 int size) { in rotated_checkerboard_shader() argument
18 bm.allocN32Pixels(2 * size, 2 * size); in rotated_checkerboard_shader()
20 bm.eraseArea(SkIRect::MakeLTRB(0, 0, size, size), c2); in rotated_checkerboard_shader()
21 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->drawString(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/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/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/libnetfilter_conntrack/src/conntrack/
Dbuild.c13 size_t size, in __build_tuple_ip() argument
18 nest = nfnl_nest(&req->nlh, size, CTA_TUPLE_IP); in __build_tuple_ip()
22 nfnl_addattr_l(&req->nlh, size, CTA_IP_V4_SRC, &t->src.v4, in __build_tuple_ip()
24 nfnl_addattr_l(&req->nlh, size, CTA_IP_V4_DST, &t->dst.v4, in __build_tuple_ip()
28 nfnl_addattr_l(&req->nlh, size, CTA_IP_V6_SRC, &t->src.v6, in __build_tuple_ip()
30 nfnl_addattr_l(&req->nlh, size, CTA_IP_V6_DST, &t->dst.v6, in __build_tuple_ip()
41 size_t size, in __build_tuple_proto() argument
46 nest = nfnl_nest(&req->nlh, size, CTA_TUPLE_PROTO); in __build_tuple_proto()
48 nfnl_addattr_l(&req->nlh, size, CTA_PROTO_NUM, &t->protonum, in __build_tuple_proto()
58 nfnl_addattr_l(&req->nlh, size, CTA_PROTO_SRC_PORT, in __build_tuple_proto()
[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/strace/
Dbpf.c44 unsigned int size) in bpf_map_create() argument
50 if (!size) { in bpf_map_create()
54 if (size > sizeof(attr)) in bpf_map_create()
55 size = sizeof(attr); in bpf_map_create()
56 if (umoven_or_printaddr(tcp, addr, size, &attr)) in bpf_map_create()
69 unsigned int size) in bpf_map_update_elem() argument
78 if (!size) { in bpf_map_update_elem()
82 if (size > sizeof(attr)) in bpf_map_update_elem()
83 size = sizeof(attr); in bpf_map_update_elem()
84 if (umoven_or_printaddr(tcp, addr, size, &attr)) in bpf_map_update_elem()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.cc24 extern "C" void *__libc_malloc(uptr size);
25 extern "C" void *__libc_memalign(uptr alignment, uptr size);
26 extern "C" void *__libc_realloc(void *ptr, uptr size);
31 static void *__libc_memalign(uptr alignment, uptr size) {
33 uptr error = posix_memalign(&p, alignment, size);
41 static void *RawInternalAlloc(uptr size, InternalAllocatorCache *cache, in RawInternalAlloc() argument
45 return __libc_malloc(size); in RawInternalAlloc()
47 return __libc_memalign(alignment, size); in RawInternalAlloc()
50 static void *RawInternalRealloc(void *ptr, uptr size, in RawInternalRealloc() argument
53 return __libc_realloc(ptr, size); in RawInternalRealloc()
[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 …]

12345678910>>...377