/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
CheckLanguageCodeConverter.java | 54 Set<LanguageLine> lines = new TreeSet<LanguageLine>(); local 71 addLine(lines, badCode, goodCode, googleCode, cldrName); 80 addLine(lines, googleCode, goodCode, googleCode, cldrName); 86 addLine(lines, googleCode, goodCode, googleCode, cldrName); 93 addLine(lines, googleCode, goodCode, googleCode, cldrName); 95 for (LanguageLine entry : lines) { 100 for (LanguageLine entry : lines) { 189 public static void addLine(Set<LanguageLine> lines, String badCode, 192 lines.add(new LanguageLine(goodCode, goodCode, googleCode, cldrName)); 193 lines.add(new LanguageLine(goodCode, badCode, googleCode, cldrName)) [all...] |
/external/google-breakpad/src/testing/gtest/scripts/ |
pump.py | 163 def StartsWith(lines, pos, string): 164 """Returns True iff the given position in lines starts with 'string'.""" 166 return lines[pos.line][pos.column:].startswith(string) 174 # We found regex in lines 186 def FindFirst(lines, token_table, cursor): 187 """Finds the first occurrence of any string in strings in lines.""" 191 for line in lines[start.line:]: 202 return MakeToken(lines, found_start, found_end, token_type) 204 # We failed to find str in lines 208 def SubString(lines, start, end) [all...] |
/external/googletest/googletest/scripts/ |
pump.py | 163 def StartsWith(lines, pos, string): 164 """Returns True iff the given position in lines starts with 'string'.""" 166 return lines[pos.line][pos.column:].startswith(string) 174 # We found regex in lines 186 def FindFirst(lines, token_table, cursor): 187 """Finds the first occurrence of any string in strings in lines.""" 191 for line in lines[start.line:]: 202 return MakeToken(lines, found_start, found_end, token_type) 204 # We failed to find str in lines 208 def SubString(lines, start, end) [all...] |
common.py | 47 """Runs the shell command and returns its stdout as a list of lines.""" 50 lines = [line.strip() for line in f.readlines()] 52 return lines
|
/external/python/cpython2/Lib/test/ |
test_fileinput.py | 18 # Write lines (a list of lines) to temp file number i, and return the 20 def writeTmp(i, lines, mode='w'): # opening in text mode is the default 23 f.writelines(lines) 53 lines = [] 58 return lines 59 lines.append(line) 62 return lines 87 lines = list(fi) 89 self.assertEqual(len(lines), 31 [all...] |
test_multifile.py | 54 lines = mf.readlines() 55 linecount += len(lines)
|
/art/compiler/ |
cfi_test.h | 40 std::vector<std::string> lines; local 59 ReformatCfi(Objdump(false, "-W"), &lines); local 74 ReformatAsm(&stream, &lines); 76 std::stable_sort(lines.begin(), lines.end(), CompareByAddress); 77 for (const std::string& line : lines) { 91 // Spit to lines and remove raw instruction bytes. 109 // Find interesting parts of objdump output and prefix the lines with address. 110 static void ReformatCfi(const std::vector<std::string>& lines, 113 for (const std::string& line : lines) { [all...] |
/development/scripts/ |
stack | 69 lines = f.readlines() 72 stack_core.ConvertTrace(lines)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_multifile.py | 54 lines = mf.readlines()
55 linecount += len(lines)
|
/external/autotest/client/site_tests/hardware_Badblocks/ |
hardware_Badblocks.py | 108 lines = stdout.split('\n') 109 del lines[-1] # Remove blank line at end. 110 logging.info(lines[0]) 111 logging.info(lines[1]) 113 for line in lines[2:-1]: 123 logging.info(lines[-1]) 126 min_sec = re.match(r'(\w+):(\w+)', lines[-2].split()[-4]) 134 result = lines[-1].strip()
|
/external/autotest/client/site_tests/platform_PrinterPpds/ |
helpers.py | 25 # Split by newline character and filter out problematic lines 26 lines = doc.split('\n') 27 for i, line in enumerate(lines): 34 lines[i] = '' 35 doc = '\n'.join(lines) 65 lines = file_digests.read().splitlines() 66 for line in lines: 110 lines = file_blacklist.readlines() 113 for entry in lines:
|
/external/boringssl/src/util/ |
convert_comments.go | 38 // the initial line or ' *' for subsequent lines, where N is the same for 71 // A lineGroup is a contiguous group of lines with an eligible comment at the 78 lines []string 85 (*groups)[len(*groups)-1].lines = append((*groups)[len(*groups)-1].lines, line) 95 lines := strings.Split(string(in), "\n") 98 if len(lines) > 0 && len(lines[len(lines)-1]) == 0 { 99 lines = lines[:len(lines)-1 [all...] |
/external/brotli/scripts/dictionary/ |
step-02-rfc-to-bin.py | 11 lines = rfc.readlines() variable 17 for line in lines:
|
/external/catch2/examples/ |
301-Gen-MapTypeConversion.cpp | 11 // Returns a line from a stream. You could have it e.g. read lines from 37 Catch::Generators::GeneratorWrapper<std::string> lines(std::string /* ignored for example */) { function 49 lines("fake-file")));
|
/external/doclava/test/com/google/doclava/ |
StubsTest.java | 101 private static String parseLicenseHeader(String... lines) throws IOException { 103 for (String line : lines) {
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
T_S_I_V_.py | 20 lines = strjoin(content).split("\n") 21 self.data = tobytes("\r".join(lines[1:-1]))
|
asciiTable.py | 21 lines = strjoin(content).split("\n") 22 self.data = tobytes("\n".join(lines[1:-1]))
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
dicttrieperf.cpp | 54 // Skip comment lines (start with a character below 'A'). 55 if(lines[i].name[0]>=0x41) { 58 int32_t len=lines[i].len; 60 while(len>0 && ((c=lines[i].name[len-1])==0xa || c==0xd)) { 63 lines[i].len=len; 74 const ULine *getCachedLines() const { return lines; } 76 int32_t numTextLines; // excluding comment lines 412 const ULine *lines=perf.getCachedLines(); local 415 // Skip comment lines (start with a character below 'A'). 416 if(lines[i].name[0]<0x41) 445 const ULine *lines=perf.getCachedLines(); local 469 const ULine *lines=perf.getCachedLines(); local 515 const ULine *lines=perf.getCachedLines(); local 594 const ULine *lines=perf.getCachedLines(); local 621 const ULine *lines=perf.getCachedLines(); local [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpPutRequestTest.java | 70 List<String> lines = readLinesFromFile(reader); local 71 assertLinesOfText(expectedInputToServeMethodViaFile, lines);
|
/external/pdfium/core/fxcodec/jbig2/ |
JBig2_GrrdProc.h | 37 const uint32_t* lines, 41 uint32_t* lines,
|
/external/skia/tests/ |
PathOpsCubicIntersectionTestData.h | 14 extern const CubicPts lines[];
|
/external/skqp/tests/ |
PathOpsCubicIntersectionTestData.h | 14 extern const CubicPts lines[];
|
/external/toybox/tests/ |
wc.test | 11 lines
|
/external/v8/src/inspector/build/ |
check_injected_script_source.py | 41 lines = f.readlines() 69 for i, line in enumerate(lines):
|
/build/make/tools/ |
filter-product-graph.py | 36 lines = sys.stdin.readlines() 37 lines = [line.strip() for line in lines] 39 for line in lines:
|