Home
last modified time | relevance | path

Searched refs:isLast (Results 1 – 16 of 16) sorted by relevance

/third_party/spirv-headers/tools/buildHeaders/
Dheader.cpp107 virtual std::string commentEnd(bool isLast) const { return ""; } in commentEnd()
109 virtual std::string commentEOL(bool isLast) const { return ""; } in commentEOL()
115 virtual std::string enumEnd(const std::string&, enumStyle_t, bool isLast = false) const { in enumEnd() argument
119 enumStyle_t, bool isLast = false) const { in enumFmt() argument
128 const char* fmt, bool isLast = false) const { in fmtConstInt() argument
317 const auto print = [&](const char* name, const char* fmt, bool isLast) { in printMeta() argument
318 out << fmtConstInt(meta[name].asUInt(), name, fmt, isLast); in printMeta()
403 const char* fmt, bool isLast) const override { in fmtConstInt()
404 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); in fmtConstInt()
416 … std::string commentEnd(bool isLast) const override { return indent(4) + (isLast ? "]" : "],"); } in commentEnd()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
Dheader.cpp107 virtual std::string commentEnd(bool isLast) const { return ""; } in commentEnd()
109 virtual std::string commentEOL(bool isLast) const { return ""; } in commentEOL()
115 virtual std::string enumEnd(const std::string&, enumStyle_t, bool isLast = false) const { in enumEnd() argument
119 enumStyle_t, bool isLast = false) const { in enumFmt() argument
128 const char* fmt, bool isLast = false) const { in fmtConstInt() argument
315 const auto print = [&](const char* name, const char* fmt, bool isLast) { in printMeta() argument
316 out << fmtConstInt(meta[name].asUInt(), name, fmt, isLast); in printMeta()
401 const char* fmt, bool isLast) const override { in fmtConstInt()
402 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); in fmtConstInt()
414 … std::string commentEnd(bool isLast) const override { return indent(4) + (isLast ? "]" : "],"); } in commentEnd()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/
Dheader.cpp107 virtual std::string commentEnd(bool isLast) const { return ""; } in commentEnd()
109 virtual std::string commentEOL(bool isLast) const { return ""; } in commentEOL()
115 virtual std::string enumEnd(const std::string&, enumStyle_t, bool isLast = false) const { in enumEnd() argument
119 enumStyle_t, bool isLast = false) const { in enumFmt() argument
128 const char* fmt, bool isLast = false) const { in fmtConstInt() argument
315 const auto print = [&](const char* name, const char* fmt, bool isLast) { in printMeta() argument
316 out << fmtConstInt(meta[name].asUInt(), name, fmt, isLast); in printMeta()
401 const char* fmt, bool isLast) const override { in fmtConstInt()
402 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); in fmtConstInt()
414 … std::string commentEnd(bool isLast) const override { return indent(4) + (isLast ? "]" : "],"); } in commentEnd()
[all …]
/third_party/typescript/src/compiler/transformers/
DtaggedTemplate.ts92 …const isLast = node.kind === SyntaxKind.NoSubstitutionTemplateLiteral || node.kind === SyntaxKind.… constant
93 text = text.substring(1, text.length - (isLast ? 1 : 2));
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sLongShaderTests.cpp241 const bool isLast = (m_spec.opsTotal <= (currentOpsTotal + m_spec.opsPerExpression)); in generateSource() local
242 const int numOps = isLast ? (m_spec.opsTotal - currentOpsTotal) : m_spec.opsPerExpression; in generateSource()
245 const std::string outName = isLast ? getShaderOutputName() : getRandomVariableName(); in generateSource()
254 if (isLast) in generateSource()
/third_party/typescript/src/services/refactors/
DconvertStringOrTemplateLiteral.ts210 const isLast = i === nodes.length - 1; constant
218 return factory.createTemplateSpan(span.expression, isLast && isLastSpan
225 const templatePart = isLast
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
DBasicPeriodFormatter.java181 boolean isLast = i == last; in format()
183 … countSep, useDigitPrefix, multiple, isLast, wasSkipped, sb); in format()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodFormatter.java180 boolean isLast = i == last; in format()
182 … countSep, useDigitPrefix, multiple, isLast, wasSkipped, sb); in format()
/third_party/jsframework/runtime/main/model/
Ddirective.ts722 … Vm, el: Element, style: any, css: any, name: string, isFirst?: boolean, isLast?: boolean, isSetCo…
730 bindDir(vm, el, name, typeStyle, isFirst, isLast, isSetContent);
768 export function setTagStyle(vm: Vm, el: Element, tag: string, isFirst?: boolean, isLast?: boolean, …
775 doSetStyle(vm, el, selectStyle(css, tag, vm), css, tagStyle, isFirst, isLast, isSetContent);
855 export function bindDir(vm: Vm, el: Element, name: string, data: object, isFirst?: boolean, isLast?…
897 } else if (key.endsWith(':last-child') && isLast) {
/third_party/node/deps/npm/test/lib/
Dnpm.js686 const isLast = cmd === lastCmd constant
687 const shortCmd = new RegExp(`\\s${cmd}${isLast ? '\\n' : ',[\\s\\n]'}`)
694 if (!isLast) {
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux_dump.c972 gboolean isLast = FALSE; in qtdemux_dump_dfLa() local
983 isLast = (block_header >> 31) & 1; in qtdemux_dump_dfLa()
993 GST_LOG ("%*s last-block-flag: %s", depth, "", isLast ? "true" : "false"); in qtdemux_dump_dfLa()
998 } while (!isLast); in qtdemux_dump_dfLa()
/third_party/skia/experimental/sktext/src/
DVisualRun.h130 bool isLast(VisualRun* run) { return &fRuns.back() == run; } in isLast() function
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_data_distributedData.js947 isLast: function (...args) { method
/third_party/typescript/src/compiler/
Dparser.ts3388 …const isLast = kind === SyntaxKind.NoSubstitutionTemplateLiteral || kind === SyntaxKind.TemplateTa…
3390 … return tokenText.substring(1, tokenText.length - (scanner.isUnterminated() ? 0 : isLast ? 1 : 2));
/third_party/typescript/lib/
DtypingsInstaller.js34394 …var isLast = kind === 14 /* SyntaxKind.NoSubstitutionTemplateLiteral */ || kind === 17 /* SyntaxKi…
34396 … return tokenText.substring(1, tokenText.length - (scanner.isUnterminated() ? 0 : isLast ? 1 : 2));
95793 …var isLast = node.kind === 14 /* SyntaxKind.NoSubstitutionTemplateLiteral */ || node.kind === 17 /…
95794 text = text.substring(1, text.length - (isLast ? 1 : 2));
Dtsc.js27869 var isLast = kind === 14 || kind === 17;
27871 … return tokenText.substring(1, tokenText.length - (scanner.isUnterminated() ? 0 : isLast ? 1 : 2));
80993 var isLast = node.kind === 14 || node.kind === 17;
80994 text = text.substring(1, text.length - (isLast ? 1 : 2));