Lines Matching refs:buffer
26 // If the buffer ends in the middle of a UTF-8 sequence then we return
28 // sequence. If the buffer ends with a valid UTF-8 sequence then we
29 // return the whole buffer.
30 static int LengthWithoutIncompleteUtf8(char* buffer, int len) {
49 int c = buffer[answer - 1];
293 char buffer[kStdoutReadBufferSize];
302 read(child_fd, buffer + fullness, kStdoutReadBufferSize - fullness));
319 buffer, bytes_read + fullness);
321 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, length)
325 memcpy(buffer, buffer + length, fullness);