Home
last modified time | relevance | path

Searched refs:size (Results 11201 - 11225 of 29216) sorted by relevance

1...<<441442443444445446447448449450>>...1169

/third_party/ltp/testcases/kernel/kvm/
H A Dlib_host.c128 uint64_t baseaddr, size_t size, unsigned int flags) in tst_kvm_alloc_memory()
142 size = LTP_ALIGN(size + offset, pagesize); in tst_kvm_alloc_memory()
143 ret = tst_alloc(size); in tst_kvm_alloc_memory()
146 memslot.memory_size = size; in tst_kvm_alloc_memory()
201 tst_res(TWARN, "RAM size increased to %zu bytes", ram_size); in tst_kvm_create_instance()
206 tst_res(TWARN, "RAM size truncated to %zu bytes", ram_size); in tst_kvm_create_instance()
127 tst_kvm_alloc_memory(struct tst_kvm_instance *inst, unsigned int slot, uint64_t baseaddr, size_t size, unsigned int flags) tst_kvm_alloc_memory() argument
/third_party/littlefs/scripts/
H A Dexplode_asserts.py42 static void __{prefix}_assert_print_{type}({ctype} v, size_t size) {{
43 (void)size;
64 static void __{prefix}_assert_print_{type}({ctype} v, size_t size) {{
65 (void)size;
86 static void __{prefix}_assert_print_{type}({ctype} v, size_t size) {{
89 for (size_t i = 0; i < size && i < {maxwidth}; i++) {{
96 if (size > {maxwidth}) {{
103 #define __{PREFIX}_ASSERT_{TYPE}_{COMP}(file, line, lh, rh, size)
107 if (!(memcmp(_lh, _rh, size) {op} 0)) {{
109 _lh, size, _r
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dshortnumberinfo.cc182 if (region_codes.size() > 1 && region_code != RegionCode::GetUnknown()) { in IsValidShortNumber()
239 if (region_codes.size() == 0) { in GetExpectedCost()
242 if (region_codes.size() == 1) { in GetExpectedCost()
274 if (region_codes.size() == 0) { in GetRegionCodeForShortNumberFromRegionList()
277 } else if (region_codes.size() == 1) { in GetRegionCodeForShortNumberFromRegionList()
/third_party/ltp/tools/sparse/sparse-src/
H A Dcse.c42 hash = (insn->opcode << 3) + (insn->size >> 3); in cse_collect()
251 // test and the hashing of the original size in in insn_compare()
263 if (i1->size != i2->size) in insn_compare()
264 return i1->size < i2->size ? -1 : 1; in insn_compare()
/third_party/node/deps/v8/src/heap/
H A Dscavenger.h44 int size; member
63 inline void PushRegularObject(HeapObject object, int size);
64 inline void PushLargeObject(HeapObject object, Map map, int size);
139 int size,
187 void IterateAndScavengePromotedObject(HeapObject target, Map map, int size);
/third_party/node/deps/v8/src/snapshot/
H A Dmksnapshot.cc136 size_t size = ftell(file); in GetExtraCode() local
138 char* chars = new char[size + 1]; in GetExtraCode()
139 chars[size] = '\0'; in GetExtraCode()
140 for (size_t i = 0; i < size;) { in GetExtraCode()
141 size_t read = fread(&chars[i], 1, size - i, file); in GetExtraCode()
/third_party/mesa3d/src/util/
H A Dsparse_array.c100 size_t size; in _util_sparse_array_node_alloc() local
102 size = arr->elem_size << arr->node_size_log2; in _util_sparse_array_node_alloc()
104 size = sizeof(uintptr_t) << arr->node_size_log2; in _util_sparse_array_node_alloc()
107 void *data = os_malloc_aligned(size, NODE_ALLOC_ALIGN); in _util_sparse_array_node_alloc()
108 memset(data, 0, size); in _util_sparse_array_node_alloc()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_image.c147 cfg.size = image->pimage.data.bo->size - offset; in CreateImageView()
192 unsigned size = panvk_buffer_range(buffer, pCreateInfo->offset, in CreateBufferView() local
195 view->elems = size / blksz; in CreateBufferView()
228 cfg.size = view->elems * blksz; in CreateBufferView()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_attr_get.c45 size_t size = 0; in pthread_attr_getguardsize_0100() local
48 int rev = pthread_attr_getguardsize(&attr, &size); in pthread_attr_getguardsize_0100()
382 * @tc.desc : Get stack size attribute in thread attributes object
387 size_t size; in pthread_attr_getstacksize_0100() local
394 ret = pthread_attr_getstacksize(&attr, &size); in pthread_attr_getstacksize_0100()
396 EXPECT_EQ("pthread_attr_getstacksize_0100", size, TEST_STACK_SIZE); in pthread_attr_getstacksize_0100()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/
H A Dtest_rng.c176 size_t size = 0; in test_rng_set_ctx_params() local
187 if (!OSSL_PARAM_get_octet_string(p, &ptr, 0, &size)) in test_rng_set_ctx_params()
191 t->entropy_len = size; in test_rng_set_ctx_params()
198 if (!OSSL_PARAM_get_octet_string(p, &ptr, 0, &size)) in test_rng_set_ctx_params()
202 t->nonce_len = size; in test_rng_set_ctx_params()
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbss_mem.c16 static int mem_read(BIO *h, char *buf, int size);
18 static int mem_gets(BIO *h, char *str, int size);
341 static int mem_gets(BIO *bp, char *buf, int size) in mem_gets() argument
353 if ((size - 1) < j) in mem_gets()
354 j = size - 1; in mem_gets()
/third_party/node/deps/uv/src/
H A Dfs-poll.c138 int uv_fs_poll_getpath(uv_fs_poll_t* handle, char* buffer, size_t* size) { in uv_fs_poll_getpath() argument
143 *size = 0; in uv_fs_poll_getpath()
151 if (required_len >= *size) { in uv_fs_poll_getpath()
152 *size = required_len + 1; in uv_fs_poll_getpath()
157 *size = required_len; in uv_fs_poll_getpath()
/third_party/node/deps/uv/src/unix/
H A Dibmi.c400 /* The first loop to get the size of the array to be allocated */ in uv_interface_addresses()
508 size_t size; in uv_setup_args() local
512 size = sizeof(exepath); in uv_setup_args()
513 if (uv__search_path(argv[0], exepath, &size) == 0) { in uv_setup_args()
528 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title() argument
529 if (buffer == NULL || size == 0) in uv_get_process_title()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DShortNumberInfo.java215 if (regionCodes.size() > 1 && regionCode != null) { in isValidShortNumber()
306 if (regionCodes.size() == 0) { in getExpectedCost()
309 if (regionCodes.size() == 1) { in getExpectedCost()
341 if (regionCodes.size() == 0) { in getRegionCodeForShortNumberFromRegionList()
343 } else if (regionCodes.size() == 1) { in getRegionCodeForShortNumberFromRegionList()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
H A DEdge.java124 allEdges = allEdges.subList(1, allEdges.size()); in disjunction()
305 int minSize = Math.min(lhs.size(), rhs.size()); in compareEdges()
312 return Integer.compare(lhs.size(), rhs.size()); in compareEdges()
/third_party/qrcodegen/rust-no-heap/examples/
H A Dqrcodegen-demo.rs188 // Creates QR Codes with the same size and contents but different mask patterns.
235 let dimension = qr.size().checked_add(border.checked_mul(2).unwrap()).unwrap(); in to_svg_string()
240 for y in 0 .. qr.size() { in to_svg_string()
241 for x in 0 .. qr.size() { in to_svg_string()
259 for y in -border .. qr.size() + border { in print_qr()
260 for x in -border .. qr.size() + border { in print_qr()
/third_party/python/Python/
H A Dthread_nt.h371 /* set the thread stack size.
372 * Return 0 if size is valid, -1 otherwise.
375 _pythread_nt_set_stacksize(size_t size) in _pythread_nt_set_stacksize() argument
378 if (size == 0) { in _pythread_nt_set_stacksize()
384 if (size >= THREAD_MIN_STACKSIZE && size < THREAD_MAX_STACKSIZE) { in _pythread_nt_set_stacksize()
385 _PyInterpreterState_GET()->threads.stacksize = size; in _pythread_nt_set_stacksize()
/third_party/pcre2/pcre2/src/
H A Dpcre2_context.c56 static void *default_malloc(size_t size, void *data) in default_malloc() argument
59 return malloc(size); in default_malloc()
79 size amount of memory required
86 PRIV(memctl_malloc)(size_t size, pcre2_memctl *memctl) in memctl_malloc() argument
89 void *yield = (memctl == NULL)? malloc(size) : in memctl_malloc()
90 memctl->malloc(size, memctl->memory_data); in memctl_malloc()
/third_party/python/Lib/
H A Dcmd.py361 size = len(list)
362 if size == 1:
367 ncols = (size+nrows-1) // nrows
374 if i >= size:
392 if i >= size:
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBufferSparseBinding.cpp140 bufferCreateInfo.size = m_bufferSize; // VkDeviceSize size; in iterate()
164 if (bufferMemRequirement.size > getPhysicalDeviceProperties(instance, physicalDevice).limits.sparseAddressSpaceSize) in iterate()
165 TCU_THROW(NotSupportedError, "Required memory size for sparse resources exceeds device limits"); in iterate()
167 DE_ASSERT((bufferMemRequirement.size % bufferMemRequirement.alignment) == 0); in iterate()
173 const deUint32 numSparseBinds = static_cast<deUint32>(bufferMemRequirement.size / bufferMemRequirement.alignment); in iterate()
197 bufferMemRequirement.size, // VkDeviceSize allocationSize; in iterate()
209 bufferMemRequirement.alignment, // VkDeviceSize size; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOCornerCase.cpp110 int size; member
112 Buffer (deUint32 buffer_, int size_) : buffer(buffer_), size(size_) {} in Buffer()
113 Buffer (void) : buffer(0), size(0) {} in Buffer()
125 *allocationSize = bufReqs.size; in allocateAndBindMemory()
142 bufferSize, // VkDeviceSize size; in createBuffer()
250 (deUint32)(sizeof(vk::VkDeviceAddress)) // deUint32 size in iterate()
254 DE_ASSERT(pushConstRange.size <= 128); in iterate()
/third_party/skia/third_party/externals/angle2/src/common/
H A DCircularBuffer.h53 size_type size() const;
139 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::size_type CircularBuffer<T, N, Storage>::size() in size() function in angle::CircularBuffer
149 ASSERT(mFrontIndex < size()); in front()
157 ASSERT(mFrontIndex < size());
171 mFrontIndex = (mFrontIndex + 1) % size();
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DCLCommandQueueImpl.h29 size_t size,
37 size_t size,
72 size_t size,
92 size_t size,
100 size_t size,
/third_party/skia/third_party/externals/angle2/samples/multiview/
H A DMultiview.cpp214 glBufferData(GL_ARRAY_BUFFER, sizeof(angle::Vector3) * mCube.positions.size(),
221 glBufferData(GL_ARRAY_BUFFER, sizeof(angle::Vector3) * mCube.normals.size(),
228 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLushort) * mCube.indices.size(),
303 // Set the viewport to be the size as one of the views.
319 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCube.indices.size()),
325 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCube.indices.size()),
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DCommon.h123 constexpr TSpan(T *ptr, size_type size) : mData(ptr), mSize(size) {} in TSpan() argument
136 TSpan(const TVector<S> &vec) : mData(vec.data()), mSize(vec.size()) in TSpan()
142 mSize = vec.size(); in operator =()
171 constexpr size_type size() const { return mSize; } in size() function in sh::TSpan

Completed in 227 milliseconds

1...<<441442443444445446447448449450>>...1169