Home
last modified time | relevance | path

Searched refs:leading (Results 1 - 25 of 56) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
H A Dlibzvbi-teletextdec.c194 // skip leading spaces and newlines in gen_sub_text()
245 static void get_trim_info(vbi_page *page, vbi_char *row, int *leading, int *trailing, int *olen) in get_trim_info() argument
250 *leading = 0; in get_trim_info()
256 (*leading)++; in get_trim_info()
258 char_seen = 1, len = i - (*leading) + 1; in get_trim_info()
262 *trailing = len > 0 ? page->columns - *leading - len : page->columns; in get_trim_info()
298 int leading, trailing, len; in gen_sub_ass() local
315 get_trim_info(page, row, &leading, &trailing, &len); in gen_sub_ass()
318 if (last_leading != -1 && last_leading != leading || leading > in gen_sub_ass()
[all...]
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dview-cairo.hh119 double leading = ascent + descent + line_gap; in render() local
123 (vertical ? w : h) = (int) lines->len * leading - (font_extents.line_gap + line_space); in render()
164 cairo_translate (cr, +vert * leading, -horiz * leading); in render()
169 cairo_translate (cr, -vert * leading, +horiz * leading); in render()
/third_party/ffmpeg/libavformat/
H A Dfilmstripdec.c35 int leading; member
70 film->leading = avio_rb16(pb); in read_header()
90 pkt->dts = avio_tell(s->pb) / (st->codecpar->width * (int64_t)(st->codecpar->height + film->leading) * 4); in read_packet()
92 avio_skip(s->pb, st->codecpar->width * (int64_t) film->leading * 4); in read_packet()
/third_party/node/deps/undici/src/lib/fetch/
H A DdataURL.js28 // 3. Remove the leading "data:" string from input.
43 // 6. Strip leading and trailing ASCII whitespace
233 // 1. Remove any leading and trailing HTTP whitespace
577 function removeHTTPWhitespace (str, leading = true, trailing = true) {
581 if (leading) {
601 * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace
603 function removeASCIIWhitespace (str, leading = true, trailing = true) {
607 if (leading) {
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
H A DDecimalQuantity_ByteArrayBCD.java209 int leading = precision - 1; in compact()
210 for (; leading >= 0 && bcd[leading] == 0; leading--) ; in compact()
211 precision = leading + 1; in compact()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
H A DDecimalQuantity_ByteArrayBCD.java212 int leading = precision - 1; in compact()
213 for (; leading >= 0 && bcd[leading] == 0; leading--) ; in compact()
214 precision = leading + 1; in compact()
/third_party/skia/src/sfnt/
H A DSkOTTable_name.cpp19 uint16_t leading; in next_unichar_UTF16BE() local
20 if (*length < sizeof(leading)) { in next_unichar_UTF16BE()
24 memcpy(&leading, *srcPtr, sizeof(leading)); in next_unichar_UTF16BE()
25 *srcPtr += sizeof(leading); in next_unichar_UTF16BE()
26 *length -= sizeof(leading); in next_unichar_UTF16BE()
27 SkUnichar c = SkEndian_SwapBE16(leading); in next_unichar_UTF16BE()
/third_party/icu/icu4c/source/samples/layout/
H A DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
276 leading = fFontInstances[i]->getLeading(); in getMaxMetrics()
286 if (leading > fLeading) { in getMaxMetrics()
287 fLeading = leading; in getMaxMetrics()
H A Dpflow.c118 le_int32 leading = 0; in pf_create() local
199 if (pLeading > leading) { in pf_create()
200 leading = pLeading; in pf_create()
218 flow->fLineHeight = ascent + descent + leading; in pf_create()
H A Dparagraph.cpp95 le_int32 leading = 0; in Paragraph() local
144 if (pLeading > leading) { in Paragraph()
145 leading = pLeading; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
/third_party/skia/third_party/externals/icu/source/samples/layout/
H A DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
276 leading = fFontInstances[i]->getLeading(); in getMaxMetrics()
286 if (leading > fLeading) { in getMaxMetrics()
287 fLeading = leading; in getMaxMetrics()
H A Dparagraph.cpp95 le_int32 leading = 0; in Paragraph() local
144 if (pLeading > leading) { in Paragraph()
145 leading = pLeading; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
H A Dpflow.c116 le_int32 leading = 0; in pf_create() local
197 if (pLeading > leading) { in pf_create()
198 leading = pLeading; in pf_create()
216 flow->fLineHeight = ascent + descent + leading; in pf_create()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DDecimalQuantity_DualStorageBCD.java289 int leading = precision - 1; in compact()
290 for (; leading >= 0 && bcdBytes[leading] == 0; leading--) in compact()
292 precision = leading + 1; in compact()
/third_party/node/deps/v8/third_party/test262-harness/src/
H A D_monkeyYaml.py75 leading = myLeadingSpaces(line)
78 elif leading < indent:
82 indent = indent or leading
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dfloat_conversion.cc310 // non-zero bits fit, so we might not have space for leading zero bits. in FractionalDigitGenerator()
323 // Count the number of leading zero bits.
761 uint8_t leading) { in HexFloatNeedsRoundUp()
779 ? leading in HexFloatNeedsRoundUp()
805 uint8_t *leading, Int *mantissa, int *exp) { in FormatARound()
810 if (HexFloatNeedsRoundUp(*mantissa, final_nibble_displayed, *leading)) { in FormatARound()
813 *leading += (overflow ? 1 : 0); in FormatARound()
814 if (ABSL_PREDICT_FALSE(*leading > 15)) { in FormatARound()
815 // We have overflowed the leading digit. This would mean that we would in FormatARound()
818 *leading in FormatARound()
760 HexFloatNeedsRoundUp(Int mantissa, int final_nibble_displayed, uint8_t leading) HexFloatNeedsRoundUp() argument
804 FormatARound(bool precision_specified, const FormatState &state, uint8_t *leading, Int *mantissa, int *exp) FormatARound() argument
831 FormatANormalize(const HexFloatTypeParams float_traits, uint8_t *leading, Int *mantissa, int *exp) FormatANormalize() argument
868 uint8_t leading = 0; FormatA() local
[all...]
/third_party/node/lib/internal/readline/
H A Dinterface.js744 const leading = StringPrototypeSlice(this.line, 0, this.cursor);
746 ArrayPrototypeReverse(ArrayFrom(leading)),
797 let leading = StringPrototypeSlice(this.line, 0, this.cursor);
799 ArrayPrototypeReverse(ArrayFrom(leading)),
803 leading = StringPrototypeSlice(
804 leading,
806 leading.length - match[0].length,
809 leading +
811 this.cursor = leading.length;
/third_party/skia/modules/skparagraph/src/
H A DTextLineBaseImpl.cpp74 double TextLineBaseImpl::getTypographicBounds(double* ascent, double* descent, double* leading) const in getTypographicBounds()
80 return fVisitorTextLine->getTypographicBounds(ascent, descent, leading); in getTypographicBounds()
H A DRunBaseImpl.cpp323 float RunBaseImpl::getTypographicBounds(float* ascent, float* descent, float* leading) const in getTypographicBounds()
325 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in getTypographicBounds()
331 *leading = 0.0; in getTypographicBounds()
336 *leading = fVisitorRun->leading(); in getTypographicBounds()
/third_party/skia/third_party/externals/abseil-cpp/absl/
H A Dabseil.podspec.gen.py193 def write_indented_list(f, leading, values):
194 """Writes leading values in an indented style."""
195 f.write(leading)
196 f.write((",\n" + " " * len(leading)).join("'{}'".format(v) for v in values))
/third_party/icu/icu4c/source/layoutex/
H A DParagraphLayout.cpp835 le_int32 leading = font->getLeading(); in computeMetrics() local
836 le_int32 dl = descent + leading; in computeMetrics()
846 if (leading > fLeading) { in computeMetrics()
847 fLeading = leading; in computeMetrics()
1246 le_int32 leading = fRuns[i]->getLeading(); in computeMetrics() local
1247 le_int32 dl = descent + leading; in computeMetrics()
1257 if (leading > fLeading) { in computeMetrics()
1258 fLeading = leading; in computeMetrics()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DDecimalQuantity_DualStorageBCD.java331 int leading = precision - 1; in compact()
332 for (; leading >= 0 && bcdBytes[leading] == 0; leading--) in compact()
334 precision = leading + 1; in compact()
/third_party/icu/icu4c/source/i18n/
H A Dnumber_decimalquantity.cpp759 // "leading" = most significant digit to the right of rounding in roundToMagnitude()
1279 int32_t leading = precision - 1; in compact() local
1280 for (; leading >= 0 && fBCD.bcdBytes.ptr[leading] == 0; leading--); in compact()
1281 precision = leading + 1; in compact()
1303 int32_t leading = precision - 1; in compact() local
1304 for (; leading >= 0 && getDigitPos(leading) == 0; leading in compact()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_decimalquantity.cpp759 // "leading" = most significant digit to the right of rounding in roundToMagnitude()
1279 int32_t leading = precision - 1; in compact() local
1280 for (; leading >= 0 && fBCD.bcdBytes.ptr[leading] == 0; leading--); in compact()
1281 precision = leading + 1; in compact()
1303 int32_t leading = precision - 1; in compact() local
1304 for (; leading >= 0 && getDigitPos(leading) == 0; leading in compact()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_decimalquantity.cpp682 // "leading" = most significant digit to the right of rounding in roundToMagnitude()
1159 int32_t leading = precision - 1; in compact() local
1160 for (; leading >= 0 && fBCD.bcdBytes.ptr[leading] == 0; leading--); in compact()
1161 precision = leading + 1; in compact()
1183 int32_t leading = precision - 1; in compact() local
1184 for (; leading >= 0 && getDigitPos(leading) == 0; leading in compact()
[all...]

Completed in 21 milliseconds

123