/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_device_kv_store.cpp | 66 size_t count = sizeof(properties) / sizeof(properties[0]); in Constructor() 87 auto input = [env, ctxt](size_t argc, napi_value* argv) { in Get() 137 static napi_status GetVariantArgs(napi_env env, size_t argc, napi_value* argv, VariantArgs& va) in GetVariantArgs() 203 auto input = [env, ctxt](size_t argc, napi_value* argv) { in GetEntries() 258 auto input = [env, ctxt](size_t argc, napi_value* argv) { in GetResultSet() 312 auto input = [env, ctxt](size_t argc, napi_value* argv) { in CloseResultSet() 352 auto input = [env, ctxt](size_t argc, napi_value* argv) { in GetResultSize() 390 auto input = [env, ctxt](size_t argc, napi_value* argv) { in RemoveDeviceData() 425 auto input = [env, ctxt](size_t argc, napi_value* argv) { in Sync() 458 auto input = [env, ctxt, &storeId](size_t arg in New() [all...] |
H A D | js_kv_manager.cpp | 63 auto input = [env, ctxt](size_t argc, napi_value* argv) { in CreateKVManager() 96 auto input = [env, this](size_t argc, napi_value* argv) { in GetCbInfo() 177 auto input = [env, ctxt](size_t argc, napi_value* argv) { in CloseKVStore() 217 auto input = [env, ctxt](size_t argc, napi_value* argv) { in DeleteKVStore() 220 size_t index = 0; in DeleteKVStore() 256 auto input = [env, ctxt](size_t argc, napi_value* argv) { in GetAllKVStoreId() 282 auto input = [env, ctxt](size_t argc, napi_value* argv) { in On() 319 auto input = [env, ctxt](size_t argc, napi_value* argv) { in Off() 365 size_t count = sizeof(properties) / sizeof(properties[0]); in Constructor() 374 auto input = [env, ctxt, &bundleName, ¶m](size_t arg in New() [all...] |
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | napi_data_utils.cpp | 23 constexpr size_t STR_TAIL_LENGTH = 1; 106 size_t maxLen = STR_MAX_LENGTH; in GetValue() 113 size_t len = 0; in GetValue() 195 size_t length = 0; in GetValue() 197 size_t offset = 0; in GetValue() 349 size_t len = 0; in GetValue() 361 size_t dataLen = 0; in GetValue() 410 size_t len = array.size(); in SetValue() 473 size_t len; in IsNull() 481 const napi_property_descriptor *properties, size_t coun in DefineClass() [all...] |
/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/scale_conversion/ |
H A D | scale_convert_process.cpp | 105 size_t dstBuffSize = 0; in ProcessData() 129 void ScaleConvertProcess::CalculateBuffSize(size_t& dstBuffSize) in CalculateBuffSize() 132 dstBuffSize = static_cast<size_t>(processedConfig_.GetWidth() * processedConfig_.GetHeight() * in CalculateBuffSize() 135 dstBuffSize = static_cast<size_t>( in CalculateBuffSize() 171 imgInfo.chromaOffset = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight); in GetImageUnitInfo() 225 size_t expectedImgSize = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight * in IsCorrectImageUnitInfo() 227 size_t expectedChromaOffset = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight); in IsCorrectImageUnitInfo() 308 srcImgInfo.chromaOffset = static_cast<size_t>(srcImgInf in ConvertResolution() [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/ |
H A D | filter_napi.cpp | 210 const size_t requireArgc = 1; in CreateEffect() 211 size_t realArgc = 1; in CreateEffect() 245 size_t argc = 1; in Constructor() 284 size_t filterSize = sizeof(FilterNapi); in Constructor() 322 size_t argc = 1; in GetPixelMap() 406 size_t argc = 1; in GetPixelMapAsync() 458 size_t argc = ARGS_TWO; in Blur() 499 size_t argc = 1; in Brightness() 580 for (size_t i = 0; i < len; i++) { in ParseColorMatrix() 596 size_t arg in SetColorMatrix() [all...] |
/third_party/backends/lib/ |
H A D | snprintf.c | 220 snprintf(const char *format, size_t size, va_list ap); 222 plp_unsafe_snprintf(const char *format, size_t size, va_list ap); 227 vsnprintf(char *str, size_t size, const char *format, va_list ap); 229 unsafe_vsnprintf(char *str, size_t size, const char *format, va_list ap); 559 int plp_vsnprintf(char *str, size_t count, const char *fmt, va_list args) in plp_vsnprintf() 561 int plp_vsnprintf(char *str, size_t count, const char *fmt, va_list args) in plp_vsnprintf() 586 int plp_unsafe_vsnprintf(char *str, size_t count, const char *fmt, va_list args) in plp_unsafe_vsnprintf() 588 int plp_unsafe_vsnprintf(char *str, size_t count, const char *fmt, va_list args) in plp_unsafe_vsnprintf() 612 int snprintf (char *str,size_t count,const char *fmt,...) in snprintf() 619 size_t coun in snprintf() [all...] |
/third_party/backends/sanei/ |
H A D | usb_manager.cpp | 109 auto memCopyInter = [&](size_t &i, UsbAltInterface &altInter) { in InterfaceConvert() 113 for (size_t j = 0; j < endPoints.size(); j++) { in InterfaceConvert() 121 for (size_t i = 0; i < usbInterfaces.size(); i++) { in InterfaceConvert() 147 size_t bNumInterfaces = usbAlt.size(); in GetRetConfigAndInterface() 181 size_t altSet = usbAlt[i].altDes.size(); in SetInterfaceDescriptor() 191 for (size_t j = 0; j < altSet; j++) { in SetInterfaceDescriptor() 193 size_t endPointsNum = usbAlt[i].altDes[j].endpointDes.size(); in SetInterfaceDescriptor() 441 size_t altSet = interface[i].num_altsetting; in usb_manager_free_config_descriptor() 446 for (size_t j = 0; j < altSet; j++) { in usb_manager_free_config_descriptor() 559 for (size_t in usb_manager_bulk_transfer() [all...] |
/third_party/mbedtls/programs/test/ |
H A D | udp_proxy.c | 227 size_t len; in get_options() 307 static const char *msg_type(unsigned char *msg, size_t len) in msg_type() 376 size_t len; 416 size_t len) in ctx_buffer_append() 420 if (len > (size_t) INT_MAX) { in ctx_buffer_append() 450 size_t len) in dispatch_data() 616 static size_t prev_len; 672 size_t id; in handle_message() 727 cur.len != (size_t) opt.protect_len && in handle_message() 738 cur.len != (size_t) op in handle_message() [all...] |
/third_party/libcoap/examples/ |
H A D | coap-rd.c | 62 static size_t extended_token_size = COAP_TOKEN_DEFAULT_MAX; 72 size_t etag_len; /**< actual length of @c etag */ 81 cmdline_read_key(char *arg, unsigned char *buf, size_t maxlen) { in cmdline_read_key() 82 size_t len = strnlen(arg, maxlen); in cmdline_read_key() 173 size_t size = sizeof(coap_hdr_t); in hnd_put_resource() 278 size_t search_len, in parse_param() 280 size_t data_len, in parse_param() 330 size_t n = 1; in add_source_address() 392 size_t loc_size; in hnd_post_rd() 519 size_t bufle in hnd_post_rd() [all...] |
/third_party/mbedtls/library/ |
H A D | md.c | 571 int mbedtls_md_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen) in mbedtls_md_update() 637 size_t size = ctx->md_info->size; in mbedtls_md_finish() 685 int mbedtls_md(const mbedtls_md_info_t *md_info, const unsigned char *input, size_t ilen, in mbedtls_md() 694 size_t size = md_info->size; in mbedtls_md() 923 size_t n; in mbedtls_md_file() 969 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen) in mbedtls_md_hmac_starts() 979 if (keylen > (size_t) ctx->md_info->block_size) { in mbedtls_md_hmac_starts() 1017 int mbedtls_md_hmac_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen) in mbedtls_md_hmac_update() 1073 const unsigned char *key, size_t keylen, in mbedtls_md_hmac() 1074 const unsigned char *input, size_t ile in mbedtls_md_hmac() [all...] |
/third_party/lame/libmp3lame/ |
H A D | mpglib_interface.c | 158 decode1_headersB_clipchoice(PMPSTR pmp, unsigned char *buffer, size_t len, in decode1_headersB_clipchoice() 161 char *p, size_t psize, int decoded_sample_size, in decode1_headersB_clipchoice() 456 int hip123_decode1( hip_t hip, unsigned char *buffer, size_t len, in hip123_decode1() 464 size_t mpg123fill; in hip123_decode1() 586 hip_decode1_unclipped(hip_t hip, unsigned char *buffer, size_t len, sample_t pcm_l[], sample_t pcm_r[]) in hip_decode1_unclipped() 615 size_t len, short pcm_l[], short pcm_r[], mp3data_struct * mp3data) in hip_decode1_headers() 629 hip_decode1(hip_t hip, unsigned char *buffer, size_t len, short pcm_l[], short pcm_r[]) in hip_decode1() 651 size_t len, short pcm_l[], short pcm_r[], mp3data_struct * mp3data) in hip_decode_headers() 672 hip_decode(hip_t hip, unsigned char *buffer, size_t len, short pcm_l[], short pcm_r[]) in hip_decode() 681 size_t le in hip_decode1_headersB() [all...] |
/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_encode.c | 39 static size_t rogue_encode_reg_bank(const struct rogue_operand *operand) in rogue_encode_reg_bank() 80 size_t index; 94 size_t num_bytes; 99 size_t num_mappings; 686 size_t instr_size, in rogue_encode_flag() 706 size_t instr_size, in rogue_encode_operand() 774 size_t instr_size; in rogue_encode_instr() 787 for (size_t u = 0U; u < instr_encoding->num_mappings; ++u) { in rogue_encode_instr() 805 size_t operand_index = mapping->index; in rogue_encode_instr() 847 for (size_t in rogue_encode_shader() [all...] |
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-icmp_redirector.c | 284 size_t sndeth_size; /* Size of sending frame */ in return_arp_reply() 363 return_icmp4_redirect(int sd, struct eth_frame *rcveth_p, size_t rcveth_size, in return_icmp4_redirect() 370 size_t sndeth_size; /* Size of sending frame */ in return_icmp4_redirect() 374 size_t icmp4_datasize; /* Size of sending ICMPv4 */ in return_icmp4_redirect() 468 size_t sndeth_size; /* size of sending frame */ in return_neigh_adv() 584 return_icmp6_redirect(int sd, struct eth_frame *rcveth_p, size_t rcveth_size, in return_icmp6_redirect() 592 size_t sndeth_size; /* size of sending frame */ in return_icmp6_redirect() 594 size_t ip6_payload_size; /* payload size of IPv6 part */ in return_icmp6_redirect() 597 size_t redirect_optsize; /* Option size of ICMPv6 */ in return_icmp6_redirect() 685 analyze_ip6_datagram(int sd, struct eth_frame *rcveth_p, size_t rcveth_siz [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | node-properties.cc | 229 Node* NodeProperties::FindProjection(Node* node, size_t projection_index) { in FindProjection() 242 size_t projection_count) { in CollectValueProjections() 244 for (size_t index = 0; index < projection_count; ++index) { in CollectValueProjections() 259 size_t projection_count) { in CollectControlProjections() 264 size_t if_value_index = 0; in CollectControlProjections() 268 size_t index; in CollectControlProjections() 303 for (size_t index = 0; index < projection_count; ++index) { in CollectControlProjections() 580 Node* NodeProperties::GetOuterContext(Node* node, size_t* depth) { in GetOuterContext() 643 size_t NodeProperties::HashCode(Node* node) { in HashCode() 644 size_t in HashCode() [all...] |
/third_party/node/deps/v8/include/ |
H A D | v8-util.h | 51 static size_t Size(Impl* impl) { return impl->size(); } in Size() 173 size_t Size() { return Traits::Size(&impl_); } in Size() 551 static size_t Size(const Impl* impl) { in Size() 554 static PersistentContainerValue Get(const Impl* impl, size_t i) { in Get() 557 static void ReserveCapacity(Impl* impl, size_t capacity) { in ReserveCapacity() 610 size_t Size() const { in Size() 617 Local<V> Get(size_t index) const { in Get() 625 size_t length = Traits::Size(&impl_); in Clear() 626 for (size_t i = 0; i < length; i++) { in Clear() 637 void ReserveCapacity(size_t capacit [all...] |
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-util.h | 51 static size_t Size(Impl* impl) { return impl->size(); } in Size() 173 size_t Size() { return Traits::Size(&impl_); } in Size() 556 static size_t Size(const Impl* impl) { in Size() 559 static PersistentContainerValue Get(const Impl* impl, size_t i) { in Get() 562 static void ReserveCapacity(Impl* impl, size_t capacity) { in ReserveCapacity() 614 size_t Size() const { in Size() 621 Local<V> Get(size_t index) const { in Get() 630 size_t length = Traits::Size(&impl_); in Clear() 631 for (size_t i = 0; i < length; i++) { in Clear() 643 void ReserveCapacity(size_t capacit [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | string-table.cc | 130 void* operator new(size_t size, int capacity); 131 void* operator new(size_t size) = delete; 154 size_t start); 162 size_t GetCurrentMemoryUsage() const; 185 void* StringTable::Data::operator new(size_t size, int capacity) { in operator new() 206 size_t StringTable::Data::GetCurrentMemoryUsage() const { in GetCurrentMemoryUsage() 207 size_t usage = sizeof(*this) + (capacity_ - 1) * sizeof(Tagged_t); in GetCurrentMemoryUsage() 632 size_t start) { in TryStringToIndexOrLookupExisting() 711 size_t start = 0; in TryStringToIndexOrLookupExisting() 739 size_t StringTabl [all...] |
/third_party/musl/libc-test/src/functionalext/relro/ |
H A D | dlopen_ext_relro_test.c | 87 const char *lib, const int relro_fd, const int flag, void *addr, const size_t map_size) in test_write_relro_file_ext() 417 size_t map_size = RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_1600() 454 size_t map_size = RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_1700() 491 size_t map_size = RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_1800() 528 size_t map_size = RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_1900() 563 size_t map_size = MIN_RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_2000() 600 size_t map_size = MIN_RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_2100() 638 size_t map_size = RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_2200() 677 size_t map_size = RESERVED_ADDRESS_SIZE; in dlopen_ext_relro_2300() 715 size_t map_siz in dlopen_ext_relro_2400() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/ |
H A D | socket_test.cpp | 103 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in SendMMsgTest() 188 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in HWTEST_F() 199 EXPECT_EQ(NUM_RECV_MSGS, static_cast<size_t>(recvmmsg(acceptFd, msgs.data(), NUM_RECV_MSGS, 0, &ts))); in HWTEST_F() 200 for (size_t i = 0; i < NUM_RECV_MSGS; i++) { in HWTEST_F() 236 for (size_t i = 0; i < SEND_MSGS_NUM; i++) { in SendMMsg() 276 for (size_t i = 0; i < SEND_MSGS_NUM; i++) { in HWTEST_F() 284 EXPECT_EQ(strlen(g_sendMMsg[i]) + 1, static_cast<size_t>(bytesReceived)); in HWTEST_F() 397 EXPECT_EQ(strlen(g_message) + 1, static_cast<size_t>(recv(acceptFd, buf, sizeof(buf), 0))); in HWTEST_F() 452 size_t len1 = sizeof(buf); in HWTEST_F() 453 EXPECT_EQ(strlen(g_message) + 1, static_cast<size_t>(rec in HWTEST_F() [all...] |
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips32/ |
H A D | mod.rs | 96 pub ss_size: ::size_t, 112 pub gl_pathc: ::size_t, 114 pub gl_offs: ::size_t, 139 pub shm_segsz: ::size_t, 212 pub msg_controllen: ::size_t, 217 pub cmsg_len: ::size_t, 634 oldlenp: *mut ::size_t, in sysctl() 636 newlen: ::size_t, in sysctl() 647 cpusetsize: ::size_t, in pthread_attr_getaffinity_np() 652 cpusetsize: ::size_t, in pthread_attr_setaffinity_np() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-esound-sink.c | 101 size_t write_length, write_index; 104 size_t read_length, read_index; 132 size_t block_size; 259 size_t bytes; in thread_func() 296 u->memchunk.index += (size_t) l; in thread_func() 297 u->memchunk.length -= (size_t) l; in thread_func() 399 u->write_index += (size_t) r; in do_write() 428 pa_log_debug("SO_SNDBUF is %zu.", (size_t) so_sndbuf); in do_write() 429 pa_sink_set_max_request(u->sink, PA_MAX((size_t) so_sndbuf, u->block_size)); in do_write() 525 u->read_index += (size_t) in do_read() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkQueryUtil.cpp | 90 if ((size_t)numDevices != devices.size()) in enumeratePhysicalDevices() 109 if ((size_t)numDeviceGroups != properties.size()) in enumeratePhysicalDeviceGroups() 127 if ((size_t)numQueues != properties.size()) in getPhysicalDeviceQueueFamilyProperties() 308 if ((size_t)numProp != properties.size()) in getPhysicalDeviceSparseImageFormatProperties() 327 if ((size_t)requirementsCount != requirements.size()) in getImageSparseMemoryRequirements() 358 if ((size_t)count != requirements.size()) in getDeviceImageSparseMemoryRequirements() 422 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateInstanceLayerProperties() 439 TCU_CHECK((size_t)numExtensions == properties.size()); in enumerateInstanceExtensionProperties() 456 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateDeviceLayerProperties() 473 TCU_CHECK((size_t)numExtension in enumerateDeviceExtensionProperties() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktBuildPrograms.cpp | 114 for (size_t ndx = 0; ndx < m_threads.size(); ++ndx) in TaskExecutor() 120 for (size_t ndx = 0; ndx < m_threads.size(); ++ndx) in ~TaskExecutor() 123 for (size_t ndx = 0; ndx < m_threads.size(); ++ndx) in ~TaskExecutor() 168 for (size_t ndx = 0; ndx < m_threads.size(); ++ndx) in waitForComplete() 174 for (size_t ndx = 0; ndx < m_threads.size(); ++ndx) in waitForComplete() 177 for (size_t ndx = 0; ndx < m_threads.size(); ++ndx) in waitForComplete() 180 for (size_t ndx = 0; ndx < m_threads.size(); ++ndx) in waitForComplete() 222 for (size_t shaderNdx = 0; shaderNdx < buildInfo.shaders.size(); shaderNdx++) in writeBuildLogs() 401 const size_t numNodesInChunk = 500000; in buildPrograms() 425 size_t numNodesAdde in buildPrograms() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | StateManager11.h | 38 size_t getRequiredBufferSize(gl::ShaderType shaderType) const; 161 static size_t GetShaderConstantsStructSize(gl::ShaderType shaderType); 209 void invalidateCurrentValueAttrib(size_t attribIndex); 434 bool queueVertexBufferChange(size_t bufferIndex, 551 void initialize(size_t size) { mCurrentViews.resize(size); } in initialize() 553 size_t size() const { return mCurrentViews.size(); } in size() 554 size_t highestUsed() const { return mHighestUsedView; } in highestUsed() 556 const ViewRecord<DescType> &operator[](size_t index) const { return mCurrentViews[index]; } in operator []() 558 void update(size_t resourceIndex, ViewType *view); 562 size_t mHighestUsedVie [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
H A D | LTOModule.cpp | 55 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) { in isBitcodeFile() 124 size_t size, const TargetOptions &options) { in createFromOpenFile() 130 size_t map_size, off_t offset, in createFromOpenFileSlice() 146 size_t length, const TargetOptions &options, in createFromBuffer() 155 const void *mem, size_t length, in createInLocalContext() 240 LTOModule::makeBuffer(const void *mem, size_t length, StringRef name) { in makeBuffer() 653 size_t buffer_size, const char *path, in createInputFile() 669 size_t LTOModule::getDependentLibraryCount(lto::InputFile *input) { in getDependentLibraryCount() 673 const char *LTOModule::getDependentLibrary(lto::InputFile *input, size_t index, in getDependentLibrary() 674 size_t *siz in getDependentLibrary() [all...] |