/third_party/elfutils/src/ |
H A D | ar.c | 831 size_t size; member 1159 newp->size = arhdr->ar_size; in do_oper_insert() 1301 found[cnt]->mem = elf_rawfile (newelf, &found[cnt]->size); in do_oper_insert() 1382 cur_off += (((memp->size + 1) & ~((off_t) 1)) in do_oper_insert() 1501 all->size)) in do_oper_insert() 1513 if (unlikely (write_retry (newfd, all->mem, all->size) in do_oper_insert() 1514 != (off_t) all->size)) in do_oper_insert() 1517 /* Pad the file if its size is odd. */ in do_oper_insert() 1518 if ((all->size & 1) != 0) in do_oper_insert()
|
/third_party/ffmpeg/libavdevice/ |
H A D | v4l2.c | 396 "buf_len[%d] = %d < expected frame size %d\n", in mmap_init() 513 pkt->size = 0; in mmap_read_frame() 579 pkt->size = buf.bytesused; in mmap_read_frame() 594 pkt->buf = av_buffer_create(pkt->data, pkt->size, mmap_release_buffer, in mmap_read_frame() 606 return pkt->size; in mmap_read_frame() 925 "Querying the device for the current frame size\n"); in v4l2_read_header() 936 "Setting frame size to %dx%d\n", s->width, s->height); in v4l2_read_header() 1001 return pkt->size; in v4l2_read_packet() 1045 int fd = -1, size; in v4l2_get_device_list() local 1051 size in v4l2_get_device_list() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_fillborders.c | 398 static int lerp8(int fill, int src, int pos, int size) in lerp8() argument 400 return av_clip_uint8(((fill * 256 * pos / size) + (src * 256 * (size - pos) / size)) >> 8); in lerp8() 403 static int lerp16(int fill, int src, int pos, int size, int depth) in lerp16() argument 405 return av_clip_uintp2_c(((fill * (1LL << depth) * pos / size) + (src * (1LL << depth) * (size - pos) / size)) >> depth, depth); in lerp16() 617 av_log(ctx, AV_LOG_ERROR, "Borders are bigger than input frame size.\n"); in config_input()
|
/third_party/ffmpeg/libavutil/ |
H A D | eval.c | 740 static int expr_count(AVExpr *e, unsigned *counter, int size, int type) in expr_count() argument 744 if (!e || !counter || !size) in expr_count() 748 expr_count(e->param[i], counter, size, type); in expr_count() 750 if (e->type == type && e->const_index < size) in expr_count() 756 int av_expr_count_vars(AVExpr *e, unsigned *counter, int size) in av_expr_count_vars() argument 758 return expr_count(e, counter, size, e_const); in av_expr_count_vars() 761 int av_expr_count_func(AVExpr *e, unsigned *counter, int size, int arg) in av_expr_count_func() argument 763 return expr_count(e, counter, size, ((int[]){e_const, e_func1, e_func2})[arg]); in av_expr_count_func()
|
/third_party/curl/lib/ |
H A D | smtp.c | 601 char *size = NULL; in smtp_perform_mail() local 728 size = aprintf("%" CURL_FORMAT_CURL_OFF_T, data->state.infilesize); in smtp_perform_mail() 730 if(!size) { in smtp_perform_mail() 761 size ? " SIZE=" : "", /* Optional on SIZE support */ in smtp_perform_mail() 762 size ? size : "", /* */ in smtp_perform_mail() 768 free(size); in smtp_perform_mail() 1161 /* Set the progress upload size */ in smtp_state_data_resp() 1632 /* Make sure size is unknown at this point */ in smtp_regular_transfer() 1633 data->req.size in smtp_regular_transfer() [all...] |
/third_party/backends/backend/ |
H A D | st400.c | 321 /* The PC/Amiga source uses reserved5 to indicate A4/A5 paper size in st400_set_window() 869 dev->opt[OPT_NUM_OPTS].size = sizeof(SANE_Word); in st400_init_options() 881 dev->opt[OPT_RESOLUTION].size = sizeof(SANE_Word); in st400_init_options() 891 dev->opt[OPT_DEPTH].size = sizeof(SANE_Word); in st400_init_options() 901 dev->opt[OPT_THRESHOLD].size = sizeof(SANE_Word); in st400_init_options() 914 dev->opt[OPT_TL_X].size = sizeof(SANE_Word); in st400_init_options() 924 dev->opt[OPT_TL_Y].size = sizeof(SANE_Word); in st400_init_options() 934 dev->opt[OPT_BR_X].size = sizeof(SANE_Word); in st400_init_options() 944 dev->opt[OPT_BR_Y].size = sizeof(SANE_Word); in st400_init_options()
|
H A D | hp5590_cmds.c | 552 DBG (DBG_cmds, "HP%s max size X: %.3f inches\n", in hp5590_init_scanner() 556 DBG (DBG_cmds, "HP%s max size Y: %.3f inches\n", scanner_model->model, in hp5590_init_scanner() 611 unsigned char *data, unsigned int size) in hp5590_read_eeprom() 620 DBG (DBG_proc, "Reading EEPROM: addr %04x, size %u\n", addr, size); in hp5590_read_eeprom() 634 CMD_EEPROM_READ, data, size, CORE_NONE); in hp5590_read_eeprom() 646 unsigned char *data, unsigned int size) in hp5590_write_eeprom() 655 DBG (DBG_proc, "Writing EEPROM: addr %04x, size: %u\n", addr, size); in hp5590_write_eeprom() 669 CMD_EEPROM_WRITE, data, size, CORE_DAT in hp5590_write_eeprom() 608 hp5590_read_eeprom(SANE_Int dn, enum proto_flags proto_flags, unsigned int addr, unsigned char *data, unsigned int size) hp5590_read_eeprom() argument 643 hp5590_write_eeprom(SANE_Int dn, enum proto_flags proto_flags, unsigned int addr, unsigned char *data, unsigned int size) hp5590_write_eeprom() argument 1897 hp5590_read(SANE_Int dn, enum proto_flags proto_flags, unsigned char *bytes, unsigned int size, void *state) hp5590_read() argument [all...] |
/third_party/googletest/googletest/test/ |
H A D | googletest-port-test.cc | 1173 for (size_t i = 0; i < list_->size(); ++i) { in ResetList() 1209 return DestructorCall::List().size() - 1; in GetNewIndex() 1227 ASSERT_EQ(0U, DestructorCall::List().size()); in TEST() 1231 ASSERT_EQ(1U, DestructorCall::List().size()); in TEST() 1236 ASSERT_EQ(1U, DestructorCall::List().size()); in TEST() 1249 ASSERT_EQ(0U, DestructorCall::List().size()); in TEST() 1258 ASSERT_EQ(1U, DestructorCall::List().size()); in TEST() 1262 ASSERT_EQ(1U, DestructorCall::List().size()); in TEST()
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationDataBuilder.java | 417 int length = ce64s.size(); in addCE() 426 int length = ce32s.size(); in addCE32() 436 int index = conditionalCE32s.size(); in addConditionalCE32() 495 int ce64sMax = ce64s.size() - length; in encodeExpansion() 513 int i = ce64s.size(); in encodeExpansion() 528 int ce32sMax = ce32s.size() - length; in encodeExpansion32() 546 int i = ce32s.size(); in encodeExpansion32() 929 jamoIndex = ce32s.size(); in buildMappings()
|
/third_party/alsa-lib/include/ |
H A D | pcm.h | 567 snd_pcm_sframes_t snd_pcm_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size); 568 snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size); 569 snd_pcm_sframes_t snd_pcm_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); 570 snd_pcm_sframes_t snd_pcm_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); 1141 snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size); 1142 snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size); 1143 snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); 1144 snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); 1210 * \brief get the step size of the given PCM channel area in bytes 1213 * Returns the step size i [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationDataBuilder.java | 406 int length = ce64s.size(); in addCE() 415 int length = ce32s.size(); in addCE32() 425 int index = conditionalCE32s.size(); in addConditionalCE32() 484 int ce64sMax = ce64s.size() - length; in encodeExpansion() 502 int i = ce64s.size(); in encodeExpansion() 517 int ce32sMax = ce32s.size() - length; in encodeExpansion32() 535 int i = ce32s.size(); in encodeExpansion32() 918 jamoIndex = ce32s.size(); in buildMappings()
|
/third_party/libuv/src/unix/ |
H A D | stream.c | 66 * the total size of control messages cannot exceed 256 bytes. 671 size_t size; in uv__write_req_size() local 674 size = uv__count_bufs(req->bufs + req->write_index, in uv__write_req_size() 676 assert(req->handle->write_queue_size >= size); in uv__write_req_size() 678 return size; in uv__write_req_size() 952 queued_fds->size = queue_size; in uv__stream_queue_fd() 957 } else if (queued_fds->size == queued_fds->offset) { in uv__stream_queue_fd() 958 queue_size = queued_fds->size + 8; in uv__stream_queue_fd() 969 queued_fds->size = queue_size; in uv__stream_queue_fd()
|
/third_party/libbpf/src/ |
H A D | relo_core.c | 35 int size; in btf__resolve_size() local 38 t = btf_resolve_size(btf, t, &size); in btf__resolve_size() 41 return size; in btf__resolve_size() 77 /* not a flexible array, if not inside a struct or has non-zero size */ in is_flex_arr() 404 * - for INT, size and signedness are ignored; 709 /* remember field size for load/store mem size */ in bpf_core_calc_field_relo() 737 byte_sz = mt->size; in bpf_core_calc_field_relo() 739 /* figure out smallest int size necessary for bitfield load */ in bpf_core_calc_field_relo() 905 /* Validate if it's safe to adjust load/store memory size in bpf_core_calc_relo() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_shader.c | 143 align(info->size, v->compiler->const_upload_unit * 16); in ir3_shader_assemble() 144 info->size = info->constant_data_offset + v->constant_data_size; in ir3_shader_assemble() 147 /* Pad out the size so that when turnip uploads the shaders in in ir3_shader_assemble() 150 info->size = align(info->size, compiler->instr_align * sizeof(uint64_t)); in ir3_shader_assemble() 241 _mesa_sha1_compute(v->bin, v->info.size, sha1); in assemble_variant() 630 * shared consts size (on a6xx). in ir3_trim_constlen() 773 unsigned size = r->end - r->start; in dump_const_state() local 774 assert((size % 16) == 0); in dump_const_state() 776 fprintf(out, "; size in dump_const_state() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_valuefactory.cpp | 833 int size = str_to_int(size_str); 839 << "' size:'" << size_str << "' -> '" << size 849 auto array = new LocalArray( sel, ncomp, size, frac); 873 result.begin(), [](auto lr) {return lr.size(); }); 908 for(size_t j = 0; j < comp.size(); ++j) 944 sh_info->num_arrays = arrays.size(); 945 sh_info->arrays = new r600_shader_array[arrays.size()]; 949 sh_info->arrays->gpr_count = arr->size();
|
/third_party/ninja/src/ |
H A D | ninja.cc | 320 if (!path.empty() && path[path.size() - 1] == '^') {
in CollectTarget() 321 path.resize(path.size() - 1);
in CollectTarget() 419 for (int in = 0; in < (int)edge->inputs_.size(); in++) {
in ToolQuery() 827 for (size_t n = 0; n < result.size(); ++n)
in ToolInputs() 974 cwd.resize(cwd.size() + 1024);
in ToolCompilationDatabase() 976 success = getcwd(&cwd[0], cwd.size());
in ToolCompilationDatabase() 1340 int count = (int)state_.paths_.size();
in DumpMetrics() 1370 for (size_t i = 0; i < targets.size(); ++i) {
in RunBuild()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | externalobjects.c | 65 GLuint64 size, in import_memoryobj_fd() 90 GLuint64 size, in import_memoryobj_win32() 1045 GLuint64 size, in _mesa_ImportMemoryFdEXT() 1067 import_memoryobj_fd(ctx, memObj, size, fd); in _mesa_ImportMemoryFdEXT() 1073 GLuint64 size, in _mesa_ImportMemoryWin32HandleEXT() 1098 import_memoryobj_win32(ctx, memObj, size, handle, NULL); in _mesa_ImportMemoryWin32HandleEXT() 1104 GLuint64 size, in _mesa_ImportMemoryWin32NameEXT() 1129 import_memoryobj_win32(ctx, memObj, size, NULL, name); in _mesa_ImportMemoryWin32NameEXT() 63 import_memoryobj_fd(struct gl_context *ctx, struct gl_memory_object *obj, GLuint64 size, int fd) import_memoryobj_fd() argument 88 import_memoryobj_win32(struct gl_context *ctx, struct gl_memory_object *obj, GLuint64 size, void *handle, const void *name) import_memoryobj_win32() argument 1044 _mesa_ImportMemoryFdEXT(GLuint memory, GLuint64 size, GLenum handleType, GLint fd) _mesa_ImportMemoryFdEXT() argument 1072 _mesa_ImportMemoryWin32HandleEXT(GLuint memory, GLuint64 size, GLenum handleType, void *handle) _mesa_ImportMemoryWin32HandleEXT() argument 1103 _mesa_ImportMemoryWin32NameEXT(GLuint memory, GLuint64 size, GLenum handleType, const void *name) _mesa_ImportMemoryWin32NameEXT() argument
|
/third_party/littlefs/scripts/ |
H A D | perf.py | 243 '\s+(?P<size>[0-9a-fA-F]+)' 281 size = int(m.group('size'), 16) 283 if not size: 288 syms[name].add((addr, size)) 289 sym_at.append((addr, name, size)) 301 for addr, name, size in sym_at: 303 sym_at_.append((addr, name, size)) 499 for sym_addr, size in syms[sym]: 508 syms_[dso][sym] = sym_addr_, size [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | factory.h | 151 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles(int size); 457 int size, AllocationAlignment alignment, AllocationType allocation, 685 // must have the same size as objects allocated using the 691 Handle<JSGlobalProxy> NewUninitializedJSGlobalProxy(int size); 913 CodeBuilder& set_inlined_bytecode_size(uint32_t size) { in set_inlined_bytecode_size() argument 914 DCHECK_IMPLIES(size != 0, CodeKindIsOptimizedJSFunction(kind_)); in set_inlined_bytecode_size() 915 inlined_bytecode_size_ = size; in set_inlined_bytecode_size() 1015 HeapObject AllocateRaw(int size, AllocationType allocation, 1058 Context NewContextInternal(Handle<Map> map, int size,
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_context.c | 219 assert((offset + shader->binary.size) < 4096); in panfrost_get_blend() 220 memcpy((*bo)->ptr.cpu + offset, shader->binary.data, shader->binary.size); in panfrost_get_blend() 221 *shader_offset += shader->binary.size; in panfrost_get_blend() 882 unsigned size = sizeof(uint64_t) * dev->core_id_range; in panfrost_begin_query() local 887 PIPE_BIND_QUERY_BUFFER, 0, size); in panfrost_begin_query() 891 uint8_t *zeroes = alloca(size); in panfrost_begin_query() 892 memset(zeroes, 0, size); in panfrost_begin_query() 893 pipe_buffer_write(pipe, query->rsrc, 0, size, zeroes); in panfrost_begin_query()
|
/third_party/node/deps/openssl/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 194 sub size { 310 sub size {} 399 $opcode->size($self->size()); 405 sub size { 838 } elsif (!$elf && $dir =~ /\.size/) { 927 /\.size/ && do { if (defined($current_function)) { 1243 my $sz=$opcode->size(); 1246 $insn = $opcode->out($#args>=1?$args[$#args]->size():$sz); 1382 # .size functio 193 sub size { global() subroutine 309 sub size {} global() subroutine 404 sub size { global() subroutine [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | stream.c | 704 size_t size; in uv__write_req_size() local 707 size = uv__count_bufs(req->bufs + req->write_index, in uv__write_req_size() 709 assert(req->handle->write_queue_size >= size); in uv__write_req_size() 711 return size; in uv__write_req_size() 985 queued_fds->size = queue_size; in uv__stream_queue_fd() 990 } else if (queued_fds->size == queued_fds->offset) { in uv__stream_queue_fd() 991 queue_size = queued_fds->size + 8; in uv__stream_queue_fd() 1002 queued_fds->size = queue_size; in uv__stream_queue_fd()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | comp.rs | 254 <td>unit.size</td><td>{}</td> in dot_attributes() 260 layout.size, layout.align in dot_attributes() 589 let size = align_to(unit_size_in_bits, 8) / 8; in bitfields_to_allocation_units() 590 let layout = Layout::new(size, align); in bitfields_to_allocation_units() 612 let bitfield_size = bitfield_layout.size; in bitfields_to_allocation_units() 636 // the current unit size and alignment. in bitfields_to_allocation_units() 666 // bitfields over their types size cause weird allocation size behavior from clang. in bitfields_to_allocation_units() 673 // Compute what the physical unit's final size would be given what we in bitfields_to_allocation_units() 969 // would contribute to our size give in requires_storage() [all...] |
/third_party/python/Lib/ |
H A D | difflib.py | 37 Match = _namedtuple('Match', 'a b size') 326 Match(a=0, b=4, size=5) 342 Match(a=1, b=0, size=4) 348 Match(a=0, b=0, size=0) 437 [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)] 525 for ai, bj, size in self.get_matching_blocks(): 528 # a[ai:ai+size] == b[bj:bj+size] [all...] |
/third_party/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 189 sub size { 305 sub size {} 394 $opcode->size($self->size()); 400 sub size { 833 } elsif (!$elf && $dir =~ /\.size/) { 922 /\.size/ && do { if (defined($current_function)) { 1238 my $sz=$opcode->size(); 1241 $insn = $opcode->out($#args>=1?$args[$#args]->size():$sz); 1377 # .size functio 188 sub size { global() subroutine 304 sub size {} global() subroutine 399 sub size { global() subroutine [all...] |