/third_party/curl/docs/examples/ |
H A D | ftpgetinfo.c | 30 * Checks a single file's size and mtime from an FTP server. 34 static size_t throw_away(void *ptr, size_t size, size_t nmemb, void *data) in throw_away() argument 39 so we only return the size we would have saved ... */ in throw_away() 40 return (size_t)(size * nmemb); in throw_away()
|
H A D | ftpsget.c | 39 static size_t my_fwrite(void *buffer, size_t size, size_t nmemb, in my_fwrite() argument 49 return fwrite(buffer, size, nmemb, out->stream); in my_fwrite()
|
H A D | href_extractor.c | 39 static size_t write_callback(void *buffer, size_t size, size_t nmemb, in write_callback() argument 42 size_t realsize = size * nmemb, p; in write_callback()
|
H A D | httpput.c | 43 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream) in read_callback() argument 51 retcode = fread(ptr, size, nmemb, stream); in read_callback() 77 /* get the file size of the local file */ in main() 104 /* provide the size of the upload, we typecast the value to curl_off_t in main() 105 since we must be sure to use the correct data size */ in main()
|
H A D | sftpget.c | 48 static size_t my_fwrite(void *buffer, size_t size, size_t nmemb, in my_fwrite() argument 58 return fwrite(buffer, size, nmemb, out->stream); in my_fwrite()
|
/third_party/gn/src/gn/ |
H A D | string_output_buffer.h | 51 size_t size() const { return (pages_.size() - 1u) * kPageSize + pos_; } in size() function in StringOutputBuffer
|
H A D | pool.cc | 32 for (std::string::size_type i = 2; i < toolchain_dir.size(); ++i) { in GetNinjaName() 40 for (std::string::size_type i = 2; i < label_dir.size(); ++i) { in GetNinjaName()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CollectionSet.java | 26 public int size() { in size() method in CollectionSet 27 return data.size(); in size()
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/ |
H A D | usb_obj.h | 78 extern void *usbm_malloc(struct usb_obj *obj, size_t size); 79 extern void *usbm_zalloc(struct usb_obj *obj, size_t size);
|
H A D | usb_handle.h | 71 void *(*mmap)(struct usb_handle *handle, uint32_t size); 83 extern void *handle_mmap(int fd, uint32_t size);
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | CollectionSet.java | 28 public int size() { in size() method in CollectionSet 29 return data.size(); in size()
|
/third_party/icu/icu4c/source/common/unicode/ |
H A D | uclean.h | 10 * tab size: 8 (not used) 108 * @param size The number of bytes to be allocated 113 typedef void *U_CALLCONV UMemAllocFn(const void *context, size_t size); 117 * @param size The number of bytes to be allocated 122 typedef void *U_CALLCONV UMemReallocFn(const void *context, void *mem, size_t size); 128 * @param size The new size for the block
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | OutBuffer.h | 57 void WriteBytes(const void *data, size_t size)
in WriteBytes() argument 59 for (size_t i = 0; i < size; i++)
in WriteBytes()
|
/third_party/lzma/CPP/Common/ |
H A D | Sha256Reg.cpp | 36 Z7_COM7F_IMF2(void, CSha256Hasher::Update(const void *data, UInt32 size))
38 Sha256_Update(Sha(), (const Byte *)data, size);
|
/third_party/json/tests/src/ |
H A D | fuzzer-parse_bjdata.cpp | 35 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 std::vector<uint8_t> vec1(data, data + size); in LLVMFuzzerTestOneInput() 45 // step 2.1: round trip without adding size annotations to container types in LLVMFuzzerTestOneInput() 48 // step 2.2: round trip with adding size annotations but without adding type annonations to container types in LLVMFuzzerTestOneInput() 51 // step 2.3: round trip with adding size as well as type annotations to container types in LLVMFuzzerTestOneInput()
|
H A D | fuzzer-parse_ubjson.cpp | 35 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 std::vector<uint8_t> vec1(data, data + size); in LLVMFuzzerTestOneInput() 45 // step 2.1: round trip without adding size annotations to container types in LLVMFuzzerTestOneInput() 48 // step 2.2: round trip with adding size annotations but without adding type annonations to container types in LLVMFuzzerTestOneInput() 51 // step 2.3: round trip with adding size as well as type annotations to container types in LLVMFuzzerTestOneInput()
|
/third_party/jerryscript/jerry-core/jmem/ |
H A D | jmem-allocator-internal.h | 53 void *jmem_heap_alloc_block_internal (const size_t size); 54 void jmem_heap_free_block_internal (void *ptr, const size_t size);
|
/third_party/jerryscript/jerry-core/ext/ |
H A D | tracker.h | 15 size_t size; member 56 void StorageInit(Storage* storage, size_t size);
|
/third_party/lame/ |
H A D | configMS.h | 97 void *acm_Calloc( size_t num, size_t size ); 98 void *acm_Malloc( size_t size );
|
/third_party/mesa3d/src/drm-shim/ |
H A D | drm_shim.h | 82 uint32_t size; member 97 int drm_shim_bo_init(struct shim_bo *bo, size_t size);
|
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_ringbuffer_sp.h | 93 unsigned size; member 127 struct fd_ringbuffer *fd_ringbuffer_sp_new_object(struct fd_pipe *pipe, uint32_t size);
|
/third_party/mesa3d/src/amd/vulkan/winsys/null/ |
H A D | radv_null_bo.c | 32 radv_null_winsys_bo_create(struct radeon_winsys *_ws, uint64_t size, unsigned alignment, in radv_null_winsys_bo_create() argument 45 bo->ptr = malloc(size); in radv_null_winsys_bo_create()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_constant_expressions.py | 5 def type_add_size(type_, size): 8 return type_ + str(size)
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/mount-origin/ |
H A D | example.js | 43 console.log("Received ws message len " + msg.data.size); 45 document.getElementById("r").value + "\nReceived: " + msg.data.size + " bytes\n";
|
/third_party/littlefs/bd/ |
H A D | lfs_testbd.h | 109 lfs_off_t off, void *buffer, lfs_size_t size); 115 lfs_off_t off, const void *buffer, lfs_size_t size);
|