Home
last modified time | relevance | path

Searched refs:size (Results 5326 - 5350 of 23066) sorted by relevance

1...<<211212213214215216217218219220>>...923

/third_party/gn/src/gn/
H A Dninja_build_writer.cc157 DCHECK(matches.size() >= 2); in GetDuplicateOutputError()
171 for (size_t i = 1; i < matches.size(); i++) in GetDuplicateOutputError()
244 default_toolchain_targets.reserve(all_targets.size()); in RunAndWriteFile()
274 static_cast<int>(ninja_contents.size())) != in RunAndWriteFile()
275 static_cast<int>(ninja_contents.size())) in RunAndWriteFile()
283 static_cast<int>(dep_contents.size())) != in RunAndWriteFile()
284 static_cast<int>(dep_contents.size())) in RunAndWriteFile()
295 static_cast<int>(stamp_contents.size())) != in RunAndWriteFile()
296 static_cast<int>(stamp_contents.size())) in RunAndWriteFile()
355 input_file_manager->GetInputFileCount() + other_files.size()); in WriteNinjaRules()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DRuleBasedTimeZone.java280 if (historicRules.size() != otherRBTZ.historicRules.size()) { in hasSameRules()
310 int size = 1; in getTimeZoneRules()
312 size += historicRules.size(); in getTimeZoneRules()
317 size += 2; in getTimeZoneRules()
319 size++; in getTimeZoneRules()
322 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules()
327 for (; idx < historicRules.size() + 1; idx++) { in getTimeZoneRules()
358 int idx = historicTransitions.size() in getNextTransition()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
H A DCollectionUtilities.java107 * Get the size of an iterator (number of items in it).
111 public static int size(Iterator source) { in size() method in CollectionUtilities
263 if (a.size() == 0 || b.size() == 0) return false; in containsSome()
264 if (a == b) return true; // must test after size test. in containsSome()
316 if (b.size() == 0) return true; in containsAll()
317 if (a.size() < b.size()) return false; in containsAll()
398 if (a.size() == 0) { in getContainmentRelation()
399 return (b.size() in getContainmentRelation()
[all...]
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DCollectionUtilities.java104 * Get the size of an iterator (number of items in it).
108 public static int size(Iterator source) { in size() method in CollectionUtilities
260 if (a.size() == 0 || b.size() == 0) return false; in containsSome()
261 if (a == b) return true; // must test after size test. in containsSome()
313 if (b.size() == 0) return true; in containsAll()
314 if (a.size() < b.size()) return false; in containsAll()
395 if (a.size() == 0) { in getContainmentRelation()
396 return (b.size() in getContainmentRelation()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DRuleBasedTimeZone.java262 if (historicRules.size() != otherRBTZ.historicRules.size()) { in hasSameRules()
290 int size = 1; in getTimeZoneRules()
292 size += historicRules.size(); in getTimeZoneRules()
297 size += 2; in getTimeZoneRules()
299 size++; in getTimeZoneRules()
302 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules()
307 for (; idx < historicRules.size() + 1; idx++) { in getTimeZoneRules()
336 int idx = historicTransitions.size() in getNextTransition()
[all...]
/third_party/littlefs/bd/
H A Dlfs_emubd.c216 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_emubd_read()
219 (void*)cfg, block, off, buffer, size); in lfs_emubd_read()
225 LFS_ASSERT(size % bd->cfg->read_size == 0); in lfs_emubd_read()
226 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_emubd_read()
239 memcpy(buffer, &b->data[off], size); in lfs_emubd_read()
244 size); in lfs_emubd_read()
248 bd->readed += size; in lfs_emubd_read()
266 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_emubd_prog()
269 (void*)cfg, block, off, buffer, size); in lfs_emubd_prog()
275 LFS_ASSERT(size in lfs_emubd_prog()
215 lfs_emubd_read(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_emubd_read() argument
265 lfs_emubd_prog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_emubd_prog() argument
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dstreaming-decoder.cc85 size_t length() const { return bytes_.size(); } in length()
235 TRACE_STREAMING("OnBytesReceived(%zu bytes)\n", bytes.size()); in OnBytesReceived()
238 while (ok() && current < bytes.size()) { in OnBytesReceived()
240 state_->ReadBytes(this, bytes.SubVector(current, bytes.size())); in OnBytesReceived()
243 if (state_->offset() == state_->buffer().size()) { in OnBytesReceived()
247 total_size_ += bytes.size(); in OnBytesReceived()
256 size_t num_bytes = std::min(bytes.size(), remaining_buf.size()); in ReadBytes()
413 // The size of the module header.
483 : DecodeVarInt32(kV8MaxWasmFunctionSize, "function body size"), in DecodeFunctionLength()
[all...]
H A Dmodule-decoder.cc214 "section was %s than expected size " in advance()
238 // Read and check the section size. in next()
310 if (path.size() && in DumpModule()
311 !base::OS::isDirectorySeparator(path[path.size() - 1])) { in DumpModule()
552 "section was %s than expected size " in DecodeSection()
554 msg, bytes.size(), static_cast<size_t>(pc() - bytes.begin())); in DecodeSection()
587 if (V8_UNLIKELY(supertype >= module_->types.size())) { in check_supertype()
589 module_->types.size(), supertype); in check_supertype()
597 size_t num_types = module_->types.size(); in consume_nominal_type_definition()
721 consume_count("recursive group size", kV8MaxWasmType in DecodeTypeSection()
1109 uint32_t size = consume_u32v("body size"); DecodeCodeSection() local
1494 set_code_section(uint32_t offset, uint32_t size) set_code_section() argument
1652 int size = global.type.value_kind_size(); CalculateGlobalOffsets() local
2228 size_t size = module_end - module_start; DecodeWasmModule() local
2319 set_code_section(uint32_t offset, uint32_t size) set_code_section() argument
2356 size_t size = function_end - function_start; DecodeWasmFunctionForTesting() local
2380 uint32_t size = decoder.consume_u32v("table size"); DecodeAsmJsOffsets() local
[all...]
/third_party/libfuse/lib/modules/
H A Dsubdir.c105 char *buf, size_t size) in transform_symlink()
126 if (dotdots * 3 + llen + 2 > size) in transform_symlink()
142 static int subdir_readlink(const char *path, char *buf, size_t size) in subdir_readlink() argument
148 err = fuse_fs_readlink(d->next, newpath, buf, size); in subdir_readlink()
150 transform_symlink(d, newpath, buf, size); in subdir_readlink()
316 static int subdir_truncate(const char *path, off_t size, in subdir_truncate() argument
323 err = fuse_fs_truncate(d->next, newpath, size, fi); in subdir_truncate()
368 size_t size, off_t offset, struct fuse_file_info *fi) in subdir_read_buf()
374 err = fuse_fs_read_buf(d->next, newpath, bufp, size, offset, fi); in subdir_read_buf()
456 const char *value, size_t size, in in subdir_setxattr()
104 transform_symlink(struct subdir *d, const char *path, char *buf, size_t size) transform_symlink() argument
367 subdir_read_buf(const char *path, struct fuse_bufvec **bufp, size_t size, off_t offset, struct fuse_file_info *fi) subdir_read_buf() argument
455 subdir_setxattr(const char *path, const char *name, const char *value, size_t size, int flags) subdir_setxattr() argument
469 subdir_getxattr(const char *path, const char *name, char *value, size_t size) subdir_getxattr() argument
482 subdir_listxattr(const char *path, char *list, size_t size) subdir_listxattr() argument
[all...]
/third_party/lwip/src/include/lwip/
H A Dsockets.h150 /* cmsg header/data alignment. NOTE: we align to native word size (double word
151 size on 16-bit arch) so structures are not placed at an unaligned address.
155 #define ALIGN_H(size) (((size) + sizeof(long) - 1U) & ~(sizeof(long)-1U))
156 #define ALIGN_D(size) ALIGN_H(size)
211 #define SO_SNDBUF 0x1001 /* Unimplemented: send buffer size */
212 #define SO_RCVBUF 0x1002 /* receive buffer size */
397 * and the size of any in or out parameters in the upper
592 ssize_t lwip_send(int s, const void *dataptr, size_t size, in
[all...]
/third_party/node/deps/v8/src/heap/
H A Dlarge-spaces.cc50 if (executable && chunk->size() > LargePage::kMaxCodePageSize) {
266 current < reinterpret_cast<Address>(page) + page->size(); in InsertChunkMapEntries()
274 current < reinterpret_cast<Address>(page) + page->size(); in RemoveChunkMapEntries()
293 size_ += static_cast<int>(page->size()); in AddPage()
294 AccountCommitted(page->size()); in AddPage()
304 size_ -= static_cast<int>(page->size()); in RemovePage()
305 AccountUncommitted(page->size()); in RemovePage()
324 size_t size = static_cast<size_t>(object.Size(cage_base)); in FreeUnmarkedObjects() local
327 surviving_object_size += size; in FreeUnmarkedObjects()
328 if ((free_start = current->GetAddressToShrink(object.address(), size)) ! in FreeUnmarkedObjects()
562 size_t size = static_cast<size_t>(object.Size(cage_base)); FreeDeadObjects() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_hw_context.c502 unsigned size) in r600_cp_dma_copy_buffer()
506 assert(size); in r600_cp_dma_copy_buffer()
513 dst_offset + size); in r600_cp_dma_copy_buffer()
524 while (size) { in r600_cp_dma_copy_buffer()
526 unsigned byte_count = MIN2(size, CP_DMA_MAX_BYTE_COUNT); in r600_cp_dma_copy_buffer()
539 if (size == byte_count) { in r600_cp_dma_copy_buffer()
561 size -= byte_count; in r600_cp_dma_copy_buffer()
584 uint64_t size) in r600_dma_copy_buffer()
595 dst_offset + size); in r600_dma_copy_buffer()
597 size >> in r600_dma_copy_buffer()
499 r600_cp_dma_copy_buffer(struct r600_context *rctx, struct pipe_resource *dst, uint64_t dst_offset, struct pipe_resource *src, uint64_t src_offset, unsigned size) r600_cp_dma_copy_buffer() argument
579 r600_dma_copy_buffer(struct r600_context *rctx, struct pipe_resource *dst, struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, uint64_t size) r600_dma_copy_buffer() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dmem_sec.c87 static int sh_init(size_t size, size_t minsize);
88 static void *sh_malloc(size_t size);
95 int CRYPTO_secure_malloc_init(size_t size, size_t minsize) in CRYPTO_secure_malloc_init() argument
104 if ((ret = sh_init(size, minsize)) != 0) { in CRYPTO_secure_malloc_init()
319 size_t bittable_size; /* size in bits */
410 static int sh_init(size_t size, size_t minsize) in sh_init() argument
423 /* make sure size is a powers of 2 */ in sh_init()
424 OPENSSL_assert(size > 0); in sh_init()
425 OPENSSL_assert((size & (size in sh_init()
612 sh_malloc(size_t size) sh_malloc() argument
[all...]
/third_party/openssl/crypto/
H A Dmem_sec.c87 static int sh_init(size_t size, size_t minsize);
88 static void *sh_malloc(size_t size);
95 int CRYPTO_secure_malloc_init(size_t size, size_t minsize) in CRYPTO_secure_malloc_init() argument
104 if ((ret = sh_init(size, minsize)) != 0) { in CRYPTO_secure_malloc_init()
313 size_t bittable_size; /* size in bits */
404 static int sh_init(size_t size, size_t minsize) in sh_init() argument
417 /* make sure size is a powers of 2 */ in sh_init()
418 OPENSSL_assert(size > 0); in sh_init()
419 OPENSSL_assert((size & (size in sh_init()
606 sh_malloc(size_t size) sh_malloc() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorTests.cpp88 return vec.size() * sizeof(vec[0]); in sizeInBytes()
91 VkImageCreateInfo makeImageCreateInfo (const VkFormat format, const IVec2& size, VkImageUsageFlags usage) in makeImageCreateInfo() argument
100 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo()
199 const float size = 0.2f; in genVertices() local
215 const float x = x0 + rng.getFloat(0.0f, rx - size); in genVertices()
216 const float y = y0 + rng.getFloat(0.0f, ry - size); in genVertices()
218 vertices.push_back(makeVertex(x + size, y + size, primitiveColor)); in genVertices()
225 const float x = x0 + rng.getFloat(0.0f, rx - size); in genVertices()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageSampleDrawnCubeFaceTests.cpp71 inline VkImageCreateInfo makeImageCreateInfo (const IVec3& size, const VkFormat& format, bool cubemap) in makeImageCreateInfo() argument
84 makeExtent3D(size.x(), size.y(), 1u), // VkExtent3D extent; in makeImageCreateInfo()
106 1024u, // VkDeviceSize size; in makeVertexBuffer()
121 const IVec2& size,
130 SampleDrawnCubeFaceTestInstance::SampleDrawnCubeFaceTestInstance (Context& context, const IVec2& size, const VkFormat format) in SampleDrawnCubeFaceTestInstance() argument
132 , m_size (size) in SampleDrawnCubeFaceTestInstance()
140 return vec.size() * sizeof(vec[0]); in sizeInBytes()
301 deMemcpy(uvBufferAlloc->getHostPtr(), &uvCoordinates[0], uvCoordinates.size() * sizeof (Vertex)); in iterate()
314 (deUint32)sizeof(deUint32), // uint32_t size; in iterate()
479 SampleDrawnCubeFaceTest(tcu::TestContext& testCtx, const std::string& name, const tcu::IVec2& size, const VkFormat format) SampleDrawnCubeFaceTest() argument
555 const tcu::IVec2 size = tcu::IVec2(8, 8); createImageSampleDrawnCubeFaceTests() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorTests.cpp88 return vec.size() * sizeof(vec[0]); in sizeInBytes()
91 VkImageCreateInfo makeImageCreateInfo (const VkFormat format, const IVec2& size, VkImageUsageFlags usage) in makeImageCreateInfo() argument
100 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo()
199 const float size = 0.2f; in genVertices() local
215 const float x = x0 + rng.getFloat(0.0f, rx - size); in genVertices()
216 const float y = y0 + rng.getFloat(0.0f, ry - size); in genVertices()
218 vertices.push_back(makeVertex(x + size, y + size, primitiveColor)); in genVertices()
225 const float x = x0 + rng.getFloat(0.0f, rx - size); in genVertices()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageSampleDrawnCubeFaceTests.cpp71 inline VkImageCreateInfo makeImageCreateInfo (const IVec3& size, const VkFormat& format, bool cubemap) in makeImageCreateInfo() argument
84 makeExtent3D(size.x(), size.y(), 1u), // VkExtent3D extent; in makeImageCreateInfo()
106 1024u, // VkDeviceSize size; in makeVertexBuffer()
121 const IVec2& size,
130 SampleDrawnCubeFaceTestInstance::SampleDrawnCubeFaceTestInstance (Context& context, const IVec2& size, const VkFormat format) in SampleDrawnCubeFaceTestInstance() argument
132 , m_size (size) in SampleDrawnCubeFaceTestInstance()
140 return vec.size() * sizeof(vec[0]); in sizeInBytes()
301 deMemcpy(uvBufferAlloc->getHostPtr(), &uvCoordinates[0], uvCoordinates.size() * sizeof (Vertex)); in iterate()
314 (deUint32)sizeof(deUint32), // uint32_t size; in iterate()
480 SampleDrawnCubeFaceTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const tcu::IVec2& size, const VkFormat format) SampleDrawnCubeFaceTest() argument
557 const tcu::IVec2 size = tcu::IVec2(8, 8); createImageSampleDrawnCubeFaceTests() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DStringRef.h149 /// size - Get the string size.
151 size_t size() const { return Length; } in size() function in llvm::StringRef
332 return size() - S.size();
408 /// Complexity: O(size() + Chars.size())
420 /// Complexity: O(size() + Chars.size())
434 /// Complexity: O(size()
[all...]
/third_party/skia/demos.skia.org/demos/textedit/
H A Dtextapi_utils.js184 size: null,
205 if (src.size && this.size !== src.size) {
206 this.size = src.size;
225 this.size += src.size_add;
335 if (!block || (block.typeface === s.typeface && block.size === s.size)) {
337 block = { length: 0, typeface: s.typeface, size
[all...]
/third_party/libfuse/lib/
H A Dfuse_lowlevel.c66 attr->size = stbuf->st_size; in convert_stat()
82 stbuf->st_size = attr->size; in convert_attr()
277 /* `buf` is allowed to be empty so that the proper size may be
367 /* `buf` is allowed to be empty so that the proper size may be
420 size_t size = req->se->conn.proto_minor < 9 ? local
430 return send_reply_ok(req, &arg, size);
453 size_t size = req->se->conn.proto_minor < 9 ? local
461 return send_reply_ok(req, &arg, size);
483 arg.size = count;
488 int fuse_reply_buf(fuse_req_t req, const char *buf, size_t size) argument
537 size_t size; global() member
899 size_t size = req->se->conn.proto_minor < 4 ? global() local
1033 fuse_reply_ioctl(fuse_req_t req, int result, const void *buf, size_t size) global() argument
2411 size_t size = fuse_buf_size(bufv); global() local
2484 fuse_lowlevel_notify_retrieve(struct fuse_session *se, fuse_ino_t ino, size_t size, off_t offset, void *cookie) global() argument
3210 fuse_req_getgroups(fuse_req_t req, int size, gid_t list[]) global() argument
3272 fuse_req_getgroups(fuse_req_t req, int size, gid_t list[]) global() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingValveMutableTests.cpp836 virtual size_t size () const = 0;
849 return (descTypes.size() > 1u); in needsAliasing()
881 // Get GLSL binding declarations. Note: no array size means no array, if size is < 0 it means unbounded array.
926 const auto vecSize = mutableTypesVec.size();
946 return std::vector<VkDescriptorType>(1u, typesVec[static_cast<size_t>(iteration) % typesVec.size()]);
959 size_t size () const override
1243 DE_ASSERT(basicTypes.size() == 1u); in ArrayBinding()
1244 DE_ASSERT(bindingTypes.size() == 1u); in ArrayBinding()
1255 bindingSizes.reserve(bindings.size());
[all...]
/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dcpu_collector_test.cpp75 ASSERT_GT(sysCpuUsage.cpuInfos.size(), 0); in HWTEST_F()
95 ASSERT_EQ(nextResult.data.cpuInfos.size(), sysCpuUsage.cpuInfos.size()); in HWTEST_F()
120 ASSERT_EQ(nextResult.data.cpuInfos.size(), result.data.cpuInfos.size()); in HWTEST_F()
136 std::cout << "collect system cpu frequency, size=" << cpuFreqs.size() << std::endl; in HWTEST_F()
137 ASSERT_GT(cpuFreqs.size(), 0); in HWTEST_F()
138 for (size_t i = 0; i < cpuFreqs.size(); ++i) { in HWTEST_F()
331 ASSERT_TRUE(collectResult2.data.size() > in HWTEST_F()
[all...]
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DFetcher.java59 resourceCount = configItems.size();
205 int size = this.idMap.size(); in dump()
206 for (int i = 0; i < datas.size(); i++) { in dump()
209 idMap.put(data, size); in dump()
210 size++; in dump()
229 if (datas.size() != fetcher.datas.size()) { in equals()
232 for (int i = 0; i < datas.size(); i++) { in equals()
327 String[] outPatterns = new String[skeletons.size()]; in getPatterns()
[all...]
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_config_sensor_cluster.cpp35 uint32_t expectedLevSize = static_cast<uint32_t>(sensorInfolist_.begin()->second.size()); in CheckStandard()
37 uint32_t actualLevSize = static_cast<uint32_t>(sensorInfo->second.size()); in CheckStandard()
39 THERMAL_HILOGE(COMP_SVC, "sensor [%{public}s] lev size mismatch", sensorInfo->first.c_str()); in CheckStandard()
42 for (uint32_t i = 0; i < sensorInfo->second.size(); ++i) { in CheckStandard()
51 uint32_t actualLevSize = static_cast<uint32_t>(sensorInfo->second.size()); in CheckStandard()
55 THERMAL_HILOGE(COMP_SVC, "sensor [%{public}s] aux lev size mismatch", sensorInfo->first.c_str()); in CheckStandard()
221 if (level > 0 && level < levItems.size()) { in AscJudgment()
225 AscendLevelToThreshold(levItems, level, levItems.size(), curTemp); in AscJudgment()
229 } else if (level == levItems.size()) { in AscJudgment()
237 AscendLevelToThresholdClr(levItems, level, levItems.size(), curTem in AscJudgment()
[all...]

Completed in 29 milliseconds

1...<<211212213214215216217218219220>>...923