/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimify.py | 59 line = self.file.readline() 60 if not line: 61 return line 63 if line == self.boundary + '\n': 64 self.peek = line 66 if line == self.boundary + '--\n': 67 self.peek = line 69 return line 78 line = self.peek 81 line = self.file.readline( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimify.py | 59 line = self.file.readline() 60 if not line: 61 return line 63 if line == self.boundary + '\n': 64 self.peek = line 66 if line == self.boundary + '--\n': 67 self.peek = line 69 return line 78 line = self.peek 81 line = self.file.readline( [all...] |
/external/proguard/src/proguard/obfuscate/ |
MappingReader.java | 59 String line = reader.readLine(); local 61 if (line == null) 66 line = line.trim(); 70 if (line.endsWith(":")) 74 className = processClassMapping(line, mappingProcessor); 80 processClassMemberMapping(className, line, mappingProcessor); 103 * Parses the given line with a class mapping and processes the 107 private String processClassMapping(String line, 113 int arrowIndex = line.indexOf("->") [all...] |
/external/boringssl/src/crypto/ |
thread.c | 63 const char *file, int line)) {} 66 const char *file, int line) { 71 const char *file, int line)) {} 88 *dyn_create_function)(const char *file, int line)) {} 91 int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)) {} 94 struct CRYPTO_dynlock_value *l, const char *file, int line)) {} 97 const char *file, int line) { 103 const char *file, int line) { 108 struct CRYPTO_dynlock_value *l, const char *file, int line) {
|
/external/libffi/src/ |
debug.c | 41 void ffi_assert(char *expr, char *file, int line) 43 fprintf(stderr, "ASSERTION FAILURE: %s at %s:%d\n", expr, file, line); 50 void ffi_type_test(ffi_type *a, char *file, int line) 52 FFI_ASSERT_AT(a != NULL, file, line); 54 FFI_ASSERT_AT(a->type <= FFI_TYPE_LAST, file, line); 55 FFI_ASSERT_AT(a->type == FFI_TYPE_VOID || a->size > 0, file, line); 56 FFI_ASSERT_AT(a->type == FFI_TYPE_VOID || a->alignment > 0, file, line); 58 || a->elements != NULL, file, line); 62 file, line);
|
/external/pdfium/core/fxcodec/codec/ |
ccodec_scanlinedecoder.cpp | 33 const uint8_t* CCodec_ScanlineDecoder::GetScanline(int line) { 34 if (m_NextLine == line + 1) 37 if (m_NextLine < 0 || m_NextLine > line) { 42 while (m_NextLine < line) { 51 bool CCodec_ScanlineDecoder::SkipToScanline(int line, 53 if (m_NextLine == line || m_NextLine == line + 1) 56 if (m_NextLine < 0 || m_NextLine > line) { 61 while (m_NextLine < line) {
|
/external/toybox/scripts/ |
mktags.c | 14 char *line = 0, *s; local 17 len = getline(&line, &len, stdin); 19 while (len && isspace(line[len-1])) line[--len]=0; 21 // Very simple parser: If we haven't got a TAG then first line is TAG. 22 // Then look for { followed by "str" (must be on same line, may have 23 // more than one per line), for each one emit #define. Current TAG ended 24 // by ) at start of line. 27 if (!isalpha(*line)) { 28 fprintf(stderr, "bad tag %s\n", line); [all...] |
/external/valgrind/memcheck/tests/ |
client-msg-as-xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 42 <line>...</line> [all...] |
long_namespace_xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 43 <line>...</line> [all...] |
/external/libcups/cups/ |
md5passwd.c | 36 char line[256]; /* Line to sum */ local 43 snprintf(line, sizeof(line), "%s:%s:%s", username, realm, passwd); 45 _cupsMD5Append(&state, (unsigned char *)line, (int)strlen(line)); 70 char line[1024]; /* Line of data */ local 78 snprintf(line, sizeof(line), "%s:%s", method, resource) [all...] |
/system/extras/memory_replay/tests/ |
LineBufferTest.cpp | 41 line_data += "Single line with newline.\n"; 49 char* line; local 51 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); 52 ASSERT_STREQ("Single line with newline.", line); 53 ASSERT_EQ(sizeof("Single line with newline.") - 1, line_len); 55 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); 60 line_data += "Single line with no newline."; 68 char* line; local 70 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)) 89 char* line; local 118 char* line; local 148 char* line; local 183 char* line; local 218 char* line; local [all...] |
/bionic/libc/tools/ |
genserv.py | 43 for line in f.xreadlines(): 44 if len(line) > 0 and line[-1] == "\n": 45 line = line[:-1] 46 if len(line) > 0 and line[-1] == "\r": 47 line = line[:-1] 49 line = string.strip(line [all...] |
/external/autotest/tko/parsers/ |
version_0_unittest.py | 140 line = version_0.status_line(0, "START", "----", "test", 142 self.assertEquals(line.type, "START") 143 self.assertEquals(line.status, None) 154 line = version_0.status_line(0, stat, "----", "test", 156 self.assertEquals(line.type, "STATUS") 157 self.assertEquals(line.status, stat) 162 line = version_0.status_line(0, "END " + stat, "----", 164 self.assertEquals(line.type, "END") 165 self.assertEquals(line.status, stat) 177 line = version_0.status_line(5, "GOOD", "subdir_name" [all...] |
/external/libpng/scripts/ |
dfn.awk | 13 # the variable 'out', which should be set on the command line. 27 print "out=output.file must be given on the command line" 64 # A definition line, apparently correctly formatted; extract the 70 # if the quotes aren't closed and must read another line. In this 72 # are introduced #line directives. 74 line=$0 78 if (sub(/^[^"]*PNG_DFN *"/,"",line) != 1) { 79 print "line", lineno ": processing failed:" 110 if (line ~ /@"/) { 111 if (line ~ /@".*"@/) [all...] |
/external/python/cpython3/Tools/freeze/ |
parsesetup.py | 18 line = fp.readline() 20 line = pendingline + line 22 if not line: 24 if line.endswith('\\\n'): 25 pendingline = line[:-2] 26 matchobj = makevardef.match(line) 55 line = fp.readline() 57 line = pendingline + line [all...] |
/external/tpm2/ |
parsep4 | 20 # get rid of heading line numbers and spaces. 24 for line in big_line.splitlines(): 25 m = sec_num_in_comments.match(line) 27 line = line.replace(m.groups()[0], '') 28 postproc_buffer.append(line) 33 for line in source_lines: 34 text.append(line) 35 if line == '' and text[-2].startswith('') and text[-5] == '': 44 for line in text 73 line = '\/\/' + line variable [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
CharStream.as | 45 /** ANTLR tracks the line information automatically */ 46 function get line():int; 48 /** Because this stream can rewind, we need to be able to reset the line */ 49 function set line(line:int):void; 53 /** The index of the character relative to the beginning of the line 0..n-1 */
|
/external/autotest/client/site_tests/security_Minijail0/src/ |
test-caps | 19 while read line; do 20 if echo "$line" | grep -q '^CapEff:'; then 21 caps=$(echo "$line" | awk '{print $NF}')
|
/external/clang/ |
clang-version-inc.py | 23 for line in f: 24 line = line.strip() variable 26 line = line.replace(replace, to) variable 27 print line
|
/external/clang/test/ |
make_test_dirs.pl | 9 while ($line = <STDIN>) { 10 $line =~ /^\s*/; 12 if ($line =~ /\[([^\]]*)\]/) {
|
/external/compiler-rt/lib/builtins/ |
int_util.c | 30 void compilerrt_abort_impl(const char *file, int line, const char *function) { 31 panic("%s:%d: abort in %s", file, line, function); 37 NORETURN extern void __assert_rtn(const char *func, const char *file, int line, 44 void compilerrt_abort_impl(const char *file, int line, const char *function) { 45 __assert_rtn(function, file, line, "libcompiler_rt abort"); 57 void compilerrt_abort_impl(const char *file, int line, const char *function) {
|
/external/compiler-rt/test/msan/ |
getline.cc | 26 char *line = 0; local 28 int n = getline(&line, &len, fp); 30 assert(strcmp(line, "abcde\n") == 0); 32 n = getline(&line, &len, fp); 34 assert(strcmp(line, "12345\n") == 0); 36 free(line);
|
/external/elfutils/libdw/ |
dwarf_getsrc_file.c | 1 /* Find line information for given file/line/column triple. 67 /* Get the line number information for this file. */ 80 /* Search through all the line number records for a matching 81 file and line/column number. If any of the numbers is zero, 87 Dwarf_Line *line = &lines->info[cnt]; local 89 if (lastfile != line->file) 91 lastfile = line->file; 92 if (lastfile >= line->files->nfiles) 99 const char *fname2 = line->files->info[lastfile].name [all...] |
/external/libxml2/ |
build_glob.py | 19 def striplinesep(line): 20 while line and line[-1] in ('\r','\n'): 21 line = line[:-1] 22 return line 24 def writeline(file, line=None): 25 if line: 26 file.write(line) 41 for line in global_hdr [all...] |
/external/skia/tools/fiddle/ |
parse-fiddle-output | 8 while IFS= read -r line; do 9 type=$(echo $line | sed -n 's/[^"]*"\([^"]*\)":.*/\1/p') 18 echo $line | sed 's/[^"]*"[^"]*": "//; s/"\(,\|\)$//' \
|