Home
last modified time | relevance | path

Searched refs:size_t (Results 2026 - 2050 of 28578) sorted by relevance

1...<<81828384858687888990>>...1144

/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/
H A Djsi.h58 size_t totalBytes; // heap total size
59 size_t allocBytes; // currently allocated bytes
60 size_t peakAllocBytes; // peak allocated bytes
154 SetStringPropertyWithBufferSize(JSIValue object, const char *const propName, const char *value, size_t size);
182 static JSIValue CreateStringWithBufferSize(const char * const str, size_t size);
341 static char *GetStringPropertyWithBufferSize(JSIValue object, const char * const propName, size_t &size);
489 static char *ValueToStringWithBufferSize(JSIValue value, size_t &size);
634 size_t &length,
636 size_t &byteOffset);
648 static JSIValue CreateTypedArray(TypedArrayType type, size_t lengt
[all...]
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/
H A Dpath_util.cpp71 const size_t separatorPos = path.rfind('/'); in GetParentPath()
81 size_t queryPos = allowQueryString ? string::npos : uri.find('?'); in ResolvePath()
112 for (size_t i = 0, iMax = Math::min(path.size(), relativeTo.size()); i < iMax; ++i) { in GetRelativePath()
121 const auto lastPos = static_cast<size_t>(static_cast<size_t>(lastSeparator) + 1); in GetRelativePath()
159 size_t cutPos = path.find_last_of("\\/"); in GetFilename()
169 size_t fileExtCut = path.rfind('.'); in GetExtension()
171 size_t queryCut = path.find('?', fileExtCut); in GetExtension()
184 size_t fileExtCut = filename.rfind("."); in GetBaseName()
193 const size_t queryPo in GetUriParameters()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/drawsurface_fuzzer/
H A Ddrawsurface_fuzzer.cpp28 constexpr size_t ACCESS_SIZE = 3;
29 constexpr size_t ALPHATYPE_SIZE = 4;
30 constexpr size_t COLORTYPE_SIZE = 10;
31 constexpr size_t MAX_SIZE = 5000;
32 constexpr size_t ORIGION_SIZE = 2;
35 bool SurfaceFuzzTest001(const uint8_t* data, size_t size) in SurfaceFuzzTest001()
79 bool SurfaceFuzzTest002(const uint8_t* data, size_t size) in SurfaceFuzzTest002()
127 bool SurfaceFuzzTest003(const uint8_t* data, size_t size) in SurfaceFuzzTest003()
152 for (size_t i = 0; i < size_pix; i++) { in SurfaceFuzzTest003()
155 size_t rowByte in SurfaceFuzzTest003()
[all...]
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dstart_code_detector.cpp36 size_t StartCodeDetector::SetSource(const std::string &path) in SetSource()
43 size_t fileSize = GetFileSizeInBytes(ifs); in SetSource()
49 size_t StartCodeDetector::SetSource(const uint8_t* pStart, size_t bufSize) in SetSource()
54 list<tuple<size_t, uint8_t, uint8_t>> posOfFile; in SetSource()
55 size_t pos = 0; in SetSource()
133 size_t StartCodeDetector::GetFileSizeInBytes(ifstream &ifs) in GetFileSizeInBytes()
138 return static_cast<size_t>(len); in GetFileSizeInBytes()
141 bool StartCodeDetector::SeekTo(size_t sampleIdx) in SeekTo()
147 auto idrIter = find_if(idrIdxList_.rbegin(), idrIdxList_.rend(), [sampleIdx](size_t idrId in SeekTo()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Ddata_buf.cpp51 const size_t UINT32_SIZE = 4;
56 DataBuf::DataBuf(size_t size) : pData_(size) {} in DataBuf()
58 DataBuf::DataBuf(const byte *pData, size_t size) : pData_(size) in DataBuf()
63 void DataBuf::Resize(size_t size) in Resize()
73 uint8_t DataBuf::ReadUInt8(size_t offset) const in ReadUInt8()
84 void DataBuf::WriteUInt8(size_t offset, uint8_t value) in WriteUInt8()
95 void DataBuf::WriteUInt32(size_t offset, uint32_t x, ByteOrder byteOrder) in WriteUInt32()
106 uint32_t DataBuf::ReadUInt32(size_t offset, ByteOrder byteOrder) in ReadUInt32()
117 int DataBuf::CmpBytes(size_t offset, const void *buf, size_t bufsiz
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dtraits.h24 struct index_of : std::integral_constant<size_t, 0> {};
27 inline constexpr size_t index_of_v = index_of<Tp, Types...>::value;
31 : std::integral_constant<size_t, std::is_same_v<Tp, First> ? 0 : index_of_v<Tp, Rest...> + 1> {};
36 inline constexpr size_t same_index_of_v = index_of<T, Types...>::value;
43 struct convertible_index_of : std::integral_constant<size_t, 0> {};
48 inline constexpr size_t convertible_index_of_v = convertible_index_of<Tp, Types...>::value;
52 : std::integral_constant<size_t, std::is_convertible_v<First, Tp> ? 0 : convertible_index_of_v<Tp, Rest...> + 1> {};
60 static constexpr size_t value = sizeof...(Types);
65 static constexpr size_t value = same_index_of_v<T, Types...>;
76 inline constexpr size_t variant_size_of_
[all...]
/foundation/distributeddatamgr/preferences/test/native/fuzztest/preferences_fuzzer/
H A Dpreferences_fuzzer.cpp62 bool PutIntFuzz(const uint8_t *data, size_t size) in PutIntFuzz()
74 bool GetIntFuzz(const uint8_t *data, size_t size) in GetIntFuzz()
87 bool PutStringFuzz(const uint8_t *data, size_t size) in PutStringFuzz()
99 bool GetStringFuzz(const uint8_t *data, size_t size) in GetStringFuzz()
112 bool PutBoolFuzz(const uint8_t *data, size_t size) in PutBoolFuzz()
124 bool GetBoolFuzz(const uint8_t *data, size_t size) in GetBoolFuzz()
137 bool PutFloatFuzz(const uint8_t *data, size_t size) in PutFloatFuzz()
149 bool GetFloatFuzz(const uint8_t *data, size_t size) in GetFloatFuzz()
162 bool PutDoubleFuzz(const uint8_t *data, size_t size) in PutDoubleFuzz()
174 bool GetDoubleFuzz(const uint8_t *data, size_t siz
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
H A Dtraits.h24 struct index_of : std::integral_constant<size_t, 0> {};
27 inline constexpr size_t index_of_v = index_of<Tp, Types...>::value;
31 : std::integral_constant<size_t, std::is_same_v<Tp, First> ? 0 : index_of_v<Tp, Rest...> + 1> {};
36 inline constexpr size_t same_index_of_v = index_of<T, Types...>::value;
43 struct convertible_index_of : std::integral_constant<size_t, 0> {};
48 inline constexpr size_t convertible_index_of_v = convertible_index_of<Tp, Types...>::value;
52 : std::integral_constant<size_t, std::is_convertible_v<First, Tp> ? 0 : convertible_index_of_v<Tp, Rest...> + 1> {};
60 static constexpr size_t value = sizeof...(Types);
65 static constexpr size_t value = same_index_of_v<T, Types...>;
76 inline constexpr size_t variant_size_of_
[all...]
/third_party/elfutils/tests/
H A Daddsections.c40 setshstrndx (Elf *elf, size_t ndx) in setshstrndx()
73 add_sections (const char *name, size_t nr, int use_mmap, size_t sec_size) in add_sections()
97 size_t shstrndx; in add_sections()
116 size_t new_shstrtab_size = (shstrtab_data->d_size in add_sections()
126 size_t extra_idx = shstrtab_data->d_size; in add_sections()
127 size_t old_shstrtab_idx = extra_idx + strlen (".extra") + 1; in add_sections()
142 size_t shstrtab_idx = shdr->sh_name; in add_sections()
153 size_t bufsz; in add_sections()
172 size_t cn in add_sections()
[all...]
/third_party/curl/tests/http/clients/
H A Dws-data.c44 void dump(const char *text, unsigned char *ptr, size_t size, in dump()
47 size_t i; in dump()
48 size_t c; in dump()
92 static CURLcode send_binary(CURL *curl, char *buf, size_t buflen) in send_binary()
94 size_t nwritten; in send_binary()
102 static CURLcode recv_binary(CURL *curl, char *exp_data, size_t exp_len) in recv_binary()
106 size_t r_offset, nread; in recv_binary()
162 size_t sent; in websocket_close()
169 static CURLcode data_echo(CURL *curl, size_t plen_min, size_t plen_ma
[all...]
/third_party/curl/lib/
H A Dhttp.h60 size_t delta,
66 const size_t hlen, /* len of the keyword in bytes */
68 const size_t clen); /* len of the content in bytes */
75 const size_t thislen);
150 const char *buf, size_t blen,
229 const char *buf, size_t blen,
230 size_t *pconsumed,
259 CURLcode Curl_http_decode_status(int *pstatus, const char *s, size_t len);
278 const char *method, size_t m_len,
279 const char *scheme, size_t s_le
[all...]
/third_party/benchmark/src/
H A Dstring_util.cc55 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa()
70 for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) { in ToExponentAndMantissa()
128 if (static_cast<std::size_t>(ret) < local_buff.size()) in StrFormatImp()
133 std::size_t size = static_cast<std::size_t>(ret) + 1; in StrFormatImp()
158 size_t first = 0; in StrSplit()
159 size_t next = str.find(delim); in StrSplit()
175 unsigned long stoul(const std::string& str, size_t* pos, int base) { in stoul()
196 *pos = static_cast<size_t>(strEnd - strStart); in stoul()
201 int stoi(const std::string& str, size_t* po
[all...]
/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerUtil.cpp27 void PrintHexArray(const uint8_t *Data, size_t Size, in PrintHexArray()
29 for (size_t i = 0; i < Size; i++) in PrintHexArray()
49 void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter) { in PrintASCII()
50 for (size_t i = 0; i < Size; i++) in PrintASCII()
59 bool ToASCII(uint8_t *Data, size_t Size) { in ToASCII()
61 for (size_t i = 0; i < Size; i++) { in ToASCII()
75 bool IsASCII(const uint8_t *Data, size_t Size) { in IsASCII()
76 for (size_t i = 0; i < Size; i++) in IsASCII()
84 size_t L = 0, R = Str.size() - 1; // We are parsing the range [L,R]. in ParseOneDictionaryEntry()
98 for (size_t Po in ParseOneDictionaryEntry()
[all...]
/third_party/node/src/
H A Dnode_blob.h23 size_t length;
24 size_t offset;
50 size_t length);
63 BaseObjectPtr<Blob> Slice(Environment* env, size_t start, size_t end);
65 inline size_t length() const { return length_; } in length()
71 size_t length) in BlobTransferData()
86 size_t length_ = 0;
96 size_t length);
100 size_t length
[all...]
/third_party/musl/src/stdio/
H A Dfmemopen.c10 size_t pos, len, size;
30 base = (size_t [3]){0, c->pos, c->len}[whence]; in mseek()
35 static size_t mread(FILE *f, unsigned char *buf, size_t len) in mread()
38 size_t rem = c->len - c->pos; in mread()
56 static size_t mreadx(FILE *f, unsigned char *buf, size_t len) in mreadx()
59 size_t rem = c->len - c->pos; in mreadx()
70 static size_t mwrite(FILE *f, const unsigned char *buf, size_t le
[all...]
/third_party/musl/src/string/
H A Dmemmem.c5 static char *twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in twobyte_memmem()
13 static char *threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in threebyte_memmem()
22 static char *fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in fourbyte_memmem()
35 ((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a))))
37 static char *twoway_memmem(const unsigned char *h, const unsigned char *z, const unsigned char *n, size_t l) in twoway_memmem()
39 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem()
40 size_t byteset[32 / sizeof(size_t)] in twoway_memmem()
[all...]
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate04.c23 static size_t block_size;
24 static size_t buf_size;
42 static size_t get_allocsize(void) in get_allocsize()
62 static void check_file_data(const char exp_buf[], size_t size) in check_file_data()
101 size_t alloc_size0 = get_allocsize(); in test02()
130 size_t alloc_size1 = get_allocsize(); in test02()
156 size_t alloc_size0 = get_allocsize(); in test03()
172 size_t alloc_size1 = get_allocsize(); in test03()
193 size_t alloc_size0 = get_allocsize(); in test04()
206 size_t alloc_size in test04()
[all...]
/third_party/node/deps/v8/src/heap/
H A Dcode-range.cc34 Address CodeRangeAddressHint::GetAddressHint(size_t code_range_size, in GetAddressHint()
35 size_t alignment) { in GetAddressHint()
87 size_t code_range_size) { in NotifyFreedCodeRange()
95 size_t CodeRange::GetWritableReservedAreaSize() { in GetWritableReservedAreaSize()
100 size_t requested) { in InitReservation()
109 const size_t reserved_area = GetWritableReservedAreaSize(); in InitReservation()
125 const size_t allocate_page_size = page_allocator->AllocatePageSize(); in InitReservation()
172 size_t embedded_blob_code_size) { in RemapEmbeddedBuiltins()
193 const size_t kAllocatePageSize = page_allocator()->AllocatePageSize(); in RemapEmbeddedBuiltins()
194 const size_t kCommitPageSiz in RemapEmbeddedBuiltins()
[all...]
/third_party/node/deps/v8/src/execution/
H A Dfutex-emulation.h65 size_t wait_addr, Handle<JSObject> promise_capability,
104 size_t wait_addr_ = 0;
154 Handle<JSArrayBuffer> array_buffer, size_t addr,
159 Handle<JSArrayBuffer> array_buffer, size_t addr,
166 size_t addr, int32_t value,
173 size_t addr, int64_t value,
181 size_t addr,
190 size_t addr);
200 Handle<JSArrayBuffer> array_buffer, size_t addr);
210 Handle<JSArrayBuffer> array_buffer, size_t add
[all...]
/third_party/libabigail/tests/data/test-diff-dwarf/
H A Dtest42-PR21296-clanggcc.cc26 typedef unsigned long size_t; typedef
91 template<std::size_t _Idx, typename _Head, bool _IsEmptyNotFinal>
95 template<std::size_t _Idx, typename _Head>
114 template<std::size_t _Idx, typename... _Elements>
117 template<std::size_t _Idx>
120 template<std::size_t, typename...> friend class _Tuple_impl;
128 template<std::size_t _Idx, typename _Head, typename... _Tail>
134 template<std::size_t, typename...> friend class _Tuple_impl;
174 template<std::size_t __i, typename _Tp>
181 template<std::size_t __
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dmemblock.h71 size_t length;
125 pa_memblock *pa_memblock_new(pa_mempool *, size_t length);
128 pa_memblock *pa_memblock_new_pool(pa_mempool *, size_t length);
131 pa_memblock *pa_memblock_new_user(pa_mempool *, void *data, size_t length, pa_free_cb_t free_cb, void *free_cb_data, bool read_only);
134 static inline pa_memblock *pa_memblock_new_malloced(pa_mempool *p, void *data, size_t length) { in pa_memblock_new_malloced()
139 pa_memblock *pa_memblock_new_fixed(pa_mempool *, void *data, size_t length, bool read_only);
162 size_t pa_memblock_get_length(pa_memblock *b);
170 pa_mempool *pa_mempool_new(pa_mem_type_t type, size_t size, bool per_client);
182 size_t pa_mempool_block_size_max(pa_mempool *p);
192 uint32_t shm_id, size_t offse
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DBuffer11.h49 typedef size_t DataRevision;
89 size_t getTotalCPUBufferMemoryBytes() const;
92 size_t getSize() const override;
102 size_t size,
107 size_t size,
108 size_t offset) override;
116 size_t offset,
117 size_t length,
159 size_t sourceOffset,
160 size_t storageSiz
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Dct.h176 size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id);
183 __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
191 size_t log_id_len);
223 size_t SCT_get0_extensions(const SCT *sct, unsigned char **ext);
229 void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len);
237 size_t ext_len);
244 size_t SCT_get0_signature(const SCT *sct, unsigned char **sig);
250 void SCT_set0_signature(SCT *sct, unsigned char *sig, size_t sig_len);
257 size_t sig_len);
348 size_t le
[all...]
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
H A Dstructures.h338 size_t size,
472 size_t data_size;
734 size_t read_ignore_bytes;
742 size_t read_buffer_size;
748 size_t read_buffer_offset;
753 size_t read_buffer_beginning;
759 size_t write_buffer_size;
765 size_t write_buffer_offset;
770 size_t write_buffer_beginning;
1032 size_t headers_siz
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_consume_test.cc50 CordRepFlat* CreateFlatWithLength(size_t length) { in CreateFlatWithLength()
57 CordRepSubstring* CreateSubstring(CordRep* child, size_t start, size_t length) { in CreateSubstring()
90 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST()
107 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST()
125 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST()
142 MockFunction<void(CordRep*, size_t, size_ in TEST()
[all...]

Completed in 15 milliseconds

1...<<81828384858687888990>>...1144