/third_party/elfio/examples/c_wrapper/ |
H A D | elfio_c_wrapper.h | 152 ELFIO_C_GET_SET_ACCESS( section, Elf_Xword, size ); 160 Elf_Word size ); 163 Elf_Word size ); 198 Elf_Xword* size, 206 Elf_Xword size,
|
/third_party/ffmpeg/libavcodec/ |
H A D | nvdec_hevc.c | 71 const uint8_t *buffer, uint32_t size) in nvdec_hevc_start_frame() 271 uint32_t size) in nvdec_hevc_decode_slice() 277 ctx->bitstream_len + size + 3); in nvdec_hevc_decode_slice() 289 memcpy(ctx->bitstream + ctx->bitstream_len + 3, buffer, size); in nvdec_hevc_decode_slice() 291 ctx->bitstream_len += size + 3; in nvdec_hevc_decode_slice() 70 nvdec_hevc_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) nvdec_hevc_start_frame() argument 270 nvdec_hevc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) nvdec_hevc_decode_slice() argument
|
H A D | vdpau_av1.c | 44 const uint8_t *buffer, uint32_t size) in vdpau_av1_start_frame() 271 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_av1_start_frame() 276 const uint8_t *buffer, uint32_t size) in vdpau_av1_decode_slice() 294 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_av1_decode_slice() 312 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_av1_decode_slice() 43 vdpau_av1_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vdpau_av1_start_frame() argument 275 vdpau_av1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vdpau_av1_decode_slice() argument
|
H A D | vlc.c | 40 #define GET_DATA(v, table, i, wrap, size) \ 43 switch(size) { \ 52 av_assert1(size == 4); \ 59 static int alloc_table(VLC *vlc, int size, int use_static) in alloc_table() argument 63 vlc->table_size += size; in alloc_table() 147 ff_dlog(NULL, "new table index=%d size=%d\n", table_index, table_size); in build_table() 251 'nb_bits' sets the decoding table size (2^nb_bits) entries. The 257 'bits' : table which gives the size (in bits) of each vlc code. 269 'wrap' and 'size' make it possible to use any memory configuration and types
|
/third_party/ffmpeg/libavformat/ |
H A D | mov_chan.c | 501 int64_t size) in ff_mov_read_chan() 507 if (size < 12) in ff_mov_read_chan() 518 if (size < 12ULL + num_descr * 20ULL) in ff_mov_read_chan() 534 size -= 20; in ff_mov_read_chan() 554 avio_skip(pb, size - 12); in ff_mov_read_chan() 500 ff_mov_read_chan(AVFormatContext *s, AVIOContext *pb, AVStream *st, int64_t size) ff_mov_read_chan() argument
|
H A D | scd.c | 53 uint16_t header_size; /* Total size of this header. */ 108 av_log(s, AV_LOG_TRACE, "Table, size = %u, offset = %u\n", table->count, table->offset); in scd_read_table() 295 int size; in scd_read_packet() local 311 size = par->block_align; in scd_read_packet() 315 size = FFMIN(trk->length - trk->bytes_read, 4096); in scd_read_packet() 319 ret = av_get_packet(s->pb, pkt, size); in scd_read_packet() 329 pkt->duration = size / (par->ch_layout.nb_channels * sizeof(int16_t)); in scd_read_packet()
|
H A D | flacenc.c | 137 blocklen = 4 + 4 + mimelen + 4 + desclen + 4 + 4 + 4 + 4 + 4 + pkt->size; in flac_write_picture() 162 avio_wb32(pb, pkt->size); in flac_write_picture() 163 avio_write(pb, pkt->data, pkt->size); in flac_write_picture() 173 * size of a metadata block so we must clip this value to 2^24-1. */ in flac_finish_header() 295 if (pkt->size) in flac_write_audio_packet() 296 avio_write(s->pb, pkt->data, pkt->size); in flac_write_audio_packet()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_libopencv.c | 137 size_t size; in read_shape_from_file() local 140 if ((ret = av_file_map(filename, &buf, &size, 0, log_ctx)) < 0) in read_shape_from_file() 145 for (i = 0; i < size; i++) { in read_shape_from_file() 162 av_log(log_ctx, AV_LOG_ERROR, "File with size %dx%d is too big\n", in read_shape_from_file() 174 pend = buf + size-1; in read_shape_from_file() 186 av_file_unmap(buf, size); in read_shape_from_file() 230 "Invalid non-positive values for shape size %dx%d\n", cols, rows); in parse_iplconvkernel() 237 "Shape anchor %dx%d is not inside the rectangle with size %dx%d.\n", in parse_iplconvkernel()
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | SymbolTable.cpp | 146 for (unsigned int i = 0; i < structure->size(); ++i) { in buildMangledName() 362 for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) { in TVariable() 370 TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size()); in TVariable() 384 for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) { in TFunction() 472 for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i) in copyTable()
|
/third_party/gn/src/base/strings/ |
H A D | string_number_conversions.cc | 407 std::string HexEncode(const void* bytes, size_t size) { in HexEncode() argument 411 std::string ret(size * 2, '\0'); in HexEncode() 413 for (size_t i = 0; i < size; ++i) { in HexEncode() 442 DCHECK_EQ(output->size(), 0u); in HexStringToBytes() 443 size_t count = input.size(); in HexStringToBytes()
|
/third_party/glfw/src/ |
H A D | win32_monitor.c | 399 int modeIndex = 0, size = 0; in _glfwGetVideoModesWin32() local 453 if (*count == size) in _glfwGetVideoModesWin32() 455 size += 128; in _glfwGetVideoModesWin32() 456 result = (GLFWvidmode*) _glfw_realloc(result, size * sizeof(GLFWvidmode)); in _glfwGetVideoModesWin32() 520 if (ramp->size != 256) in _glfwSetGammaRampWin32() 523 "Win32: Gamma ramp size must be 256"); in _glfwSetGammaRampWin32()
|
/third_party/alsa-utils/axfer/ |
H A D | container.c | 155 unsigned int size; in container_parser_init() local 191 size = strlen(parser->magic); in container_parser_init() 192 if (size > 4) in container_parser_init() 193 size = 4; in container_parser_init() 194 if (!strncmp(cntr->magic, parser->magic, size)) in container_parser_init()
|
/third_party/backends/testsuite/backend/genesys/ |
H A D | session_config_test.cpp | 159 value.resize(options_[i].size + 1); in get_value_string() 184 for (std::size_t i = 0; i < options_.size(); ++i) { in find_option() 229 for (unsigned i = 0; i < kv.second.size(); ++i) { in print_checkpoint() 501 for (unsigned i = 0; i < configs.size(); ++i) { in main() 509 std::cerr << "(" << i << "/" << configs.size() << "): " in main()
|
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pdftopdf_processor.cc | 163 const int numOrigPages=pages.size(); in processPDFTOPDF() 179 const int numPages=std::max(shuffle.size(),pages.size()); in processPDFTOPDF() 198 for (int i = 0; i < (int)pages.size(); i ++) in processPDFTOPDF() 207 "DEBUG: pdftopdf: Page %d too large for output page size, scaling pages to fit.\n", in processPDFTOPDF() 246 // exact same size. With N-Up it should be scaled to fit exacly the halves, in processPDFTOPDF() 259 for(int i=0;i<(int)pages.size();i++) in processPDFTOPDF() 356 // TODO FIXME... border gets cutted away, if orignal page had wrong size in processPDFTOPDF()
|
/third_party/gn/src/gn/ |
H A D | value_extractors.cc | 30 dest->resize(input_list.size()); in ListValueExtractor() 31 for (size_t i = 0; i < input_list.size(); i++) { in ListValueExtractor() 49 dest->resize(input_list.size()); in ListValueExtractorExt() 50 for (size_t i = 0; i < input_list.size(); i++) { in ListValueExtractorExt() 347 dest->reserve(input_list.size()); in ExtractListOfStringValues()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | uspoof_conf.cpp | 12 * tab size: 8 (not used) 97 int32_t SPUStringPool::size() { in size() function in SPUStringPool 98 return fVec->size(); in size() 339 int32_t poolSize = stringPool->size(); in build() 416 int32_t numKeys = fKeyVec->size(); in outputData() 440 int32_t numValues = fValueVec->size(); in outputData()
|
H A D | tzrule.cpp | 583 TimeArrayTimeZoneRule::initStartTimes(const UDate source[], int32_t size, UErrorCode& status) { 589 if (size > TIMEARRAY_STACK_BUFFER_SIZE) { 590 fStartTimes = (UDate*)uprv_malloc(sizeof(UDate)*size); 599 uprv_memcpy(fStartTimes, source, sizeof(UDate)*size); 600 fNumStartTimes = size;
|
/third_party/icu/icu4c/source/common/ |
H A D | brkiter.cpp | 62 int32_t size; in buildInstance() local 85 brkfname = ures_getString(brkName, &size, &status); in buildInstance() 86 U_ASSERT((size_t)size<sizeof(fnbuff)); in buildInstance() 87 if ((size_t)size>=sizeof(fnbuff)) { in buildInstance() 88 size=0; in buildInstance()
|
H A D | rbbisetb.cpp | 317 // getTrieSize() Return the size that will be required to serialize the Trie. 371 for (ix=0; ix<sets->size(); ix++) { in addValToSets() 470 for (i=0; i<rlRange->fIncludesSets->size(); i++) { in printRanges() 506 for (i=0; i<rlRange->fIncludesSets->size(); i++) { in printRangeGroups() 602 for (int32_t i=0; i<other.fIncludesSets->size(); i++) { 676 for (int32_t i=0; i<fIncludesSets->size(); i++) { in isDictionaryRange()
|
H A D | udataswp.cpp | 12 * tab size: 8 (not used) 314 infoSize=ds->readUInt16(pHeader->info.size); in udata_swapDataHeader() 321 udata_printError(ds, "udata_swapDataHeader(): header size mismatch - headerSize %d infoSize %d length %d\n", in udata_swapDataHeader() 344 /* swap UDataInfo size and reservedWord */ in udata_swapDataHeader() 345 ds->swapArray16(ds, &pHeader->info.size, 4, &outHeader->info.size, pErrorCode); in udata_swapDataHeader() 452 infoSize=pHeader->info.size; in udata_openSwapperForInputData() 455 infoSize=uprv_readSwapUInt16(pHeader->info.size); in udata_openSwapperForInputData()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
H A D | BundleItemDialog.java | 147 if (item.getLookups().size() < 1) { in initComponents() 152 lookups = new Box[item.getLookups().size()]; in initComponents() 153 lookupLabels = new JLabel[item.getLookups().size()]; in initComponents() 154 lookupFields = new JTextField[item.getLookups().size()]; in initComponents() 156 for (int i = 0; i < item.getLookups().size(); i++) { in initComponents()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/ |
H A D | ResultSpec.java | 155 if (splitArgs.size() > 1) { in transform() 377 checkState(groupIds.size() < 10, in maybeRewriteFallbackSpec() 551 return substituteArgs(spec, args::get, args.size()); in substituteArgs() 556 private static String substituteArgs(String spec, Function<Integer, String> args, int size) { in substituteArgs() argument 558 spec, '$', c -> args.apply(checkElementIndex(c - '1', size, "argument index"))); in substituteArgs()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/ |
H A D | LikelySubtagsBuilder.java | 124 System.out.println("likely subtags trie size: " + bytes.length + " bytes"); in build() 159 if (scriptTable.size() == 1) { in build() 161 if (regionTable.size() == 1) { in build() 187 if (regionTable.size() == 1) { in build() 209 LSR[] lsrs = lsrIndexes.keySet().toArray(new LSR[lsrIndexes.size()]); in build() 219 int i = lsrIndexes.size(); in uniqueIdForLsr()
|
/third_party/icu/tools/unicode/c/genuca/ |
H A D | collationbasedatabuilder.cpp | 62 if (list.size() == 0) { return ~0; } in binarySearch() 64 int32_t limit = list.size(); in binarySearch() 391 for(int32_t i = 0; i < rootElements.size(); ++i) { in buildRootElementsTable() 492 if(U_FAILURE(errorCode) || i >= rootElements.size()) { return 0; } in writeRootElementsRange() 547 if(secTer != Collation::COMMON_SEC_AND_TER_CE || i >= rootElements.size()) { break; } in writeRootElementsRange()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/ |
H A D | LikelySubtagsBuilder.java | 124 System.out.println("likely subtags trie size: " + bytes.length + " bytes"); in build() 159 if (scriptTable.size() == 1) { in build() 161 if (regionTable.size() == 1) { in build() 187 if (regionTable.size() == 1) { in build() 209 LSR[] lsrs = lsrIndexes.keySet().toArray(new LSR[lsrIndexes.size()]); in build() 219 int i = lsrIndexes.size(); in uniqueIdForLsr()
|