/third_party/curl/docs/examples/ |
H A D | chkspeed.c | 55 static size_t WriteCallback(void *ptr, size_t size, size_t nmemb, void *data) in WriteCallback() argument 58 so we only return the size we would have saved ... */ in WriteCallback() 61 return (size_t)(size * nmemb); in WriteCallback()
|
H A D | externalsocket.c | 54 static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) in write_data() argument 56 size_t written = fwrite(ptr, size, nmemb, (FILE *)stream); in write_data()
|
H A D | htmltidy.c | 38 uint write_cb(char *in, uint size, uint nmemb, TidyBuffer *out) in write_cb() argument 41 r = size * nmemb; in write_cb()
|
H A D | smooth-gtk-thread.c | 63 size_t write_file(void *ptr, size_t size, size_t nmemb, FILE *stream) in write_file() argument 65 return fwrite(ptr, size, nmemb, stream); in write_file()
|
/third_party/curl/lib/ |
H A D | mime.h | 32 #define ENCODING_BUFFER_SIZE 256 /* Encoding temp buffers size. */ 77 size_t (*encodefunc)(char *buffer, size_t size, bool ateof, 79 curl_off_t (*sizefunc)(curl_mimepart *part); /* Encoded size. */ 126 curl_off_t datasize; /* Expected data size. */ 155 size_t Curl_mime_read(char *buffer, size_t size, size_t nitems,
|
/third_party/benchmark/src/ |
H A D | csv_reporter.cc | 41 tmp.reserve(s.size() + 2); in CsvEscape() 113 Out << std::string(elements.size() - 3, ','); in PrintRunData()
|
H A D | reporter.cc | 52 if (info.caches.size() != 0) { in PrintBasicContext() 56 << (CInfo.size / 1024) << " KiB"; in PrintBasicContext()
|
/third_party/gn/src/gn/ |
H A D | ninja_generated_file_target_writer.cc | 55 CHECK(outputs_as_sources.size() == 1); in GenerateFile() 69 CHECK(target_->action_values().outputs().list().size() == 1U); in GenerateFile()
|
H A D | source_file.h | 82 return value().size() >= 2 && value()[0] == '/' && value()[1] == '/'; in is_source_absolute() 97 return std::string_view(&value()[1], value().size() - 1); in SourceAbsoluteWithOneSlash()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | GenderInfo.java | 166 if (genders.size() == 0) { in getListGender() 169 if (genders.size() == 1) { in getListGender()
|
/third_party/icu/icu4c/source/common/ |
H A D | cstring.h | 43 #define uprv_strncpy(dst, src, size) U_STANDARD_CPP_NAMESPACE strncpy(dst, src, size)
|
H A D | stringpiece.cpp | 97 int32_t len = x.size(); in operator ==() 98 if (len != y.size()) { in operator ==()
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_core.h | 63 #define USB_ADD_BYTES(ptr,size) \ 64 ((void *)(__DECONST(char *, (ptr)) + (size))) 124 uint8_t maxp_was_clamped:1; /* set if the max packet size
|
H A D | usb_transfer.h | 112 usb_size_t size[7]; member 127 struct usb_page_cache **ppc, usb_size_t size, usb_size_t align,
|
/third_party/FreeBSD/include/ |
H A D | fts.h | 56 #define reallocf(ptr, size) (realloc((ptr), (size)))
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | f_dfu.h | 163 int usb_dfu_read(struct usb_dfu_entity *dfu, void *buf, int size, uint32_t blk_seq_num); 164 int usb_dfu_write(struct usb_dfu_entity *dfu, void *buf, int size, uint32_t blk_seq_num);
|
/third_party/alsa-lib/include/ |
H A D | hwdep.h | 118 ssize_t snd_hwdep_write(snd_hwdep_t *hwdep, const void *buffer, size_t size); 119 ssize_t snd_hwdep_read(snd_hwdep_t *hwdep, void *buffer, size_t size);
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | BundleGroup.java | 95 return items.size(); in getItemCount() 104 if (index >= items.size()) in getBundleItem()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | bignum.h | 106 // With bigit size of 28 we loose some bits, but a double still fits easily 114 static void EnsureCapacity(const int size) { in EnsureCapacity() argument 115 if (size > kBigitCapacity) { in EnsureCapacity()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | GenderInfo.java | 170 if (genders.size() == 0) { in getListGender() 173 if (genders.size() == 1) { in getListGender()
|
/third_party/icu/icu4c/source/common/unicode/ |
H A D | ucnv_err.h | 195 uint16_t size; /**< The size of this struct. @stable ICU 2.0 */ member 211 uint16_t size; /**< The size of this struct @stable ICU 2.0 */ member
|
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-bignum.h | 120 // With bigit size of 28 we loose some bits, but a double still fits easily 128 static void EnsureCapacity(const int size) { in EnsureCapacity() argument 129 if (size > kBigitCapacity) { in EnsureCapacity()
|
H A D | regexcmp.h | 47 kStackSize = 100 // The size of the state stack for 109 int32_t allocateData(int32_t size); // Allocate space in the matcher data area. 111 int32_t allocateStackData(int32_t size); // Allocate space in the match back-track stack frame.
|
H A D | rbt.cpp | 48 if (parser.idBlockVector.size() != 0 || in _construct() 50 parser.dataVector.size() == 0) { in _construct()
|
/third_party/libunwind/libunwind/src/x86_64/ |
H A D | getcontext.S | 104 .size _Ux86_64_getcontext, . - _Ux86_64_getcontext 133 .size _Ux86_64_getcontext_trace, . - _Ux86_64_getcontext_trace
|