Home
last modified time | relevance | path

Searched refs:size (Results 4101 - 4125 of 31116) sorted by relevance

1...<<161162163164165166167168169170>>...1245

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dintercepted_data_impl.cpp27 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in CheckKey()
28 LOGE("Key is too large:%zu.", key.size()); in CheckKey()
36 if (value.size() > DBConstant::MAX_VALUE_SIZE) { in CheckValue()
37 LOGE("Value is too large:%zu.", value.size()); in CheckValue()
76 // New packet cannot exceed both twice the MTU and twice the original size. in InterceptedDataImpl()
79 std::max(totalLength_, static_cast<size_t>(DBConstant::MAX_MTU_SIZE)) * 2); // 2 times MAX_MTU size in InterceptedDataImpl()
99 if (index >= kvEntries_.size()) { in CheckIndex()
100 LOGE("Index is too large:%zu, size:%zu.", index, kvEntries_.size()); in CheckIndex()
179 for (size_t i = 0; i < dataItems_.size(); in GetKvEntries()
[all...]
/test/xts/hats/kernel/syscalls/fileio/readv/
H A DReadvApiTest.cpp67 * @tc.size : MediumTest
87 ssize_t size = readv(fd, iov, 2); in HWTEST_F() local
88 EXPECT_EQ(size, TEST_DATA_LEN); in HWTEST_F()
98 * @tc.size : MediumTest
116 ssize_t size = readv(-1, iov, 2); in HWTEST_F() local
117 EXPECT_EQ(size, -1); in HWTEST_F()
125 * @tc.size : MediumTest
131 ssize_t size; in HWTEST_F() local
151 size = readv(fd, iov, 2); in HWTEST_F()
152 EXPECT_EQ(size, TEST_DATA_LE in HWTEST_F()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmjpeg2jpeg_bsf.c40 0x00, 0x10, // APP0 header size (including
47 0x00, // X thumbnail size
48 0x00, // Y thumbnail size
59 static uint8_t *append(uint8_t *buf, const uint8_t *src, int size) in append() argument
61 memcpy(buf, src, size); in append()
62 return buf + size; in append()
91 if (in->size < 12) { in mjpeg2jpeg_filter()
106 if (in->size < input_skip) { in mjpeg2jpeg_filter()
111 output_size = in->size - input_skip + in mjpeg2jpeg_filter()
121 output = append(output, in->data + input_skip, in->size in mjpeg2jpeg_filter()
[all...]
/third_party/f2fs-tools/fsck/
H A Dxattr.h33 __le16 e_value_size; /* size of attribute value */
71 static inline int f2fs_acl_count(int size) in f2fs_acl_count() argument
74 size -= sizeof(struct f2fs_acl_header); in f2fs_acl_count()
75 s = size - 4 * sizeof(struct f2fs_acl_entry_short); in f2fs_acl_count()
77 if (size % sizeof(struct f2fs_acl_entry_short)) in f2fs_acl_count()
79 return size / sizeof(struct f2fs_acl_entry_short); in f2fs_acl_count()
125 #define XATTR_ALIGN(size) ((size + XATTR_ROUND) & ~XATTR_ROUND)
/third_party/elfutils/libdw/
H A Dlibdw_alloc.c95 result->size = dbg->mem_default_size in __libdw_alloc_tail()
97 result->remaining = result->size; in __libdw_alloc_tail()
120 size_t size = MAX (dbg->mem_default_size, in __libdw_allocate() local
123 struct libdw_memblock *newp = malloc (size); in __libdw_allocate()
129 newp->size = size - offsetof (struct libdw_memblock, mem); in __libdw_allocate()
130 newp->remaining = (uintptr_t) newp + size - (result + minsize); in __libdw_allocate()
/third_party/gn/src/gn/
H A Dc_include_iterator.cc27 while (new_begin < str.size() && in TrimLeadingWhitespace()
66 static const size_t kIncludeLen = std::size(kInclude) - 1; // No null. in ExtractInclude()
68 static const size_t kImportLen = std::size(kImport) - 1; // No null. in ExtractInclude()
141 begin_char + static_cast<int>(include_contents.size()))); in GetNextIncludeString()
155 if (offset_ == file_.size()) in GetNextLine()
159 while (offset_ < file_.size() && file_[offset_] != '\n') in GetNextLine()
167 if (offset_ < file_.size()) in GetNextLine()
H A Dresolved_target_deps_unittest.cc11 EXPECT_EQ(0u, deps.size()); in TEST()
38 EXPECT_EQ(5u, deps.size()); in TEST()
40 EXPECT_EQ(2u, deps.public_deps().size()); in TEST()
44 EXPECT_EQ(2u, deps.private_deps().size()); in TEST()
48 EXPECT_EQ(1u, deps.data_deps().size()); in TEST()
51 EXPECT_EQ(4u, deps.linked_deps().size()); in TEST()
57 EXPECT_EQ(5u, deps.all_deps().size()); in TEST()
/third_party/curl/docs/examples/
H A Dftpuploadresume.c34 static size_t getcontentlengthfunc(void *ptr, size_t size, size_t nmemb, in getcontentlengthfunc() argument
44 return size * nmemb; in getcontentlengthfunc()
48 static size_t discardfunc(void *ptr, size_t size, size_t nmemb, void *stream) in discardfunc() argument
52 return size * nmemb; in discardfunc()
56 static size_t readfunc(char *ptr, size_t size, size_t nmemb, void *stream) in readfunc() argument
64 n = fread(ptr, size, nmemb, f) * size; in readfunc()
H A Dxmlstream.c46 size_t size; member
66 state->characters.size = 0; in startElement()
74 char *ptr = realloc(mem->memory, mem->size + len + 1); in characterDataHandler()
83 memcpy(&(mem->memory[mem->size]), s, len); in characterDataHandler()
84 mem->size += len; in characterDataHandler()
85 mem->memory[mem->size] = 0; in characterDataHandler()
93 printf("%5lu %10lu %s\n", state->depth, state->characters.size, name); in endElement()
/third_party/benchmark/src/
H A Dcolorprint.cc90 std::size_t size = 256; in FormatString() local
92 auto ret = vsnprintf(local_buff, size, msg, args_cp); in FormatString()
102 if (static_cast<size_t>(ret) < size) { in FormatString()
106 size = static_cast<size_t>(ret) + 1; // + 1 for the null byte in FormatString()
107 std::unique_ptr<char[]> buff(new char[size]); in FormatString()
108 ret = vsnprintf(buff.get(), size, msg, args); in FormatString()
109 BM_CHECK(ret > 0 && (static_cast<size_t>(ret)) < size); in FormatString()
/third_party/alsa-utils/topology/nhlt/intel/
H A Dintel-nhlt.c54 static void print_array_values(struct dai_values *values, int size) in print_array_values() argument
59 for (i = 0; i < size; i++, values++) { in print_array_values()
69 int find_set_values(struct dai_values *values, int size, snd_config_t *dai_cfg, in find_set_values() argument
91 for (j = 0, temp_val = values; j < size; j++, temp_val++) { in find_set_values()
106 for (j = 0, temp_val = values; j < size; j++, temp_val++) { in find_set_values()
114 for (j = 0, temp_val = values; j < size; j++, temp_val++) { in find_set_values()
124 print_array_values(values, size); in find_set_values()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
H A DDictionaryBreakEngine.java22 // List size, limited by the maximum number of words in the dictionary
104 public int size() { in size() method in DictionaryBreakEngine.DequeI
109 return size() == 0; in isEmpty()
133 assert size() > 0; in pop()
138 assert size() > 0; in peek()
143 assert size() > 0; in peekLast()
148 assert size() > 0; in pollLast()
162 assert i < size(); in elementAt()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_busdma.h55 * address of a memory page having size USB_PAGE_SIZE.
126 usb_size_t size; member
138 usb_size_t size, usb_size_t align);
140 usb_size_t size, usb_size_t align);
141 uint8_t usb_pc_dmamap_create(struct usb_page_cache *pc, usb_size_t size);
142 uint8_t usb_pc_load_mem(struct usb_page_cache *pc, usb_size_t size,
156 void usb_dma_cache_invalid(void *addr, unsigned int size);
157 void usb_dma_cache_flush(void *addr, unsigned int size);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DDictionaryBreakEngine.java22 // List size, limited by the maximum number of words in the dictionary
104 int size() { in size() method in DictionaryBreakEngine.DequeI
109 return size() == 0; in isEmpty()
133 assert size() > 0; in pop()
138 assert size() > 0; in peek()
143 assert size() > 0; in peekLast()
148 assert size() > 0; in pollLast()
162 assert i < size(); in elementAt()
/third_party/libuv/src/unix/
H A Dhaiku.c36 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument
41 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath()
49 abspath_len = uv__strscpy(buffer, abspath, *size); in uv_exepath()
50 *size -= 1; in uv_exepath()
51 if (abspath_len >= 0 && *size > (size_t)abspath_len) in uv_exepath()
52 *size = (size_t)abspath_len; in uv_exepath()
/third_party/lzma/CPP/7zip/Common/
H A DStreamObjects.h38 void Init(const Byte *data, size_t size, IUnknown *ref = NULL)
41 _size = size;
52 void Create_BufInStream_WithReference(const void *data, size_t size, IUnknown *ref, ISequentialInStream **stream);
53 void Create_BufInStream_WithNewBuffer(const void *data, size_t size, ISequentialInStream **stream);
100 void Init(Byte *buffer, size_t size)
104 _size = size;
143 void Init(UInt64 size) throw();
/third_party/jerryscript/jerry-core/jmem/
H A Djmem.h139 uint32_t size; /**< Size of region */ member
145 void *jmem_heap_alloc_block (const size_t size);
146 void *jmem_heap_alloc_block_null_on_error (const size_t size);
148 void jmem_heap_free_block (void *ptr, const size_t size);
156 size_t size; /**< heap total size */ member
209 * if it was allocated (i.e. if the array's size was non-zero).
306 void *jmem_pools_alloc (size_t size);
307 void jmem_pools_free (void *chunk_p, size_t size);
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_cl.c40 cl->size = 0; in v3dv_cl_init()
70 bool ok = v3dv_bo_map(cl->job->device, bo, bo->size); in cl_alloc_bo()
88 cl->size = cl->bo->size; in cl_alloc_bo()
99 if (offset + space <= cl->size) { in v3dv_cl_ensure_space()
118 if (cl->size > 0) { in v3dv_cl_ensure_space_with_branch()
126 if (v3dv_cl_offset(cl) + space <= cl->size) in v3dv_cl_ensure_space_with_branch()
/third_party/node/lib/internal/fs/
H A Dread_file_context.js33 if (context.pos === context.size || bytesRead === 0) {
36 if (context.size === 0) {
37 // Unknown size, just read until we don't get bytes.
55 if (context.size === 0)
57 else if (context.pos < context.size)
75 this.size = 0;
94 if (this.size === 0) {
102 length = MathMin(kReadFileBufferLength, this.size - this.pos);
/third_party/node/deps/v8/third_party/zlib/google/
H A Dcompression_utils_unittest.cc36 std::string data(reinterpret_cast<const char*>(kData), std::size(kData)); in TEST()
41 std::size(kCompressedData)); in TEST()
47 std::size(kCompressedData)); in TEST()
53 std::size(kData)); in TEST()
62 std::size(kData)); in TEST()
87 std::size(kData)); in TEST()
90 std::size(kCompressedData)); in TEST()
/third_party/node/deps/zlib/google/
H A Dcompression_utils_unittest.cc36 std::string data(reinterpret_cast<const char*>(kData), std::size(kData)); in TEST()
41 std::size(kCompressedData)); in TEST()
47 std::size(kCompressedData)); in TEST()
53 std::size(kData)); in TEST()
62 std::size(kData)); in TEST()
87 std::size(kData)); in TEST()
90 std::size(kCompressedData)); in TEST()
/third_party/node/test/parallel/
H A Dtest-webcrypto-digest.js143 async function testDigest(size, name) {
146 Buffer.from(kSourceData[size], 'hex'));
150 kDigestedData[name.toLowerCase()][size]);
155 Object.keys(kSourceData).forEach((size) => {
161 variations.push(testDigest(size, upCase));
162 variations.push(testDigest(size, downCase));
163 variations.push(testDigest(size, mixedCase));
/third_party/node/deps/v8/src/wasm/
H A Dsync-streaming-decoder.cc29 buffer_.emplace_back(bytes.size());
30 CHECK_EQ(buffer_.back().size(), bytes.size());
31 std::memcpy(buffer_.back().data(), bytes.data(), bytes.size());
32 buffer_size_ += bytes.size();
40 std::memcpy(destination, chunk.data(), chunk.size());
41 destination += chunk.size();
/third_party/node/src/
H A Dnode_sea.cc36 size_t size; in FindSingleExecutableCode()
42 postject_find_resource("NODE_JS_CODE", &size, &options)); in FindSingleExecutableCode()
45 postject_find_resource("NODE_JS_CODE", &size, nullptr)); in FindSingleExecutableCode()
47 return {code, size}; in FindSingleExecutableCode()
62 // memory/binary size - using UTF16 by default results in twice of the size in GetSingleExecutableCode()
67 simdutf::utf16_length_from_utf8(sea_code.data(), sea_code.size()); in GetSingleExecutableCode()
71 sea_code.size(), in GetSingleExecutableCode()
99 argc = new_argv.size() - 1; in FixupArgsForSEA()
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_context.c57 unsigned size, const void *pointer) in init_array()
61 vbo_set_vertex_format(&attrib->Format, size, GL_FLOAT); in init_array()
118 unsigned size; in init_mat_currval() local
126 size = 1; in init_mat_currval()
130 size = 3; in init_mat_currval()
133 size = 4; in init_mat_currval()
137 init_array(ctx, attrib, size, ctx->Light.Material.Attrib[i]); in init_mat_currval()
56 init_array(struct gl_context *ctx, struct gl_array_attributes *attrib, unsigned size, const void *pointer) init_array() argument

Completed in 13 milliseconds

1...<<161162163164165166167168169170>>...1245