Home
last modified time | relevance | path

Searched refs:size (Results 1951 - 1975 of 31208) sorted by relevance

1...<<71727374757677787980>>...1249

/third_party/elfutils/backends/
H A Dsparc_retval.c80 Dwarf_Word size; in sparc_return_value_location()
103 &attr_mem), &size) != 0) in sparc_return_value_location()
109 size = asize; in sparc_return_value_location()
126 if (size <= 4) in sparc_return_value_location()
128 if (size <= 8) in sparc_return_value_location()
130 if (size <= 16) in sparc_return_value_location()
134 if (size <= 8) in sparc_return_value_location()
138 return size <= 4 ? nloc_intreg : nloc_intregpair; in sparc_return_value_location()
149 if (dwarf_aggregate_size (typedie, &size) == 0 in sparc_return_value_location()
150 && size > in sparc_return_value_location()
[all...]
H A Dppc64_retval.c85 Dwarf_Word size; in ppc64_return_value_location()
108 &attr_mem), &size) != 0) in ppc64_return_value_location()
111 size = 8; in ppc64_return_value_location()
129 if (size <= 8) in ppc64_return_value_location()
131 if (size <= 16) in ppc64_return_value_location()
133 if (size <= 32) in ppc64_return_value_location()
137 if (size <= 8) in ppc64_return_value_location()
167 if (dwarf_aggregate_size (typedie, &size) == 0 && size <= 8) in ppc64_return_value_location()
181 &size) ! in ppc64_return_value_location()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dpacket.h81 * than the target payload size.
171 * the list, so it is required to rely on the side data size to stop.
189 * size to recognize the end. 8 byte id (as found in BlockAddId) followed
207 * the list, so it is required to rely on the side data size to stop. This
241 * The number of bytes of CC data is AVPacketSideData.size.
317 size_t size; member
375 int size; member
507 * Note, this does not touch the data and size members, which have to be
527 * @param size wanted payload size
[all...]
/third_party/ffmpeg/libavformat/
H A Dadxdec.c55 int ret, size; in adx_read_packet() local
65 size = BLOCK_SIZE * par->ch_layout.nb_channels; in adx_read_packet()
70 ret = av_get_packet(s->pb, pkt, size * 128); in adx_read_packet()
73 if ((ret % size) && ret >= size) { in adx_read_packet()
74 size = ret - (ret % size); in adx_read_packet()
75 av_shrink_packet(pkt, size); in adx_read_packet()
77 } else if (ret < size) { in adx_read_packet()
80 size in adx_read_packet()
[all...]
H A Ddata_uri.c30 size_t size; member
85 dc->size = ret; in data_open()
88 dc->size = in_size; in data_open()
101 static int data_read(URLContext *h, unsigned char *buf, int size) in data_read() argument
105 if (dc->pos >= dc->size) in data_read()
107 size = FFMIN(size, dc->size - dc->pos); in data_read()
108 memcpy(buf, dc->data + dc->pos, size); in data_read()
109 dc->pos += size; in data_read()
[all...]
/third_party/alsa-lib/src/topology/
H A Ddecoder.c43 int snd_tplg_decode(snd_tplg_t *tplg, void *bin, size_t size, int dflags) in snd_tplg_decode() argument
58 if (size == pos) { in snd_tplg_decode()
59 tplg_log(tplg, 'D', pos, "block: success (total %zd)", size); in snd_tplg_decode()
62 if (size - pos < sizeof(*hdr)) { in snd_tplg_decode()
63 tplg_log(tplg, 'D', pos, "block: small size"); in snd_tplg_decode()
73 tplg_log(tplg, 'D', pos, "block: abi %d size %d payload size %d", in snd_tplg_decode()
74 hdr->abi, hdr->size, hdr->payload_size); in snd_tplg_decode()
79 if (hdr->size != sizeof(*hdr)) { in snd_tplg_decode()
80 SNDERR("header size mismatc in snd_tplg_decode()
[all...]
/third_party/icu/icu4c/source/common/
H A Duvectr64.h85 * equal if they are of the same size and all elements are equal,
125 inline int32_t size(void) const;
129 // Inline. Use this one for speedy size check.
136 * Change the size of this vector as follows: If newSize is
197 inline int64_t *reserveBlock(int32_t size, UErrorCode &status);
198 inline int64_t *popFrame(int32_t size);
224 inline int64_t *UVector64::reserveBlock(int32_t size, UErrorCode &status) { in reserveBlock() argument
225 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
229 count += size; in reserveBlock()
233 inline int64_t *UVector64::popFrame(int32_t size) { in popFrame() argument
244 inline int32_t UVector64::size(void) const { size() function in UVector64
[all...]
/third_party/lzma/CPP/Windows/
H A DSystem.cpp51 // Group size can be smaller than total number logical processors, for exammple, 2x36 in GetNumberOfProcessors()
141 bool GetRamSize(UInt64 &size) in GetRamSize() argument
143 size = (UInt64)(sizeof(size_t)) << 29; in GetRamSize()
154 size = MyMin(stat.ullTotalVirtual, stat.ullTotalPhys); in GetRamSize()
166 size = MyMin(stat.ullTotalVirtual, stat.ullTotalPhys); in GetRamSize()
175 size = MyMin(stat2.dwTotalVirtual, stat2.dwTotalPhys); in GetRamSize()
186 bool GetRamSize(UInt64 &size) in GetRamSize() argument
188 size = (UInt64)(sizeof(size_t)) << 29; in GetRamSize()
206 size = val; in GetRamSize()
220 size in GetRamSize()
[all...]
/third_party/jerryscript/jerry-core/jmem/
H A Djmem-poolman.c53 * Allocate a chunk of specified size
59 jmem_pools_alloc (size_t size) /**< size of the chunk */ in jmem_pools_alloc() argument
66 if (size <= 8) in jmem_pools_alloc()
69 JERRY_ASSERT (size <= 8); in jmem_pools_alloc()
93 JERRY_ASSERT (size <= 16); in jmem_pools_alloc()
120 size_t size) /**< size of the chunk */ in jmem_pools_free()
123 JMEM_HEAP_STAT_FREE (size); in jmem_pools_free()
127 JMEM_VALGRIND_DEFINED_SPACE (chunk_to_free_p, size); in jmem_pools_free()
119 jmem_pools_free(void *chunk_p, size_t size) jmem_pools_free() argument
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_suballoc.c20 * reallocation may happen for workloads where default size < working set size.
51 uint32_t size, uint32_t align) in tu_suballoc_bo_alloc()
56 if (offset + size <= bo->size) { in tu_suballoc_bo_alloc()
59 suballoc_bo->size = size; in tu_suballoc_bo_alloc()
61 suballoc->next_offset = offset + size; in tu_suballoc_bo_alloc()
69 uint32_t alloc_size = MAX2(size, suballoc->default_size); in tu_suballoc_bo_alloc()
73 if (alloc_size <= suballoc->cached_bo->size) in tu_suballoc_bo_alloc()
49 tu_suballoc_bo_alloc(struct tu_suballoc_bo *suballoc_bo, struct tu_suballocator *suballoc, uint32_t size, uint32_t align) tu_suballoc_bo_alloc() argument
[all...]
/third_party/ltp/testcases/kernel/controllers/memcg/
H A Dmemcontrol02.c35 const ssize_t size = MB(50); in alloc_anon_50M_check() local
41 buf = SAFE_MALLOC(size); in alloc_anon_50M_check()
42 for (ptr = buf; ptr < buf + size; ptr += page_size) in alloc_anon_50M_check()
46 TST_EXP_EXPR(current >= size, in alloc_anon_50M_check()
47 "(memory.current=%zd) >= (size=%zd)", current, size); in alloc_anon_50M_check()
52 TST_EXP_EXPR(values_close(size, anon, 3), in alloc_anon_50M_check()
53 "(size=%zd) ~= (memory.stat.anon=%zd)", size, anon); in alloc_anon_50M_check()
61 const size_t size in alloc_pagecache_50M_check() local
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dlocal-decl-encoder.cc20 size_t size = (*end - *start); in Prepend() local
21 byte* buffer = zone->NewArray<byte, LocalDeclEncoderBuffer>(Size() + size); in Prepend()
23 if (size > 0) { in Prepend()
24 memcpy(buffer + pos, *start, size); in Prepend()
26 pos += size; in Prepend()
33 LEBHelper::write_u32v(&pos, static_cast<uint32_t>(local_decls.size())); in Emit()
55 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals()
63 // Size = (size of locals count) +
64 // (for each local pair <reps, type>, (size of reps) + (size o
66 size_t size = LEBHelper::sizeof_u32v(local_decls.size()); Size() local
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Dmst.c35 * Basic validation of a NTFS multi-sector record. The record size must be a
36 * multiple of the logical sector size; and the update sequence array must be
41 is_valid_record(u32 size, u16 usa_ofs, u16 usa_count) in is_valid_record() argument
43 return size % NTFS_BLOCK_SIZE == 0 && in is_valid_record()
45 usa_count == 1 + (size / NTFS_BLOCK_SIZE) && in is_valid_record()
52 * @size: size in bytes of @b
65 int ntfs_mst_post_read_fixup_warn(NTFS_RECORD *b, const u32 size, in ntfs_mst_post_read_fixup_warn() argument
77 if (!is_valid_record(size, usa_ofs, usa_count)) { in ntfs_mst_post_read_fixup_warn()
80 ntfs_log_perror("%s: magic: 0x%08lx size in ntfs_mst_post_read_fixup_warn()
144 ntfs_mst_post_read_fixup(NTFS_RECORD *b, const u32 size) ntfs_mst_post_read_fixup() argument
169 ntfs_mst_pre_write_fixup(NTFS_RECORD *b, const u32 size) ntfs_mst_pre_write_fixup() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duvectr64.h85 * equal if they are of the same size and all elements are equal,
125 inline int32_t size() const;
129 // Inline. Use this one for speedy size check.
136 * Change the size of this vector as follows: If newSize is
197 inline int64_t *reserveBlock(int32_t size, UErrorCode &status);
198 inline int64_t *popFrame(int32_t size);
224 inline int64_t *UVector64::reserveBlock(int32_t size, UErrorCode &status) { in reserveBlock() argument
225 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
229 count += size; in reserveBlock()
233 inline int64_t *UVector64::popFrame(int32_t size) { in popFrame() argument
244 inline int32_t UVector64::size() const { size() function in UVector64
[all...]
/third_party/ltp/testcases/kernel/syscalls/getcpu/
H A Dgetcpu01.c21 static unsigned int max_cpuid(size_t size, cpu_set_t * set) in max_cpuid() argument
24 for (index = 0; index < size * 8; index++) in max_cpuid()
25 if (CPU_ISSET_S(index, size, set)) in max_cpuid()
38 size_t size; in set_cpu_affinity() local
46 size = CPU_ALLOC_SIZE(nrcpus); in set_cpu_affinity()
47 CPU_ZERO_S(size, set); in set_cpu_affinity()
48 if (sched_getaffinity(0, size, set) < 0) { in set_cpu_affinity()
56 cpu_max = max_cpuid(size, set); in set_cpu_affinity()
57 CPU_ZERO_S(size, set); in set_cpu_affinity()
58 CPU_SET_S(cpu_max, size, se in set_cpu_affinity()
[all...]
/third_party/node/deps/v8/src/base/
H A Daddress-region.h15 // Helper class representing an address region of certain size.
30 constexpr AddressRegion(Address address, size_t size) in AddressRegion() argument
31 : address_(address), size_(size) {} in AddressRegion()
36 size_t size() const { return size_; } in size() function in v8::base::AddressRegion
37 void set_size(size_t size) { size_ = size; } in set_size() argument
43 return (address - begin()) < size(); in contains()
46 bool contains(Address address, size_t size) const { in contains()
49 return (offset < size_) && (offset + size <= size_); in contains()
77 // Construct an AddressRegion from anything providing a {data()} and {size()}
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A DMemoryBuffer.cpp27 bool MemoryBuffer::resize(size_t size) in resize() argument
29 if (size == 0) in resize()
40 if (size == mSize) in resize()
45 // Only reallocate if the size has changed. in resize()
46 uint8_t *newMemory = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size)); in resize()
55 std::copy(mData, mData + std::min(mSize, size), newMemory); in resize()
60 mSize = size; in resize()
127 if (mScratchMemory.size() == requestedSize) in getImpl()
134 if (mScratchMemory.size() > requestedSize) in getImpl()
139 if (mScratchMemory.size() < requestedSiz in getImpl()
[all...]
/third_party/skia/src/core/
H A DSkGlyphBuffer.cpp17 void SkDrawableGlyphBuffer::ensureSize(size_t size) { in ensureSize() argument
18 if (size > fMaxSize) { in ensureSize()
19 fMultiBuffer.reset(size); in ensureSize()
20 fPositions.reset(size); in ensureSize()
21 fMaxSize = size; in ensureSize()
29 fInputSize = source.size(); in startSource()
33 memcpy(fPositions, positions.data(), positions.size() * sizeof(SkPoint)); in startSource()
47 fInputSize = source.size(); in startBitmapDevice()
56 matrix.mapPoints(fPositions, positions.data(), positions.size()); in startBitmapDevice()
75 fInputSize = source.size(); in startGPUDevice()
[all...]
/third_party/skia/tests/
H A DCachedDataTest.cpp36 static SkCachedData* make_data(size_t size, SkDiscardableMemoryPool* pool) { in make_data() argument
38 SkDiscardableMemory* dm = pool->create(size); in make_data()
41 return new SkCachedData(size, dm); in make_data()
43 return new SkCachedData(sk_malloc_throw(size), size); in make_data()
49 size_t size, SkDiscardableMemoryPool* pool) { in test_locking()
50 SkCachedData* data = make_data(size, pool); in test_locking()
52 memset(data->writable_data(), 0x80, size); // just to use writable_data() in test_locking()
85 const size_t size = 100; in DEF_TEST() local
88 SkCachedData* data = test_locking(reporter, size, useDiscardabl in DEF_TEST()
48 test_locking(skiatest::Reporter* reporter, size_t size, SkDiscardableMemoryPool* pool) test_locking() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Duvectr64.h85 * equal if they are of the same size and all elements are equal,
125 inline int32_t size(void) const;
129 // Inline. Use this one for speedy size check.
136 * Change the size of this vector as follows: If newSize is
197 inline int64_t *reserveBlock(int32_t size, UErrorCode &status);
198 inline int64_t *popFrame(int32_t size);
224 inline int64_t *UVector64::reserveBlock(int32_t size, UErrorCode &status) { in reserveBlock() argument
225 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
229 count += size; in reserveBlock()
233 inline int64_t *UVector64::popFrame(int32_t size) { in popFrame() argument
244 inline int32_t UVector64::size(void) const { size() function in UVector64
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dquant_param.cpp54 if ((m_scales.size() != m_zeroPoints.size()) || (m_zeroPoints.size() != m_numBits.size())) { in CopyToCompat()
55 LOGE("CopyToCompat failed, the size of scales(%zu), zeroPoints(%zu) and numBits(%zu) are not equal.", in CopyToCompat()
56 m_scales.size(), m_zeroPoints.size(), m_numBits.size()); in CopyToCompat()
60 size_t quantCount = m_scales.size(); in CopyToCompat()
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dscreen_system_manager.cpp44 ScreenSizeType size = ScreenSizeType::UNDEFINED; in GetSize() local
46 CHECK_NULL_RETURN(context, size); in GetSize()
49 size = ScreenSizeType::XS; in GetSize()
51 size = ScreenSizeType::SM; in GetSize()
53 size = ScreenSizeType::MD; in GetSize()
55 size = ScreenSizeType::LG; in GetSize()
57 size = ScreenSizeType::XL; in GetSize()
59 return size; in GetSize()
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dtime_util.cpp33 size_t size = strlen(time); in ParseToMilliseconds() local
34 if (size >= UINT8_MAX) { in ParseToMilliseconds()
38 if (size == 1) { in ParseToMilliseconds()
43 size_t bufSize = size; in ParseToMilliseconds()
44 char last = time[size - 1]; in ParseToMilliseconds()
45 char penult = time[size - IDX_PENULT]; in ParseToMilliseconds()
48 bufSize = size - IDX_PENULT; in ParseToMilliseconds()
50 bufSize = size - 1; in ParseToMilliseconds()
/foundation/arkui/napi/test/fuzztest/loadarkmodule_fuzzer/
H A Dloadarkmodule_fuzzer.cpp61 void LoadArkModuleFuzzTest(const uint8_t* data, size_t size) in LoadArkModuleFuzzTest() argument
63 if (size <= 0) { in LoadArkModuleFuzzTest()
67 if (size > MAXBYTELEN) { in LoadArkModuleFuzzTest()
68 size = MAXBYTELEN; in LoadArkModuleFuzzTest()
70 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in LoadArkModuleFuzzTest()
77 g_nativeEngine.LoadArkModule(buffer, size, path); in LoadArkModuleFuzzTest()
82 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
85 OHOS::LoadArkModuleFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/arkui/napi/test/fuzztest/runbufferscript_fuzzer/
H A Drunbufferscript_fuzzer.cpp61 void RunBufferScriptFuzzTest(const uint8_t* data, size_t size) in RunBufferScriptFuzzTest() argument
63 if (size <= 0) { in RunBufferScriptFuzzTest()
67 if (size > MAXBYTELEN) { in RunBufferScriptFuzzTest()
68 size = MAXBYTELEN; in RunBufferScriptFuzzTest()
70 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in RunBufferScriptFuzzTest()
75 std::vector<uint8_t> vec(size, *data); in RunBufferScriptFuzzTest()
81 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
84 OHOS::RunBufferScriptFuzzTest(data, size); in LLVMFuzzerTestOneInput()

Completed in 12 milliseconds

1...<<71727374757677787980>>...1249