Home
last modified time | relevance | path

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

/external/toybox/toys/posix/
Duniq.c64 char *thisline = NULL, *prevline = NULL, *tmpline, eol = '\n'; in uniq_main() local
73 if (getdelim(&prevline, &prevsize, eol, infile) < 0) in uniq_main()
83 t2 = skip(prevline); in uniq_main()
86 t2 = prevline; in uniq_main()
99 print_line(outfile, prevline); in uniq_main()
103 tmpline = prevline; in uniq_main()
104 prevline = thisline; in uniq_main()
113 print_line(outfile, prevline); in uniq_main()
118 free(prevline); in uniq_main()
/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):