/external/skia/tests/ |
PathOpsDLineTest.cpp | 24 const SkDLine& line = tests[index]; local 25 SkASSERT(ValidLine(line)); 27 SkPoint pts[2] = {line[0].asSkPoint(), line[1].asSkPoint()}; 29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); 30 SkDPoint mid = line.ptAtT(.5); 31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); 32 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY)) [all...] |
/external/skqp/tests/ |
PathOpsDLineTest.cpp | 24 const SkDLine& line = tests[index]; local 25 SkASSERT(ValidLine(line)); 27 SkPoint pts[2] = {line[0].asSkPoint(), line[1].asSkPoint()}; 29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); 30 SkDPoint mid = line.ptAtT(.5); 31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); 32 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY)) [all...] |
/bionic/libc/bionic/ |
assert.cpp | 35 void __assert(const char* file, int line, const char* failed_expression) { 36 async_safe_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression); 39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { 40 async_safe_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
|
/build/make/core/ |
filter_symbols.sh | 15 $NM -g -fp $1 | while read -a line 17 type=${line[1]} 20 echo "$PREFIX${line[0]}$SUFFIX # ${line[1]}"
|
/device/generic/goldfish/ril/ |
misc.c | 20 /** returns 1 if line starts with prefix, 0 if it does not */ 21 int strStartsWith(const char *line, const char *prefix) 23 for ( ; *line != '\0' && *prefix != '\0' ; line++, prefix++) { 24 if (*line != *prefix) {
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/ |
gUnitTestInput.java | 34 public int line; // line number in the script field in class:gUnitTestInput 36 public gUnitTestInput(String input, boolean isFile, int line) { 39 this.line = line;
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
CharStreamState.java | 32 * line, etc...) so that we can rewind the state after scanning ahead. 40 /** What line number is the scanner at before processing buffer[p]? */ 41 int line; field in class:CharStreamState 43 /** What char position 0..n-1 in line is scanner before processing buffer[p]? */
|
/external/clang/test/CodeGen/ |
debug-info-line.c | 1 // RUN: %clang_cc1 -w -debug-info-kind=line-tables-only -fexceptions -fcxx-exceptions -S -emit-llvm %s -o - | FileCheck %s 5 #line 100 11 // CHECK: [[DBG_F1]] = !DILocation(line: 100,
|
/external/clang/test/CodeGenCXX/ |
debug-info-line-if.cpp | 6 #line 100 14 // should be attributed to the loop header line. 20 #line 200 30 #line 300 40 #line 400 51 // CHECK-DAG: [[DBG1]] = !DILocation(line: 100, scope: !{{.*}}) 52 // CHECK-DAG: [[DBG2]] = !DILocation(line: 200, scope: !{{.*}}) 53 // CHECK-DAG: [[DBG3]] = !DILocation(line: 300, scope: !{{.*}}) 54 // CHECK-DAG: [[DBG4]] = !DILocation(line: 401, scope: !{{.*}}) 57 // CHECK-DAG: [[LDBG1]] = !DILocation(line: 100, scope: !{{.*}} [all...] |
/external/elfutils/libdwfl/ |
dwfl_dwarf_line.c | 1 /* Get information from a source line record returned by libdwfl. 37 dwfl_dwarf_line (Dwfl_Line *line, Dwarf_Addr *bias) 39 if (line == NULL) 42 struct dwfl_cu *cu = dwfl_linecu (line); 43 const Dwarf_Line *info = &cu->die.cu->lines->info[line->idx];
|
/external/grpc-grpc/src/core/lib/gprpp/ |
debug_location.h | 24 // Used for tracking file and line where a call is made for debug builds. 30 DebugLocation(const char* file, int line) : file_(file), line_(line) {} 33 int line() const { return line_; } function in class:grpc_core::DebugLocation 45 int line() const { return -1; }
|
/external/iproute2/include/iptables/ |
internal.h | 11 extern int line;
|
/external/iptables/include/iptables/ |
internal.h | 11 extern int line;
|
/external/llvm/test/MC/ARM/ |
full_line_comment.s | 2 # this is a full line comment starting at column 1 8 # .long 1 this line is commented out
|
/external/python/cpython3/Lib/test/subprocessdata/ |
qcat.py | 6 for line in sys.stdin: 7 sys.stdout.write(line)
|
/external/swiftshader/third_party/LLVM/test/MC/ARM/ |
full_line_comment.s | 2 # this is a full line comment starting at column 1 8 # .long 1 this line is commented out
|
/external/swiftshader/third_party/LLVM/test/MC/AsmParser/ |
directive_line.s | 4 .line 5 .line 1
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ARM/ |
full_line_comment.s | 2 # this is a full line comment starting at column 1 8 # .long 1 this line is commented out
|
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/ |
PluginFileReader.java | 14 for(String line: IOUtil.readLines(input)) { 15 String stripped = stripCommentAndWhitespace(line); 23 private static String stripCommentAndWhitespace(String line) { 24 int hash = line.indexOf('#'); 26 line = line.substring(0, hash); 28 return line.trim();
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
SourceLocation.h | 23 SourceLocation() : file(0), line(0) {} 24 SourceLocation(int f, int l) : file(f), line(l) {} 28 return (file == other.file) && (line == other.line); 32 int line; member in struct:pp::SourceLocation
|
/external/toolchain-utils/llvm_extra/ |
create_ebuild_file.py | 97 def process_line(line, text): 98 # Process the line and append to the text we want to generate. 99 # Check if line has any patterns that we want to handle. 100 newline = line.strip() 103 text.append(line) 104 elif line.startswith('SLOT='): 108 elif line.startswith('IUSE') and 'multitarget' in line: 110 newline = line.replace('multitarget', '+multitarget') 112 elif line.startswith('pkg_setup()') [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
conv.py | 69 for line in f:
71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line)
72 if not mo and line.strip():
74 line.strip())
121 lineno, line = lineno+1, f.next()
122 assert line == '#include "pgenheaders.h"\n', (lineno, line)
123 lineno, line = lineno+1, f.next()
124 assert line == '#include "grammar.h"\n', (lineno, line)
[all...] |
/external/python/cpython2/Lib/lib2to3/pgen2/ |
conv.py | 69 for line in f: 71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line) 72 if not mo and line.strip(): 74 line.strip()) 121 lineno, line = lineno+1, f.next() 122 assert line == '#include "pgenheaders.h"\n', (lineno, line) 123 lineno, line = lineno+1, f.next() 124 assert line == '#include "grammar.h"\n', (lineno, line) [all...] |
/external/python/cpython3/Lib/lib2to3/pgen2/ |
conv.py | 69 for line in f: 71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line) 72 if not mo and line.strip(): 74 line.strip())) 121 lineno, line = lineno+1, next(f) 122 assert line == '#include "pgenheaders.h"\n', (lineno, line) 123 lineno, line = lineno+1, next(f) 124 assert line == '#include "grammar.h"\n', (lineno, line) [all...] |
/external/squashfs-tools/squashfs-tools/ |
read_file.c | 38 * Read file, passing each line to parse_line() for 48 char *def, *err, *line = NULL; local 65 line = realloc(line, size += (MAX_LINE + 1)); 66 if(line == NULL) 70 err = fgets(line + total, MAX_LINE + 1, fd); 74 len = strlen(line + total); 77 if(len == MAX_LINE && line[total - 1] != '\n') { 78 /* line too large */ 79 ERROR("Line too long when reading [all...] |