Home
last modified time | relevance | path

Searched refs:size (Results 5251 - 5275 of 31208) sorted by relevance

1...<<211212213214215216217218219220>>...1249

/third_party/f2fs-tools/fsck/
H A Dquotaio.h33 typedef int64_t qsize_t; /* Type in which we store size limitations */
83 /* Size of blocks in which are counted size limits in generic utility parts */
129 void *buf, unsigned int size);
131 void *buf, unsigned int size);
230 static inline errcode_t quota_get_mem(unsigned long size, void *ptr) in quota_get_mem() argument
234 pp = malloc(size); in quota_get_mem()
241 static inline errcode_t quota_get_memzero(unsigned long size, void *ptr) in quota_get_memzero() argument
245 pp = malloc(size); in quota_get_memzero()
248 memset(pp, 0, size); in quota_get_memzero()
/third_party/ffmpeg/libavformat/
H A Dtty.c47 uint64_t fsize; /**< file size less metadata buffer */
86 #define GET_EFI_META(name,size) \ in efi_read()
88 if (len < 1 || len > size) \ in efi_read()
90 if (avio_read(pb, buf, size) == size) { \ in efi_read()
159 pkt->size = av_get_packet(avctx->pb, pkt, n); in read_packet()
160 if (pkt->size < 0) in read_packet()
161 return pkt->size; in read_packet()
172 { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL}, 0, 0, DEC },
/third_party/gn/src/gn/
H A Dinherited_libraries_unittest.cc32 ASSERT_EQ(2u, result.size()); in TEST()
40 ASSERT_EQ(2u, result.size()); in TEST()
48 ASSERT_EQ(2u, result.size()); in TEST()
56 ASSERT_EQ(2u, result.size()); in TEST()
85 ASSERT_EQ(4u, result.size()); in TEST()
100 ASSERT_EQ(6u, result.size()); in TEST()
133 ASSERT_EQ(1u, result.size()); in TEST()
/third_party/backends/backend/genesys/
H A Dmotor.cpp64 if (count > table.size() || count < step_multiplier) { in slice_steps()
78 table.resize(table.size() + count, table.back()); in expand_table()
130 while (table.table.size() < max_size - 1) { in create_slope_table_for_speed()
131 unsigned current = slope.get_table_step_shifted(table.table.size(), step_type); in create_slope_table_for_speed()
142 // fill the table up to the specified size in create_slope_table_for_speed()
143 while (table.table.size() < max_size - 1 && in create_slope_table_for_speed()
144 (table.table.size() % steps_alignment != 0 || table.table.size() < min_size)) in create_slope_table_for_speed()
/third_party/lzma/CPP/7zip/Common/
H A DLimitedStreams.h48 HRESULT InitAndSeek(UInt64 startOffset, UInt64 size)
53 _size = size;
59 HRESULT CreateLimitedInStream(IInStream *inStream, UInt64 pos, UInt64 size, ISequentialInStream **resStream);
137 void Init(UInt64 size, bool overflowIsAllowed = false)
139 _size = size;
189 HRESULT InitAndSeek(UInt64 startOffset, UInt64 size)
194 _size = size;
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_print.c28 agx_print_sized(char prefix, unsigned value, enum agx_size size, FILE *fp) in agx_print_sized() argument
30 switch (size) { in agx_print_sized()
45 unreachable("Invalid size"); in agx_print_sized()
74 agx_print_sized('u', index.value, index.size, fp); in agx_print_index()
78 agx_print_sized('r', index.value, index.size, fp); in agx_print_index()
87 if (index.size == AGX_SIZE_16) in agx_print_index()
89 else if (index.size == AGX_SIZE_64) in agx_print_index()
211 if (block->predecessors.size) { in agx_print_block()
/third_party/mesa3d/src/broadcom/clif/
H A Dv3dx_dump.c62 const uint8_t *cl, uint32_t *size, bool reloc_mode) in clif_dump_packet()
70 *size = v3d_group_get_length(inst); in clif_dump_packet()
135 cl += *size; in clif_dump_packet()
141 *size += v3d_group_get_length(spec); in clif_dump_packet()
158 cl += *size; in clif_dump_packet()
164 *size += v3d_group_get_length(spec); in clif_dump_packet()
171 *size += v3d_group_get_length(addr); in clif_dump_packet()
61 clif_dump_packet(struct clif_dump *clif, uint32_t offset, const uint8_t *cl, uint32_t *size, bool reloc_mode) clif_dump_packet() argument
/third_party/ltp/libs/libltpnuma/
H A Dtst_numa.c80 void *ptr, size_t size) in tst_nodemap_count_pages()
86 unsigned int pages = (size + page_size - 1)/page_size; in tst_nodemap_count_pages()
103 void *tst_numa_map(const char *path, size_t size) in tst_numa_map() argument
111 SAFE_FTRUNCATE(fd, size); in tst_numa_map()
115 ptr = SAFE_MMAP(NULL, size, in tst_numa_map()
193 for (i = 0; i < membind->size; i++) { in tst_get_nodemap()
208 for (i = 0; i < membind->size; i++) { in tst_get_nodemap()
79 tst_nodemap_count_pages(struct tst_nodemap *nodes, void *ptr, size_t size) tst_nodemap_count_pages() argument
/third_party/ltp/testcases/kernel/fs/doio/
H A Drwtest82 [ size: ] path
83 [ free% [ max size ] : ] path
84 If no size is specified, the files must exist
86 writea system calls. If a size is supplied, an attempt to
87 create/grow/shrink path to the desired size will be made.
88 size is an integer which defaults to bytes, but may be
92 If the size is a percentage, df is used to find how much
94 size is implied to be in blocks.
313 size=${f%%:*}
314 if [[ $size
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
H A Dmetadata.hpp66 if (operands.size()) { in get_str_kernel_metadata()
82 if (operands.size()) { in get_uint_vector_kernel_metadata()
101 if (operands.size()) { in get_type_kernel_metadata()
117 const auto size = type->getScalarSizeInBits(); in get_type_kernel_metadata() local
118 switch(size) { in get_type_kernel_metadata()
158 if (operands.size() > arg.getArgNo()) { in get_str_argument_metadata()
175 if (operands.size() >= arg.getArgNo()) { in get_uint_argument_metadata()
/third_party/node/src/crypto/
H A Dcrypto_spkac.cc20 size_t length = input.size(); in VerifySpkac()
42 if (input.size() == 0) in VerifySpkac()
56 size_t length = input.size(); in ExportPublicKey()
79 if (input.size() == 0) return args.GetReturnValue().SetEmptyString(); in ExportPublicKey()
91 size_t length = input.size(); in ExportChallenge()
112 if (input.size() == 0) in ExportChallenge()
123 Encode(env->isolate(), cert.data<char>(), cert.size(), BUFFER); in ExportChallenge()
/third_party/node/test/fixtures/wpt/streams/writable-streams/
H A Dreentrant-strategy.any.js6 // These tests exercise the pathological case of calling WritableStream* methods from within the strategy.size()
15 size(chunk) {
35 size(chunk) {
36 events.push('size', chunk);
54 assert_array_equals(events, ['size', 2, 'size', 1, 'size', 0,
65 size() {
91 }, 'controller.error() should work when called from within strategy.size()');
96 size() {
[all...]
/third_party/mesa3d/src/intel/tools/
H A Di965_disasm.c40 /* Return size of file in bytes pointed by fp */
44 long size; in i965_disasm_get_file_size() local
47 size = ftell(fp); in i965_disasm_get_file_size()
50 return size; in i965_disasm_get_file_size()
86 *end = assembly.size; in i965_disasm_read_c_literal_file()
93 size_t size; in i965_disasm_read_binary() local
108 size = fread(assembly, *end, 1, fp); in i965_disasm_read_binary()
109 if (!size) { in i965_disasm_read_binary()
/third_party/libdrm/tegra/
H A Dpushbuf.c64 size_t size; in drm_tegra_pushbuf_begin() local
69 size = ALIGN(words * 4, job->page_size); in drm_tegra_pushbuf_begin()
72 ptr = realloc(pushbuf->start, size); in drm_tegra_pushbuf_begin()
77 pushbuf->end = pushbuf->start + size / 4; in drm_tegra_pushbuf_begin()
131 size_t size; in drm_tegra_pushbuf_relocate() local
133 size = (job->num_buffers + 1) * sizeof(*buffer); in drm_tegra_pushbuf_relocate()
135 buffers = realloc(job->buffers, size); in drm_tegra_pushbuf_relocate()
/third_party/node/deps/v8/include/
H A Dv8-wasm.h29 * An owned byte buffer with associated size.
33 size_t size = 0; member
34 OwnedBuffer(std::unique_ptr<const uint8_t[]> buffer, size_t size) in OwnedBuffer()
35 : buffer(std::move(buffer)), size(size) {} in OwnedBuffer()
154 void OnBytesReceived(const uint8_t* bytes, size_t size);
177 * can be used, false otherwise. The buffer passed via {bytes} and {size}
183 bool SetCompiledModuleBytes(const uint8_t* bytes, size_t size);
217 void OnBytesReceived(const uint8_t*, size_t size);
/third_party/node/deps/v8/src/heap/cppgc/
H A Dheap-growing.cc26 // (to guarantee that limit is not too close to current allocated size).
115 const size_t size = std::max(allocated_object_size, initial_heap_size_); in ConfigureLimit() local
116 limit_for_atomic_gc_ = std::max(static_cast<size_t>(size * kGrowingFactor), in ConfigureLimit()
117 size + kMinLimitIncrease); in ConfigureLimit()
125 // 2) |limit_for_incremental_gc_| being too close to |size| such that GC is in ConfigureLimit()
134 size + (limit_for_atomic_gc_ - size) * kMaximumLimitRatioForIncrementalGC; in ConfigureLimit()
136 size + (limit_for_atomic_gc_ - size) * kMinimumLimitRatioForIncrementalGC; in ConfigureLimit()
/third_party/node/deps/v8/src/heap/
H A Dheap-allocator.cc80 int size, AllocationType allocation, AllocationOrigin origin, in AllocateRawWithLightRetrySlowPath()
82 AllocationResult result = AllocateRaw(size, allocation, origin, alignment); in AllocateRawWithLightRetrySlowPath()
95 result = AllocateRaw(size, allocation, origin, alignment); in AllocateRawWithLightRetrySlowPath()
104 int size, AllocationType allocation, AllocationOrigin origin, in AllocateRawWithRetryOrFailSlowPath()
107 AllocateRawWithLightRetrySlowPath(size, allocation, origin, alignment); in AllocateRawWithRetryOrFailSlowPath()
119 result = AllocateRaw(size, allocation, origin, alignment); in AllocateRawWithRetryOrFailSlowPath()
124 result = AllocateRaw(size, allocation, origin, alignment); in AllocateRawWithRetryOrFailSlowPath()
79 AllocateRawWithLightRetrySlowPath( int size, AllocationType allocation, AllocationOrigin origin, AllocationAlignment alignment) AllocateRawWithLightRetrySlowPath() argument
103 AllocateRawWithRetryOrFailSlowPath( int size, AllocationType allocation, AllocationOrigin origin, AllocationAlignment alignment) AllocateRawWithRetryOrFailSlowPath() argument
/third_party/pulseaudio/src/pulsecore/
H A Dstrbuf.c159 size_t size = 100; in pa_strbuf_printf() local
169 c = pa_xrealloc(c, PA_ALIGN(sizeof(struct chunk)) + size); in pa_strbuf_printf()
172 r = vsnprintf(CHUNK_TO_TEXT(c), size, format, ap); in pa_strbuf_printf()
173 CHUNK_TO_TEXT(c)[size-1] = 0; in pa_strbuf_printf()
176 if (r > -1 && (size_t) r < size) { in pa_strbuf_printf()
183 size = (size_t) r+1; in pa_strbuf_printf()
185 size *= 2; in pa_strbuf_printf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp35 "Invalid line block record size"); in operator ()()
39 "Invalid line block record size"); in operator ()()
40 // The value recorded in BlockHeader->BlockSize includes the size of in operator ()()
94 assert(B.Lines.size() == B.Columns.size()); in addLineAndColumnInfo()
115 assert(B.Lines.size() == B.Columns.size() || B.Columns.empty()); in commit()
117 BlockHeader.NumLines = B.Lines.size(); in commit()
141 Size += B.Lines.size() * sizeof(LineNumberEntry); in calculateSerializedSize()
143 Size += B.Columns.size() * sizeo in calculateSerializedSize()
[all...]
/third_party/vk-gl-cts/external/amber/src/android_sample/jni/
H A Damber_script.cc29 const size_t path_size = path.size(); in IsEndedWith()
30 const size_t end_size = end.size(); in IsEndedWith()
38 const size_t path_size = path.size(); in IsStartedWith()
39 const size_t start_size = start.size(); in IsStartedWith()
56 if (shader_id_pos >= spv_extension_pos || shader_name.size() <= shader_id_pos) in GetShaderID()
131 // Allocate a memory chunk whose size in bytes is |size_in_bytes|. in ReadContent()
148 if (content.size() % sizeof(uint32_t) != 0) in ReadSpvShader()
153 reinterpret_cast<uint32_t*>(content.data() + content.size())); in ReadSpvShader()
/third_party/skia/third_party/externals/spirv-tools/test/
H A Dtest_fixture.h56 assert(from <= v.size()); in Subvector()
67 spvTextToBinary(ScopedContext(env).context, txt.c_str(), txt.size(), in CompileSuccessfully()
88 txt.size(), &binary, &diagnostic)) in CompileFailure()
105 txt.size(), &binary, &diagnostic); in EncodeAndDecodeSuccessfully()
141 spvBinaryToText(ScopedContext().context, code.data(), code.size(), in EncodeSuccessfullyDecodeFailed()
162 if (code.size() >= kFirstInstruction) in CompiledInstructions()
170 text.length = textString.size(); in SetText()
/third_party/skia/src/core/
H A DSkCanvasPriv.cpp61 const size_t size = (1 + lattice.fXCount + 1 + lattice.fYCount + 1) * sizeof(int32_t) + in WriteLattice() local
67 SkWriter32 writer(buffer, size); in WriteLattice()
77 SkASSERT(writer.bytesWritten() == size); in WriteLattice()
79 return size; in WriteLattice()
83 const size_t size = WriteLattice(nullptr, lattice); in WriteLattice() local
84 SkAutoSMalloc<1024> storage(size); in WriteLattice()
86 buffer.writePad32(storage.get(), size); in WriteLattice()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Dtest_fixture.h56 assert(from <= v.size()); in Subvector()
67 spvTextToBinary(ScopedContext(env).context, txt.c_str(), txt.size(), in CompileSuccessfully()
88 txt.size(), &binary, &diagnostic)) in CompileFailure()
105 txt.size(), &binary, &diagnostic); in EncodeAndDecodeSuccessfully()
141 spvBinaryToText(ScopedContext().context, code.data(), code.size(), in EncodeSuccessfullyDecodeFailed()
162 if (code.size() >= kFirstInstruction) in CompiledInstructions()
170 text.length = textString.size(); in SetText()
/third_party/skia/src/pdf/
H A DSkPDFMakeCIDGlyphWidthsArray.cpp52 for (size_t i = 1; i < advances.size(); ++i) { in findMode()
118 advances.reserve_back(glyphs.size()); in SkPDFMakeCIDGlyphWidthsArray()
129 for (size_t i = 0; i < glyphs.size(); ++i) { in SkPDFMakeCIDGlyphWidthsArray()
142 for (; j < glyphs.size(); ++j) { in SkPDFMakeCIDGlyphWidthsArray()
162 for (; j < glyphs.size(); ++j) { in SkPDFMakeCIDGlyphWidthsArray()
179 if (j + 1 < glyphs.size()) { in SkPDFMakeCIDGlyphWidthsArray()
188 if (j + 2 < glyphs.size() && advance == next_advance) { in SkPDFMakeCIDGlyphWidthsArray()
/third_party/skia/tests/
H A DStreamBufferTest.cpp76 const size_t size = strlen(gText); in DEF_TEST() local
77 sk_sp<SkData> data(SkData::MakeWithoutCopy(gText, size)); in DEF_TEST()
90 writer.write(gText, size); in DEF_TEST()
110 test_buffer_from_beginning(r, f.createStream(), size); in DEF_TEST()
111 test_flushing(r, f.createStream(), size, false); in DEF_TEST()
112 test_flushing(r, f.createStream(), size, true); in DEF_TEST()
143 const size_t remaining = size - 27; in DEF_TEST()

Completed in 16 milliseconds

1...<<211212213214215216217218219220>>...1249