/third_party/skia/third_party/externals/oboe/src/fifo/ |
H A D | FifoBuffer.cpp | 88 memcpy(destination, source, static_cast<size_t>(numBytes)); in read() 97 memcpy(destination, source, static_cast<size_t>(numBytes)); in read() 104 memcpy(destination, source, static_cast<size_t>(numBytes)); in read() 131 memcpy(destination, source, static_cast<size_t>(numBytes)); in write() 140 memcpy(destination, source, static_cast<size_t>(numBytes)); in write() 147 memcpy(destination, source, static_cast<size_t>(numBytes)); in write() 167 memset(destination, 0, static_cast<size_t>(bytesToZero)); in readNow()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFUtils.h | 25 bool SkPackedArrayEqual(T* u, T* v, size_t n) { in SkPackedArrayEqual() 69 size_t ColorToDecimal(uint8_t value, char result[5]); 72 size_t ColorToDecimalF(float value, char result[kFloatColorDecimalCount + 2]); 75 size_t len = SkPDFUtils::ColorToDecimal(value, buffer); in AppendColorComponent() 80 size_t len = SkPDFUtils::ColorToDecimalF(value, buffer); in AppendColorComponentF() 86 size_t len = SkFloatToDecimal(SkScalarToFloat(value), result); in AppendScalar() 107 size_t len = SkUTF::ToUTF16(utf32, utf16); in WriteUTF16beHex()
|
/third_party/skia/tests/ |
H A D | ScalarTest.cpp | 30 size_t fCount; 69 for (size_t i = 0; i < SK_ARRAY_COUNT(gSets); ++i) { in test_isRectFinite() 168 size_t i, n = SK_ARRAY_COUNT(data); in test_isfinite() 171 for (size_t k = 0; k < SK_ARRAY_COUNT(gProc1); ++k) { in test_isfinite() 180 for (size_t j = 0; j < n; ++j) { in test_isfinite() 182 for (size_t k = 0; k < SK_ARRAY_COUNT(gProc1); ++k) { in test_isfinite() 185 for (size_t m = 0; m < SK_ARRAY_COUNT(gProc2); ++m) { in test_isfinite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | FileOutputBuffer.cpp | 46 size_t getBufferSize() const override { return Buffer->size(); } 78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() 89 size_t getBufferSize() const override { return BufferSize; } 112 size_t BufferSize; 118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() 128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() 166 FileOutputBuffer::create(StringRef Path, size_t Size, unsigned Flags) { in create()
|
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | names.c | 41 size_t len, size; 44 static size_t stringsink_string(stringsink *sink, const char *ptr, size_t len) { in stringsink_string() 45 size_t new_size = sink->size; in stringsink_string() 169 size_t package_len = strlen(package); in fill_namespace() 189 size_t package_len = strlen(package); in fill_classname() 192 size_t fullname_len = strlen(fullname); in fill_classname()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | seed_material.cc | 111 size_t buffer_size = sizeof(uint32_t) * values.size(); 115 size_t nread = 0; 131 size_t buffer_size = sizeof(uint32_t) * values.size(); 144 size_t buffer_size = sizeof(uint32_t) * values.size(); 147 size_t to_read = std::min<size_t>(buffer_size, 256); 167 size_t buffer_size = sizeof(uint32_t) * values.size();
|
/third_party/skia/modules/skottie/src/text/ |
H A D | TextValue.cpp | 48 v->fHAlign = gAlignMap[std::min<size_t>(ParseDefault<size_t>((*jtxt)["j"], 0), in Parse() 73 v->fResize = gResizeMap[std::min(std::max(ParseDefault<size_t>((*jtxt)[ "rs"], 0), in Parse() 74 ParseDefault<size_t>((*jtxt)["sk_rs"], 0)), in Parse() 101 v->fCapitalization = gCapMap[std::min<size_t>(ParseDefault<size_t>((*jtxt)["ca"], 0), in Parse() 113 size_t vj; in Parse()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | vktVideoSessionFfmpegUtils.cpp | 55 virtual size_t GetDataSize (void) { return m_data->size(); }; in GetDataSize() 58 size_t m_used; 72 const size_t left = m_data->size() - m_used; in GetData() 73 const size_t requested = static_cast<size_t>(nBuf); in GetData() 74 const size_t size = requested < left ? requested : left; in GetData() 158 for (size_t i = 0; i < sizeof(m_FFmpegApi)/sizeof(void*); i++) in FfmpegFunctionsImpl()
|
/third_party/alsa-lib/include/ |
H A D | seq.h | 89 size_t snd_seq_get_output_buffer_size(snd_seq_t *handle); 90 size_t snd_seq_get_input_buffer_size(snd_seq_t *handle); 91 int snd_seq_set_output_buffer_size(snd_seq_t *handle, size_t size); 92 int snd_seq_set_input_buffer_size(snd_seq_t *handle, size_t size); 97 size_t snd_seq_system_info_sizeof(void); 140 size_t snd_seq_client_info_sizeof(void); 197 size_t snd_seq_client_pool_sizeof(void); 206 size_t snd_seq_client_pool_get_output_pool(const snd_seq_client_pool_t *info); 207 size_t snd_seq_client_pool_get_input_pool(const snd_seq_client_pool_t *info); 208 size_t snd_seq_client_pool_get_output_roo [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_http.c | 44 static int memieq(const void *a, const void *b, size_t n) { in memieq() 45 size_t i; in memieq() 58 static int64_t parse_uint(const uint8_t *s, size_t len) { in parse_uint() 60 size_t i; in parse_uint() 184 size_t len = 0; in sf_parse_integer_or_decimal() 185 size_t fpos = 0; in sf_parse_integer_or_decimal() 186 size_t i; in sf_parse_integer_or_decimal() 351 dest->s.len = (size_t)(p - dest->s.base); in sf_parse_string() 437 dest->s.len = (size_t)(p - begin); in sf_parse_token() 514 dest->s.len = (size_t)( in sf_parse_byteseq() [all...] |
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bio_lib.c | 37 static long bio_call_callback(BIO *b, int oper, const char *argp, size_t len, in bio_call_callback() 39 size_t *processed) in bio_call_callback() 74 *processed = (size_t)ret; in bio_call_callback() 269 static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes) in bio_read_intern() 312 size_t readbytes; in BIO_read() 318 ret = bio_read_intern(b, data, (size_t)dlen, &readbytes); in BIO_read() 328 int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) in BIO_read_ex() 333 static int bio_write_intern(BIO *b, const void *data, size_t dle [all...] |
/third_party/libabigail/src/ |
H A D | abg-elf-helpers.cc | 311 size_t section_header_string_index = 0; in find_section_by_name() 346 size_t section_header_string_index = 0; in find_section() 457 find_symbol_table_section_index(Elf* elf_handle, size_t& symtab_index) in find_symbol_table_section_index() 479 size_t& ht_section_index, in find_hash_table_section_index() 480 size_t& symtab_section_index) in find_hash_table_section_index() 665 size_t target_index = elf_ndxscn(target_section); in find_relocation_section() 730 size_t vd_offset = 0; in get_version_definition_for_versym() 754 size_t verdef_stridx = verdef_section_header->sh_link; in get_version_definition_for_versym() 791 size_t vn_offset = 0; in get_version_needed_for_versym() 798 size_t vna_offse in get_version_needed_for_versym() [all...] |
/third_party/openssl/crypto/bio/ |
H A D | bio_lib.c | 37 static long bio_call_callback(BIO *b, int oper, const char *argp, size_t len, in bio_call_callback() 39 size_t *processed) in bio_call_callback() 74 *processed = (size_t)ret; in bio_call_callback() 269 static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes) in bio_read_intern() 312 size_t readbytes; in BIO_read() 318 ret = bio_read_intern(b, data, (size_t)dlen, &readbytes); in BIO_read() 328 int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) in BIO_read_ex() 333 static int bio_write_intern(BIO *b, const void *data, size_t dle [all...] |
/third_party/skia/src/codec/ |
H A D | SkPngCodec.cpp | 122 void infoCallback(size_t idatLength); 135 SkStream* stream, void* buffer, size_t bufferSize, size_t length) { in process_data() 137 const size_t bytesToProcess = std::min(bufferSize, length); in process_data() 138 const size_t bytesRead = stream->read(buffer, bytesToProcess); in process_data() 158 constexpr size_t kBufferSize = 4096; in decodeBounds() 178 const size_t length = png_get_uint_32(chunk); in decodeBounds() 215 constexpr size_t kBufferSize = 65536; // 65536, expand buffer to improve performance in processData() 217 constexpr size_t kBufferSize = 4096; in processData() 223 size_t lengt in processData() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jcphuff.c | 84 int Al, JCOEF *values, size_t *zerobits); 88 int Al, JCOEF *absvalues, size_t *bits); 97 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ 98 size_t put_buffer; /* current bit-accumulation buffer */ 158 JCOEF *values, size_t *zerobits); 165 JCOEF *absvalues, size_t *bits); 175 count_zeroes(size_t *x) in count_zeroes() 339 register size_t put_buffer = (size_t)code; in emit_bits() 349 put_buffer &= (((size_t) in emit_bits() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_privsep.c | 44 const void *data, size_t data_len, in wpa_priv_cmd() 45 void *reply, size_t *reply_len) in wpa_priv_cmd() 106 size_t i; in wpa_driver_privsep_scan() 135 size_t reply_len = 60000; in wpa_driver_privsep_get_scan_results2() 180 while (results->num < (size_t) num && end - pos > (int) sizeof(int)) { in wpa_driver_privsep_get_scan_results2() 191 if (sizeof(*r) + r->ie_len + r->beacon_ie_len > (size_t) len) { in wpa_driver_privsep_get_scan_results2() 211 const u8 *seq, size_t seq_len, in wpa_driver_privsep_set_key() 212 const u8 *key, size_t key_len) in wpa_driver_privsep_set_key() 248 size_t buflen; in wpa_driver_privsep_authenticate() 298 size_t bufle in wpa_driver_privsep_associate() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_server_read.c | 24 const u8 *in_data, size_t *in_len); 27 size_t *in_len); 50 const u8 *req, size_t req_len) in tls_process_status_request_item() 91 const u8 *ext, size_t ext_len) in tls_process_status_request_v2() 122 const u8 *in_data, size_t *in_len) in tls_process_client_hello() 125 size_t left, len, i, j; in tls_process_client_hello() 397 const u8 *in_data, size_t *in_len) in tls_process_certificate() 400 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() 480 if ((size_t) (end - pos) != list_len) { in tls_process_certificate() 502 if ((size_t) (en in tls_process_certificate() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_backup.c | 38 size_t len; in dpp_build_conf_params() 215 size_t hash_len) in dpp_build_pbkdf2_alg_id() 264 dpp_build_pw_recipient_info(struct dpp_authentication *auth, size_t hash_len, in dpp_build_pw_recipient_info() 271 size_t key_len; in dpp_build_pw_recipient_info() 348 dpp_build_recipient_info(struct dpp_authentication *auth, size_t hash_len, in dpp_build_recipient_info() 370 dpp_build_enc_cont_info(struct dpp_authentication *auth, size_t hash_len, in dpp_build_enc_cont_info() 376 size_t enc_cont_len; in dpp_build_enc_cont_info() 436 static struct wpabuf * dpp_gen_random(size_t len) in dpp_gen_random() 455 size_t hash_len; in dpp_build_enveloped_data() 526 size_t enc_cont_le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_privsep.c | 44 const void *data, size_t data_len, in wpa_priv_cmd() 45 void *reply, size_t *reply_len) in wpa_priv_cmd() 106 size_t i; in wpa_driver_privsep_scan() 135 size_t reply_len = 60000; in wpa_driver_privsep_get_scan_results2() 180 while (results->num < (size_t) num && end - pos > (int) sizeof(int)) { in wpa_driver_privsep_get_scan_results2() 191 if (sizeof(*r) + r->ie_len + r->beacon_ie_len > (size_t) len) { in wpa_driver_privsep_get_scan_results2() 218 size_t seq_len = params->seq_len; in wpa_driver_privsep_set_key() 220 size_t key_len = params->key_len; in wpa_driver_privsep_set_key() 254 size_t buflen; in wpa_driver_privsep_authenticate() 304 size_t bufle in wpa_driver_privsep_associate() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_server_read.c | 24 const u8 *in_data, size_t *in_len); 27 size_t *in_len); 50 const u8 *req, size_t req_len) in tls_process_status_request_item() 91 const u8 *ext, size_t ext_len) in tls_process_status_request_v2() 122 const u8 *in_data, size_t *in_len) in tls_process_client_hello() 125 size_t left, len, i, j; in tls_process_client_hello() 397 const u8 *in_data, size_t *in_len) in tls_process_certificate() 400 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() 480 if ((size_t) (end - pos) != list_len) { in tls_process_certificate() 502 if ((size_t) (en in tls_process_certificate() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-util.c | 412 ssize_t pa_read(int fd, void *buf, size_t count, int *type) { in pa_read() 447 ssize_t pa_write(int fd, const void *buf, size_t count, int *type) { in pa_write() 493 ssize_t pa_loop_read(int fd, void*data, size_t size, int *type) { in pa_loop_read() 517 size -= (size_t) r; in pa_loop_read() 524 ssize_t pa_loop_write(int fd, const void*data, size_t size, int *type) { in pa_loop_write() 548 size -= (size_t) r; in pa_loop_write() 628 size_t size = 100; in pa_sprintf_malloc() 645 if (r > -1 && (size_t) r < size) in pa_sprintf_malloc() 649 size = (size_t) r+1; in pa_sprintf_malloc() 658 size_t siz in pa_vsprintf_malloc() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cArrayOfArraysTests.cpp | 59 const size_t ES::MAX_ARRAY_DIMENSIONS = 8; 60 const size_t GL::MAX_ARRAY_DIMENSIONS = 8; 283 const size_t Interface::ES::n_var_types = sizeof(var_types_es) / sizeof(var_types_es[0]); 297 const size_t Interface::GL::n_var_types = sizeof(var_types_gl) / sizeof(var_types_gl[0]); 1018 typename TestCaseBase<API>::TestShaderType tested_shader_type, size_t num) in limit_active_shader_storage_block_number() 1027 if (static_cast<size_t>(res) < num) in limit_active_shader_storage_block_number() 1036 if (static_cast<size_t>(res) < num) in limit_active_shader_storage_block_number() 1044 if (static_cast<size_t>(res) < num) in limit_active_shader_storage_block_number() 1052 if (static_cast<size_t>(res) < num) in limit_active_shader_storage_block_number() 1314 std::string TestCaseBase<API>::extend_string(std::string base_string, std::string sub_string, size_t number_of_element [all...] |
/third_party/libuv/include/ |
H A D | uv.h | 289 typedef void* (*uv_malloc_func)(size_t size); 290 typedef void* (*uv_realloc_func)(void* ptr, size_t size); 291 typedef void* (*uv_calloc_func)(size_t count, size_t size); 316 UV_EXTERN size_t uv_loop_size(void); 337 size_t suggested_size, 368 size_t buflen); 439 UV_EXTERN char* uv_strerror_r(int err, char* buf, size_t buflen); 442 UV_EXTERN char* uv_err_name_r(int err, char* buf, size_t buflen); 496 UV_EXTERN size_t uv_handle_siz [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-win32.cc | 98 int _vsnprintf_s(char* buffer, size_t sizeOfBuffer, size_t count, in _vsnprintf_s() 105 int strncpy_s(char* dest, size_t dest_size, const char* source, size_t count) { in strncpy_s() 723 void OS::StrNCpy(char* dest, int length, const char* src, size_t n) { in StrNCpy() 725 size_t buffer_size = static_cast<size_t>(length); in StrNCpy() 774 size_t OS::AllocatePageSize() { in AllocatePageSize() 775 static size_t allocate_alignment = 0; in AllocatePageSize() 785 size_t O [all...] |
/third_party/mbedtls/library/ |
H A D | ecp.c | 126 size_t i; /* current index in various loops, 0 outside */ 317 static void mpi_init_many(mbedtls_mpi *arr, size_t size) in mpi_init_many() 324 static void mpi_free_many(mbedtls_mpi *arr, size_t size) in mpi_free_many() 409 size_t i = 0; in mbedtls_ecp_grp_id_list() 573 size_t i; in mbedtls_ecp_group_free() 693 int format, size_t *olen, in mbedtls_ecp_point_write_binary() 694 unsigned char *buf, size_t buflen) in mbedtls_ecp_point_write_binary() 697 size_t plen; in mbedtls_ecp_point_write_binary() 771 const unsigned char *buf, size_t ilen) in mbedtls_ecp_point_read_binary() 774 size_t ple in mbedtls_ecp_point_read_binary() [all...] |