Searched refs:bufstart (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/kernel/fs/doio/ |
D | write_log.c | 266 char buf[BSIZE * 32], *bufend, *cp, *bufstart; in wlog_scan_backward() local 291 bufstart = buf; in wlog_scan_backward() 302 bufstart = bufend - (offset + leftover); in wlog_scan_backward() 318 nbytes = read(fd, bufstart, bufend - bufstart - leftover); in wlog_scan_backward() 323 offset, fd, bufstart, in wlog_scan_backward() 324 (int)(bufend - bufstart - leftover), in wlog_scan_backward() 332 while (cp >= bufstart) { in wlog_scan_backward() 340 if (cp - bufstart < 2) { in wlog_scan_backward() 341 leftover = cp - bufstart; in wlog_scan_backward() 342 memcpy(bufend - leftover, bufstart, leftover); in wlog_scan_backward() [all …]
|
/external/python/cpython3/Tools/scripts/ |
D | fixdiv.py | 340 bufstart = self.lineno - len(self.buffer) 342 if bufstart <= index < self.lineno: 343 return self.buffer[index - bufstart]
|
/external/python/cpython2/Tools/scripts/ |
D | fixdiv.py | 340 bufstart = self.lineno - len(self.buffer) 342 if bufstart <= index < self.lineno: 343 return self.buffer[index - bufstart]
|
/external/libjpeg-turbo/ |
D | jcphuff.c | 403 emit_buffered_bits(phuff_entropy_ptr entropy, char *bufstart, in emit_buffered_bits() argument 410 emit_bits(entropy, (unsigned int)(*bufstart), 1); in emit_buffered_bits() 411 bufstart++; in emit_buffered_bits()
|
/external/python/cpython3/Modules/ |
D | overlapped.c | 855 char *bufstart, DWORD buflen) in do_ReadFile() argument 862 ret = ReadFile(handle, bufstart, buflen, &nread, in do_ReadFile() 954 char *bufstart, DWORD buflen, DWORD flags) in do_WSARecv() argument 961 wsabuf.buf = bufstart; in do_WSARecv()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 1594 final int bufstart = buf.length(); in subFormat() local 2070 if (fieldNum == 0 && capitalizationContext != null && buf.length() > bufstart && in subFormat() 2071 UCharacter.isLowerCase(buf.codePointAt(bufstart))) { in subFormat() 2096 … String firstField = buf.substring(bufstart); // bufstart or beginOffset, should be the same in subFormat() 2099 buf.replace(bufstart, buf.length(), firstFieldTitleCase); in subFormat() 2108 pos.setEndIndex(beginOffset + buf.length() - bufstart); in subFormat() 2112 pos.setEndIndex(beginOffset + buf.length() - bufstart); in subFormat()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SimpleDateFormat.java | 1582 final int bufstart = buf.length(); in subFormat() local 2058 if (fieldNum == 0 && capitalizationContext != null && buf.length() > bufstart && in subFormat() 2059 UCharacter.isLowerCase(buf.codePointAt(bufstart))) { in subFormat() 2084 … String firstField = buf.substring(bufstart); // bufstart or beginOffset, should be the same in subFormat() 2087 buf.replace(bufstart, buf.length(), firstFieldTitleCase); in subFormat() 2096 pos.setEndIndex(beginOffset + buf.length() - bufstart); in subFormat() 2100 pos.setEndIndex(beginOffset + buf.length() - bufstart); in subFormat()
|