Home
last modified time | relevance | path

Searched refs:size_t (Results 7676 - 7700 of 19316) sorted by relevance

1...<<301302303304305306307308309310>>...773

/third_party/jerryscript/tests/unit-core/
H A Dtest-api.cpp87 TEST_ASSERT (!strncmp (buffer, "1", (size_t) sz)); in handler()
239 if (!strncmp (str_buf_p, "alpha", (size_t) sz)) in foreach()
245 else if (!strncmp (str_buf_p, "bravo", (size_t) sz)) in foreach()
251 else if (!strncmp (str_buf_p, "charlie", (size_t) sz)) in foreach()
256 else if (!strncmp (str_buf_p, "delta", (size_t) sz)) in foreach()
262 else if (!strncmp (str_buf_p, "echo", (size_t) sz)) in foreach()
269 TEST_ASSERT (!strncmp (str_buf_p, "foobar", (size_t) echo_sz)); in foreach()
288 if (!strncmp (str_buf_p, "foxtrot", (size_t) sz)) in foreach_exception()
337 size_t script_size = strlen (script_p); in test_run_simple()
358 static constexpr size_t JERRY_SCRIPT_MEM_SIZ
[all...]
/third_party/node/src/
H A Dnode_api.cc205 size_t thread_count_, in ThreadSafeFunction()
207 size_t max_queue_size_, in ThreadSafeFunction()
382 size_t size = queue.size(); in DispatchOne()
512 size_t thread_count;
519 size_t max_queue_size;
857 size_t location_len, in jsvm_fatal_error()
859 size_t message_len) { in jsvm_fatal_error()
964 size_t argc, in jsvm_make_callback()
1015 size_t length, in jsvm_create_buffer()
1037 size_t lengt in OH_JSVM_CreateExternal_buffer()
[all...]
/third_party/libfuse/example/
H A Dcxxopts.hpp166 size_t
222 size_t
237 stringAppend(String& s, size_t n, char c)
1061 size_t
1100 size_t m_count = 0;
1153 size_t
1440 size_t start, in format_description()
1441 size_t width in format_description()
1457 auto size = size_t{}; in format_description()
1784 for (std::size_t in parse()
[all...]
/third_party/rust/crates/libc/src/unix/bsd/
H A Dmod.rs109 __re_nsub: ::size_t,
614 pub fn strerror_r(errnum: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int; in strerror_r()
672 pub fn posix_madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in posix_madvise()
695 pub fn madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in madvise()
702 pub fn msync(addr: *mut ::c_void, len: ::size_t, flags: ::c_int) -> ::c_int; in msync()
711 len: ::size_t, in recvfrom()
754 buflen: ::size_t, in getgrgid_r()
769 buflen: ::size_t, in getgrnam_r()
793 buflen: ::size_t, in getpwnam_r()
801 buflen: ::size_t, in getpwuid_r()
[all...]
/third_party/skia/src/gpu/
H A DGrDirectContext.cpp276 void GrDirectContext::getResourceCacheUsage(int* resourceCount, size_t* resourceBytes) const { in getResourceCacheUsage()
287 size_t GrDirectContext::getResourceCachePurgeableBytes() const { in getResourceCachePurgeableBytes()
292 void GrDirectContext::getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const { in getResourceCacheLimits()
302 size_t GrDirectContext::getResourceCacheLimit() const { in getResourceCacheLimit()
307 void GrDirectContext::setResourceCacheLimits(int unused, size_t maxResourceBytes) { in setResourceCacheLimits()
312 void GrDirectContext::setResourceCacheLimit(size_t maxResourceBytes) { in setResourceCacheLimit()
412 void GrDirectContext::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources()
566 void GrDirectContext::getUpdatedMemoryMap(std::unordered_map<int32_t, size_t> &out) in getUpdatedMemoryMap()
956 size_t size) { in create_and_update_compressed_backend_texture()
993 size_t siz in createCompressedBackendTexture()
[all...]
/third_party/python/Modules/
H A Dzlibmodule.c99 Py_ssize_t window_size = Py_MIN((size_t)allocated, UINT32_MAX); in OutputBuffer_WindowInitWithSize()
128 Py_ssize_t window_size = Py_MIN((size_t)window->left_bytes, UINT32_MAX); in OutputBuffer_WindowGrow()
285 if (size != 0 && items > (size_t)PY_SSIZE_T_MAX / size) in PyZlib_Malloc()
289 return PyMem_RawMalloc((size_t)items * (size_t)size); in PyZlib_Malloc()
301 zst->avail_in = (uInt)Py_MIN((size_t)*remains, UINT_MAX); in arrange_input_buffer()
561 if (zdict->buf != NULL && (size_t)zdict->len > UINT_MAX) { in zlib_compressobj_impl()
620 if ((size_t)zdict_buf.len > UINT_MAX) { in set_inflate_zdict()
1409 while ((size_t)len > UINT_MAX) { in zlib_adler32_impl()
1411 buf += (size_t) UINT_MA in zlib_adler32_impl()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dpstream.c118 size_t index;
141 size_t index;
482 size_t length, idx; in pa_pstream_send_memblock()
483 size_t bsm; in pa_pstream_send_memblock()
500 size_t n; in pa_pstream_send_memblock()
619 size_t plen; in prepare_next_write_item()
657 size_t offset, length; in prepare_next_write_item()
659 size_t shm_size = sizeof(uint32_t) * PA_PSTREAM_SHM_MAX; in prepare_next_write_item()
749 size_t l; in do_write()
810 p->write.index += (size_t) in do_write()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_validate.c304 static int wps_validate_manufacturer(const u8 *manufacturer, size_t len, in wps_validate_manufacturer()
324 static int wps_validate_model_name(const u8 *model_name, size_t len, in wps_validate_model_name()
344 static int wps_validate_model_number(const u8 *model_number, size_t len, in wps_validate_model_number()
364 static int wps_validate_serial_number(const u8 *serial_number, size_t len, in wps_validate_serial_number()
385 static int wps_validate_dev_name(const u8 *dev_name, size_t len, in wps_validate_dev_name()
425 static int wps_validate_req_dev_type(const u8 *req_dev_type[], size_t num, in wps_validate_req_dev_type()
525 static int wps_validate_authorized_macs(const u8 *authorized_macs, size_t len, in wps_validate_authorized_macs()
612 static int wps_validate_public_key(const u8 *public_key, size_t len, in wps_validate_public_key()
836 static int wps_validate_encr_settings(const u8 *encr_settings, size_t len, in wps_validate_encr_settings()
940 static int wps_validate_ssid(const u8 *ssid, size_t ssid_le
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_validate.c304 static int wps_validate_manufacturer(const u8 *manufacturer, size_t len, in wps_validate_manufacturer()
324 static int wps_validate_model_name(const u8 *model_name, size_t len, in wps_validate_model_name()
344 static int wps_validate_model_number(const u8 *model_number, size_t len, in wps_validate_model_number()
364 static int wps_validate_serial_number(const u8 *serial_number, size_t len, in wps_validate_serial_number()
385 static int wps_validate_dev_name(const u8 *dev_name, size_t len, in wps_validate_dev_name()
425 static int wps_validate_req_dev_type(const u8 *req_dev_type[], size_t num, in wps_validate_req_dev_type()
525 static int wps_validate_authorized_macs(const u8 *authorized_macs, size_t len, in wps_validate_authorized_macs()
612 static int wps_validate_public_key(const u8 *public_key, size_t len, in wps_validate_public_key()
836 static int wps_validate_encr_settings(const u8 *encr_settings, size_t len, in wps_validate_encr_settings()
940 static int wps_validate_ssid(const u8 *ssid, size_t ssid_le
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_ie.c27 static int wpa_write_wpa_ie(struct wpa_auth_config *conf, u8 *buf, size_t len) in wpa_write_wpa_ie()
91 int wpa_write_rsn_ie(struct wpa_auth_config *conf, u8 *buf, size_t len, in wpa_write_rsn_ie()
496 u8 * wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len, in wpa_add_kde()
497 const u8 *data2, size_t data2_len) in wpa_add_kde()
534 const u8 *wpa_ie, size_t wpa_ie_len, in wpa_validate_wpa_ie()
535 const u8 *mdie, size_t mdie_len, in wpa_validate_wpa_ie()
536 const u8 *owe_dh, size_t owe_dh_len) in wpa_validate_wpa_ie()
541 size_t i; in wpa_validate_wpa_ie()
951 const u8 *osen_ie, size_t osen_ie_len) in wpa_validate_osen()
1075 int wpa_parse_kde_ies(const u8 *buf, size_t le
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageClearingTests.cpp1682 for (std::size_t i = 0u; i < subresourceRanges.size(); ++i) in iterate()
2290 const size_t numOfColorImageFormatsToTest = DE_LENGTH_OF_ARRAY(colorImageFormatsToTest); in createImageClearingTestsCommon()
2302 const size_t numOfDepthStencilImageFormatsToTest = DE_LENGTH_OF_ARRAY(depthStencilImageFormatsToTest); in createImageClearingTestsCommon()
2341 const size_t numOfClearColorsToTest = DE_LENGTH_OF_ARRAY(clearColorsToTest); in createImageClearingTestsCommon()
2407 const size_t numOfImageLayerParamsToTest = DE_LENGTH_OF_ARRAY(imageLayerParamsToTest); in createImageClearingTestsCommon()
2410 const size_t numOfAttachmentLayerParamsToTest = numOfImageLayerParamsToTest - 2; in createImageClearingTestsCommon()
2436 const size_t numOfImageTypesToTest = DE_LENGTH_OF_ARRAY(imageTypesToTest); in createImageClearingTestsCommon()
2443 const size_t numOfImageTilingsToTest = DE_LENGTH_OF_ARRAY(imageTilingsToTest); in createImageClearingTestsCommon()
2445 for (size_t imageTypeIndex = 0; imageTypeIndex < numOfImageTypesToTest; ++imageTypeIndex) in createImageClearingTestsCommon()
2449 for (size_t imageTilingInde in createImageClearingTestsCommon()
[all...]
/third_party/skia/src/ports/
H A DSkFontHost_win.cpp97 size_t sSize = WideCharToMultiByte(CP_UTF8, 0, t, -1, nullptr, 0, nullptr, nullptr); in tchar_to_skstring()
302 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override;
462 const void* draw(const SkGlyph&, bool isBW, size_t* srcRBPtr);
477 size_t* srcRBPtr) { in draw()
532 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw()
533 size_t size = fHeight * srcRB; in draw()
577 static void RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB,
581 static void RGBToLcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcR
[all...]
/third_party/libsnd/src/
H A Dcommon.c465 ** argument to size_t or ensure the variable type is size_t.
576 size_t size ; in psf_binheader_writef()
755 size = va_arg (argptr, size_t) ; in psf_binheader_writef()
766 size = va_arg (argptr, size_t) ; in psf_binheader_writef()
787 size = va_arg (argptr, size_t) ; in psf_binheader_writef()
797 size = va_arg (argptr, size_t) ; in psf_binheader_writef()
927 size_t skip = position ; in header_seek()
930 size_t to_skip = SF_MIN (skip, sizeof (junk)) ; in header_seek()
1118 count = va_arg (argptr, size_t) ; in psf_binheader_readf()
[all...]
/third_party/json/include/nlohmann/detail/output/
H A Dbinary_writer.hpp871 for (size_t i = 0; i < j.m_value.binary->size(); ++i) in write_ubjson()
960 static std::size_t calc_bson_entry_header_size(const string_t& name, const BasicJsonType& j) in calc_bson_entry_header_size()
1007 static std::size_t calc_bson_string_size(const string_t& value) in calc_bson_string_size()
1037 static std::size_t calc_bson_integer_size(const std::int64_t value) in calc_bson_integer_size()
1065 static constexpr std::size_t calc_bson_unsigned_size(const std::uint64_t value) noexcept
1107 static std::size_t calc_bson_array_size(const typename BasicJsonType::array_t& value) in calc_bson_array_size()
1109 std::size_t array_index = 0ul; in calc_bson_array_size()
1111 const std::size_t embedded_document_size = std::accumulate(std::begin(value), std::end(value), static_cast<std::size_t>(0), [&array_index](std::size_t resul in calc_bson_array_size()
[all...]
/third_party/nghttp2/src/
H A Dhttp2.cc252 for (size_t i = 1; i < s.size(); ++i) { in capitalize()
281 Headers::value_type to_header(const uint8_t *name, size_t namelen, in to_header()
282 const uint8_t *value, size_t valuelen, in to_header()
289 void add_header(Headers &nva, const uint8_t *name, size_t namelen, in add_header()
290 const uint8_t *value, size_t valuelen, bool no_index, in add_header()
293 size_t i, j; in add_header()
594 for (size_t i = 0; nv[i]; i += 2) { in dump_nv()
601 void dump_nv(FILE *out, const nghttp2_nv *nva, size_t nvlen) { in dump_nv()
723 int lookup_token(const uint8_t *name, size_t namelen) { in lookup_token()
980 void index_header(HeaderIndex &hdidx, int32_t token, size_t id
[all...]
/third_party/node/deps/v8/src/compiler/backend/
H A Dcode-generator.cc29 JumpTable(JumpTable* next, Label** targets, size_t target_count) in JumpTable()
35 size_t target_count() const { return target_count_; } in target_count()
41 size_t const target_count_;
51 size_t max_unoptimized_frame_height, in CodeGenerator()
52 size_t max_pushed_argument_count, in CodeGenerator()
404 for (size_t i = 0; i < handlers_.size(); ++i) { in AssembleCode()
616 size_t push_count_upper_bound = pushes->size(); in GetPushCompatibleMoves()
617 size_t push_begin = push_count_upper_bound; in GetPushCompatibleMoves()
622 size_t push_count = pushes->size() - push_begin; in GetPushCompatibleMoves()
752 size_t frame_state_offse in AssembleInstruction()
[all...]
/third_party/pulseaudio/src/modules/oss/
H A Dmodule-oss.c114 size_t frame_size;
364 size_t bpos, n; in mmap_sink_get_latency()
377 if (bpos <= (size_t) info.ptr) in mmap_sink_get_latency()
378 n = u->out_hwbuf_size - ((size_t) info.ptr - bpos); in mmap_sink_get_latency()
380 n = bpos - (size_t) info.ptr; in mmap_sink_get_latency()
389 size_t bpos, n; in mmap_source_get_latency()
401 if (bpos <= (size_t) info.ptr) in mmap_source_get_latency()
402 n = (size_t) info.ptr - bpos; in mmap_source_get_latency()
404 n = u->in_hwbuf_size - bpos + (size_t) info.ptr; in mmap_source_get_latency()
426 r = pa_bytes_to_usec((size_t) ar in io_sink_get_latency()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmIntegerDotProductTests.cpp84 size_t size = getEqualValue(lhs.size(), rhs.size()); in dotProduct()
86 for (size_t i = 0; i < size; ++i) in dotProduct()
114 for (size_t idx = 0; idx < inputs[2].getByteSize() / sizeof(AddendT); ++idx) in compareDotProductAccSat()
116 size_t vecLen = (inputs[0].getByteSize() / sizeof(LHSOperandT)) / (inputs[2].getByteSize() / sizeof(AddendT)); in compareDotProductAccSat()
194 size_t vecElementSize;
200 size_t elementSize, size_t outSize) in addDotProductExtensionAndFeatures()
257 const struct DotProductVectorInfo &vectorInfo, size_t outSize, in generateIntegerDotProductTypeDeclsAndStrideDecors()
260 size_t signedScalarArraysMask = 0; in generateIntegerDotProductTypeDeclsAndStrideDecors()
261 size_t unsignedScalarArraysMas in generateIntegerDotProductTypeDeclsAndStrideDecors()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
H A DvktShaderLibrary.cpp96 string getShaderName (ShaderType shaderType, size_t progNdx) in getShaderName()
169 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader()
191 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader()
208 for (size_t ndx = 0; ndx < valueBlock.outputs.size(); ndx++) in genCompareOp()
257 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader()
308 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeVertexShader()
332 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeVertexShader()
386 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeFragmentShader()
411 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeFragmentShader()
444 for (size_t nd in generateVertexSpecialization()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Drenderer_utils.cpp216 size_t matrixSize, in SetFloatUniformMatrixFast()
440 for (size_t index = 0; index < mSize; ++index) in get()
465 size_t sourceRowPitch, in CopyImageCHROMIUM()
466 size_t sourcePixelBytes, in CopyImageCHROMIUM()
467 size_t sourceDepthPitch, in CopyImageCHROMIUM()
470 size_t destRowPitch, in CopyImageCHROMIUM()
471 size_t destPixelBytes, in CopyImageCHROMIUM()
472 size_t destDepthPitch, in CopyImageCHROMIUM()
476 size_t width, in CopyImageCHROMIUM()
477 size_t heigh in CopyImageCHROMIUM()
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dmpdecimal.h132 typedef size_t mpd_size_t; /* unsigned size type */
177 typedef size_t mpd_size_t; /* unsigned size type */
572 size_t mpd_sizeinbase(const mpd_t *a, uint32_t base);
573 void mpd_qimport_u16(mpd_t *result, const uint16_t *srcdata, size_t srclen,
576 void mpd_qimport_u32(mpd_t *result, const uint32_t *srcdata, size_t srclen,
579 size_t mpd_qexport_u16(uint16_t **rdata, size_t rlen, uint32_t base,
581 size_t mpd_qexport_u32(uint32_t **rdata, size_t rlen, uint32_t base,
590 void mpd_import_u16(mpd_t *result, const uint16_t *srcdata, size_t srcle
[all...]
/third_party/selinux/libsepol/src/
H A Dservices.c300 size_t class_buf_len = 0; in get_class_info()
301 size_t new_class_buf_len; in get_class_info()
302 size_t buf_used; in get_class_info()
335 if (len < 0 || (size_t)len >= class_buf_len - buf_used) in get_class_info()
343 if (len < 0 || (size_t)len >= class_buf_len - buf_used) in get_class_info()
356 if (len < 0 || (size_t)len >= class_buf_len - buf_used) in get_class_info()
1252 size_t * scontext_len) in sepol_sid_to_context()
1274 size_t scontext_len, sepol_security_id_t * sid) in sepol_context_to_sid()
1314 size_t slen, tlen, nlen; in compute_sid_handle_invalid_context()
1591 size_t le in convert_context_handle_invalid_context()
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderLibraryCase.cpp77 for (size_t extNdx = 0; extNdx < src.size(); ++extNdx) in checkAndSpecializeExtensions()
82 for (size_t alternativeNdx = 0; alternativeNdx < extension.alternatives.size(); ++alternativeNdx) in checkAndSpecializeExtensions()
100 for (size_t ndx = 0; ndx < extension.alternatives.size(); ++ndx) in checkAndSpecializeExtensions()
120 for (size_t capNdx = 0; capNdx < requiredCaps.size(); ++capNdx) in checkImplementationLimits()
155 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader()
177 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader()
196 for (size_t ndx = 0; ndx < valueBlock.outputs.size(); ndx++) in genCompareOp()
255 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader()
301 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeVertexShader()
322 for (size_t nd in specializeVertexShader()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmIntegerDotProductTests.cpp84 size_t size = getEqualValue(lhs.size(), rhs.size()); in dotProduct()
86 for (size_t i = 0; i < size; ++i) in dotProduct()
114 for (size_t idx = 0; idx < inputs[2].getByteSize() / sizeof(AddendT); ++idx) in compareDotProductAccSat()
116 size_t vecLen = (inputs[0].getByteSize() / sizeof(LHSOperandT)) / (inputs[2].getByteSize() / sizeof(AddendT)); in compareDotProductAccSat()
194 size_t vecElementSize;
200 size_t elementSize, size_t outSize) in addDotProductExtensionAndFeatures()
257 const struct DotProductVectorInfo &vectorInfo, size_t outSize, in generateIntegerDotProductTypeDeclsAndStrideDecors()
260 size_t signedScalarArraysMask = 0; in generateIntegerDotProductTypeDeclsAndStrideDecors()
261 size_t unsignedScalarArraysMas in generateIntegerDotProductTypeDeclsAndStrideDecors()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktShaderLibrary.cpp96 string getShaderName (ShaderType shaderType, size_t progNdx) in getShaderName()
169 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader()
191 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader()
208 for (size_t ndx = 0; ndx < valueBlock.outputs.size(); ndx++) in genCompareOp()
257 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader()
308 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeVertexShader()
332 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeVertexShader()
386 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeFragmentShader()
411 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in specializeFragmentShader()
444 for (size_t nd in generateVertexSpecialization()
[all...]

Completed in 50 milliseconds

1...<<301302303304305306307308309310>>...773