Home
last modified time | relevance | path

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

12345678910>>...625

/external/python/cpython3/Lib/test/
Dtest_bigmem.py72 def _test_capitalize(self, size): argument
75 s = _('-') * size + SUBSTR
81 @bigmemtest(size=_2G + 10, memuse=1)
82 def test_center(self, size): argument
84 s = SUBSTR.center(size)
85 self.assertEqual(len(s), size)
92 @bigmemtest(size=_2G, memuse=2)
93 def test_count(self, size): argument
96 s = _('.') * size + SUBSTR
97 self.assertEqual(s.count(_('.')), size)
[all …]
/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/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/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/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
109 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, flags, -1, 0); in alloc_chunk()
115 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, dev_zero, 0); in alloc_chunk()
121 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument
123 munmap(chunk, size); in free_chunk()
135 sljit_uw size; member
[all …]
DsljitProtExecAllocator.c168 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() argument
177 if (ftruncate(fd, size)) { in alloc_chunk()
182 retval = (struct chunk_header *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in alloc_chunk()
189 retval->executable = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_SHARED, fd, 0); in alloc_chunk()
192 munmap(retval, size); in alloc_chunk()
201 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument
206 munmap(header->executable, size); in free_chunk()
207 munmap(header, size); in free_chunk()
218 sljit_uw size; member
227 sljit_uw size; member
[all …]
/external/python/cpython2/Modules/
Daudioop.c77 search(PyInt16 val, PyInt16 *table, int size) in search() argument
81 for (i = 0; i < size; i++) { in search()
85 return (size); in search()
322 audioop_check_size(int size) in audioop_check_size() argument
324 if (size != 1 && size != 2 && size != 4) { in audioop_check_size()
333 audioop_check_parameters(int len, int size) in audioop_check_parameters() argument
335 if (!audioop_check_size(size)) in audioop_check_parameters()
337 if (len % size != 0) { in audioop_check_parameters()
348 int len, size, val = 0; in audioop_getsample() local
351 if ( !PyArg_ParseTuple(args, "s#ii:getsample", &cp, &len, &size, &i) ) in audioop_getsample()
[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/deqp-deps/glslang/Test/baseResults/
Dreflection.vert.out3 image_ui2D: offset -1, type 9063, size 1, index -1, binding -1, stages 1
4 sampler_2D: offset -1, type 8b5e, size 1, index -1, binding -1, stages 1
5 sampler_2DMSArray: offset -1, type 910b, size 1, index -1, binding -1, stages 1
6 anonMember3: offset 80, type 8b52, size 1, index 0, binding -1, stages 1
7 s.a: offset -1, type 1404, size 1, index -1, binding -1, stages 1
8 named.scalar: offset 12, type 1404, size 1, index 1, binding -1, stages 1
9 m23: offset 16, type 8b67, size 1, index 0, binding -1, stages 1
10 scalarAfterm23: offset 48, type 1404, size 1, index 0, binding -1, stages 1
11 c_m23: offset 16, type 8b67, size 1, index 2, binding -1, stages 1
12 c_scalarAfterm23: offset 64, type 1404, size 1, index 2, binding -1, stages 1
[all …]
Dhlsl.reflection.vert.out3 anonMember3: offset 80, type 8b52, size 1, index 0, binding -1, stages 1
4 s.a: offset 0, type 1404, size 1, index 1, binding -1, stages 1
5 m23: offset 16, type 8b67, size 1, index 0, binding -1, stages 1
6 scalarAfterm23: offset 48, type 1404, size 1, index 0, binding -1, stages 1
7 c_m23: offset 16, type 8b67, size 1, index 2, binding -1, stages 1
8 c_scalarAfterm23: offset 48, type 1404, size 1, index 2, binding -1, stages 1
9 scalarBeforeArray: offset 96, type 1404, size 1, index 0, binding -1, stages 1
10 floatArray: offset 112, type 1406, size 5, index 0, binding -1, stages 1
11 scalarAfterArray: offset 192, type 1404, size 1, index 0, binding -1, stages 1
12 m22: offset 208, type 8b5a, size 9, index 0, binding -1, stages 1
[all …]
/external/perf_data_converter/src/quipper/testdata/
Dperf.data.systemwide.5-3.4.serialized.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 136
309 size: 56
329 size: 64
[all …]
Dperf.data.throttle-3.8.parse.remap2.out.pb_text4 size: 96
49 size: 96
95 size: 96
118 size: 128
141 size: 128
164 size: 128
187 size: 128
210 size: 136
233 size: 144
256 size: 144
[all …]
Dperf.data.systemwide.1-3.4.serialized.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 56
306 size: 64
326 size: 64
[all …]
Dperf.data.systemwide.5-3.4.io.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 128
309 size: 144
332 size: 144
[all …]
Dperf.data.systemwide.5-3.4.pr.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 128
309 size: 144
332 size: 144
[all …]
Dperf.data.systemwide.5-3.4.parse.remap.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 128
309 size: 144
332 size: 144
[all …]
Dperf.data.systemwide.5-3.4.ser.comm.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 128
309 size: 144
332 size: 144
[all …]
Dperf.data.systemwide.5-3.4.parse.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 128
309 size: 144
332 size: 144
[all …]
Dperf.data.systemwide.5-3.4.parse.remap2.out.pb_text4 size: 96
47 size: 96
90 size: 96
133 size: 96
176 size: 96
219 size: 96
263 size: 96
286 size: 128
309 size: 144
332 size: 144
[all …]
/external/epid-sdk/epid/verifier/unittests/
Dverify-test.cc45 EpidVerify(nullptr, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
46 msg.data(), msg.size())); in TEST_F()
48 EpidVerify(verifier, nullptr, sig.size(), msg.data(), msg.size())); in TEST_F()
50 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
51 nullptr, msg.size())); in TEST_F()
61 msg.data(), msg.size())); in TEST_F()
65 msg.size())); in TEST_F()
71 this->kGrp01SigRl.size()); in TEST_F()
79 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
80 msg.data(), msg.size())); in TEST_F()
[all …]
/external/elfutils/tests/
Drun-aggregate-size.sh71 c size 1
72 i size 4
73 l size 8
74 v size 8
75 s size 16
76 ca size 16
77 ia size 128
78 va size 512
79 sa size 128
83 c size 1
[all …]
/external/jemalloc_new/src/
Dpages.c56 static void os_pages_unmap(void *addr, size_t size);
61 os_pages_map(void *addr, size_t size, size_t alignment, bool *commit) { in os_pages_map() argument
63 assert(ALIGNMENT_CEILING(size, os_page) == size); in os_pages_map()
64 assert(size != 0); in os_pages_map()
76 ret = VirtualAlloc(addr, size, MEM_RESERVE | (*commit ? MEM_COMMIT : 0), in os_pages_map()
86 ret = mmap(addr, size, prot, mmap_flags, -1, 0); in os_pages_map()
96 os_pages_unmap(ret, size); in os_pages_map()
103 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ret, size, in os_pages_map()
113 os_pages_trim(void *addr, size_t alloc_size, size_t leadsize, size_t size, in os_pages_trim() argument
117 assert(alloc_size >= leadsize + size); in os_pages_trim()
[all …]
/external/u-boot/fs/yaffs2/
Dyaffs_nameval.c36 int size; in nval_find() local
38 memcpy(&size, xb, sizeof(int)); in nval_find()
39 while (size > 0 && (size < xb_size) && (pos + size < xb_size)) { in nval_find()
41 name, size)) { in nval_find()
43 *exist_size = size; in nval_find()
46 pos += size; in nval_find()
48 memcpy(&size, xb + pos, sizeof(int)); in nval_find()
50 size = 0; in nval_find()
60 int size; in nval_used() local
62 memcpy(&size, xb + pos, sizeof(int)); in nval_used()
[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 …]

12345678910>>...625