Home
last modified time | relevance | path

Searched refs:indents (Results 1 – 25 of 50) sorted by relevance

12

/third_party/node/deps/npm/node_modules/detect-indent/
Dindex.js7 function getMostUsed(indents) { argument
12 for (const entry of indents) {
51 const indents = new Map(); constant
88 current = indents.get(isIndent ? diff : -diff);
94 indents.set(diff, current);
102 const amount = getMostUsed(indents);
/third_party/python/Lib/lib2to3/pgen2/
Dtokenize.py201 indents = []
215 indents.append(tokval)
218 indents.pop()
222 elif startline and indents:
223 toks_append(indents[-1])
354 indents = [0]
419 if column > indents[-1]: # count indents or dedents
420 indents.append(column)
422 while column < indents[-1]:
423 if column not in indents:
[all …]
/third_party/python/Lib/
Dtokenize.py187 indents = []
200 indents.append(token)
203 indents.pop()
208 elif startline and indents:
209 indent = indents[-1]
223 indents = []
246 indents.append(tokval)
249 indents.pop()
253 elif startline and indents:
254 toks_append(indents[-1])
[all …]
Dtabnanny.py282 indents = [Whitespace("")]
297 if not indents[-1].less(thisguy):
298 witness = indents[-1].not_less_witness(thisguy)
301 indents.append(thisguy)
315 del indents[-1]
326 if not indents[-1].equal(thisguy):
327 witness = indents[-1].not_equal_witness(thisguy)
Dtextwrap.py439 indents = _leading_whitespace_re.findall(text)
440 for indent in indents:
Ddoctest.py779 indents = [len(indent) for indent in self._INDENT_RE.findall(s)]
780 if len(indents) > 0:
781 return min(indents)
/third_party/python/Lib/idlelib/idle_test/
Dtest_format.py582 indents = ft.Indents(editor)
585 indents.toggle_tabs_event(None)
589 indents.toggle_tabs_event(None)
596 indents = ft.Indents(editor)
599 indents.change_indentwidth_event(None)
603 indents.change_indentwidth_event(None)
608 indents.change_indentwidth_event(None)
/third_party/flutter/txt/src/minikin/
DLineBreaker.h62 void setIndents(const std::vector<float>& indents) { mIndents = indents; } in setIndents() argument
123 void setIndents(const std::vector<float>& indents);
DLineBreaker.cpp107 void LineBreaker::setIndents(const std::vector<float>& indents) { in setIndents() argument
108 mLineWidths.setIndents(indents); in setIndents()
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DLineBreaker.h68 void setIndents(const std::vector<float>& indents) { mIndents = indents; } in setIndents() argument
129 void setIndents(const std::vector<float>& indents);
DLineBreaker.cpp101 void LineBreaker::setIndents(const std::vector<float>& indents) { in setIndents() argument
102 mLineWidths.setIndents(indents); in setIndents()
/third_party/googletest/googletest/src/hwext/
Dgtest-tag.cc30 void TestFlag::printHelp(const char** indents) const in printHelp()
34 printf("%s--gtest_%s=(", indents[0], naming()); in printHelp()
40 printf("%s%s\n", indents[1], description()); in printHelp()
Dgtest-filter.cc31 const char* indents[] = { " ", " " }; in printHelp() local
34 sets.at(i)->printHelp(indents); in printHelp()
37 … printf("%sSelect tests by test level, may be a list seperated by ',' or ';'.\n", indents[1]); in printHelp()
/third_party/PyYAML/lib/yaml/
Demitter.py57 self.indents = []
147 self.indents.append(self.indent)
269 self.indent = self.indents.pop()
282 self.indent = self.indents.pop()
294 self.indent = self.indents.pop()
318 self.indent = self.indents.pop()
335 self.indent = self.indents.pop()
378 self.indent = self.indents.pop()
397 self.indent = self.indents.pop()
Dscanner.py79 self.indents = []
346 self.indent = self.indents.pop()
352 self.indents.append(self.indent)
/third_party/flutter/skia/third_party/externals/dawn/
D.clang-format8 # Use 4 space indents
/third_party/skia/third_party/externals/dawn/
D.clang-format8 # Use 4 space indents
/third_party/glib/
D.clang-format10 # existing hanging indents.
/third_party/googletest/googletest/include/gtest/hwext/
Dgtest-tag.h52 void printHelp(const char** indents) const;
/third_party/python/Doc/library/
Dtabnanny.rst60 .. XXX document errprint, format_witnesses, Whitespace, check_equal, indents,
/third_party/python/Tools/clinic/
Dclinic.py3837 self.indents = []
3841 if not self.indents:
3855 return self.indents[-1]
3868 if not self.indents:
3869 self.indents.append(indent)
3872 current = self.indents[-1]
3876 self.indents.append(indent)
3880 if indent not in self.indents:
3884 self.indents.pop()
3885 current = self.indents[-1]
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_txt.h95 void SetIndents(const std::vector<float>& indents);
/third_party/flutter/txt/src/txt/
Dparagraph_txt.h129 void SetIndents(const std::vector<float>& indents);
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.cc1869 absl::InlinedVector<int, kInlinedVectorSize> indents; in DumpNode() local
1881 indents.push_back(indent); in DumpNode()
1905 indent = indents.back(); in DumpNode()
1906 indents.pop_back(); in DumpNode()
1909 ABSL_INTERNAL_CHECK(indents.empty(), ""); in DumpNode()
/third_party/python/Tools/scripts/
DREADME56 reindent.py Change .py files to use 4-space indents

12