/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
close_wsh.py | 42 line = request.ws_stream.receive_message() 43 if line is None: 45 code, reason = line.split(' ', 1)
|
/external/chromium_org/chrome/tools/convert_dict/ |
dic_reader.cc | 22 void SplitDicLine(const std::string& line, std::vector<std::string>* output) { 23 // We split the line on a slash not preceded by a backslash. A slash at the 24 // beginning of the line is not a separator either. 25 size_t slash_index = line.size(); 26 for (size_t i = 0; i < line.size(); i++) { 27 if (line[i] == '/' && i > 0 && line[i - 1] != '\\') { 37 std::string word = line.substr(0, slash_index); 42 if (slash_index < line.size() - 1) 43 output->push_back(line.substr(slash_index + 1)) 59 std::string line = ReadLine(file); local [all...] |
/external/chromium_org/net/websockets/ |
PRESUBMIT.py | 42 readme_added_filenames = set(line.strip() for line in readme[0].NewContents() 43 if line.strip() in added_source_filenames)
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
die.h | 17 // and line numbers. 34 static void SandboxDie(const char* msg, const char* file, int line) 41 static void SandboxInfo(const char* msg, const char* file, int line); 45 static void LogToStderr(const char* msg, const char* file, int line);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
revisionHistory.css | 66 .outline-disclosure.revision-history-drawer .revision-history-line { 71 .revision-history-drawer .webkit-line-number { 80 .revision-history-line-added { 84 .revision-history-line-removed { 88 .revision-history-line-separator .webkit-line-number {
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DynamicAnnotations.h | 82 WTF_EXPORT void WTFAnnotateBenignRaceSized(const char* file, int line, const volatile void* memory, long size, const char* description); 83 WTF_EXPORT void WTFAnnotateHappensBefore(const char* file, int line, const volatile void* address); 84 WTF_EXPORT void WTFAnnotateHappensAfter(const char* file, int line, const volatile void* address);
|
/external/chromium_org/third_party/angle/src/compiler/ |
InfoSink.cpp | 34 void TInfoSinkBase::location(int file, int line) { 36 if (line) 37 stream << file << ":" << line; local
|
/external/chromium_org/third_party/libjingle/source/talk/examples/login/ |
login_main.cc | 60 std::string line; local 61 while (std::getline(std::cin, line)) { 62 if (line == "quit")
|
/external/clang/tools/libclang/ |
CXLoadedDiagnostic.h | 66 /// \brief Decode the CXSourceLocation into file, line, column, and offset. 69 unsigned *line, 75 unsigned line; member in struct:clang::CXLoadedDiagnostic::Location 79 Location() : line(0), column(0), offset(0) {}
|
/external/embunit/inc/ |
AssertImpl.h | 42 void addFailure(const char *msg, long line, const char *file); /*TestCase.c*/ 44 void assertImplementationInt(int expected,int actual, long line, const char *file); 45 void assertImplementationCStr(const char *expected,const char *actual, long line, const char *file);
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateMapFileReader.java | 76 for (String line = reader.readLine(); line != null; line = reader.readLine()) { 77 // Process single line from the templateMapFile 79 processTemplateMapFileLine(line, reader.getLineNumber(), templateMap, templateMapFile, 90 private void processTemplateMapFileLine(String line, int lineNumber, 93 line = line.trim(); 94 if (line.isEmpty() || line.startsWith("#")) [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
StrictLineReaderTest.java | 36 String line = lineReader.readLine(); local 37 if (!refLine.equals(line)) { 38 fail("line (\"" + line + "\") differs from expected (\"" + refLine + "\")."); 41 fail("line reader threw EOFException too early."); 46 fail("line reader didn't throw the expected EOFException."); 60 "12 byte line\n18 byte line......\n" + 70 "line ending with CRLF\r\n" + 71 "this is a long line with embedded CR \r ending with CRLF and having more than " [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
ExternalSpdyExample.java | 44 String line; local 45 while ((line = reader.readLine()) != null) { 46 System.out.println(line);
|
/external/qemu/ |
keymaps.c | 75 char line[1024]; local 105 if (fgets(line, 1024, f) == NULL) 107 len = strlen(line); 108 if (len > 0 && line[len - 1] == '\n') 109 line[len - 1] = '\0'; 110 if (line[0] == '#') 112 if (!strncmp(line, "map ", 4)) 114 if (!strncmp(line, "include ", 8)) { 115 parse_keyboard_layout(table, line + 8, k); 117 char *end_of_keysym = line; [all...] |
/external/srec/portable/src/ |
pLastError.c | 23 void printGetLastErrorInternal(const LCHAR* text, char* file, int line) 48 pfprintf(PSTDERR, L("[%s:%d] %s: %s\n"), file, line, text, msg); 58 pfprintf(PSTDERR, "[%s:%d] %s, errno = %x\n", file, line, text, err);
|
/frameworks/native/opengl/tools/glgen/src/ |
ParameterChecker.java | 25 String line; local 26 while ((line = reader.readLine()) != null) { 27 String s = line.trim(); 34 // skip single-line comments
|
/libcore/luni/src/test/java/libcore/io/ |
StrictLineReaderTest.java | 40 String line = lineReader.readLine(); local 41 if (!refLine.equals(line)) { 42 fail("line (\""+line+"\") differs from expected (\""+refLine+"\")."); 45 fail("line reader threw EOFException too early."); 50 fail("line reader didn't throw the expected EOFException."); 67 "12 byte line\n18 byte line......\n" + 77 "line ending with CRLF\r\n" + 78 "this is a long line with embedded CR \r ending with CRLF and having more than " [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
multifile.py | 78 line = self.fp.readline() 80 if not line: 88 if self.is_data(line): 89 return line 92 marker = line.rstrip() 94 # Return the line (unstripped) if we don't. 103 return line 104 # We only get here if we see a section divider or EOM line 106 self.lastpos = self.tell() - len(line) 115 line = self.readline( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_linecache.py | 44 # Bad values for line number should return an empty string 58 for index, line in enumerate(open(filename)): 59 self.assertEqual(line, getline(filename, index + 1)) 64 for index, line in enumerate(open(filename)): 65 self.assertEqual(line, getline(filename, index + 1)) 106 for index, line in enumerate(source): 107 self.assertEqual(line, getline(source_name, index + 1)) 108 source_list.append(line) 117 for index, line in enumerate(source_list): 118 self.assertEqual(line, getline(source_name, index + 1) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
multifile.py | 78 line = self.fp.readline() 80 if not line: 88 if self.is_data(line): 89 return line 92 marker = line.rstrip() 94 # Return the line (unstripped) if we don't. 103 return line 104 # We only get here if we see a section divider or EOM line 106 self.lastpos = self.tell() - len(line) 115 line = self.readline( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_linecache.py | 44 # Bad values for line number should return an empty string 58 for index, line in enumerate(open(filename)): 59 self.assertEqual(line, getline(filename, index + 1)) 64 for index, line in enumerate(open(filename)): 65 self.assertEqual(line, getline(filename, index + 1)) 106 for index, line in enumerate(source): 107 self.assertEqual(line, getline(source_name, index + 1)) 108 source_list.append(line) 117 for index, line in enumerate(source_list): 118 self.assertEqual(line, getline(source_name, index + 1) [all...] |
/external/bison/src/ |
parse-gram.c | 75 /* Line 360 of yacc.c */ 76 #line 1 "parse-gram.y" 171 /* Line 360 of yacc.c */ 172 #line 173 "parse-gram.c" 337 /* Line 376 of yacc.c */ 338 #line 115 "parse-gram.y" 351 /* Line 376 of yacc.c */ 352 #line 353 "parse-gram.c" 391 /* Line 379 of yacc.c */ 392 #line 393 "parse-gram.c [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessage.java | 182 * Parse a vCard from a BMgsReader, where a line containing "BEGIN:VCARD" have just been read. 193 String line = reader.getLineEnforce(); local 195 while(!line.contains("END:VCARD")) { 196 line = line.trim(); 197 if(line.startsWith("N:")){ 198 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' 204 else if(line.startsWith("FN:")){ 205 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' 211 else if(line.startsWith("TEL:")) 306 String line = getLine(); local 324 String line = getLine(); local 339 String line = getLine(); local 376 String line = ""; local 534 String line; local 556 String line; local [all...] |
/build/tools/ |
filter-product-graph.py | 7 def choose_regex(regs, line): 9 m = reg.match(line) 37 lines = [line.strip() for line in lines] 39 for line in lines: 40 func,m = choose_regex(REGS, line)
|
/external/bison/examples/calc++/ |
calc++-parser.hh | 44 /* Line 33 of lalr1.cc */ 45 #line 10214 "../../doc/bison.texi" 51 /* Line 33 of lalr1.cc */ 52 #line 53 "../../../../examples/calc++/calc++-parser.hh" 67 /* Line 33 of lalr1.cc */ 68 #line 69 "../../../../examples/calc++/calc++-parser.hh" 78 /* Line 33 of lalr1.cc */ 79 #line 10267 "../../doc/bison.texi" 85 /* Line 33 of lalr1.cc */ 86 #line 87 "../../../../examples/calc++/calc++-parser.hh [all...] |