/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_labels.c | 35 unsigned int size, i; in nf_connlabels_replace() local 43 size = sizeof(labels->bits); in nf_connlabels_replace() 44 if (size < (words32 * sizeof(u32))) in nf_connlabels_replace() 45 words32 = size / sizeof(u32); in nf_connlabels_replace() 51 size /= sizeof(u32); in nf_connlabels_replace() 52 for (i = words32; i < size; i++) /* pad */ in nf_connlabels_replace()
|
/third_party/elfutils/tests/ |
H A D | dwfl-report-offline-memory.c | 66 off_t size = lseek (fd, 0, SEEK_END); in main() local 67 if (size < 0) in main() 70 char *data = malloc (size); in main() 73 ssize_t bytes_read = read (fd, data, size); in main() 74 assert (bytes_read == size); in main() 81 dwfl_report_offline_memory (dwfl, argv[1], argv[1], data, size); in main()
|
/third_party/curl/tests/libtest/ |
H A D | lib1540.c | 59 static size_t header_callback(void *ptr, size_t size, size_t nmemb, in header_callback() argument 62 size_t len = size * nmemb; in header_callback() 64 (void)fwrite(ptr, size, nmemb, stdout); in header_callback() 68 static size_t write_callback(void *ptr, size_t size, size_t nmemb, void *userp) in write_callback() argument 71 size_t len = size * nmemb; in write_callback() 76 fwrite(ptr, size, nmemb, stdout); in write_callback()
|
/third_party/elfutils/backends/ |
H A D | alpha_retval.c | 96 Dwarf_Word size; in alpha_return_value_location() local 98 &attr_mem), &size) != 0) in alpha_return_value_location() 101 size = 8; in alpha_return_value_location() 116 if (size <= 8) in alpha_return_value_location() 122 if (size <= 8 * 2) in alpha_return_value_location() 127 if (size <= 8) in alpha_return_value_location()
|
H A D | m68k_retval.c | 102 Dwarf_Word size; in m68k_return_value_location() local 105 &attr_mem), &size) != 0) in m68k_return_value_location() 108 size = 4; in m68k_return_value_location() 121 if (size > 12) in m68k_return_value_location() 133 if (size <= 4) in m68k_return_value_location() 135 if (size <= 8) in m68k_return_value_location()
|
H A D | sh_retval.c | 73 Dwarf_Word size; in sh_return_value_location() 96 &attr_mem), &size) != 0) in sh_return_value_location() 99 size = 4; in sh_return_value_location() 105 if (size <= 8) in sh_return_value_location() 119 return size <= 4 ? nloc_fpreg : nloc_fpregpair; in sh_return_value_location() 123 return size <= 4 ? nloc_intreg : nloc_intregpair; in sh_return_value_location()
|
H A D | i386_retval.c | 95 Dwarf_Word size; in i386_return_value_location() local 98 &attr_mem), &size) != 0) in i386_return_value_location() 101 size = 4; in i386_return_value_location() 114 if (size > 16) in i386_return_value_location() 121 if (size <= 4) in i386_return_value_location() 123 if (size <= 8) in i386_return_value_location()
|
H A D | s390_retval.c | 76 Dwarf_Word size; in s390_return_value_location() 104 &attr_mem), &size) != 0) in s390_return_value_location() 107 size = asize; in s390_return_value_location() 118 if (encoding == DW_ATE_float && size <= 8) in s390_return_value_location() 124 if (size <= 8) in s390_return_value_location() 127 return size <= asize ? nloc_intreg : nloc_intregpair; in s390_return_value_location()
|
/third_party/ffmpeg/libavformat/ |
H A D | nspdec.c | 39 uint32_t chunk, size; in nsp_read_header() local 52 size = avio_rl32(s->pb); in nsp_read_header() 58 if (size < 32) in nsp_read_header() 62 avio_skip(s->pb, size - (avio_tell(s->pb) - pos)); in nsp_read_header() 65 avio_get_str(s->pb, size, value, sizeof(value)); in nsp_read_header() 67 avio_skip(s->pb, size & 1); in nsp_read_header()
|
H A D | pcm.c | 32 int ret, size; in ff_pcm_read_packet() local 38 * Compute read size to complete a read every 62ms. in ff_pcm_read_packet() 41 size = FFMAX(par->sample_rate/25, 1); in ff_pcm_read_packet() 43 size = FFMIN(size, RAW_SAMPLES) * par->block_align; in ff_pcm_read_packet() 45 size = par->block_align; in ff_pcm_read_packet() 48 ret = av_get_packet(s->pb, pkt, size); in ff_pcm_read_packet()
|
/third_party/fsverity-utils/lib/ |
H A D | lib_private.h | 25 /* The block size that libfsverity assumes when none is specified */ 42 void (*update)(struct hash_ctx *ctx, const void *data, size_t size); 49 size_t size); 51 void libfsverity_hash_full(struct hash_ctx *ctx, const void *data, size_t size, 57 void *libfsverity_zalloc(size_t size); 58 void *libfsverity_memdup(const void *mem, size_t size); 90 bool libfsverity_mem_is_zeroed(const void *mem, size_t size);
|
/third_party/curl/docs/examples/ |
H A D | ftp-wildcard.c | 41 static size_t write_it(char *buff, size_t size, size_t nmemb, 101 (unsigned long)finfo->size); in file_is_coming() 117 if(finfo->size > 50) { in file_is_coming() 141 static size_t write_it(char *buff, size_t size, size_t nmemb, in write_it() argument 147 written = fwrite(buff, size, nmemb, data->output); in write_it() 150 written = fwrite(buff, size, nmemb, stdout); in write_it()
|
/third_party/node/test/parallel/ |
H A D | test-tls-client-getephemeralkeyinfo.js | 21 function test(size, type, name, cipher) { 34 if (size === 'auto') { 38 // of the certificate's key is equal to the size of the DHE parameter, but 41 publicKey: { asymmetricKeyDetails: { modulusLength: size } } 44 options.dhparam = loadDHParam(size); 62 assert.strictEqual(ekeyinfo.size, size);
|
/third_party/musl/src/passwd/ |
H A D | getgr_r.c | 6 static int getgr_r(const char *name, gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) in getgr_r() argument 19 if (*res && size < len + (nmem+1)*sizeof(char *) + 32) { in getgr_r() 41 int getgrnam_r(const char *name, struct group *gr, char *buf, size_t size, struct group **res) in getgrnam_r() argument 43 return getgr_r(name, 0, gr, buf, size, res); in getgrnam_r() 46 int getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) in getgrgid_r() argument 48 return getgr_r(0, gid, gr, buf, size, res); in getgrgid_r()
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_mem.h | 39 void *nghttp3_mem_malloc(const nghttp3_mem *mem, size_t size); 41 void *nghttp3_mem_calloc(const nghttp3_mem *mem, size_t nmemb, size_t size); 42 void *nghttp3_mem_realloc(const nghttp3_mem *mem, void *ptr, size_t size); 44 void *nghttp3_mem_malloc_debug(const nghttp3_mem *mem, size_t size, 64 size_t size, const char *func, const char *file, 71 void *nghttp3_mem_realloc_debug(const nghttp3_mem *mem, void *ptr, size_t size,
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_varyings.h | 57 unsigned size; member 120 unsigned size = varyings->buf[buf_idx].stride * vertex_count; in panvk_varyings_alloc() local 121 if (!size) in panvk_varyings_alloc() 125 pan_pool_alloc_aligned(varying_mem_pool, size, 64); in panvk_varyings_alloc() 127 varyings->buf[buf_idx].size = size; in panvk_varyings_alloc()
|
/third_party/ltp/testcases/kernel/syscalls/preadv2/ |
H A D | preadv201.c | 39 ssize_t size; member 68 if (TST_RET != tc->size) { in verify_preadv2() 70 TST_RET, tc->size); in verify_preadv2() 74 for (i = 0; i < tc->size; i++) { in verify_preadv2() 79 if (i < tc->size) { in verify_preadv2() 91 tc->size, tc->content); in verify_preadv2()
|
/third_party/ltp/testcases/kernel/syscalls/preadv/ |
H A D | preadv01.c | 33 ssize_t size; member 58 if (TST_RET != tc->size) { in verify_preadv() 60 TST_RET, tc->size); in verify_preadv() 64 for (i = 0; i < tc->size; i++) { in verify_preadv() 69 if (i < tc->size) { in verify_preadv() 81 "with content '%c' expectedly", tc->size, tc->content); in verify_preadv()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 6-2.c | 48 ssize_t size = 1024; in main() local 49 char data[size]; in main() 69 memset(data, 'a', size); in main() 70 if (write(fd, data, size) != size) { in main() 75 pa = mmap(NULL, size, PROT_NONE, MAP_SHARED, fd, 0); in main()
|
/third_party/lz4/tests/ |
H A D | datagencli.c | 71 DISPLAY( " %s [size] [args]\n", programName); in usage() 90 U64 size = SIZE_DEFAULT; in main() local 114 size = strtoull(argument, &argument, 10); in main() 115 if (*argument=='K') { size <<= 10; argument++; } in main() 116 if (*argument=='M') { size <<= 20; argument++; } in main() 117 if (*argument=='G') { size <<= 30; argument++; } in main() 151 RDG_genOut(size, proba, litProba, seed); in main()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | code-comments.cc | 23 return static_cast<uint32_t>(comment.size() + 1); in comment_length() 26 uint32_t CodeCommentEntry::size() const { in size() function in v8::internal::CodeCommentEntry 41 uint32_t CodeCommentsIterator::size() const { return code_comments_size_; } in size() function in v8::internal::CodeCommentsIterator 63 return current_entry_ < code_comments_start_ + size(); in HasCurrent() 81 byte_count_ += entry.size(); in Add() 85 size_t CodeCommentsWriter::entry_count() const { return comments_.size(); } in entry_count()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | no_align.rs | 27 size: [u8; ::__SIZEOF_PTHREAD_MUTEXATTR_T], 35 size: [u8; ::__SIZEOF_PTHREAD_RWLOCKATTR_T], 40 size: [u8; ::__SIZEOF_PTHREAD_CONDATTR_T], 61 size: [u8; ::__SIZEOF_PTHREAD_COND_T], 81 size: [u8; ::__SIZEOF_PTHREAD_MUTEX_T], 101 size: [u8; ::__SIZEOF_PTHREAD_RWLOCK_T],
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferAndImageAllocationUtil.hpp | 53 VkDeviceSize size, 68 VkDeviceSize size, 83 VkDeviceSize size, 95 virtual void createTestImage (tcu::IVec2 size, 108 virtual void createTestImage (tcu::IVec2 size, 121 virtual void createTestImage (tcu::IVec2 size,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferAndImageAllocationUtil.hpp | 50 virtual void createTestBuffer (VkDeviceSize size, 62 virtual void createTestBuffer (VkDeviceSize size, 74 virtual void createTestBuffer (VkDeviceSize size, 86 virtual void createTestImage (tcu::IVec2 size, 99 virtual void createTestImage (tcu::IVec2 size, 112 virtual void createTestImage (tcu::IVec2 size,
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/ |
H A D | spvtools_fuzz_fuzzer.cpp | 23 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { in LLVMFuzzerTestOneInput() argument 24 if (size == 0 || (size % sizeof(uint32_t)) != 0) { in LLVMFuzzerTestOneInput() 25 // An empty binary, or a binary whose size is not a multiple of word-size, in LLVMFuzzerTestOneInput() 30 std::vector<uint32_t> initial_binary(size / sizeof(uint32_t)); in LLVMFuzzerTestOneInput() 31 memcpy(initial_binary.data(), data, size); in LLVMFuzzerTestOneInput() 39 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()
|