Home | History | Annotate | Download | only in src

Lines Matching refs:buffer

408   char* buffer = static_cast<char*>(malloc(len + 3));
409 full_pattern_ = buffer;
412 *buffer++ = '^'; // Makes sure full_pattern_ starts with '^'.
416 memcpy(buffer, regex, len);
417 buffer += len;
420 *buffer++ = '$'; // Makes sure full_pattern_ ends with '$'.
422 *buffer = '\0';
588 char* const buffer = new char[file_size];
598 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
602 const String content(buffer, bytes_read);
603 delete[] buffer;