Home
last modified time | relevance | path

Searched refs:prevline (Results 1 – 12 of 12) sorted by relevance

/external/toybox/toys/posix/
Duniq.c62 char *thisline = 0, *prevline = 0, *tmpline, eol = '\n'; in uniq_main() local
71 if (getdelim(&prevline, &prevsize, eol, infile) < 0) return; in uniq_main()
80 t2 = skip(prevline); in uniq_main()
83 t2 = prevline; in uniq_main()
92 print_line(outfile, prevline); in uniq_main()
96 tmpline = prevline; in uniq_main()
97 prevline = thisline; in uniq_main()
106 print_line(outfile, prevline); in uniq_main()
111 free(prevline); in uniq_main()
/external/python/cpython2/Lib/
Dquopri.py69 prevline = None
89 if prevline is not None:
90 write(prevline)
100 prevline = thisline
102 if prevline is not None:
103 write(prevline, lineEnd=stripped)
/external/vulkan-validation-layers/scripts/
Dcheck_commit_message_format.sh47 prevline=""
83 echo " '$prevline'"
94 prevline=$line
/external/python/cpython3/Lib/
Dquopri.py69 prevline = None
90 if prevline is not None:
91 write(prevline)
101 prevline = thisline
103 if prevline is not None:
104 write(prevline, lineEnd=stripped)
/external/u-boot/scripts/
Dcheckpatch.pl2224 my $prevline="";
2415 ($prevline, $stashline) = ($stashline, $line);
3086 …$prevline =~ /^\+([ \t]*)((?:$c90_Keywords(?:\s+if)\s*)|(?:$Declare\s*)?(?:$Ident|\(\s*\*\s*$Ident…
3087 $prevline =~ /^\+(\t*)(.*)$/;
3142 if ($prevline =~ /$;[ \t]*$/ && #ends in comment
3161 if ($prevline =~ /$;[ \t]*$/ && #ends in comment
3186 if ($prevline =~ /^[\+ ]};?\s*$/ &&
3205 if ($prevline =~ /^[\+ ]\s*$/ &&
3220 ($prevline =~ /^\+\s+$Declare\s*$Ident\s*[=,;:\[]/ ||
3222 $prevline =~ /^\+\s+$Declare\s*\(\s*\*\s*$Ident\s*\)\s*[=,;:\[\(]/ ||
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/vim/indent/
Dllvm.vim64 let prevline = getline(prev_lnum)
67 if prevline =~ '{\s*$' || prevline =~ ':\s*$'
/external/llvm/utils/vim/indent/
Dllvm.vim64 let prevline = getline(prev_lnum)
67 if prevline =~ '{\s*$' || prevline =~ ':\s*$'
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py2560 prevline = clean_lines.elided[prevlinenum]
2561 if not IsBlankLine(prevline): # if not a blank line...
2562 return (prevline, prevlinenum)
2587 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
2588 if (not Search(r'[;:}{]\s*$', prevline) and
2589 not Match(r'\s*#', prevline)):
2595 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
2596 if Match(r'\s*}\s*$', prevline):
2631 (prevline, prevlinenum) = GetPreviousNonBlankLine(clean_lines, prevlinenum)
2632 if Match(r'\s+{.*}\s*;', line) and not prevline.count(';'):
[all …]
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp4093 unsigned char* prevline = 0; in unfilter() local
4105 …CERROR_TRY_RETURN(unfilterScanline(&out[outindex], &in[inindex + 1], prevline, bytewidth, filterTy… in unfilter()
4107 prevline = &out[outindex]; in unfilter()
5158 …id filterScanline(unsigned char* out, const unsigned char* scanline, const unsigned char* prevline, in filterScanline() argument
5168 if(prevline) in filterScanline()
5180 if(prevline) in filterScanline()
5182 for(i = 0; i < length; i++) out[i] = scanline[i] - prevline[i]; in filterScanline()
5190 if(prevline) in filterScanline()
5192 for(i = 0; i < bytewidth; i++) out[i] = scanline[i] - prevline[i] / 2; in filterScanline()
5193 …= bytewidth; i < length; i++) out[i] = scanline[i] - ((scanline[i - bytewidth] + prevline[i]) / 2); in filterScanline()
[all …]
/external/libvpx/libvpx/tools/
Dcpplint.py2951 prevline = clean_lines.elided[prevlinenum]
2952 if not IsBlankLine(prevline): # if not a blank line...
2953 return (prevline, prevlinenum)
2978 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
2979 if (not Search(r'[,;:}{(]\s*$', prevline) and
2980 not Match(r'\s*#', prevline)):
2986 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
2987 if Match(r'\s*}\s*$', prevline):
3112 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
3113 if prevline and Search(r'[;{}]\s*$', prevline):
/external/libaom/libaom/tools/
Dcpplint.py2951 prevline = clean_lines.elided[prevlinenum]
2952 if not IsBlankLine(prevline): # if not a blank line...
2953 return (prevline, prevlinenum)
2978 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
2979 if (not Search(r'[,;:}{(]\s*$', prevline) and
2980 not Match(r'\s*#', prevline)):
2986 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
2987 if Match(r'\s*}\s*$', prevline):
3112 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
3113 if prevline and Search(r'[;{}]\s*$', prevline):
/external/google-styleguide/cpplint/
Dcpplint.py3723 prevline = clean_lines.elided[prevlinenum]
3724 if not IsBlankLine(prevline): # if not a blank line...
3725 return (prevline, prevlinenum)
3752 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
3753 if (not Search(r'[,;:}{(]\s*$', prevline) and
3754 not Match(r'\s*#', prevline) and
3755 not (GetLineWidth(prevline) > _line_length - 2 and '[]' in prevline)):
3761 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
3762 if Match(r'\s*}\s*$', prevline):
3968 prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]
[all …]