Home
last modified time | relevance | path

Searched refs:slength (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/fs/doio/
Diogen.c580 int mult, offset = 0, length = 0, slength; in form_iorequest() local
887 slength = length / nstrides; in form_iorequest()
888 if (slength % mult != 0) { in form_iorequest()
889 if (mult > slength) { in form_iorequest()
890 slength = mult; in form_iorequest()
892 slength -= slength % mult; in form_iorequest()
894 nstrides = length / slength; in form_iorequest()
899 req->r_data.io.r_nbytes = slength; in form_iorequest()
/third_party/icu/icu4c/source/test/intltest/
Dcolldata.cpp535 int32_t slength = string->length(); in minLengthInChars() local
551 if (shortestLength > slength + rlength) { in minLengthInChars()
552 shortestLength = slength + rlength; in minLengthInChars()
/third_party/pulseaudio/src/pulsecore/
Dsink-input.c870 void pa_sink_input_peek(pa_sink_input *i, size_t slength /* in sink bytes */, pa_memchunk *chunk, p… in pa_sink_input_peek() argument
880 pa_assert(pa_frame_aligned(slength, &i->sink->sample_spec)); in pa_sink_input_peek()
895 if (slength <= 0) in pa_sink_input_peek()
896 slength = pa_frame_align(CONVERT_BUFFER_LENGTH, &i->sink->sample_spec); in pa_sink_input_peek()
898 if (slength > block_size_max_sink) in pa_sink_input_peek()
899 slength = block_size_max_sink; in pa_sink_input_peek()
902 ilength = pa_resampler_request(i->thread_info.resampler, slength); in pa_sink_input_peek()
907 ilength = slength; in pa_sink_input_peek()
936 … pa_memblockq_seek(i->thread_info.render_memblockq, (int64_t) slength, PA_SEEK_RELATIVE, true); in pa_sink_input_peek()
940 i->thread_info.underrun_for_sink += slength; in pa_sink_input_peek()
Dcore-util.h131 char *pa_hexstr(const uint8_t* d, size_t dlength, char *s, size_t slength);
Dcore-util.c2010 char *pa_hexstr(const uint8_t* d, size_t dlength, char *s, size_t slength) { in pa_hexstr() argument
2016 pa_assert(slength > 0); in pa_hexstr()
2018 while (j+2 < slength && i < dlength) { in pa_hexstr()
2026 s[j < slength ? j : slength] = 0; in pa_hexstr()
/third_party/pcre2/pcre2/src/
Dpcre2_match.c4780 PCRE2_SIZE slength; in match() local
4781 rrc = match_ref(Loffset, Lcaseless, F, mb, &slength); in match()
4788 Feptr += slength; in match()
4801 PCRE2_SIZE slength; in match() local
4805 rrc = match_ref(Loffset, Lcaseless, F, mb, &slength); in match()
4812 Feptr += slength; in match()
4828 PCRE2_SIZE slength; in match() local
4829 rrc = match_ref(Loffset, Lcaseless, F, mb, &slength); in match()
4844 if (slength != Flength) samelengths = FALSE; in match()
4845 Feptr += slength; in match()
[all …]
/third_party/glib/glib/pcre/
Dpcre_exec.c2737 int slength; in match() local
2738 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2740 if (slength == -2) eptr = md->end_subject; /* Partial match */ in match()
2744 eptr += slength; in match()
2758 int slength; in match() local
2762 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2764 if (slength == -2) eptr = md->end_subject; /* Partial match */ in match()
2768 eptr += slength; in match()
2780 int slength; in match() local
2781 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
[all …]
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java3147 int slength = s.length(); in findSharedEndLength() local
3149 int min = Math.min(slength, tlength); in findSharedEndLength()
3154 sch = s.charAt(slength - i - 1); in findSharedEndLength()
3160 …return CharSequences.onCharacterBoundary(s,slength - i) && CharSequences.onCharacterBoundary(t,tle… in findSharedEndLength()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DTransliteratorTest.java3150 int slength = s.length(); in findSharedEndLength() local
3152 int min = Math.min(slength, tlength); in findSharedEndLength()
3157 sch = s.charAt(slength - i - 1); in findSharedEndLength()
3163 …return CharSequences.onCharacterBoundary(s,slength - i) && CharSequences.onCharacterBoundary(t,tle… in findSharedEndLength()