/third_party/mesa3d/src/amd/common/ |
H A D | ac_surface_modifier_test.c | 75 din.size = sizeof(ADDR2_COMPUTE_DCCINFO_INPUT); in get_addr_from_coord_base() 76 dout.size = sizeof(ADDR2_COMPUTE_DCCINFO_OUTPUT); in get_addr_from_coord_base() 94 dcc_input.size = sizeof(dcc_input); in get_addr_from_coord_base() 132 input.size = sizeof(input); in generate_hash() 168 output.size = sizeof(output); in generate_hash() 180 dcc_output.size = sizeof(dcc_output); in generate_hash() 193 dcc_output.size = sizeof(dcc_output); in generate_hash()
|
/third_party/libbpf/src/ |
H A D | ringbuf.c | 133 * data size to allow simple reading of samples that wrap around the in ring_buffer__add() 139 pr_warn("ringbuf: ring buffer size (%u) is too big\n", info.max_entries); in ring_buffer__add() 447 * region as twice the total size of the ring buffer to allow the in user_ringbuf_map() 453 pr_warn("user ringbuf: ring buf size (%u) is too big\n", info.max_entries); in user_ringbuf_map() 541 void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size) in user_ring_buffer__reserve() argument 549 if (size & (BPF_RINGBUF_BUSY_BIT | BPF_RINGBUF_DISCARD_BIT)) in user_ring_buffer__reserve() 561 /* Round up total size to a multiple of 8. */ in user_ring_buffer__reserve() 562 total_size = (size + BPF_RINGBUF_HDR_SZ + 7) / 8 * 8; in user_ring_buffer__reserve() 571 hdr->len = size | BPF_RINGBUF_BUSY_BIT; in user_ring_buffer__reserve() 592 void *user_ring_buffer__reserve_blocking(struct user_ring_buffer *rb, __u32 size, in argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_pass.c | 335 size_t size; in radv_CreateRenderPass2() local 340 size = sizeof(*pass); in radv_CreateRenderPass2() 341 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in radv_CreateRenderPass2() 342 attachments_offset = size; in radv_CreateRenderPass2() 343 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in radv_CreateRenderPass2() 345 pass = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateRenderPass2() 349 memset(pass, 0, size); in radv_CreateRenderPass2()
|
/third_party/libwebsockets/win32port/dirent/ |
H A D | dirent-win32.h | 212 /* Return the maximum size of a file name */ 229 /* Structure size */ 269 /* Structure size */ 889 size_t size = 0; in scandir() local 906 if (size >= allocated) { in scandir() 911 if (size < init_size) { in scandir() 915 /* Double the size */ in scandir() 916 num_entries = size * 2; in scandir() 961 files[size++] = tmp; in scandir() 974 qsort (files, size, sizeo in scandir() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_liverangeevaluator.cpp | 130 for (size_t i = 0; i < comp_access.size(); ++i) { in finalize() 226 return m_scopes[m_scopes.size() - 1].get(); in create_scope() 393 for (auto i = 0u; i < array.size(); ++i) { in record_write() 420 for (auto i = 0u; i < array.size(); ++i) { in record_read() 447 if (lc.size() != rc.size()) in operator ==() 450 for (auto j = 0u; j < lc.size(); ++j) { in operator ==()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_image.c | 101 &image->size); in lvp_image_create() 256 pLayout->size = image->size; in lvp_GetImageSubresourceLayout() 282 if (pCreateInfo->size > UINT32_MAX) in lvp_CreateBuffer() 291 buffer->size = pCreateInfo->size; in lvp_CreateBuffer() 305 template.width0 = buffer->size; in lvp_CreateBuffer()
|
/third_party/node/lib/internal/util/ |
H A D | comparisons.js | 227 if (!isSet(val2) || val1.size !== val2.size) { 232 if (!isMap(val2) || val1.size !== val2.size) { 325 val1.size === 0)) { 466 return set.size === 0; 528 return set.size === 0;
|
/third_party/node/src/crypto/ |
H A D | crypto_hash.cc | 149 const char* data, size_t size) { in HashUpdate() 151 if (UNLIKELY(size > INT_MAX)) in HashUpdate() 153 bool r = hash->HashUpdate(data, size); in HashUpdate() 229 tracker->TrackFieldWithSize("in", in.size()); in MemoryInfo() 294 ctx.get(), params.in.data<char>(), params.in.size()) <= 0)) { in DeriveBits() 336 content.size(), in InternalVerifyIntegrity() 345 if (digest_size != expected.size() || in InternalVerifyIntegrity()
|
/third_party/node/deps/v8/src/zone/ |
H A D | zone-chunk-list.h | 33 // grow in size up to a certain limit to avoid over-allocation and to keep 50 // The list will start with one chunk at maximum size. Use this if you 66 size_t size() const { return size_; } in size() function in v8::internal::ZoneChunkList::StartMode 67 bool is_empty() const { return size() == 0; } in is_empty() 280 DCHECK_LT(size_t(0), size()); in front() 286 DCHECK_LT(size_t(0), size()); in back() 320 DCHECK_LT(size_t(0), size()); in pop_back() 347 DCHECK_LT(index, size()); in SeekIndex() 359 if (limit >= size()) return; in Rewind()
|
/third_party/ninja/src/ |
H A D | disk_interface_test.cc | 304 ASSERT_EQ(1u, stats_.size());
in TEST_F() 306 ASSERT_EQ(2u, stats_.size());
in TEST_F() 320 ASSERT_EQ(1u, stats_.size());
in TEST_F() 322 ASSERT_EQ(3u, stats_.size());
in TEST_F() 340 ASSERT_EQ(1u, stats_.size());
in TEST_F() 342 ASSERT_EQ(1u + 6u, stats_.size());
in TEST_F() 361 ASSERT_EQ(1u, stats_.size());
in TEST_F()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | rbbi_cache.cpp | 54 if (fPositionInCache >= 0 && fPositionInCache < fBreaks.size() && fBreaks.elementAti(fPositionInCache) == fromPos) { in following() 56 if (fPositionInCache >= fBreaks.size()) { in following() 69 for (fPositionInCache = 0; fPositionInCache < fBreaks.size(); ++fPositionInCache) { in following() 88 fPositionInCache = fBreaks.size() - 1; in preceding() 95 if (fPositionInCache > 0 && fPositionInCache < fBreaks.size() && fBreaks.elementAti(fPositionInCache) == fromPos) { in preceding() 109 for (fPositionInCache = fBreaks.size()-1; fPositionInCache >= 0; --fPositionInCache) { in preceding() 181 U_ASSERT(foundBreakCount == fBreaks.size()); in populateDictionary()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_android.c | 442 w = buffer->vk.size; in anv_create_ahw_memory() 551 align_u64(mem_reqs.memoryRequirements.size, in anv_image_init_from_gralloc() 554 if (bo->size < aligned_image_size) { in anv_image_init_from_gralloc() 558 bo->size, aligned_image_size); in anv_image_init_from_gralloc() 612 uint64_t img_size = image->bindings[ANV_IMAGE_MEMORY_BINDING_MAIN].memory_range.size; in anv_image_bind_from_gralloc() 613 if (img_size < bo->size) { in anv_image_bind_from_gralloc() 617 bo->size, img_size); in anv_image_bind_from_gralloc()
|
/third_party/littlefs/scripts/ |
H A D | prettyasserts.py | 76 f.writeln(" const void *v, size_t size) {") 77 f.writeln(" (void)size;") 83 f.writeln(" const void *v, size_t size) {") 84 f.writeln(" (void)size;") 90 f.writeln(" const void *v, size_t size) {") 93 f.writeln(" for (size_t i = 0; i < size && i < %d; i++) {" % limit) 100 f.writeln(" if (size > %d) {" % limit) 108 f.writeln(" const void *v, size_t size) {") 109 f.writeln(" __pretty_assert_print_mem(v, size);") 159 f.writeln("#define __PRETTY_ASSERT_MEM_%s(lh, rh, size) d [all...] |
/third_party/libfuse/lib/ |
H A D | cuse_lowlevel.c | 45 static void cuse_fll_read(fuse_req_t req, fuse_ino_t ino, size_t size, in cuse_fll_read() argument 49 req_clop(req)->read(req, size, off, fi); in cuse_fll_read() 53 size_t size, off_t off, struct fuse_file_info *fi) in cuse_fll_write() 56 req_clop(req)->write(req, buf, size, off, fi); in cuse_fll_write() 98 size_t size = 0; in cuse_pack_info() local 105 size += len; in cuse_pack_info() 112 return size; in cuse_pack_info() 222 fuse_log(FUSE_LOG_ERR, "cuse: warning: buffer size too small: %zu\n", in cuse_lowlevel_init() 52 cuse_fll_write(fuse_req_t req, fuse_ino_t ino, const char *buf, size_t size, off_t off, struct fuse_file_info *fi) cuse_fll_write() argument
|
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-profiler.h | 187 /** Get preferred output chunk size. Called only once. */ 194 virtual WriteResult WriteAsciiChunk(char* data, int size) = 0; 270 * is written into the stream provided in chunks of specified size. 359 // Indicates that the sample buffer size should not be explicitly limited. 618 /** Returns node's own size, in bytes. */ 661 * is written into the stream provided in chunks of specified size. 663 * advance, it can be roughly equal to JS heap size (that means, 718 size_t size; member 721 * The number of objects of such size that were sampled. 795 size_t size; member 1190 uint32_t size; // New value of size field for the interval with this index. global() member [all...] |
/third_party/node/deps/v8/include/ |
H A D | v8-profiler.h | 190 /** Get preferred output chunk size. Called only once. */ 197 virtual WriteResult WriteAsciiChunk(char* data, int size) = 0; 273 * is written into the stream provided in chunks of specified size. 362 // Indicates that the sample buffer size should not be explicitly limited. 615 /** Returns node's own size, in bytes. */ 658 * is written into the stream provided in chunks of specified size. 660 * advance, it can be roughly equal to JS heap size (that means, 715 size_t size; member 718 * The number of objects of such size that were sampled. 792 size_t size; member 1121 uint32_t size; // New value of size field for the interval with this index. global() member [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | free-list.cc | 51 size_t size = cur_node.size(kRelaxedLoad); in SearchForNodeInList() local 52 if (size >= minimum_size) { in SearchForNodeInList() 53 DCHECK_GE(available_, size); in SearchForNodeInList() 54 UpdateCountersAfterAllocation(size); in SearchForNodeInList() 66 *node_size = size; in SearchForNodeInList() 153 // Blocks have to be a minimum size to hold free list items. in Free() 279 // Blocks have to be a minimum size to hold free list items. in Free() 514 sum += cur.size(kRelaxedLoad); in SumFreeList()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_query_hw.c | 292 fd_hw_sample_init(struct fd_batch *batch, uint32_t size) in fd_hw_sample_init() argument 296 samp->size = size; in fd_hw_sample_init() 297 assert(util_is_power_of_two_or_zero(size)); in fd_hw_sample_init() 298 batch->next_sample_offset = align(batch->next_sample_offset, size); in fd_hw_sample_init() 304 batch->next_sample_offset += size; in fd_hw_sample_init() 312 .width0 = 0, /* create initially zero size buffer */ in fd_hw_sample_init() 347 while (batch->samples.size > 0) { in fd_hw_query_prepare()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_prim_vbuf.c | 61 /** Vertex size in bytes */ 75 size_t vbo_size; /**< current size of allocated buffer */ 76 size_t vbo_alloc_size; /**< minimum buffer size to allocate */ 145 i915_vbuf_render_reserve(struct i915_vbuf_render *i915_render, size_t size) in i915_vbuf_render_reserve() argument 149 if (i915_render->vbo_size < size + i915_render->vbo_sw_offset) in i915_vbuf_render_reserve() 167 i915_vbuf_render_new_buf(struct i915_vbuf_render *i915_render, size_t size) in i915_vbuf_render_new_buf() argument 186 i915_render->vbo_size = MAX2(size, i915_render->vbo_alloc_size); in i915_vbuf_render_new_buf() 209 size_t size = (size_t)vertex_size * (size_t)nr_vertices; in i915_vbuf_render_allocate_vertices() local 213 * Align sw_offset with first multiple of vertex size from hw_offset. in i915_vbuf_render_allocate_vertices() 225 if (!i915_vbuf_render_reserve(i915_render, size)) in i915_vbuf_render_allocate_vertices() [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | benchmark_framework.cpp | 211 for (int size : sizes) { in GetArgs() 212 args.push_back({size}); in GetArgs() 220 for (int size : sizes) { in GetArgs() 221 args.push_back({size, value}); in GetArgs() 229 for (int size : sizes) { in GetArgs() 230 args.push_back({size, value1, value2}); in GetArgs() 335 int arraySize = cJSON_GetArraySize(item); // Get the size of the array in RegisterJsonBenchmarks() 438 int argcAfterShift = argvAfterShift.size(); in main()
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bf_buff.c | 16 static int buffer_read(BIO *h, char *buf, int size); 18 static int buffer_gets(BIO *h, char *str, int size); 420 static int buffer_gets(BIO *b, char *buf, int size) in buffer_gets() argument 427 size--; /* reserve space for a '\0' */ in buffer_gets() 434 for (i = 0; (i < ctx->ibuf_len) && (i < size); i++) { in buffer_gets() 443 size -= i; in buffer_gets() 446 if (flag || size == 0) { in buffer_gets()
|
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/ |
H A D | MigrationJob.java | 319 if (exportInvalidMigrations && invalidMigrations.size() > 0) { in toString() 378 int migratedCount = validMigrations.size() + invalidMigrations.size(); in printMetrics() 379 int totalCount = untouchedEntries.size() + migratedCount; in printMetrics() 397 System.out.println("* " + validMigrations.size() + " out of the " + migratedCount + in printMetrics() 400 System.out.println("* " + validUntouchedEntries.size() + " out of the " + in printMetrics() 401 untouchedEntries.size() + " non-migrated numbers were/was already in a valid, dialable " in printMetrics()
|
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitConfigInternal.h | 245 #define SLJIT_MALLOC(size, allocator_data) malloc(size) 617 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size); 620 #define SLJIT_BUILTIN_MALLOC_EXEC(size, exec_allocator_data) sljit_malloc_exec(size) 624 #define SLJIT_MALLOC_EXEC(size, exec_allocator_data) SLJIT_BUILTIN_MALLOC_EXEC((size), (exec_allocator_data))
|
/third_party/python/Include/ |
H A D | unicodeobject.h | 132 Py_ssize_t size /* size of buffer */ 136 UTF-8 encoded bytes. The size is determined with strlen(). */ 277 size. 283 Py_ssize_t size /* size of buffer */ 287 most size wchar_t characters are copied. 301 Py_ssize_t size /* size of buffer */ 305 always ends with a nul character. If size i [all...] |
/third_party/openssl/crypto/bio/ |
H A D | bf_buff.c | 16 static int buffer_read(BIO *h, char *buf, int size); 18 static int buffer_gets(BIO *h, char *str, int size); 420 static int buffer_gets(BIO *b, char *buf, int size) in buffer_gets() argument 427 size--; /* reserve space for a '\0' */ in buffer_gets() 434 for (i = 0; (i < ctx->ibuf_len) && (i < size); i++) { in buffer_gets() 443 size -= i; in buffer_gets() 446 if (flag || size == 0) { in buffer_gets()
|