Home
last modified time | relevance | path

Searched refs:size (Results 13851 - 13875 of 35897) sorted by relevance

1...<<551552553554555556557558559560>>...1436

/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
H A DVDecEncNdkSample.cpp102 vcodecSignal_->sizeQueueEnc_.push(attr->size); in VencAsyncNewOutputData()
388 attr.size = 0; in PushInbufferDec()
393 attr.size = bufferSize; in PushInbufferDec()
412 vcodecSignal_->inCondDec_.wait(lock, [this]() { return vcodecSignal_->inQueueDec_.size() > 0; }); in InputFuncDec()
487 vcodecSignal_->outCondDec_.wait(lock, [this]() { return vcodecSignal_->outQueueDec_.size() > 0; }); in OutputFuncDec()
687 uint32_t size = vcodecSignal_->sizeQueueEnc_.front(); in WriteToFile() local
697 fwrite(OH_AVMemory_GetAddr(buffer), 1, size, outFile); in WriteToFile() local
709 vcodecSignal_->outCondEnc_.wait(lock, [this]() { return vcodecSignal_->outQueueEnc_.size() > 0; }); in OutputFuncEnc()
747 cout << "DEC inQueueDec_.size() is " << vcodecSignal_->inQueueDec_.size() << end in CalcuError()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibzvbi-teletextdec.c102 "Monospace,11," /* Font{name,size} */ in my_ass_subtitle_header()
112 "Monospace,16," /* Font{name,size} */ in my_ass_subtitle_header()
243 (ch).size > VBI_DOUBLE_SIZE || (ch).opacity == VBI_TRANSPARENT_SPACE)
584 static int slice_to_vbi_lines(TeletextContext *ctx, const uint8_t *buf, int size) in slice_to_vbi_lines() argument
587 while (size >= 2 && lines < MAX_SLICES) { in slice_to_vbi_lines()
590 if (data_unit_length + 2 > size) in slice_to_vbi_lines()
632 size -= data_unit_length + 2; in slice_to_vbi_lines()
635 if (size) in slice_to_vbi_lines()
636 av_log(ctx, AV_LOG_WARNING, "%d bytes remained after slicing data\n", size); in slice_to_vbi_lines()
663 if (pkt->size) { in teletext_decode_frame()
[all...]
/third_party/elfutils/libdw/
H A DlibdwP.h240 size_t size; member
246 /* Default size of allocated memory blocks. */
300 to give the whole struct a nice round size. */
449 Note same 4/8 offset size trick as above. in __libdw_first_die_from_cu_start()
594 type *_result = (type *) (_tail->mem + (_tail->size - _tail->remaining));\
860 Dwarf_Off offset, size_t size) in __libdw_offset_in_section()
866 || unlikely (data->d_size < size) in __libdw_offset_in_section()
867 || unlikely (offset > data->d_size - size)) in __libdw_offset_in_section()
878 const void *addr, size_t size) in __libdw_in_section()
884 || unlikely (data->d_size < size) in __libdw_in_section()
859 __libdw_offset_in_section(Dwarf *dbg, int sec_index, Dwarf_Off offset, size_t size) __libdw_offset_in_section() argument
877 __libdw_in_section(Dwarf *dbg, int sec_index, const void *addr, size_t size) __libdw_in_section() argument
932 __libdw_read_offset_inc(Dwarf *dbg, int sec_index, const unsigned char **addrp, int width, Dwarf_Off *ret, int sec_ret, size_t size) __libdw_read_offset_inc() argument
944 __libdw_read_offset(Dwarf *dbg, Dwarf *dbg_ret, int sec_index, const unsigned char *addr, int width, Dwarf_Off *ret, int sec_ret, size_t size) __libdw_read_offset() argument
[all...]
/third_party/exfatprogs/exfat2img/
H A Dexfat2img.c233 struct exfat_inode *inode, size_t size, in dump_directory()
242 if (size == 0) in dump_directory()
250 max_count = DIV_ROUND_UP(inode->size, exfat->clus_size); in dump_directory()
257 dump_size = MIN(size, exfat->clus_size); in dump_directory()
265 size -= dump_size; in dump_directory()
266 if (size == 0) in dump_directory()
291 root->size = clus_count * exfat->clus_size; in dump_root()
334 node->size = le64_to_cpu(stream_de->stream_size); in read_file_dentry_set()
377 exfat_debug("start cluster %#x, size %#" PRIx64 "\n", in read_bitmap()
403 ssize_t size; in read_upcase_table() local
232 dump_directory(struct exfat2img *ei, struct exfat_inode *inode, size_t size, clus_t *out_clus_count) dump_directory() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_vaguedenoiser.c213 // Original values are in output[npad] through output[npad+size-1]
214 // New values will be placed in output[0] through output[npad] and in output[npad+size] through output[2*npad+size-1] (note: end values may not be filled in)
218 static void symmetric_extension(float *output, const int size, const int left_ext, const int right_ext) in symmetric_extension() argument
221 int last = NPAD - 1 + size; in symmetric_extension()
235 idx = NPAD + NPAD - 1 + size; in symmetric_extension()
243 static void transform_step(float *input, float *output, const int size, const int low_size, VagueDenoiserContext *s) in transform_step() argument
247 symmetric_extension(input, size, 1, 1); in transform_step()
276 static void invert_step(const float *input, float *output, float *temp, const int size, VagueDenoiserContext *s) in invert_step() argument
278 const int low_size = (size in invert_step()
[all...]
/third_party/ffmpeg/libavformat/
H A Dhevc.c999 int size, int filter_ps, int *ps_count) in ff_hevc_annexb2mp4()
1005 ret = ff_avc_parse_nal_units(pb, buf_in, size); in ff_hevc_annexb2mp4()
1009 ret = ff_avc_parse_nal_units_buf(buf_in, &start, &size); in ff_hevc_annexb2mp4()
1015 end = start + size; in ff_hevc_annexb2mp4()
1047 int *size, int filter_ps, int *ps_count) in ff_hevc_annexb2mp4_buf()
1056 ret = ff_hevc_annexb2mp4(pb, buf_in, *size, filter_ps, ps_count); in ff_hevc_annexb2mp4_buf()
1062 *size = avio_close_dyn_buf(pb, buf_out); in ff_hevc_annexb2mp4_buf()
1068 int size, int ps_array_completeness) in ff_isom_write_hvcc()
1074 if (size < 6) { in ff_isom_write_hvcc()
1079 avio_write(pb, data, size); in ff_isom_write_hvcc()
998 ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in, int size, int filter_ps, int *ps_count) ff_hevc_annexb2mp4() argument
1046 ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out, int *size, int filter_ps, int *ps_count) ff_hevc_annexb2mp4_buf() argument
1067 ff_isom_write_hvcc(AVIOContext *pb, const uint8_t *data, int size, int ps_array_completeness) ff_isom_write_hvcc() argument
[all...]
/third_party/gn/src/gn/
H A Dninja_c_binary_target_writer.cc104 CHECK(modulemap_outputs.size() == 1u); in GetModuleDepsInformation()
137 size_t num_stamp_uses = target_->sources().size(); in Run()
170 // one would make output ninja file size a bit lower. That's ok, binary in Run()
221 DCHECK_EQ(obj_files.size(), computed_obj.size()); in Run()
438 object_files->reserve(object_files->size() + target_->sources().size()); in WriteSources()
479 output_value.size() - output_extension.size(), in WriteSources()
480 output_extension.size(), output_extensio in WriteSources()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
H A DUnitsTest.java64 assertEquals("measures length", expected.length, measures.size()); in testComplexUnitsConverter()
238 assertEquals(testCase.message, testCase.expectedMeasures.length, actualMeasures.size()); in testComplexUnitsConverterSorting()
608 // TODO: content of outputUnitInOrder isn't checked? Only size? in testUnitPreferencesWithCLDRTests()
695 assertEquals("For " + testCase.toString() + ", Measures size must be the same as expected units", in testUnitPreferencesWithCLDRTests()
696 measures.size(), testCase.expectedInOrder.size()); in testUnitPreferencesWithCLDRTests()
697 assertEquals("For " + testCase.toString() + ", Measures size must be the same as output units", in testUnitPreferencesWithCLDRTests()
698 measures.size(), testCase.outputUnitInOrder.size()); in testUnitPreferencesWithCLDRTests()
701 for (int i = 0; i < measures.size(); in testUnitPreferencesWithCLDRTests()
[all...]
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DICUJDKCompare.java171 ignore = (String[])nl.toArray(new String[nl.size()]); in setup()
205 names = (String[])nl.toArray(new String[nl.size()]); in setup()
268 classPairs = (Class[])cl.toArray(new Class[cl.size()]); in processPairInfo()
269 namePairs = (String[])nl.toArray(new String[nl.size()]); in processPairInfo()
400 int result = diffConss.size() + diffMeths.size() + diffFields.size(); in compare()
403 if (diffConss.size() > 0) { in compare()
407 if (diffMeths.size() > 0) { in compare()
411 if (diffFields.size() > in compare()
[all...]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-json.c373 lit_utf8_size_t size = lit_get_magic_string_size (LIT_MAGIC_STRING_NULL); in ecma_builtin_json_parse_next_token() local
374 if (current_p + size <= end_p) in ecma_builtin_json_parse_next_token()
378 size)) in ecma_builtin_json_parse_next_token()
381 token_p->current_p = current_p + size; in ecma_builtin_json_parse_next_token()
389 lit_utf8_size_t size = lit_get_magic_string_size (LIT_MAGIC_STRING_TRUE); in ecma_builtin_json_parse_next_token() local
390 if (current_p + size <= end_p) in ecma_builtin_json_parse_next_token()
394 size)) in ecma_builtin_json_parse_next_token()
397 token_p->current_p = current_p + size; in ecma_builtin_json_parse_next_token()
405 lit_utf8_size_t size = lit_get_magic_string_size (LIT_MAGIC_STRING_FALSE); in ecma_builtin_json_parse_next_token() local
406 if (current_p + size < in ecma_builtin_json_parse_next_token()
[all...]
/third_party/node/src/
H A Dutil-inl.h290 std::string out(in.size(), 0); in ToLower()
291 for (size_t i = 0; i < in.size(); ++i) in ToLower()
301 std::string out(in.size(), 0); in ToUpper()
302 for (size_t i = 0; i < in.size(); ++i) in ToUpper()
408 if (UNLIKELY(str.size() >= static_cast<size_t>(v8::String::kMaxLength))) { in ToV8Value()
410 // string size is exceeded. in ToV8Value()
416 isolate, str.data(), v8::NewStringType::kNormal, str.size()) in ToV8Value()
427 MaybeStackBuffer<v8::Local<v8::Value>, 128> arr(vec.size()); in ToV8Value()
428 arr.SetLength(vec.size()); in ToV8Value()
429 for (size_t i = 0; i < vec.size(); in ToV8Value()
506 const size_t size = length - start; SlicedArguments() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_transfer.c277 unsigned size, const void *data) in nv50_sifc_linear_u8()
282 unsigned count = (size + 3) / 4; in nv50_sifc_linear_u8()
304 PUSH_DATA (push, size); in nv50_sifc_linear_u8()
332 unsigned size) in nv50_m2mf_copy_linear()
347 while (size) { in nv50_m2mf_copy_linear()
348 unsigned bytes = MIN2(size, 1 << 17); in nv50_m2mf_copy_linear()
364 size -= bytes; in nv50_m2mf_copy_linear()
382 uint32_t size; in nv50_miptree_transfer_map() local
412 size = tx->base.layer_stride; in nv50_miptree_transfer_map()
415 size * t in nv50_miptree_transfer_map()
275 nv50_sifc_linear_u8(struct nouveau_context *nv, struct nouveau_bo *dst, unsigned offset, unsigned domain, unsigned size, const void *data) nv50_sifc_linear_u8() argument
329 nv50_m2mf_copy_linear(struct nouveau_context *nv, struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, struct nouveau_bo *src, unsigned srcoff, unsigned srcdom, unsigned size) nv50_m2mf_copy_linear() argument
[all...]
/third_party/ltp/testcases/network/netstress/
H A Dnetstress.c202 static int sock_recv_poll(char *buf, int size, struct sock_info *i) in sock_recv_poll() argument
239 len = recvfrom(i->fd, buf, size, MSG_DONTWAIT, in sock_recv_poll()
330 static int client_connect_send(const char *msg, int size) in client_connect_send() argument
338 SAFE_SENDTO(1, cfd, msg, size, send_flags | MSG_FASTOPEN, in client_connect_send()
345 SAFE_SEND(1, cfd, msg, size, send_flags); in client_connect_send()
364 /* set size for reply */ in make_client_request()
446 int size = ntohs(net_size.value); in parse_client_request() local
447 if (size < 2 || size > max_msg_len) in parse_client_request()
450 return size; in parse_client_request()
533 make_server_reply(char *send_msg, int size) make_server_reply() argument
[all...]
/third_party/node/deps/v8/src/compiler/
H A Djs-inlining.cc166 int subcall_count = static_cast<int>(uncaught_subcalls.size()); in InlineCall()
182 DCHECK_EQ(subcall_count, static_cast<int>(on_exception_nodes.size())); in InlineCall()
224 DCHECK_EQ(values.size(), effects.size()); in InlineCall()
225 DCHECK_EQ(values.size(), controls.size()); in InlineCall()
229 if (values.size() > 0) { in InlineCall()
230 int const input_count = static_cast<int>(controls.size()); in InlineCall()
237 static_cast<int>(values.size()), &values.front()); in InlineCall()
240 static_cast<int>(effects.size()), in InlineCall()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_gmem.c150 {.prsc = fd2_ctx->solid_vertexbuf, .size = 36},
295 {.prsc = fd2_ctx->solid_vertexbuf, .size = 36},
296 {.prsc = fd2_ctx->solid_vertexbuf, .size = 24, .offset = 36},
417 for (i = 0; i < batch->draw_patches.size / sizeof(uint32_t *); i++) { in patch_draws()
522 uint32_t size, lines; variable
527 size = align(gmem->bin_w * gmem->bin_h * color_size, 0x8000);
528 lines = size / 1024;
529 depth_base = size / 2;
532 size = align(gmem->bin_w * gmem->bin_h * depth_size, 0x8000);
533 lines = size / 102
[all...]
/third_party/python/Python/
H A Dtraceback.c1069 const Py_ssize_t size = Py_ARRAY_LENGTH(buffer) - 1; in _Py_DumpHexadecimal() local
1071 if (width > size) in _Py_DumpHexadecimal()
1072 width = size; in _Py_DumpHexadecimal()
1075 end = &buffer[size]; in _Py_DumpHexadecimal()
1092 Py_ssize_t i, size; in _Py_DumpASCII() local
1102 size = ascii->length; in _Py_DumpASCII()
1108 size = _PyCompactUnicodeObject_CAST(text)->wstr_length; in _Py_DumpASCII()
1122 if (MAX_STRING_LENGTH < size) { in _Py_DumpASCII()
1123 size = MAX_STRING_LENGTH; in _Py_DumpASCII()
1136 for (i=0; i < size; in _Py_DumpASCII()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DContext_gles_1_0.cpp101 void Context::colorPointer(GLint size, VertexAttribType type, GLsizei stride, const void *ptr) in colorPointer() argument
105 vertexAttribPointer(vertexArrayIndex(ClientVertexArrayType::Color), size, type, in colorPointer() local
469 void Context::pointSize(GLfloat size) in pointSize() argument
471 SetPointSize(&mState.gles1(), size); in pointSize()
474 void Context::pointSizex(GLfixed size) in pointSizex() argument
476 SetPointSize(&mState.gles1(), ConvertFixedToFloat(size)); in pointSizex()
528 void Context::texCoordPointer(GLint size, VertexAttribType type, GLsizei stride, const void *ptr) in texCoordPointer() argument
530 vertexAttribPointer(vertexArrayIndex(ClientVertexArrayType::TextureCoord), size, type, GL_FALSE, in texCoordPointer() local
595 void Context::vertexPointer(GLint size, VertexAttribType type, GLsizei stride, const void *ptr) in vertexPointer() argument
597 vertexAttribPointer(vertexArrayIndex(ClientVertexArrayType::Vertex), size, typ in vertexPointer() local
666 matrixIndexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) matrixIndexPointer() argument
671 weightPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) weightPointer() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGFast.cpp239 assert(NewNodes.size() == 2 && "Expected a load folding node!"); in CopyAndMoveSuccessors()
303 for (unsigned i = 0, e = LoadPreds.size(); i != e; ++i) { in CopyAndMoveSuccessors()
310 for (unsigned i = 0, e = NodePreds.size(); i != e; ++i) { in CopyAndMoveSuccessors()
315 for (unsigned i = 0, e = NodeSuccs.size(); i != e; ++i) { in CopyAndMoveSuccessors()
323 for (unsigned i = 0, e = ChainSuccs.size(); i != e; ++i) { in CopyAndMoveSuccessors()
371 for (unsigned i = 0, e = DelDeps.size(); i != e; ++i) in CopyAndMoveSuccessors()
406 for (unsigned i = 0, e = DelDeps.size(); i != e; ++i) { in InsertCopiesAndMoveSuccs()
542 Sequence.reserve(SUnits.size()); in ListScheduleBottomUp()
569 assert(LRegs.size() == 1 && "Can't handle this yet!"); in ListScheduleBottomUp()
615 for (unsigned i = 0, e = NotReady.size(); in ListScheduleBottomUp()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DMultiDrawTest.cpp274 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * mNonIndexedVertices.size(), in SetupBuffers()
279 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * mVertices.size(), mVertices.data(), in SetupBuffers()
284 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLushort) * mIndices.size(), mIndices.data(), in SetupBuffers()
289 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * instances.size(), instances.data(), in SetupBuffers()
606 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * vertices.size(), vertices.data(), in TEST_P()
628 glBufferData(GL_DRAW_INDIRECT_BUFFER, icSize * indirectData.size(), indirectData.data(), in TEST_P()
641 // Check the error from sourcing beyond the allocated buffer size in TEST_P()
707 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * vertices.size(), vertices.data(), in TEST_P()
712 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indices.size(), indices.data(), in TEST_P()
734 glBufferData(GL_DRAW_INDIRECT_BUFFER, icSize * indirectData.size(), indirectDat in TEST_P()
[all...]
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttload.c162 /* - look for a `head' table, check its size, and parse it to check */
218 if ( table.Offset > stream->size ) in check_table_dir()
223 else if ( table.Length > stream->size - table.Offset ) in check_table_dir()
438 if ( entry.Offset > stream->size ) in FT_LOCAL_DEF()
440 else if ( entry.Length > stream->size - entry.Offset ) in FT_LOCAL_DEF()
451 entry.Length = ( stream->size - entry.Offset ) & ~3U; in FT_LOCAL_DEF()
571 FT_ULong size; in FT_LOCAL_DEF() local
585 size = table->Length; in FT_LOCAL_DEF()
589 size = face->root.stream->size; in FT_LOCAL_DEF()
[all...]
/third_party/python/Lib/test/test_sqlite3/
H A Dtest_userfunctions.py461 @bigmemtest(size=2**31, memuse=3, dry_run=False)
462 def test_func_return_too_large_text(self, size):
464 for size in 2**31-1, 2**31:
465 self.con.create_function("largetext", 0, lambda size=size: "b" * size)
470 @bigmemtest(size=2**31, memuse=2, dry_run=False)
471 def test_func_return_too_large_blob(self, size):
473 for size in 2**31-1, 2**31:
474 self.con.create_function("largeblob", 0, lambda size
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Draw_ostream.cpp95 // Ask the subclass to determine an appropriate buffer size. in SetBuffered()
119 assert(OutBufStart <= OutBufEnd && "Invalid size!"); in SetBufferAndMode()
259 // preferred buffer size and put the remainder in the buffer. in write()
319 // Otherwise, we overflowed and the return value tells us the size to try in operator <<()
339 // Otherwise, try again with a new size. in operator <<()
352 if (FS.Str.size() >= FS.Width || FS.Justify == FormattedString::JustifyNone) { in operator <<()
356 const size_t Difference = FS.Width - FS.Str.size(); in operator <<()
395 if (Buffer.size() < FN.Width) in operator <<()
396 indent(FN.Width - Buffer.size()); in operator <<()
408 const size_t Size = Bytes.size(); in operator <<()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp164 unsigned NumArgs = Params.size(); in DeleteDeadVarargs()
312 for (unsigned I = 0, E = UnusedArgs.size(); I != E; ++I) { in RemoveDeadArgumentsFromCallers()
805 NewRetIdxs[i] = RetTypes.size() - 1; in RemoveDeadStuffFromFunction()
813 if (RetTypes.size() > 1) { in RemoveDeadStuffFromFunction()
814 // More than one return type? Reduce it down to size. in RemoveDeadStuffFromFunction()
821 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in RemoveDeadStuffFromFunction()
823 } else if (RetTypes.size() == 1) in RemoveDeadStuffFromFunction()
854 assert(ArgAttrVec.size() == Params.size()); in RemoveDeadStuffFromFunction()
924 assert(ArgAttrVec.size() in RemoveDeadStuffFromFunction()
[all...]
/third_party/skia/third_party/externals/tint/src/inspector/
H A Dinspector.cc60 dest->reserve(dest->size() + orig.size()); in AppendResourceBindings()
317 size_t size = 0; in GetStorageSize() local
322 size += s->Size(); in GetStorageSize()
328 size += s->Size(); in GetStorageSize()
332 if (static_cast<uint64_t>(size) > in GetStorageSize()
336 return static_cast<uint32_t>(size); in GetStorageSize()
393 entry.size = str->Size(); in GetUniformBufferResourceBindings()
559 uint32_t size = ty->Size(); in GetWorkgroupStorageSize() local
565 total_size += utils::RoundUp(align, size); in GetWorkgroupStorageSize()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
H A Dgenerator_impl.cc275 if (func->decorations.size()) { in EmitFunction()
515 if (str->decorations.size()) { in EmitStructType()
522 auto add_padding = [&](uint32_t size) { in EmitStructType()
523 line() << "[[size(" << size << ")]]"; in EmitStructType()
548 decorations_sanitized.reserve(mem->decorations.size()); in EmitStructType()
669 } else if (auto* size = deco->As<ast::StructMemberSizeDecoration>()) { in EmitDecorations()
670 out << "size(" << size->size << ")"; in EmitDecorations()
[all...]

Completed in 41 milliseconds

1...<<551552553554555556557558559560>>...1436