Home
last modified time | relevance | path

Searched refs:countNewlines (Results 1 – 25 of 123) sorted by relevance

12345

/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/core/
H A DStringUtilsTests.cpp91 expect_true(countNewlines(str) == 0);
97 expect_true(countNewlines(str) == 3);
103 expect_true(countNewlines(str) == 2);
H A DStringUtils.cpp682 std::size_t countNewlines(const std::wstring& string) in countNewlines() function
689 std::size_t countNewlines(const std::string& string) in countNewlines() function
696 std::size_t countNewlines(std::string::iterator begin, in countNewlines() function
704 std::size_t countNewlines(std::wstring::iterator begin, in countNewlines() function
712 std::wstring::const_iterator countNewlines(std::wstring::const_iterator begin, in countNewlines() function
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/core/include/core/
H A DStringUtils.hpp233 std::size_t countNewlines(const std::wstring& string);
234 std::size_t countNewlines(const std::string& string);
236 std::size_t countNewlines(std::string::iterator begin,
239 std::size_t countNewlines(std::wstring::iterator begin,
242 std::wstring::const_iterator countNewlines(std::wstring::const_iterator begin,
/dports/devel/jsonnet/jsonnet-0.17.0/core/
H A Dlexer.h200 static inline int countNewlines(const FodderElement &elem) in countNewlines() function
211 static inline int countNewlines(const Fodder &fodder) in countNewlines() function
215 sum += countNewlines(elem); in countNewlines()
H A Dformatter.cpp1010 if (countNewlines(open_fodder(elem.expr)) > 0) { in shouldExpand()
1014 if (countNewlines(array->closeFodder) > 0) { in shouldExpand()
1043 if (countNewlines(object->closeFodder) > 0) { in shouldExpand()
1060 if (countNewlines(bind.varFodder) > 0) { in shouldExpand()
1080 if (countNewlines(open_fodder(comp->body)) > 0) { in shouldExpand()
1084 if (countNewlines(spec.openFodder) > 0) { in shouldExpand()
1088 if (countNewlines(comp->closeFodder) > 0) { in shouldExpand()
1111 if (countNewlines(spec.openFodder) > 0) { in shouldExpand()
1115 if (countNewlines(comp->closeFodder) > 0) { in shouldExpand()
1135 countNewlines(parens->closeFodder) > 0; in shouldExpand()
[all …]
/dports/devel/py-jsonnet/jsonnet-0.17.0/core/
H A Dlexer.h200 static inline int countNewlines(const FodderElement &elem) in countNewlines() function
211 static inline int countNewlines(const Fodder &fodder) in countNewlines() function
215 sum += countNewlines(elem); in countNewlines()
H A Dformatter.cpp1010 if (countNewlines(open_fodder(elem.expr)) > 0) { in shouldExpand()
1014 if (countNewlines(array->closeFodder) > 0) { in shouldExpand()
1043 if (countNewlines(object->closeFodder) > 0) { in shouldExpand()
1060 if (countNewlines(bind.varFodder) > 0) { in shouldExpand()
1080 if (countNewlines(open_fodder(comp->body)) > 0) { in shouldExpand()
1084 if (countNewlines(spec.openFodder) > 0) { in shouldExpand()
1088 if (countNewlines(comp->closeFodder) > 0) { in shouldExpand()
1111 if (countNewlines(spec.openFodder) > 0) { in shouldExpand()
1115 if (countNewlines(comp->closeFodder) > 0) { in shouldExpand()
1135 countNewlines(parens->closeFodder) > 0; in shouldExpand()
[all …]
/dports/textproc/sift/sift-0.9.0/
H A Dmatching_amd64.go18 func countNewlines(input []byte, length int) int func
H A Dmatching_other.go39 func countNewlines(input []byte, length int) int { func
/dports/lang/gcc48/gcc-4.8.5/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/mingw32-gcc/gcc-4.8.1/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/lang/gcc8/gcc-8.5.0/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/riscv64-gcc/gcc-8.3.0/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/text/scanner/
H A Dscanner_test.go255 func countNewlines(s string) int { func
275 line += countNewlines(k.text) + 1 // each token is on a new line
302 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/lang/gcc12-devel/gcc-12-20211205/libgo/go/text/scanner/
H A Dscanner_test.go263 func countNewlines(s string) int { func
283 line += countNewlines(k.text) + 1 // each token is on a new line
331 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/text/scanner/
H A Dscanner_test.go263 func countNewlines(s string) int { func
283 line += countNewlines(k.text) + 1 // each token is on a new line
331 pos.Line += countNewlines(k.text) + 1 // each token is on a new line
/dports/lang/gcc11/gcc-11.2.0/libgo/go/text/scanner/
H A Dscanner_test.go263 func countNewlines(s string) int { func
283 line += countNewlines(k.text) + 1 // each token is on a new line
331 pos.Line += countNewlines(k.text) + 1 // each token is on a new line

12345