Home
last modified time | relevance | path

Searched refs:len1 (Results 1 - 25 of 90) sorted by relevance

1234

/third_party/libunwind/libunwind/src/
H A Dos-freebsd.c56 size_t len, len1; in get_pid_by_tid() local
69 len1 = len * 4 / 3; in get_pid_by_tid()
70 buf = get_mem(len1); in get_pid_by_tid()
73 len = len1; in get_pid_by_tid()
76 free_mem(buf, len1); in get_pid_by_tid()
87 free_mem(buf, len1); in get_pid_by_tid()
96 size_t len, len1; in tdep_get_elf_image() local
117 len1 = len * 4 / 3; in tdep_get_elf_image()
118 buf = get_mem(len1); in tdep_get_elf_image()
121 len = len1; in tdep_get_elf_image()
[all...]
/third_party/ffmpeg/libavformat/
H A Dvorbiscomment.c51 int64_t len1 = !strcmp(tag->key, "title") ? 4 : strlen(tag->key); in ff_vorbiscomment_length() local
52 len += 4 + 10 + len1 + 1 + strlen(tag->value); in ff_vorbiscomment_length()
83 int64_t len1 = strlen(tag->key); in ff_vorbiscomment_write() local
85 if (len1+1+len2 > UINT32_MAX) in ff_vorbiscomment_write()
87 avio_wl32(pb, len1 + 1 + len2); in ff_vorbiscomment_write()
88 avio_write(pb, tag->key, len1); in ff_vorbiscomment_write()
113 int64_t len1 = !strcmp(tag->key, "title") ? 4 : strlen(tag->key); in ff_vorbiscomment_write() local
115 if (len1+1+len2+10 > UINT32_MAX) in ff_vorbiscomment_write()
117 avio_wl32(pb, 10 + len1 + 1 + len2); in ff_vorbiscomment_write()
123 avio_write(pb, tag->key, len1); in ff_vorbiscomment_write()
[all...]
/third_party/ltp/testcases/kernel/mce-test/lib/
H A Dfunctions.sh23 local len1=${#1}
25 if [ $len1 -eq 0 -o $len1 -ge $len2 -o "${2:0:$len1}" != "$1" ]; then
28 len1=$((len1 + 1))
29 echo "${2:$len1}"
/third_party/toybox/toys/posix/
H A Dcmp.c31 int i, len1, len2, min_len, size = sizeof(toybuf)/2; in do_cmp() local
47 len1 = readall(TT.fd, toybuf, size); in do_cmp()
50 min_len = len1 < len2 ? len1 : len2; in do_cmp()
66 if (len1 != len2) { in do_cmp()
68 fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name); in do_cmp()
72 if (len1 < 1) break; in do_cmp()
/third_party/toybox/toys/example/
H A Ddemo_utf8towc.c21 int len1, len2; in demo_utf8towc_main() local
34 len1 = mbrtowc(&wc1, str, len2, &mb); in demo_utf8towc_main()
35 if (len1<0) memset(&mb, 0, sizeof(mb)); in demo_utf8towc_main()
37 if (len1 != len2 || wc1 != wc2) in demo_utf8towc_main()
38 printf("%x %d %x %d %x\n", u, len1, wc1, len2, wc2); in demo_utf8towc_main()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
H A DLzcompCompress.java150 int len1 = findMatch(index, dist1, gain1, costPerByte1); in makeCopyDecision()
160 len1 = 0; in makeCopyDecision()
161 } else if (len1 > 3) { in makeCopyDecision()
162 len2 = findMatch(here + len1, dist2, gain2, costPerByte2); in makeCopyDecision()
167 int len3 = findMatch(here + len1 - 1, dist3, gain3, costPerByte3); in makeCopyDecision()
170 int lenBitCount = encodeLengthCost(len1 - 1, dist1[0] + 1, distRanges); in makeCopyDecision()
173 int cost1A = costPerByte1[0] * len1 + costPerByte2[0] * len2; in makeCopyDecision()
174 if ((cost1A / (len1 + len2)) > (cost1B / (len1 - 1 + len3))) { in makeCopyDecision()
175 len1 in makeCopyDecision()
[all...]
/third_party/toybox/toys/pending/
H A Dtr.c27 int len1, len2;
38 int i = TT.len1, k = 0; in map_translation()
44 for (i = TT.len1, k = 0; i; i--, k++) in map_translation()
50 while (!(toys.optflags & FLAG_d) && set2 && TT.len1--) { //ignore set2 if -d present in map_translation()
237 if (memchr(*set, i, TT.len1)) continue; in do_complement()
241 TT.len1 = j; in do_complement()
252 set1 = expand_set(toys.optargs[0], &TT.len1); in tr_main()
/third_party/lzma/Java/SevenZip/Compression/LZ/
H A DBinTree.java184 int len0, len1; in GetMatches()
185 len0 = len1 = kNumHashDirectBytes; in GetMatches()
215 int len = Math.min(len0, len1); in GetMatches()
238 len1 = len; in GetMatches()
293 int len0, len1; in Skip()
294 len0 = len1 = kNumHashDirectBytes; in Skip()
311 int len = Math.min(len0, len1); in Skip()
329 len1 = len; in Skip()
/third_party/lzma/CS/7zip/Compress/LZ/
H A DLzBinTree.cs184 UInt32 len0, len1; in GetMatches()
185 len0 = len1 = kNumHashDirectBytes; in GetMatches()
215 UInt32 len = Math.Min(len0, len1); in GetMatches()
238 len1 = len; in GetMatches()
293 UInt32 len0, len1; in Skip()
294 len0 = len1 = kNumHashDirectBytes; in Skip()
311 UInt32 len = Math.Min(len0, len1); in Skip()
329 len1 = len; in Skip()
/third_party/libuv/test/
H A Dtest-pipe-getsockname.c236 size_t len1, len2; in TEST_IMPL() local
256 len1 = sizeof buf1; in TEST_IMPL()
257 r = uv_pipe_getsockname(&pipe_client, buf1, &len1); in TEST_IMPL()
259 ASSERT_OK(len1); /* It's an annonymous pipe. */ in TEST_IMPL()
275 ASSERT_EQ(len1, len2); in TEST_IMPL()
276 ASSERT_OK(memcmp(buf1, buf2, len1)); in TEST_IMPL()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
H A Dhugemmap23.c28 unsigned long len1; member
172 p = SAFE_MMAP(NULL, tc->len1*hpage_size, tc->prot1, MAP_SHARED, fd, 0); in run_test()
189 if (tc->len2 < tc->len1) in run_test()
195 SAFE_MUNMAP(p, tc->len1*hpage_size); in run_test()
/third_party/lzma/C/
H A DLzFindOpt.c74 const Byte *len0 = cur, *len1 = cur;
84 const Byte *len = (len0 < len1 ? len0 : len1);
169 len1 = len;
271 const Byte *len0 = cur, *len1 = cur; in GetMatchesSpecN_2() local
285 const Byte *len = (len0 < len1 ? len0 : len1); in GetMatchesSpecN_2()
368 len1 = len; in GetMatchesSpecN_2()
450 uint32plus len0 = 0, len1 = 0;
464 uint32plus len = (len0 < len1
[all...]
/third_party/selinux/libselinux/src/
H A Dregex.c280 size_t len1, len2; in regex_cmp() local
281 rc = pcre2_pattern_info(regex1->regex, PCRE2_INFO_SIZE, &len1); in regex_cmp()
285 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
528 size_t len1, len2; in regex_cmp() local
529 rc = pcre_fullinfo(regex1->regex, NULL, PCRE_INFO_SIZE, &len1); in regex_cmp()
533 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
/third_party/ffmpeg/libswresample/
H A Drematrix.c584 int len1 = 0; in swri_rematrix() local
593 len1= len&~15; in swri_rematrix()
594 off = len1 * out->bps; in swri_rematrix()
609 if(s->mix_1_1_simd && len1) in swri_rematrix()
610 s->mix_1_1_simd(out->ch[out_i] , in->ch[in_i] , s->native_simd_matrix, in->ch_count*out_i + in_i, len1); in swri_rematrix()
611 if(len != len1) in swri_rematrix()
612 s->mix_1_1_f (out->ch[out_i]+off, in->ch[in_i]+off, s->native_matrix, in->ch_count*out_i + in_i, len-len1); in swri_rematrix()
622 if(s->mix_2_1_simd && len1) in swri_rematrix()
623 s->mix_2_1_simd(out->ch[out_i] , in->ch[in_i1] , in->ch[in_i2] , s->native_simd_matrix, in->ch_count*out_i + in_i1, in->ch_count*out_i + in_i2, len1); in swri_rematrix()
625 s->mix_2_1_f (out->ch[out_i] , in->ch[in_i1] , in->ch[in_i2] , s->native_matrix, in->ch_count*out_i + in_i1, in->ch_count*out_i + in_i2, len1); in swri_rematrix()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
H A Dfortify_recv_chk_test.cpp112 size_t len1 = sizeof(buf); in HWTEST_F() local
113 size_t result = static_cast<size_t>(__recv_chk(acceptFd, buf, len1, len1, 0)); in HWTEST_F()
/third_party/node/deps/v8/src/debug/
H A Dliveedit.cc51 virtual void AddChunk(int pos1, int pos2, int len1, int len2) = 0;
227 void skip1(int len1) {
229 pos1_ += len1;
301 const int len1 = input->GetLength1();
309 int prefix_limit = std::min(len1, len2);
317 std::min(len1 - common_prefix_len, len2 - common_prefix_len);
320 input->Equals(len1 - common_suffix_len - 1,
327 int new_len1 = len1 - common_suffix_len - common_prefix_len;
343 TokensCompareInput(Handle<String> s1, int offset1, int len1, in TokensCompareInput() argument
345 : s1_(s1), offset1_(offset1), len1_(len1), in TokensCompareInput()
437 int len1 = line_end1 - line_start1; global() variable
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_string.cpp1517 uint32 len1 = Length (); in EndsWith() local
1521 if (len1 < len2) in EndsWith()
1526 const char *t = Get () + (len1 - len2); in EndsWith()
1563 uint32 len1 = Length (); in Contains() local
1567 if (len1 < len2) in Contains()
1572 uint32 offsets = len1 - len2; in Contains()
1628 uint32 len1 = Length (); in Replace() local
1652 uint32 extra = len1 - match_offset - len2 + 1; // + 1 for NULL termination in Replace()
1664 // "len1 - len2" cannot wrap around because we know that if this in Replace()
1665 // string contains old_string, len1 > in Replace()
1734 uint32 len1 = Length (); Append() local
[all...]
H A Ddng_temperature.cpp220 real64 len1 = sqrt (1.0 + vv1 * vv1); in Get_xy_coord() local
223 uu1 /= len1; in Get_xy_coord()
224 vv1 /= len1; in Get_xy_coord()
/third_party/typescript/tests/baselines/reference/
H A DstrictTupleLength.js8 var len1: 1 = t1.length; variable
29 var len1 = t1.length; variable
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gpos-table.hh1088 unsigned len1; /* valueFormats[0].get_len() */ member
1110 &values[closure->len1], in subset()
1163 unsigned int len1 = valueFormats[0].get_len (); in intersects() local
1165 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in intersects()
1181 unsigned int len1 = valueFormats[0].get_len (); in collect_glyphs() local
1183 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in collect_glyphs()
1192 unsigned len1 = valueFormats[0].get_len (); in collect_variation_indices() local
1194 unsigned record_size = HBUINT16::static_size * (1 + len1 + len2); in collect_variation_indices()
1213 unsigned int len1 = valueFormats[0].get_len (); in apply() local
1215 unsigned int record_size = HBUINT16::static_size * (1 + len1 in apply()
1249 unsigned len1 = valueFormats[0].get_len (); subset() local
1280 unsigned int len1; /* valueFormats[0].get_len() */ global() member
1414 unsigned len1 = valueFormat[0].get_len (); compute_effective_value_formats() local
1447 unsigned int len1 = valueFormat[0].get_len (); sanitize() local
1518 unsigned len1 = valueFormat1.get_len (); collect_variation_indices() local
1554 unsigned int len1 = valueFormat1.get_len (); apply() local
1590 unsigned len1 = valueFormat1.get_len (); subset() local
1627 unsigned len1 = valueFormat1.get_len (); compute_effective_value_formats() local
1655 unsigned int len1 = valueFormat1.get_len (); sanitize() local
[all...]
/third_party/lzma/Asm/x86/
H A DLzFindOpt.asm45 len1 equ r11 define
56 delta1_r equ len1
244 mov len1, len0
254 cmp len1, len0
255 cmovb len, len1 ; len = (len1 < len0 ? len1 : len0);
367 mov len1, len
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen12.c113 off_t len1, len2; in test_append() local
122 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append()
128 if (len2 > len1) in test_append()
/third_party/backends/backend/
H A Dmagicolor.c437 unsigned char **buf, unsigned char* arg1, size_t len1, in mc_create_buffer()
441 size_t buf_len = 2+4+len1+4; in mc_create_buffer()
443 if (len1 <= 0) in mc_create_buffer()
453 if (len1>0) { in mc_create_buffer()
454 b[2] = len1 & 0xff; in mc_create_buffer()
455 b[3] = (len1 >> 8) & 0xff; in mc_create_buffer()
456 b[4] = (len1 >> 16) & 0xff; in mc_create_buffer()
457 b[5] = (len1 >> 24) & 0xff; in mc_create_buffer()
459 memcpy(b+6, arg1, len1); in mc_create_buffer()
467 unsigned char **buf, unsigned char* arg1, size_t len1, in mc_create_buffer2()
436 mc_create_buffer(Magicolor_Scanner *s, unsigned char cmd_type, unsigned char cmd, unsigned char **buf, unsigned char* arg1, size_t len1, SANE_Status *status) mc_create_buffer() argument
466 mc_create_buffer2(Magicolor_Scanner *s, unsigned char cmd_type, unsigned char cmd, unsigned char **buf, unsigned char* arg1, size_t len1, unsigned char* arg2, size_t len2, SANE_Status *status) mc_create_buffer2() argument
[all...]
/third_party/ninja/src/
H A Dgetopt.c129 permute (char **argv, int len1, int len2) in permute() argument
131 reverse_argv_elements (argv, len1); in permute()
132 reverse_argv_elements (argv, len1 + len2); in permute()
/third_party/python/Lib/unittest/
H A Dcase.py991 len1 = len(seq1)
1011 for i in range(min(len1, len2)):
1031 if (len1 == len2 and seq_type is None and
1036 if len1 > len2:
1038 'elements.\n' % (seq_type_name, len1 - len2))
1045 elif len1 < len2:
1047 'elements.\n' % (seq_type_name, len2 - len1))
1050 (len1, safe_repr(seq2[len1])))
1053 'of second %s\n' % (len1, seq_type_nam
[all...]

Completed in 19 milliseconds

1234