buffer 75 android_webview/browser/net/android_stream_reader_url_request_job.cc int ReadRawData(net::IOBuffer* buffer, int buffer_size) { buffer 76 android_webview/browser/net/android_stream_reader_url_request_job.cc return input_stream_reader_->ReadRawData(buffer, buffer_size); buffer 115 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc MOCK_METHOD2(ReadRawData, int(net::IOBuffer* buffer, int buffer_size)); buffer 42 android_webview/browser/net/input_stream_reader.h virtual int ReadRawData(net::IOBuffer* buffer, int buffer_size); buffer 53 android_webview/browser/net/input_stream_reader_unittest.cc int ReadRawData(scoped_refptr<net::IOBuffer> buffer, int bytesToRead) { buffer 54 android_webview/browser/net/input_stream_reader_unittest.cc return input_stream_reader_.ReadRawData(buffer.get(), bytesToRead); buffer 146 android_webview/browser/net/input_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(bytesToRead); buffer 147 android_webview/browser/net/input_stream_reader_unittest.cc EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull())) buffer 150 android_webview/browser/net/input_stream_reader_unittest.cc ASSERT_GT(0, ReadRawData(buffer, bytesToRead)); buffer 156 android_webview/browser/net/input_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(1); buffer 157 android_webview/browser/net/input_stream_reader_unittest.cc EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull())) buffer 160 android_webview/browser/net/input_stream_reader_unittest.cc ASSERT_EQ(0, ReadRawData(buffer, bytesToRead)); buffer 165 android_webview/browser/net/input_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(bytesToRead); buffer 167 android_webview/browser/net/input_stream_reader_unittest.cc EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull())) buffer 171 android_webview/browser/net/input_stream_reader_unittest.cc ASSERT_EQ(bytesToRead, ReadRawData(buffer, bytesToRead)); buffer 78 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java byte[] buffer = new byte[buflen]; buffer 79 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java int len = in.read(buffer, 0, buflen); buffer 81 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java os.write(buffer, 0, len); buffer 83 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java len = in.read(buffer, 0, buflen); buffer 89 android_webview/native/input_stream_impl.cc jbyteArray buffer = buffer_.obj(); buffer 95 android_webview/native/input_stream_impl.cc env, jobject_.obj(), buffer, 0, max_transfer_length); buffer 109 android_webview/native/input_stream_impl.cc DCHECK_GE(env->GetArrayLength(buffer), transfer_length); buffer 118 android_webview/native/input_stream_impl.cc env->GetByteArrayRegion(buffer, 0, transfer_length, buffer 54 android_webview/native/input_stream_unittest.cc scoped_refptr<IOBuffer> buffer = new IOBuffer(bytes_requested); buffer 56 android_webview/native/input_stream_unittest.cc EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read)); buffer 57 android_webview/native/input_stream_unittest.cc return buffer; buffer 71 android_webview/native/input_stream_unittest.cc scoped_refptr<IOBuffer> buffer = new IOBuffer(bytes_requested); buffer 73 android_webview/native/input_stream_unittest.cc EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read)); buffer 101 android_webview/native/input_stream_unittest.cc scoped_refptr<IOBuffer> buffer = buffer 105 android_webview/native/input_stream_unittest.cc EXPECT_EQ(i, (unsigned char)buffer->data()[i]); buffer 796 ash/sticky_keys/sticky_keys_unittest.cc EventBuffer buffer; buffer 800 ash/sticky_keys/sticky_keys_unittest.cc Shell::GetInstance()->AddPreTargetHandler(&buffer); buffer 805 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 811 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 824 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 831 ash/sticky_keys/sticky_keys_unittest.cc Shell::GetInstance()->RemovePreTargetHandler(&buffer); buffer 845 ash/sticky_keys/sticky_keys_unittest.cc EventBuffer buffer; buffer 849 ash/sticky_keys/sticky_keys_unittest.cc Shell::GetInstance()->AddPreTargetHandler(&buffer); buffer 854 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 862 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 874 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 884 ash/sticky_keys/sticky_keys_unittest.cc Shell::GetInstance()->RemovePreTargetHandler(&buffer); buffer 894 ash/sticky_keys/sticky_keys_unittest.cc EventBuffer buffer; buffer 898 ash/sticky_keys/sticky_keys_unittest.cc Shell::GetInstance()->AddPreTargetHandler(&buffer); buffer 903 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 910 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 923 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 928 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); buffer 938 ash/sticky_keys/sticky_keys_unittest.cc Shell::GetInstance()->RemovePreTargetHandler(&buffer); buffer 19 base/allocator/allocator_extension.cc void GetStats(char* buffer, int buffer_length) { buffer 23 base/allocator/allocator_extension.cc get_stats_function(buffer, buffer_length); buffer 25 base/allocator/allocator_extension.cc buffer[0] = '\0'; buffer 32 base/allocator/allocator_extension.h BASE_EXPORT void GetStats(char* buffer, int buffer_length); buffer 23 base/allocator/allocator_extension_thunks.h typedef void (*GetStatsFunction)(char* buffer, int buffer_length); buffer 221 base/allocator/allocator_shim.cc static void get_stats_thunk(char* buffer, int buffer_length) { buffer 222 base/allocator/allocator_shim.cc MallocExtension::instance()->GetStats(buffer, buffer_length); buffer 353 base/allocator/allocator_shim.cc char buffer[20]; buffer 354 base/allocator/allocator_shim.cc getenv_s(&secondary_length, buffer, sizeof(buffer), secondary_name); buffer 355 base/allocator/allocator_shim.cc DCHECK_GT(sizeof(buffer), secondary_length); buffer 356 base/allocator/allocator_shim.cc buffer[sizeof(buffer) - 1] = '\0'; buffer 362 base/allocator/allocator_shim.cc const char* secondary_value = secondary_length ? buffer : "TCMALLOC"; buffer 27 base/allocator/allocator_unittest.cc static void Fill(unsigned char* buffer, int n) { buffer 29 base/allocator/allocator_unittest.cc buffer[i] = (i & 0xff); buffer 35 base/allocator/allocator_unittest.cc static bool Valid(unsigned char* buffer, int n) { buffer 37 base/allocator/allocator_unittest.cc if (buffer[i] != (i & 0xff)) { buffer 45 base/allocator/allocator_unittest.cc static bool IsZeroed(unsigned char* buffer, int n) { buffer 47 base/allocator/allocator_unittest.cc if (buffer[i] != 0) { buffer 10 base/allocator/unittest_utils.cc inline int snprintf(char* buffer, size_t count, const char* format, ...) { buffer 14 base/allocator/unittest_utils.cc result = _vsnprintf(buffer, count, format, args); buffer 121 base/android/java/src/org/chromium/base/CommandLine.java char[] buffer = readUtf8FileFully(file, 8 * 1024); buffer 122 base/android/java/src/org/chromium/base/CommandLine.java init(buffer == null ? null : tokenizeQuotedAruments(buffer)); buffer 142 base/android/java/src/org/chromium/base/CommandLine.java public static String[] tokenizeQuotedAruments(char[] buffer) { buffer 149 base/android/java/src/org/chromium/base/CommandLine.java for (char c : buffer) { buffer 228 base/android/java/src/org/chromium/base/CommandLine.java char[] buffer = new char[(int) fileLength]; buffer 230 base/android/java/src/org/chromium/base/CommandLine.java int charsRead = reader.read(buffer); buffer 234 base/android/java/src/org/chromium/base/CommandLine.java return charsRead < buffer.length ? Arrays.copyOfRange(buffer, 0, charsRead) : buffer; buffer 170 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java byte[] buffer = new byte[16 * 1024]; buffer 171 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java while ((count = is.read(buffer)) > 0) { buffer 172 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java os.write(buffer, 0, count); buffer 74 base/async_socket_io_handler.h bool Read(char* buffer, int buffer_len); buffer 45 base/async_socket_io_handler_posix.cc bool AsyncSocketIoHandler::Read(char* buffer, int buffer_len) { buffer 52 base/async_socket_io_handler_posix.cc int bytes_read = HANDLE_EINTR(read(socket_, buffer, buffer_len)); buffer 55 base/async_socket_io_handler_posix.cc pending_buffer_ = buffer; buffer 71 base/async_socket_io_handler_unittest.cc const void* buffer, buffer 73 base/async_socket_io_handler_unittest.cc socket->Send(buffer, length); buffer 91 base/async_socket_io_handler_unittest.cc EXPECT_EQ(strcmp(reader.buffer(), kAsyncSocketIoTestString), 0); buffer 113 base/async_socket_io_handler_unittest.cc EXPECT_EQ(strcmp(reader.buffer(), kAsyncSocketIoTestString), 0); buffer 41 base/async_socket_io_handler_win.cc bool AsyncSocketIoHandler::Read(char* buffer, int buffer_len) { buffer 48 base/async_socket_io_handler_win.cc BOOL ok = ::ReadFile(socket_, buffer, buffer_len, &bytes_read, buffer 21 base/debug/debugger_win.cc const wchar_t* value_name, wchar_t* buffer, int* len) { buffer 31 base/debug/debugger_win.cc reinterpret_cast<BYTE*>(buffer), &buffer_size); buffer 34 base/debug/debugger_win.cc buffer[*len - 1] = 0; buffer 35 base/debug/debugger_win.cc *len = lstrlen(buffer); buffer 62 base/debug/proc_maps_linux.cc void* buffer = &(*proc_maps)[pos]; buffer 64 base/debug/proc_maps_linux.cc ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize)); buffer 156 base/debug/stack_trace_unittest.cc char buffer[1024]; buffer 157 base/debug/stack_trace_unittest.cc CHECK_LE(sz, sizeof(buffer)); buffer 159 base/debug/stack_trace_unittest.cc char* result = internal::itoa_r(i, buffer, sz, base, padding); buffer 161 base/debug/stack_trace_unittest.cc return std::string(buffer); buffer 203 base/debug/stack_trace_unittest.cc char buffer[1024]; buffer 204 base/debug/stack_trace_unittest.cc EXPECT_TRUE(internal::itoa_r(0xdeadbeef, buffer, 10, 16, 0)); buffer 205 base/debug/stack_trace_unittest.cc EXPECT_TRUE(internal::itoa_r(0xdeadbeef, buffer, 9, 16, 0)); buffer 206 base/debug/stack_trace_unittest.cc EXPECT_FALSE(internal::itoa_r(0xdeadbeef, buffer, 8, 16, 0)); buffer 207 base/debug/stack_trace_unittest.cc EXPECT_FALSE(internal::itoa_r(0xdeadbeef, buffer, 7, 16, 0)); buffer 208 base/debug/stack_trace_unittest.cc EXPECT_TRUE(internal::itoa_r(0xbeef, buffer, 5, 16, 4)); buffer 209 base/debug/stack_trace_unittest.cc EXPECT_FALSE(internal::itoa_r(0xbeef, buffer, 5, 16, 5)); buffer 210 base/debug/stack_trace_unittest.cc EXPECT_FALSE(internal::itoa_r(0xbeef, buffer, 5, 16, 6)); buffer 87 base/debug/stack_trace_win.cc ULONG64 buffer[ buffer 92 base/debug/stack_trace_win.cc memset(buffer, 0, sizeof(buffer)); buffer 96 base/debug/stack_trace_win.cc PSYMBOL_INFO symbol = reinterpret_cast<PSYMBOL_INFO>(&buffer[0]); buffer 474 base/debug/trace_event_impl.cc void CopyTraceEventParameter(char** buffer, buffer 478 base/debug/trace_event_impl.cc size_t written = strlcpy(*buffer, *member, end - *buffer) + 1; buffer 479 base/debug/trace_event_impl.cc DCHECK_LE(static_cast<int>(written), end - *buffer); buffer 480 base/debug/trace_event_impl.cc *member = *buffer; buffer 481 base/debug/trace_event_impl.cc *buffer += written; buffer 2390 base/debug/trace_event_unittest.cc TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); buffer 2391 base/debug/trace_event_unittest.cc size_t capacity = buffer->Capacity(); buffer 2395 base/debug/trace_event_unittest.cc EXPECT_EQ(0u, buffer->Size()); buffer 2399 base/debug/trace_event_unittest.cc chunks[i] = buffer->GetChunk(&chunk_index).release(); buffer 2404 base/debug/trace_event_unittest.cc buffer->Size()); buffer 2409 base/debug/trace_event_unittest.cc EXPECT_FALSE(buffer->IsFull()); buffer 2413 base/debug/trace_event_unittest.cc buffer->ReturnChunk(i, scoped_ptr<TraceBufferChunk>(chunks[i])); buffer 2417 base/debug/trace_event_unittest.cc chunks[i] = buffer->GetChunk(&chunk_index).release(); buffer 2426 base/debug/trace_event_unittest.cc buffer->ReturnChunk( buffer 2433 base/debug/trace_event_unittest.cc chunks[i] = buffer->GetChunk(&chunk_index).release(); buffer 2441 base/debug/trace_event_unittest.cc buffer->ReturnChunk(i, scoped_ptr<TraceBufferChunk>(chunks[i])); buffer 2450 base/debug/trace_event_unittest.cc TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); buffer 2451 base/debug/trace_event_unittest.cc size_t capacity = buffer->Capacity(); buffer 2454 base/debug/trace_event_unittest.cc EXPECT_EQ(0u, buffer->Size()); buffer 2455 base/debug/trace_event_unittest.cc EXPECT_FALSE(buffer->NextChunk()); buffer 2461 base/debug/trace_event_unittest.cc chunks[i] = buffer->GetChunk(&chunk_index).release(); buffer 2466 base/debug/trace_event_unittest.cc buffer->ReturnChunk(i, scoped_ptr<TraceBufferChunk>(chunks[i])); buffer 2469 base/debug/trace_event_unittest.cc EXPECT_EQ(chunks[i], buffer->NextChunk()); buffer 2470 base/debug/trace_event_unittest.cc EXPECT_FALSE(buffer->NextChunk()); buffer 2478 base/debug/trace_event_unittest.cc TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); buffer 2479 base/debug/trace_event_unittest.cc size_t capacity = buffer->Capacity(); buffer 2482 base/debug/trace_event_unittest.cc EXPECT_EQ(0u, buffer->Size()); buffer 2483 base/debug/trace_event_unittest.cc EXPECT_FALSE(buffer->NextChunk()); buffer 2488 base/debug/trace_event_unittest.cc chunks[i] = buffer->GetChunk(&chunk_index).release(); buffer 2493 base/debug/trace_event_unittest.cc buffer->ReturnChunk(i, scoped_ptr<TraceBufferChunk>(chunks[i])); buffer 2496 base/debug/trace_event_unittest.cc EXPECT_TRUE(chunks[i] == buffer->NextChunk()); buffer 2497 base/debug/trace_event_unittest.cc EXPECT_FALSE(buffer->NextChunk()); buffer 164 base/file_util.h BASE_EXPORT bool ReadFromFD(int fd, char* buffer, size_t bytes); buffer 154 base/file_util_posix.cc char* buffer = const_cast<char*>(tmpdir_string.c_str()); buffer 156 base/file_util_posix.cc return HANDLE_EINTR(mkstemp(buffer)); buffer 372 base/file_util_posix.cc bool ReadFromFD(int fd, char* buffer, size_t bytes) { buffer 376 base/file_util_posix.cc HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); buffer 532 base/file_util_posix.cc char* buffer = const_cast<char*>(sub_dir_string.c_str()); buffer 533 base/file_util_posix.cc char* dtemp = mkdtemp(buffer); buffer 863 base/file_util_posix.cc std::vector<char> buffer(kBufferSize); buffer 867 base/file_util_posix.cc ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); buffer 879 base/file_util_posix.cc &buffer[bytes_written_per_read], buffer 94 base/file_util_unittest.cc char buffer[2000] = {0}; buffer 97 base/file_util_unittest.cc REPARSE_DATA_BUFFER* data = reinterpret_cast<REPARSE_DATA_BUFFER*>(buffer); buffer 108 base/file_util_unittest.cc if (!DeviceIoControl(source, FSCTL_SET_REPARSE_POINT, &buffer, data_size, buffer 703 base/file_util_unittest.cc char* buffer = new char[buffer_size]; buffer 720 base/file_util_unittest.cc EXPECT_EQ(-1, ReadFile(file_name, buffer, buffer_size)); buffer 728 base/file_util_unittest.cc ReadFile(file_name, buffer, buffer_size)); buffer 734 base/file_util_unittest.cc delete[] buffer; buffer 2453 base/file_util_unittest.cc char* buffer = new char[image_size]; buffer 2456 base/file_util_unittest.cc EXPECT_TRUE(file.ReadAtCurrentPos(buffer, image_size)); buffer 2457 base/file_util_unittest.cc delete[] buffer; buffer 192 base/files/file_path_watcher_linux.cc std::vector<char> buffer(buffer_size); buffer 194 base/files/file_path_watcher_linux.cc ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd, &buffer[0], buffer 204 base/files/file_path_watcher_linux.cc inotify_event* event = reinterpret_cast<inotify_event*>(&buffer[i]); buffer 194 base/files/file_proxy.cc const char* buffer, int bytes_to_write) buffer 199 base/files/file_proxy.cc memcpy(buffer_.get(), buffer, bytes_to_write); buffer 295 base/files/file_proxy.cc const char* buffer, buffer 299 base/files/file_proxy.cc if (bytes_to_write <= 0 || buffer == NULL) buffer 303 base/files/file_proxy.cc new WriteHelper(this, file_.Pass(), buffer, bytes_to_write); buffer 113 base/files/file_proxy.h const char* buffer, buffer 257 base/files/file_proxy_unittest.cc char buffer[10]; buffer 258 base/files/file_proxy_unittest.cc EXPECT_EQ(data_bytes, base::ReadFile(test_path(), buffer, data_bytes)); buffer 260 base/files/file_proxy_unittest.cc EXPECT_EQ(data[i], buffer[i]); buffer 308 base/files/file_proxy_unittest.cc char buffer[7]; buffer 309 base/files/file_proxy_unittest.cc EXPECT_EQ(7, base::ReadFile(test_path(), buffer, 7)); buffer 312 base/files/file_proxy_unittest.cc EXPECT_EQ(kTestData[i], buffer[i]); buffer 334 base/files/file_proxy_unittest.cc char buffer[53]; buffer 335 base/files/file_proxy_unittest.cc EXPECT_EQ(53, base::ReadFile(test_path(), buffer, 53)); buffer 338 base/files/file_proxy_unittest.cc EXPECT_EQ(kTestData[i], buffer[i]); buffer 340 base/files/file_proxy_unittest.cc EXPECT_EQ(0, buffer[i]); buffer 396 base/files/file_unittest.cc char buffer[kDataSize]; buffer 398 base/files/file_unittest.cc EXPECT_EQ(first_chunk_size, file.ReadAtCurrentPos(buffer, first_chunk_size)); buffer 400 base/files/file_unittest.cc file.ReadAtCurrentPos(buffer + first_chunk_size, buffer 402 base/files/file_unittest.cc EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData)); buffer 423 base/files/file_unittest.cc char buffer[kDataSize]; buffer 424 base/files/file_unittest.cc EXPECT_EQ(kDataSize, file.Read(0, buffer, kDataSize)); buffer 425 base/files/file_unittest.cc EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData)); buffer 179 base/files/file_util_proxy.cc WriteHelper(const char* buffer, int bytes_to_write) buffer 183 base/files/file_util_proxy.cc memcpy(buffer_.get(), buffer, bytes_to_write); buffer 340 base/files/file_util_proxy.cc const char* buffer, buffer 343 base/files/file_util_proxy.cc if (bytes_to_write <= 0 || buffer == NULL) { buffer 346 base/files/file_util_proxy.cc WriteHelper* helper = new WriteHelper(buffer, bytes_to_write); buffer 128 base/files/file_util_proxy.h const char* buffer, buffer 321 base/files/file_util_proxy_unittest.cc char buffer[10]; buffer 322 base/files/file_util_proxy_unittest.cc EXPECT_EQ(data_bytes, base::ReadFile(test_path(), buffer, data_bytes)); buffer 324 base/files/file_util_proxy_unittest.cc EXPECT_EQ(data[i], buffer[i]); buffer 374 base/files/file_util_proxy_unittest.cc char buffer[7]; buffer 375 base/files/file_util_proxy_unittest.cc EXPECT_EQ(7, base::ReadFile(test_path(), buffer, 7)); buffer 378 base/files/file_util_proxy_unittest.cc EXPECT_EQ(kTestData[i], buffer[i]); buffer 401 base/files/file_util_proxy_unittest.cc char buffer[53]; buffer 402 base/files/file_util_proxy_unittest.cc EXPECT_EQ(53, base::ReadFile(test_path(), buffer, 53)); buffer 405 base/files/file_util_proxy_unittest.cc EXPECT_EQ(kTestData[i], buffer[i]); buffer 407 base/files/file_util_proxy_unittest.cc EXPECT_EQ(0, buffer[i]); buffer 186 base/i18n/icu_string_conversions.cc scoped_ptr<char16[]> buffer(new char16[uchar_max_length]); buffer 187 base/i18n/icu_string_conversions.cc int actual_size = ucnv_toUChars(converter, buffer.get(), buffer 196 base/i18n/icu_string_conversions.cc utf16->assign(buffer.get(), actual_size); buffer 251 base/i18n/icu_string_conversions.cc scoped_ptr<wchar_t[]> buffer(new wchar_t[wchar_max_length]); buffer 253 base/i18n/icu_string_conversions.cc reinterpret_cast<char*>(buffer.get()), buffer 263 base/i18n/icu_string_conversions.cc wide->assign(buffer.get(), actual_size / sizeof(wchar_t)); buffer 280 base/i18n/icu_string_conversions.cc scoped_ptr<char16[]> buffer(new char16[max_length]); buffer 283 base/i18n/icu_string_conversions.cc buffer.get(), static_cast<int>(max_length), &status); buffer 286 base/i18n/icu_string_conversions.cc normalized_utf16.assign(buffer.get(), actual_length); buffer 563 base/message_loop/message_loop_unittest.cc const char buffer[] = "Hello there!"; buffer 565 base/message_loop/message_loop_unittest.cc EXPECT_TRUE(WriteFile(server, buffer, sizeof(buffer), &written, NULL)); buffer 613 base/message_loop/message_loop_unittest.cc const char buffer[] = "Hello there!"; buffer 615 base/message_loop/message_loop_unittest.cc EXPECT_TRUE(WriteFile(server1, buffer, sizeof(buffer), &written, NULL)); buffer 620 base/message_loop/message_loop_unittest.cc EXPECT_TRUE(WriteFile(server2, buffer, sizeof(buffer), &written, NULL)); buffer 350 base/nix/mime_util_xdg.cc char buffer[kBufferSize]; buffer 351 base/nix/mime_util_xdg.cc while ((fgets(buffer, kBufferSize - 1, fp)) != NULL) { buffer 352 base/nix/mime_util_xdg.cc result += buffer; buffer 26 base/os_compat_android_unittest.cc char* buffer = const_cast<char*>(sub_dir_string.c_str()); buffer 27 base/os_compat_android_unittest.cc EXPECT_EQ(NULL, mkdtemp(buffer)); buffer 95 base/pickle_unittest.cc scoped_ptr<char[]> buffer(new char[1]); buffer 98 base/pickle_unittest.cc Pickle pickle(buffer.get(), 1); buffer 107 base/pickle_unittest.cc int buffer[] = { 0x56035200, 25, 40, 50 }; buffer 109 base/pickle_unittest.cc Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); buffer 117 base/pickle_unittest.cc int buffer[] = { 10, 25, 40, 50 }; buffer 119 base/pickle_unittest.cc Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); buffer 179 base/pickle_unittest.cc scoped_ptr<char[]> buffer(new char[header_size - 1]); buffer 180 base/pickle_unittest.cc memset(buffer.get(), 0x1, header_size - 1); buffer 182 base/pickle_unittest.cc const char* start = buffer.get(); buffer 196 base/pickle_unittest.cc scoped_ptr<char[]> buffer(new char[header_size2 + payload_received]); buffer 197 base/pickle_unittest.cc const char* start = buffer.get(); buffer 198 base/pickle_unittest.cc Pickle::Header* header = reinterpret_cast<Pickle::Header*>(buffer.get()); buffer 419 base/platform_file_unittest.cc char buffer[kDataSize]; buffer 423 base/platform_file_unittest.cc file, buffer, first_chunk_size)); buffer 426 base/platform_file_unittest.cc file, buffer + first_chunk_size, buffer 428 base/platform_file_unittest.cc EXPECT_EQ(std::string(buffer, buffer + kDataSize), buffer 42 base/posix/unix_domain_socket_linux_unittest.cc uint8_t buffer[16]; buffer 44 base/posix/unix_domain_socket_linux_unittest.cc UnixDomainSocket::RecvMsg(fds[0], buffer, sizeof(buffer), buffer 52 base/process/internal_linux.cc bool ReadProcFile(const FilePath& file, std::string* buffer) { buffer 53 base/process/internal_linux.cc buffer->clear(); buffer 57 base/process/internal_linux.cc if (!ReadFileToString(file, buffer)) { buffer 61 base/process/internal_linux.cc return !buffer->empty(); buffer 64 base/process/internal_linux.cc bool ReadProcStats(pid_t pid, std::string* buffer) { buffer 66 base/process/internal_linux.cc return ReadProcFile(stat_file, buffer); buffer 39 base/process/internal_linux.h bool ReadProcStats(pid_t pid, std::string* buffer); buffer 574 base/process/launch_posix.cc char buffer[256]; buffer 580 base/process/launch_posix.cc bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, buffer 581 base/process/launch_posix.cc std::min(output_buf_left, sizeof(buffer)))); buffer 584 base/process/launch_posix.cc output->append(buffer, bytes_read); buffer 348 base/process/launch_win.cc char buffer[kBufferSize]; buffer 352 base/process/launch_win.cc BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); buffer 355 base/process/launch_win.cc output->append(buffer, bytes_read); buffer 130 base/process/process_metrics_win.cc PSAPI_WORKING_SET_INFORMATION* buffer = NULL; buffer 140 base/process/process_metrics_win.cc realloc(buffer, buffer_size)); buffer 142 base/process/process_metrics_win.cc free(buffer); buffer 145 base/process/process_metrics_win.cc buffer = new_buffer; buffer 148 base/process/process_metrics_win.cc if (QueryWorkingSet(process_, buffer, buffer_size)) buffer 152 base/process/process_metrics_win.cc free(buffer); buffer 156 base/process/process_metrics_win.cc number_of_entries = static_cast<DWORD>(buffer->NumberOfEntries); buffer 163 base/process/process_metrics_win.cc free(buffer); // If we're looping, eventually fail. buffer 172 base/process/process_metrics_win.cc std::min(number_of_entries, static_cast<DWORD>(buffer->NumberOfEntries)); buffer 174 base/process/process_metrics_win.cc if (buffer->WorkingSetInfo[i].Shared) { buffer 176 base/process/process_metrics_win.cc if (buffer->WorkingSetInfo[i].ShareCount > 1) buffer 186 base/process/process_metrics_win.cc free(buffer); buffer 37 base/rand_util_unittest.cc char buffer[buffer_size]; buffer 38 base/rand_util_unittest.cc memset(buffer, 0, buffer_size); buffer 39 base/rand_util_unittest.cc base::RandBytes(buffer, buffer_size); buffer 40 base/rand_util_unittest.cc std::sort(buffer, buffer + buffer_size); buffer 43 base/rand_util_unittest.cc EXPECT_GT(std::unique(buffer, buffer + buffer_size) - buffer, 25); buffer 136 base/rand_util_unittest.cc scoped_ptr<uint8[]> buffer(new uint8[kTestBufferSize]); buffer 139 base/rand_util_unittest.cc base::RandBytes(buffer.get(), kTestBufferSize); buffer 106 base/strings/safe_sprintf.cc Buffer(char* buffer, size_t size) buffer 107 base/strings/safe_sprintf.cc : buffer_(buffer), buffer 441 base/strings/safe_sprintf.cc Buffer buffer(buf, sz); buffer 444 base/strings/safe_sprintf.cc for (unsigned int cur_arg = 0; *fmt && !buffer.OutOfAddressableSpace(); ) { buffer 508 base/strings/safe_sprintf.cc buffer.Pad(' ', padding, 1); buffer 515 base/strings/safe_sprintf.cc buffer.Out(ch); buffer 574 base/strings/safe_sprintf.cc buffer.IToASCII(ch == 'd' && arg.type == Arg::INT, buffer 606 base/strings/safe_sprintf.cc buffer.Pad(' ', padding, len); buffer 613 base/strings/safe_sprintf.cc buffer.Out(*src++); buffer 633 base/strings/safe_sprintf.cc buffer.Out('%'); buffer 638 base/strings/safe_sprintf.cc buffer.Out(ch); buffer 643 base/strings/safe_sprintf.cc buffer.Out(fmt[-1]); buffer 648 base/strings/safe_sprintf.cc return buffer.GetCount(); buffer 664 base/strings/safe_sprintf.cc Buffer buffer(buf, sz); buffer 672 base/strings/safe_sprintf.cc buffer.Out(*src); buffer 678 base/strings/safe_sprintf.cc return buffer.GetCount(); buffer 411 base/strings/string_number_conversions.cc char buffer[32]; buffer 412 base/strings/string_number_conversions.cc dmg_fp::g_fmt(buffer, value); buffer 413 base/strings/string_number_conversions.cc return std::string(buffer); buffer 45 base/strings/string_util.h int vsnprintf(char* buffer, size_t size, const char* format, va_list arguments) buffer 52 base/strings/string_util.h inline int snprintf(char* buffer, size_t size, const char* format, ...) buffer 54 base/strings/string_util.h inline int snprintf(char* buffer, size_t size, const char* format, ...) { buffer 57 base/strings/string_util.h int result = vsnprintf(buffer, size, format, arguments); buffer 31 base/strings/string_util_posix.h inline int vsnprintf(char* buffer, size_t size, buffer 33 base/strings/string_util_posix.h return ::vsnprintf(buffer, size, format, arguments); buffer 44 base/strings/string_util_posix.h inline int vswprintf(wchar_t* buffer, size_t size, buffer 47 base/strings/string_util_posix.h return ::vswprintf(buffer, size, format, arguments); buffer 1166 base/strings/string_util_unittest.cc std::string buffer; buffer 1168 base/strings/string_util_unittest.cc strncpy(WriteInto(&buffer, num_chars + 1), kOriginal, num_chars); buffer 1173 base/strings/string_util_unittest.cc std::string(buffer.c_str())); buffer 1174 base/strings/string_util_unittest.cc EXPECT_EQ(num_chars, buffer.size()); buffer 35 base/strings/string_util_win.h inline int vsnprintf(char* buffer, size_t size, buffer 37 base/strings/string_util_win.h int length = _vsprintf_p(buffer, size, format, arguments); buffer 40 base/strings/string_util_win.h buffer[0] = 0; buffer 46 base/strings/string_util_win.h inline int vswprintf(wchar_t* buffer, size_t size, buffer 50 base/strings/string_util_win.h int length = _vswprintf_p(buffer, size, format, arguments); buffer 53 base/strings/string_util_win.h buffer[0] = 0; buffer 23 base/strings/stringprintf.cc inline int vsnprintfT(char* buffer, buffer 27 base/strings/stringprintf.cc return base::vsnprintf(buffer, buf_size, format, argptr); buffer 31 base/strings/stringprintf.cc inline int vsnprintfT(wchar_t* buffer, buffer 35 base/strings/stringprintf.cc return base::vswprintf(buffer, buf_size, format, argptr); buffer 54 base/sync_socket.h virtual size_t Send(const void* buffer, size_t length); buffer 60 base/sync_socket.h virtual size_t Receive(void* buffer, size_t length); buffer 65 base/sync_socket.h virtual size_t ReceiveWithTimeout(void* buffer, buffer 112 base/sync_socket.h virtual size_t Receive(void* buffer, size_t length) OVERRIDE; buffer 113 base/sync_socket.h virtual size_t ReceiveWithTimeout(void* buffer, buffer 123 base/sync_socket.h virtual size_t Send(const void* buffer, size_t length) OVERRIDE; buffer 39 base/sync_socket_nacl.cc size_t SyncSocket::Send(const void* buffer, size_t length) { buffer 40 base/sync_socket_nacl.cc const ssize_t bytes_written = write(handle_, buffer, length); buffer 44 base/sync_socket_nacl.cc size_t SyncSocket::Receive(void* buffer, size_t length) { buffer 45 base/sync_socket_nacl.cc const ssize_t bytes_read = read(handle_, buffer, length); buffer 49 base/sync_socket_nacl.cc size_t SyncSocket::ReceiveWithTimeout(void* buffer, size_t length, TimeDelta) { buffer 66 base/sync_socket_nacl.cc size_t CancelableSyncSocket::Send(const void* buffer, size_t length) { buffer 67 base/sync_socket_nacl.cc return SyncSocket::Send(buffer, length); buffer 33 base/sync_socket_posix.cc const void* buffer, buffer 38 base/sync_socket_posix.cc const char* charbuffer = static_cast<const char*>(buffer); buffer 105 base/sync_socket_posix.cc size_t SyncSocket::Send(const void* buffer, size_t length) { buffer 107 base/sync_socket_posix.cc return SendHelper(handle_, buffer, length); buffer 110 base/sync_socket_posix.cc size_t SyncSocket::Receive(void* buffer, size_t length) { buffer 115 base/sync_socket_posix.cc char* charbuffer = static_cast<char*>(buffer); buffer 121 base/sync_socket_posix.cc size_t SyncSocket::ReceiveWithTimeout(void* buffer, buffer 134 base/sync_socket_posix.cc return Peek() < length ? 0 : Receive(buffer, length); buffer 174 base/sync_socket_posix.cc Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read); buffer 204 base/sync_socket_posix.cc size_t CancelableSyncSocket::Send(const void* buffer, size_t length) { buffer 216 base/sync_socket_posix.cc const size_t len = SendHelper(handle_, buffer, length); buffer 116 base/sync_socket_win.cc BufferType* buffer, buffer 124 base/sync_socket_win.cc COMPILE_ASSERT(sizeof(buffer[0]) == sizeof(char), incorrect_buffer_type); buffer 148 base/sync_socket_win.cc file, static_cast<BufferType*>(buffer) + count, chunk, &len, &ol); buffer 219 base/sync_socket_win.cc size_t SyncSocket::Send(const void* buffer, size_t length) { buffer 228 base/sync_socket_win.cc if (WriteFile(handle_, static_cast<const char*>(buffer) + count, buffer 237 base/sync_socket_win.cc size_t SyncSocket::ReceiveWithTimeout(void* buffer, buffer 244 base/sync_socket_win.cc size_t SyncSocket::Receive(void* buffer, size_t length) { buffer 253 base/sync_socket_win.cc if (ReadFile(handle_, static_cast<char*>(buffer) + count, buffer 290 base/sync_socket_win.cc size_t CancelableSyncSocket::Send(const void* buffer, size_t length) { buffer 293 base/sync_socket_win.cc &WriteFile, handle_, reinterpret_cast<const char*>(buffer), buffer 297 base/sync_socket_win.cc size_t CancelableSyncSocket::Receive(void* buffer, size_t length) { buffer 299 base/sync_socket_win.cc &ReadFile, handle_, reinterpret_cast<char*>(buffer), length, buffer 303 base/sync_socket_win.cc size_t CancelableSyncSocket::ReceiveWithTimeout(void* buffer, buffer 307 base/sync_socket_win.cc &ReadFile, handle_, reinterpret_cast<char*>(buffer), length, buffer 66 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java char[] buffer = new char[(int) f.length()]; buffer 68 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java int charsRead = reader.read(buffer); buffer 72 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java return charsRead < buffer.length ? Arrays.copyOfRange(buffer, 0, charsRead) : buffer; buffer 150 base/test/test_file_util_win.cc char* buffer = reinterpret_cast<char*>(VirtualAlloc(NULL, buffer 162 base/test/test_file_util_win.cc ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL); buffer 171 base/test/test_file_util_win.cc ZeroMemory(buffer + bytes_read, kOneMB - bytes_read); buffer 180 base/test/test_file_util_win.cc if (!::WriteFile(file_handle, buffer, kOneMB, &bytes_written, NULL) || buffer 182 base/test/test_file_util_win.cc BOOL freed = VirtualFree(buffer, 0, MEM_RELEASE); buffer 195 base/test/test_file_util_win.cc BOOL freed = VirtualFree(buffer, 0, MEM_RELEASE); buffer 96 base/test/test_process_killer_win.cc base::string16 buffer; buffer 112 base/test/test_process_killer_win.cc buffer.resize(max_cmd_line_len + 1); buffer 115 base/test/test_process_killer_win.cc &buffer[0], buffer 121 base/test/test_process_killer_win.cc *cmd_line = buffer; buffer 86 base/third_party/xdg_mime/xdgmimecache.c char *buffer; buffer 107 base/third_party/xdg_mime/xdgmimecache.c munmap (cache->buffer, cache->size); buffer 121 base/third_party/xdg_mime/xdgmimecache.c char *buffer = NULL; buffer 133 base/third_party/xdg_mime/xdgmimecache.c buffer = (char *) mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); buffer 135 base/third_party/xdg_mime/xdgmimecache.c if (buffer == MAP_FAILED) buffer 138 base/third_party/xdg_mime/xdgmimecache.c minor = GET_UINT16 (buffer, 2); buffer 140 base/third_party/xdg_mime/xdgmimecache.c if (GET_UINT16 (buffer, 0) != MAJOR_VERSION || buffer 144 base/third_party/xdg_mime/xdgmimecache.c munmap (buffer, st.st_size); buffer 152 base/third_party/xdg_mime/xdgmimecache.c cache->buffer = buffer; buffer 170 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t range_start = GET_UINT32 (cache->buffer, offset); buffer 171 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t range_length = GET_UINT32 (cache->buffer, offset + 4); buffer 172 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t data_length = GET_UINT32 (cache->buffer, offset + 12); buffer 173 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t data_offset = GET_UINT32 (cache->buffer, offset + 16); buffer 174 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t mask_offset = GET_UINT32 (cache->buffer, offset + 20); buffer 189 base/third_party/xdg_mime/xdgmimecache.c if ((((unsigned char *)cache->buffer)[data_offset + j] & ((unsigned char *)cache->buffer)[mask_offset + j]) != buffer 190 base/third_party/xdg_mime/xdgmimecache.c ((((unsigned char *) data)[j + i]) & ((unsigned char *)cache->buffer)[mask_offset + j])) buffer 199 base/third_party/xdg_mime/xdgmimecache.c valid_matchlet = memcmp(cache->buffer + data_offset, data + i, data_length) == 0; buffer 215 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_children = GET_UINT32 (cache->buffer, offset + 24); buffer 216 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t child_offset = GET_UINT32 (cache->buffer, offset + 28); buffer 243 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t priority = GET_UINT32 (cache->buffer, offset); buffer 244 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t mimetype_offset = GET_UINT32 (cache->buffer, offset + 4); buffer 245 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_matchlets = GET_UINT32 (cache->buffer, offset + 8); buffer 246 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t matchlet_offset = GET_UINT32 (cache->buffer, offset + 12); buffer 257 base/third_party/xdg_mime/xdgmimecache.c return cache->buffer + mimetype_offset; buffer 280 base/third_party/xdg_mime/xdgmimecache.c list_offset = GET_UINT32 (cache->buffer, 24); buffer 281 base/third_party/xdg_mime/xdgmimecache.c n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 282 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 8); buffer 297 base/third_party/xdg_mime/xdgmimecache.c mimetype_offset = GET_UINT32 (cache->buffer, offset + 16 * j + 4); buffer 298 base/third_party/xdg_mime/xdgmimecache.c non_match = cache->buffer + mimetype_offset; buffer 321 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 4); buffer 322 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 331 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid); buffer 332 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; buffer 341 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid + 4); buffer 342 base/third_party/xdg_mime/xdgmimecache.c return cache->buffer + offset; buffer 367 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 12); buffer 368 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 377 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * mid); buffer 378 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; buffer 387 base/third_party/xdg_mime/xdgmimecache.c int weight = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * mid + 8); buffer 393 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * mid + 4); buffer 394 base/third_party/xdg_mime/xdgmimecache.c mime_types[0] = (const char *)(cache->buffer + offset); buffer 422 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 20); buffer 423 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 427 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * j); buffer 428 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t mimetype_offset = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * j + 4); buffer 429 base/third_party/xdg_mime/xdgmimecache.c int weight = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * j + 8); buffer 432 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; buffer 433 base/third_party/xdg_mime/xdgmimecache.c mime_type = cache->buffer + mimetype_offset; buffer 482 base/third_party/xdg_mime/xdgmimecache.c match_char = GET_UINT32 (cache->buffer, offset + 12 * mid); buffer 491 base/third_party/xdg_mime/xdgmimecache.c n_children = GET_UINT32 (cache->buffer, offset + 12 * mid + 4); buffer 492 base/third_party/xdg_mime/xdgmimecache.c child_offset = GET_UINT32 (cache->buffer, offset + 12 * mid + 8); buffer 508 base/third_party/xdg_mime/xdgmimecache.c match_char = GET_UINT32 (cache->buffer, child_offset + 12 * i); buffer 512 base/third_party/xdg_mime/xdgmimecache.c mimetype_offset = GET_UINT32 (cache->buffer, child_offset + 12 * i + 4); buffer 513 base/third_party/xdg_mime/xdgmimecache.c weight = GET_UINT32 (cache->buffer, child_offset + 12 * i + 8); buffer 519 base/third_party/xdg_mime/xdgmimecache.c mime_types[n].mime = cache->buffer + mimetype_offset; buffer 545 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 16); buffer 546 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 547 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset = GET_UINT32 (cache->buffer, list_offset + 4); buffer 654 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, 24); buffer 655 base/third_party/xdg_mime/xdgmimecache.c max_extent = MAX (max_extent, GET_UINT32 (cache->buffer, offset + 4)); buffer 870 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 8); buffer 871 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 880 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * med); buffer 881 base/third_party/xdg_mime/xdgmimecache.c cmp = strcmp (cache->buffer + offset, umime); buffer 888 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * med + 4); buffer 889 base/third_party/xdg_mime/xdgmimecache.c n_parents = GET_UINT32 (cache->buffer, offset); buffer 893 base/third_party/xdg_mime/xdgmimecache.c parent_offset = GET_UINT32 (cache->buffer, offset + 4 + 4 * j); buffer 894 base/third_party/xdg_mime/xdgmimecache.c if (_xdg_mime_cache_mime_type_subclass (cache->buffer + parent_offset, ubase)) buffer 933 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, 8); buffer 934 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 938 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t mimetype_offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * j); buffer 939 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t parents_offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * j + 4); buffer 941 base/third_party/xdg_mime/xdgmimecache.c if (strcmp (cache->buffer + mimetype_offset, mime) == 0) buffer 944 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_parents = GET_UINT32 (cache->buffer, parents_offset); buffer 948 base/third_party/xdg_mime/xdgmimecache.c parent_mime_offset = GET_UINT32 (cache->buffer, parents_offset + 4 + 4 * k); buffer 955 base/third_party/xdg_mime/xdgmimecache.c if (strcmp (all_parents[l], cache->buffer + parent_mime_offset) == 0) buffer 960 base/third_party/xdg_mime/xdgmimecache.c all_parents[p++] = cache->buffer + parent_mime_offset; buffer 984 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t list_offset = GET_UINT32 (cache->buffer, header); buffer 985 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 994 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid); buffer 995 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; buffer 1004 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid + 4); buffer 1005 base/third_party/xdg_mime/xdgmimecache.c return cache->buffer + offset; buffer 1036 base/third_party/xdg_mime/xdgmimecache.c character = GET_UINT32 (cache->buffer, offset); buffer 1037 base/third_party/xdg_mime/xdgmimecache.c mime_offset = GET_UINT32 (cache->buffer, offset + 4); buffer 1038 base/third_party/xdg_mime/xdgmimecache.c n_children = GET_UINT32 (cache->buffer, offset + 8); buffer 1039 base/third_party/xdg_mime/xdgmimecache.c child_offset = GET_UINT32 (cache->buffer, offset + 12); buffer 1044 base/third_party/xdg_mime/xdgmimecache.c printf (" - %s", cache->buffer + mime_offset); buffer 1063 base/third_party/xdg_mime/xdgmimecache.c list_offset = GET_UINT32 (cache->buffer, 16); buffer 1064 base/third_party/xdg_mime/xdgmimecache.c n_entries = GET_UINT32 (cache->buffer, list_offset); buffer 1065 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4); buffer 248 base/third_party/xdg_mime/xdgmimemagic.c char *buffer; buffer 273 base/third_party/xdg_mime/xdgmimemagic.c buffer = (char *)_xdg_mime_magic_read_to_newline (magic_file, &end_of_file); buffer 277 base/third_party/xdg_mime/xdgmimemagic.c end_ptr = buffer; buffer 282 base/third_party/xdg_mime/xdgmimemagic.c free (buffer); buffer 287 base/third_party/xdg_mime/xdgmimemagic.c match->mime_type = strdup (buffer); buffer 288 base/third_party/xdg_mime/xdgmimemagic.c free (buffer); buffer 53 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc char buffer[512]; buffer 90 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc while (fgets (buffer, sizeof (buffer), file)) buffer 93 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc len = strlen (buffer); buffer 94 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc if (len > 0 && buffer[len-1] == '\n') buffer 95 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc buffer[len-1] = 0; buffer 97 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc p = buffer; buffer 601 base/time/time_unittest.cc static char buffer[] = "TZ=America/Santiago"; buffer 602 base/time/time_unittest.cc putenv(buffer); buffer 329 base/values.cc BinaryValue::BinaryValue(scoped_ptr<char[]> buffer, size_t size) buffer 331 base/values.cc buffer_(buffer.Pass()), buffer 339 base/values.cc BinaryValue* BinaryValue::CreateWithCopiedBuffer(const char* buffer, buffer 342 base/values.cc memcpy(buffer_copy, buffer, size); buffer 182 base/values.h BinaryValue(scoped_ptr<char[]> buffer, size_t size); buffer 189 base/values.h static BinaryValue* CreateWithCopiedBuffer(const char* buffer, size_t size); buffer 115 base/values_unittest.cc char* buffer = new char[15]; buffer 116 base/values_unittest.cc binary.reset(new BinaryValue(scoped_ptr<char[]>(buffer), 15)); buffer 119 base/values_unittest.cc ASSERT_EQ(buffer, binary->GetBuffer()); buffer 66 base/win/event_trace_consumer.h static bool ProcessBuffer(EVENT_TRACE_LOGFILE* buffer) { buffer 79 base/win/event_trace_consumer.h static ULONG WINAPI ProcessBufferCallback(PEVENT_TRACE_LOGFILE buffer) { buffer 80 base/win/event_trace_consumer.h return ImplClass::ProcessBuffer(buffer); buffer 31 base/win/event_trace_provider.cc ULONG EtwTraceProvider::EnableEvents(void* buffer) { buffer 32 base/win/event_trace_provider.cc session_handle_ = ::GetTraceLoggerHandle(buffer); buffer 59 base/win/event_trace_provider.cc ULONG EtwTraceProvider::Callback(WMIDPREQUESTCODE request, void* buffer) { buffer 62 base/win/event_trace_provider.cc return EnableEvents(buffer); buffer 72 base/win/event_trace_provider.cc void* context, ULONG *reserved, void* buffer) { buffer 75 base/win/event_trace_provider.cc return provider->Callback(request, buffer); buffer 158 base/win/event_trace_provider.h ULONG EnableEvents(PVOID buffer); buffer 160 base/win/event_trace_provider.h ULONG Callback(WMIDPREQUESTCODE request, PVOID buffer); buffer 162 base/win/event_trace_provider.h ULONG *reserved, PVOID buffer); buffer 122 base/win/i18n.cc std::vector<wchar_t> buffer; buffer 126 base/win/i18n.cc if (GetMUIPreferredUILanguageList(function, flags, &buffer)) { buffer 127 base/win/i18n.cc std::vector<wchar_t>::const_iterator scan = buffer.begin(); buffer 253 base/win/registry.cc std::vector<wchar_t> buffer(size / sizeof(wchar_t)); buffer 254 base/win/registry.cc result = ReadValue(name, &buffer[0], &size, NULL); buffer 261 base/win/registry.cc const wchar_t* entry = &buffer[0]; buffer 80 cc/debug/ring_buffer.h Iterator(const RingBuffer<T, kSize>& buffer, size_t index) buffer 81 cc/debug/ring_buffer.h : buffer_(buffer), buffer 172 cc/output/gl_renderer.cc PendingAsyncReadPixels() : buffer(0) {} buffer 176 cc/output/gl_renderer.cc unsigned buffer; buffer 2388 cc/output/gl_renderer.cc GLuint buffer = 0; buffer 2389 cc/output/gl_renderer.cc gl_->GenBuffers(1, &buffer); buffer 2390 cc/output/gl_renderer.cc GLC(gl_, gl_->BindBuffer(GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM, buffer)); buffer 2425 cc/output/gl_renderer.cc buffer, buffer 2437 cc/output/gl_renderer.cc pending_async_read_pixels_.front()->buffer = buffer; buffer 2464 cc/output/gl_renderer.cc DCHECK_EQ(source_buffer, current_read->buffer); buffer 67 cc/resources/picture.cc bool DecodeBitmap(const void* buffer, size_t size, SkBitmap* bm) { buffer 68 cc/resources/picture.cc const unsigned char* data = static_cast<const unsigned char *>(buffer); buffer 114 cc/resources/resource_provider.cc explicit IdentityAllocator(void* buffer) : buffer_(buffer) {} buffer 200 cc/resources/texture_uploader_unittest.cc uint8 buffer[256 * 256 * 4]; buffer 203 cc/resources/texture_uploader_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 206 cc/resources/texture_uploader_unittest.cc buffer[i * 4 * 256] = 0x1; buffer 207 cc/resources/texture_uploader_unittest.cc buffer[(i + 1) * 4 * 256 - 1] = 0x2; buffer 209 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(256, 256), buffer); buffer 212 cc/resources/texture_uploader_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 215 cc/resources/texture_uploader_unittest.cc buffer[i * 4 * 41] = 0x1; buffer 216 cc/resources/texture_uploader_unittest.cc buffer[(i + 1) * 4 * 41 - 1] = 0x2; buffer 218 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(41, 43), buffer); buffer 221 cc/resources/texture_uploader_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 224 cc/resources/texture_uploader_unittest.cc buffer[i * 1 * 82] = 0x1; buffer 225 cc/resources/texture_uploader_unittest.cc buffer[(i + 1) * 82 - 1] = 0x2; buffer 227 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), LUMINANCE_8, gfx::Size(82, 86), buffer); buffer 15 cc/test/skia_common.cc void DrawPicture(unsigned char* buffer, buffer 21 cc/test/skia_common.cc bitmap.installPixels(info, buffer, info.minRowBytes()); buffer 22 cc/test/skia_common.h void DrawPicture(unsigned char* buffer, buffer 163 cc/test/test_gles2_interface.cc void TestGLES2Interface::BindFramebuffer(GLenum target, GLuint buffer) { buffer 164 cc/test/test_gles2_interface.cc test_context_->bindFramebuffer(target, buffer); buffer 167 cc/test/test_gles2_interface.cc void TestGLES2Interface::BindBuffer(GLenum target, GLuint buffer) { buffer 168 cc/test/test_gles2_interface.cc test_context_->bindBuffer(target, buffer); buffer 67 cc/test/test_gles2_interface.h virtual void BindBuffer(GLenum target, GLuint buffer) OVERRIDE; buffer 68 cc/test/test_gles2_interface.h virtual void BindFramebuffer(GLenum target, GLuint buffer) OVERRIDE; buffer 122 cc/test/test_web_graphics_context_3d.cc GLuint buffer) { buffer 470 cc/test/test_web_graphics_context_3d.cc GLuint buffer) { buffer 471 cc/test/test_web_graphics_context_3d.cc bound_buffer_ = buffer; buffer 474 cc/test/test_web_graphics_context_3d.cc unsigned context_id = buffer >> 16; buffer 475 cc/test/test_web_graphics_context_3d.cc unsigned buffer_id = buffer & 0xffff; buffer 496 cc/test/test_web_graphics_context_3d.cc Buffer* buffer = buffers.get(bound_buffer_); buffer 498 cc/test/test_web_graphics_context_3d.cc buffer->pixels.reset(); buffer 502 cc/test/test_web_graphics_context_3d.cc buffer->pixels.reset(new uint8[size]); buffer 503 cc/test/test_web_graphics_context_3d.cc buffer->size = size; buffer 505 cc/test/test_web_graphics_context_3d.cc memcpy(buffer->pixels.get(), data, size); buffer 664 cc/test/test_web_graphics_context_3d.cc Buffer* buffer = it->second; buffer 665 cc/test/test_web_graphics_context_3d.cc if (buffer->target == GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM) buffer 666 cc/test/test_web_graphics_context_3d.cc total_bytes += buffer->size; buffer 96 cc/test/test_web_graphics_context_3d.h virtual GLboolean isBuffer(GLuint buffer); buffer 226 cc/test/test_web_graphics_context_3d.h virtual void bindBuffer(GLenum target, GLuint buffer); buffer 1275 cc/trees/layer_tree_host_common.cc typename LayerType::LayerListType buffer; buffer 1284 cc/trees/layer_tree_host_common.cc buffer.push_back(unsorted->at(j)); buffer 1287 cc/trees/layer_tree_host_common.cc DCHECK_EQ(buffer.size(), buffer 1290 cc/trees/layer_tree_host_common.cc for (size_t i = 0; i < buffer.size(); ++i) buffer 1291 cc/trees/layer_tree_host_common.cc (*unsorted)[i + start_index_for_all_contributions] = buffer[i]; buffer 55 chrome/app/image_pre_reader_win.cc bool ReadNextBytes(HANDLE file_handle, void* buffer, size_t bytes_to_read) { buffer 57 chrome/app/image_pre_reader_win.cc DCHECK(buffer != NULL); buffer 63 chrome/app/image_pre_reader_win.cc buffer, buffer 255 chrome/app/image_pre_reader_win.cc scoped_ptr<uint8, VirtualFreeDeleter> buffer( buffer 258 chrome/app/image_pre_reader_win.cc if (buffer.get() == NULL) buffer 267 chrome/app/image_pre_reader_win.cc file, section, percentage, buffer.get(), max_chunk_size)) buffer 350 chrome/app/image_pre_reader_win.cc LPVOID buffer = ::VirtualAlloc(NULL, buffer 355 chrome/app/image_pre_reader_win.cc if (buffer == NULL) buffer 360 chrome/app/image_pre_reader_win.cc while (::ReadFile(file, buffer, actual_step_size, &len, NULL) && buffer 365 chrome/app/image_pre_reader_win.cc ::VirtualFree(buffer, 0, MEM_RELEASE); buffer 66 chrome/browser/chromeos/drive/drive_file_stream_reader.cc net::IOBuffer* buffer, int buffer_length) { buffer 75 chrome/browser/chromeos/drive/drive_file_stream_reader.cc std::memmove(buffer->data() + offset, chunk.data(), bytes_to_read); buffer 106 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int LocalReaderProxy::Read(net::IOBuffer* buffer, int buffer_length, buffer 119 chrome/browser/chromeos/drive/drive_file_stream_reader.cc file_reader_->Read(buffer, buffer_length, buffer 170 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int NetworkReaderProxy::Read(net::IOBuffer* buffer, int buffer_length, buffer 178 chrome/browser/chromeos/drive/drive_file_stream_reader.cc DCHECK(buffer); buffer 199 chrome/browser/chromeos/drive/drive_file_stream_reader.cc buffer_ = buffer; buffer 205 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int result = ReadInternal(&pending_data_, buffer, buffer_length); buffer 359 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int DriveFileStreamReader::Read(net::IOBuffer* buffer, int buffer_length, buffer 363 chrome/browser/chromeos/drive/drive_file_stream_reader.cc DCHECK(buffer); buffer 365 chrome/browser/chromeos/drive/drive_file_stream_reader.cc return reader_proxy_->Read(buffer, buffer_length, callback); buffer 43 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual int Read(net::IOBuffer* buffer, int buffer_length, buffer 65 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual int Read(net::IOBuffer* buffer, int buffer_length, buffer 97 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual int Read(net::IOBuffer* buffer, int buffer_length, buffer 171 chrome/browser/chromeos/drive/drive_file_stream_reader.h int Read(net::IOBuffer* buffer, int buffer_length, buffer 116 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 117 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 128 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 131 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 141 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("abc", std::string(buffer->data(), result)); buffer 144 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 146 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("de", std::string(buffer->data(), result)); buffer 155 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 157 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("fgh", std::string(buffer->data(), result)); buffer 159 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 161 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("ij", std::string(buffer->data(), result)); buffer 164 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 173 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 176 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 190 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("klm", std::string(buffer->data(), result)); buffer 193 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 195 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("no", std::string(buffer->data(), result)); buffer 204 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 206 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("pqr", std::string(buffer->data(), result)); buffer 208 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 210 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("st", std::string(buffer->data(), result)); buffer 213 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 222 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 225 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc int result = proxy.Read(buffer.get(), kBufferSize, callback.callback()); buffer 235 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.Read(buffer.get(), kBufferSize, callback.callback())); buffer 243 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 255 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.Read(buffer.get(), kBufferSize, callback.callback())); buffer 121 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc std::vector<char> buffer(data_size); buffer 123 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::ReadPlatformFile(platform_file, 0, buffer.data(), data_size)); buffer 124 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_EQ(expected_data, std::string(buffer.begin(), buffer.end())); buffer 42 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc int WebkitFileStreamReaderImpl::Read(net::IOBuffer* buffer, buffer 47 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc DCHECK(buffer); buffer 51 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc return stream_reader_->Read(buffer, buffer_length, callback); buffer 63 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc make_scoped_refptr(buffer), buffer 125 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc scoped_refptr<net::IOBuffer> buffer, buffer 138 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc int result = stream_reader_->Read(buffer.get(), buffer_length, callback); buffer 44 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h virtual int Read(net::IOBuffer* buffer, buffer 61 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h scoped_refptr<net::IOBuffer> buffer, buffer 47 chrome/browser/chromeos/drive/local_file_reader.h void Read(net::IOBuffer* buffer, buffer 30 chrome/browser/chromeos/drive/local_file_reader_unittest.cc int Read(net::IOBuffer* buffer, buffer 33 chrome/browser/chromeos/drive/local_file_reader_unittest.cc reader_->Read(buffer, buffer_length, callback); buffer 57 chrome/browser/chromeos/drive/test_util.h scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 60 chrome/browser/chromeos/drive/test_util.h int result = reader->Read(buffer.get(), kBufferSize, callback.callback()); buffer 66 chrome/browser/chromeos/drive/test_util.h content->append(buffer->data(), result); buffer 281 chrome/browser/chromeos/external_metrics.cc uint8 buffer[kMetricsMessageMaxLength]; buffer 282 chrome/browser/chromeos/external_metrics.cc result = HANDLE_EINTR(read(fd, buffer, message_size)); buffer 293 chrome/browser/chromeos/external_metrics.cc uint8* p = reinterpret_cast<uint8*>(memchr(buffer, '\0', message_size)); buffer 297 chrome/browser/chromeos/external_metrics.cc memchr(p + 1, '\0', message_size - (p + 1 - buffer))); buffer 303 chrome/browser/chromeos/external_metrics.cc char* name = reinterpret_cast<char*>(buffer); buffer 220 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc std::string buffer; buffer 221 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc if (layouts->GetString(i, &buffer)) buffer 222 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc out->layouts.push_back(buffer); buffer 80 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc std::string buffer; buffer 81 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc if (!secret.SerializeToString(&buffer)) buffer 91 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc if (!hmac.Sign(buffer, out_bytes, sizeof(out_bytes))) buffer 66 chrome/browser/chromeos/system/automatic_reboot_manager.cc char buffer[kOneKilobyte]; buffer 68 chrome/browser/chromeos/system/automatic_reboot_manager.cc while ((length = HANDLE_EINTR(read(fd.get(), buffer, sizeof(buffer)))) > 0) buffer 69 chrome/browser/chromeos/system/automatic_reboot_manager.cc contents.append(buffer, length); buffer 188 chrome/browser/component_updater/test/url_request_post_interceptor.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(size)); buffer 16 chrome/browser/crash_upload_list_win.cc std::vector<uint8> buffer(1024); buffer 27 chrome/browser/crash_upload_list_win.cc &buffer[0], buffer 28 chrome/browser/crash_upload_list_win.cc buffer.size(), buffer 37 chrome/browser/crash_upload_list_win.cc EVENTLOGRECORD* record = (EVENTLOGRECORD*)&buffer[record_offset]; buffer 45 chrome/browser/crash_upload_list_win.cc buffer.resize(bytes_needed); buffer 423 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer, buffer 437 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(kHeaderSize); buffer 439 chrome/browser/devtools/adb/android_usb_device.cc buffer, kHeaderSize, kUsbTimeout, buffer 444 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer, buffer 458 chrome/browser/devtools/adb/android_usb_device.cc DumpMessage(false, buffer->data(), result); buffer 460 chrome/browser/devtools/adb/android_usb_device.cc memcpy(&header[0], buffer->data(), result); buffer 486 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(data_length); buffer 488 chrome/browser/devtools/adb/android_usb_device.cc buffer, data_length, kUsbTimeout, buffer 497 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<net::IOBuffer> buffer, buffer 512 chrome/browser/devtools/adb/android_usb_device.cc DumpMessage(false, buffer->data(), data_length); buffer 513 chrome/browser/devtools/adb/android_usb_device.cc message->body = std::string(buffer->data(), result); buffer 105 chrome/browser/devtools/adb/android_usb_device.h scoped_refptr<net::IOBuffer> buffer, buffer 110 chrome/browser/devtools/adb/android_usb_device.h scoped_refptr<net::IOBuffer> buffer, buffer 120 chrome/browser/devtools/adb/android_usb_device.h scoped_refptr<net::IOBuffer> buffer, buffer 16 chrome/browser/devtools/adb/android_usb_socket.cc net::IOBuffer* buffer, buffer 19 chrome/browser/devtools/adb/android_usb_socket.cc : buffer(buffer), buffer 105 chrome/browser/devtools/adb/android_usb_socket.cc int AndroidUsbSocket::Read(net::IOBuffer* buffer, buffer 112 chrome/browser/devtools/adb/android_usb_socket.cc read_requests_.push_back(IORequest(buffer, length, callback)); buffer 118 chrome/browser/devtools/adb/android_usb_socket.cc memcpy(buffer->data(), read_buffer_.data(), bytes_to_copy); buffer 126 chrome/browser/devtools/adb/android_usb_socket.cc int AndroidUsbSocket::Write(net::IOBuffer* buffer, buffer 136 chrome/browser/devtools/adb/android_usb_socket.cc std::string(buffer->data(), length)); buffer 231 chrome/browser/devtools/adb/android_usb_socket.cc memcpy(read_request.buffer->data(), read_buffer_.data(), bytes_to_copy); buffer 61 chrome/browser/devtools/adb/android_usb_socket.h IORequest(net::IOBuffer* buffer, buffer 66 chrome/browser/devtools/adb/android_usb_socket.h scoped_refptr<net::IOBuffer> buffer; buffer 147 chrome/browser/devtools/adb_web_socket.cc scoped_refptr<net::StringIOBuffer> buffer = buffer 149 chrome/browser/devtools/adb_web_socket.cc result = socket_->Write(buffer.get(), buffer->size(), buffer 90 chrome/browser/devtools/android_device.cc scoped_refptr<net::IOBuffer> buffer, buffer 139 chrome/browser/devtools/android_device.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(kBufferSize); buffer 140 chrome/browser/devtools/android_device.cc result = socket->Read(buffer, kBufferSize, buffer 142 chrome/browser/devtools/android_device.cc socket, buffer, std::string(), callback)); buffer 144 chrome/browser/devtools/android_device.cc OnRead(socket, buffer, std::string(), callback, result); buffer 148 chrome/browser/devtools/android_device.cc scoped_refptr<net::IOBuffer> buffer, buffer 158 chrome/browser/devtools/android_device.cc std::string new_data = data + std::string(buffer->data(), result); buffer 159 chrome/browser/devtools/android_device.cc result = socket->Read(buffer, kBufferSize, buffer 161 chrome/browser/devtools/android_device.cc socket, buffer, new_data, callback)); buffer 163 chrome/browser/devtools/android_device.cc OnRead(socket, buffer, new_data, callback, result); buffer 129 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(kBufferSize); buffer 131 chrome/browser/devtools/port_forwarding_controller.cc buffer.get(), buffer 134 chrome/browser/devtools/port_forwarding_controller.cc &SocketTunnel::OnRead, base::Unretained(this), from, to, buffer)); buffer 136 chrome/browser/devtools/port_forwarding_controller.cc OnRead(from, to, buffer, result); buffer 141 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<net::IOBuffer> buffer, buffer 150 chrome/browser/devtools/port_forwarding_controller.cc new net::DrainableIOBuffer(buffer.get(), total); buffer 546 chrome/browser/drive/drive_api_util.cc scoped_ptr<char[]> buffer(new char[kBufferSize]); buffer 548 chrome/browser/drive/drive_api_util.cc int result = file.Read(offset, buffer.get(), kBufferSize); buffer 560 chrome/browser/drive/drive_api_util.cc base::MD5Update(&context, base::StringPiece(buffer.get(), result)); buffer 368 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc scoped_refptr<net::GrowableIOBuffer> buffer(new net::GrowableIOBuffer); buffer 369 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc success_ = socket_->Receive(buffer.get()); buffer 371 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer->StartOfBuffer(), buffer 372 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc buffer->offset())); buffer 762 chrome/browser/extensions/api/cast_channel/cast_socket.cc net::GrowableIOBuffer* buffer, MessageHeader* header) { buffer 764 chrome/browser/extensions/api/cast_channel/cast_socket.cc memcpy(&message_size, buffer->StartOfBuffer(), kMessageHeaderSize); buffer 325 chrome/browser/extensions/api/cast_channel/cast_socket.h static void ReadFromIOBuffer(net::GrowableIOBuffer* buffer, buffer 218 chrome/browser/extensions/api/hid/hid_api.cc scoped_refptr<net::IOBufferWithSize> buffer( buffer 220 chrome/browser/extensions/api/hid/hid_api.cc memcpy(buffer->data(), parameters_->data.c_str(), parameters_->data.size()); buffer 222 chrome/browser/extensions/api/hid/hid_api.cc buffer, buffer 287 chrome/browser/extensions/api/hid/hid_api.cc scoped_refptr<net::IOBufferWithSize> buffer( buffer 291 chrome/browser/extensions/api/hid/hid_api.cc buffer, buffer 32 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc scoped_ptr<char[]> buffer(new char[kPartitionTableSize]); buffer 33 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc memset(buffer.get(), 0, kPartitionTableSize); buffer 35 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc if (base::WriteFile(image_path_, buffer.get(), kPartitionTableSize) != buffer 325 chrome/browser/extensions/api/image_writer_private/operation.cc scoped_ptr<char[]> buffer(new char[kMD5BufferSize]); buffer 335 chrome/browser/extensions/api/image_writer_private/operation.cc int len = file.Read(bytes_processed, buffer.get(), read_size); buffer 339 chrome/browser/extensions/api/image_writer_private/operation.cc base::MD5Update(&md5_context_, base::StringPiece(buffer.get(), len)); buffer 167 chrome/browser/extensions/api/image_writer_private/test_utils.cc scoped_ptr<char[]> buffer(new char[length]); buffer 168 chrome/browser/extensions/api/image_writer_private/test_utils.cc memset(buffer.get(), pattern, length); buffer 170 chrome/browser/extensions/api/image_writer_private/test_utils.cc return base::WriteFile(file, buffer.get(), length) == length; buffer 93 chrome/browser/extensions/api/log_private/syslog_parser.cc std::string buffer = tokens[1] + '-' + tokens[2] + '-' + tokens[0] + ' ' + buffer 97 chrome/browser/extensions/api/log_private/syslog_parser.cc if (!base::Time::FromString(buffer.c_str(), &parsed_time)) { buffer 221 chrome/browser/extensions/api/messaging/native_message_process_host.cc scoped_refptr<net::IOBufferWithSize> buffer = buffer 226 chrome/browser/extensions/api/messaging/native_message_process_host.cc *reinterpret_cast<uint32*>(buffer->data()) = json.size(); buffer 227 chrome/browser/extensions/api/messaging/native_message_process_host.cc memcpy(buffer->data() + kMessageHeaderSize, json.data(), json.size()); buffer 230 chrome/browser/extensions/api/messaging/native_message_process_host.cc write_queue_.push(buffer); buffer 98 chrome/browser/extensions/api/music_manager_private/device_id_win.cc std::vector<unsigned char> buffer(bufferSize); buffer 100 chrome/browser/extensions/api/music_manager_private/device_id_win.cc reinterpret_cast<PIP_ADAPTER_ADDRESSES>(&buffer.front()); buffer 105 chrome/browser/extensions/api/music_manager_private/device_id_win.cc buffer.resize(bufferSize); buffer 107 chrome/browser/extensions/api/music_manager_private/device_id_win.cc reinterpret_cast<PIP_ADAPTER_ADDRESSES>(&buffer.front()); buffer 265 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(std::max( buffer 269 chrome/browser/extensions/api/usb/usb_api.cc return buffer; buffer 272 chrome/browser/extensions/api/usb/usb_api.cc memcpy(buffer->data(), input.data->data(), size); buffer 273 chrome/browser/extensions/api/usb/usb_api.cc return buffer; buffer 975 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( buffer 977 chrome/browser/extensions/api/usb/usb_api.cc if (!buffer.get()) { buffer 989 chrome/browser/extensions/api/usb/usb_api.cc buffer.get(), buffer 1025 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( buffer 1027 chrome/browser/extensions/api/usb/usb_api.cc if (!buffer.get()) { buffer 1035 chrome/browser/extensions/api/usb/usb_api.cc buffer.get(), buffer 1071 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( buffer 1073 chrome/browser/extensions/api/usb/usb_api.cc if (!buffer.get()) { buffer 1081 chrome/browser/extensions/api/usb/usb_api.cc buffer.get(), buffer 1133 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> buffer = CreateBufferForTransfer( buffer 1135 chrome/browser/extensions/api/usb/usb_api.cc if (!buffer.get()) { buffer 1143 chrome/browser/extensions/api/usb/usb_api.cc buffer.get(), buffer 42 chrome/browser/extensions/api/usb/usb_apitest.cc net::IOBuffer* buffer, const size_t length, const unsigned int timeout, buffer 46 chrome/browser/extensions/api/usb/usb_apitest.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, buffer 50 chrome/browser/extensions/api/usb/usb_apitest.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, buffer 54 chrome/browser/extensions/api/usb/usb_apitest.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, buffer 534 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc std::string buffer; buffer 537 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc if (!buffer.empty()) buffer 538 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc buffer += "; "; buffer 539 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc buffer += i->first.as_string(); buffer 541 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc buffer += "=" + i->second.as_string(); buffer 543 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc return buffer; buffer 218 chrome/browser/extensions/extension_creator.cc scoped_ptr<uint8[]> buffer(new uint8[buffer_size]); buffer 220 chrome/browser/extensions/extension_creator.cc while ((bytes_read = fread(buffer.get(), 1, buffer_size, buffer 222 chrome/browser/extensions/extension_creator.cc if (!signature_creator->Update(buffer.get(), bytes_read)) { buffer 274 chrome/browser/extensions/extension_creator.cc scoped_ptr<uint8[]> buffer(new uint8[buffer_size]); buffer 277 chrome/browser/extensions/extension_creator.cc while ((bytes_read = fread(buffer.get(), 1, buffer_size, buffer 279 chrome/browser/extensions/extension_creator.cc if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) != buffer 20 chrome/browser/media/desktop_streams_registry.cc char buffer[kStreamIdLengthBytes]; buffer 21 chrome/browser/media/desktop_streams_registry.cc crypto::RandBytes(buffer, arraysize(buffer)); buffer 23 chrome/browser/media/desktop_streams_registry.cc base::Base64Encode(base::StringPiece(buffer, arraysize(buffer)), buffer 66 chrome/browser/media_galleries/fileapi/native_media_file_util.cc char buffer[net::kMaxBytesToSniff]; buffer 69 chrome/browser/media_galleries/fileapi/native_media_file_util.cc int64 len = file.Read(0, buffer, net::kMaxBytesToSniff); buffer 73 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return IsMediaHeader(buffer, len); buffer 38 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h void OnFinishReadFromSource(net::IOBuffer* buffer, int result); buffer 110 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedCoMem<base::char16> buffer; buffer 112 chrome/browser/media_galleries/win/mtp_device_operations_util.cc &buffer); buffer 114 chrome/browser/media_galleries/win/mtp_device_operations_util.cc hr = properties_values->GetStringValue(WPD_OBJECT_NAME, &buffer); buffer 116 chrome/browser/media_galleries/win/mtp_device_operations_util.cc result.assign(buffer); buffer 373 chrome/browser/media_galleries/win/mtp_device_operations_util.cc std::string buffer; buffer 374 chrome/browser/media_galleries/win/mtp_device_operations_util.cc HRESULT hr = stream->Read(WriteInto(&buffer, optimal_transfer_size + 1), buffer 383 chrome/browser/media_galleries/win/mtp_device_operations_util.cc CHECK_LE(bytes_read, buffer.length()); buffer 387 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::checked_cast<DWORD>(buffer.length()))); buffer 388 chrome/browser/media_galleries/win/mtp_device_operations_util.cc if (base::AppendToFile(local_path, buffer.c_str(), data_len) != data_len) buffer 460 chrome/browser/net/network_stats.cc scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer(output)); buffer 461 chrome/browser/net/network_stats.cc write_buffer_ = new net::DrainableIOBuffer(buffer.get(), buffer->size()); buffer 39 chrome/browser/parsers/metadata_parser_manager.cc char buffer[kAmountToRead]; buffer 42 chrome/browser/parsers/metadata_parser_manager.cc amount_read = base::ReadFile(path, buffer, sizeof(buffer)); buffer 48 chrome/browser/parsers/metadata_parser_manager.cc if (factories_[x]->CanParse(path, buffer, amount_read)) { buffer 115 chrome/browser/policy/policy_path_parser_win.cc LPWSTR buffer = NULL; buffer 119 chrome/browser/policy/policy_path_parser_win.cc &buffer, &buffer_length)) { buffer 120 chrome/browser/policy/policy_path_parser_win.cc std::wstring clientname_string(buffer); buffer 122 chrome/browser/policy/policy_path_parser_win.cc ::WTSFreeMemory(buffer); buffer 207 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc std::vector<unsigned char> buffer(bufferSize); buffer 209 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc reinterpret_cast<PIP_ADAPTER_ADDRESSES>(&buffer.front()); buffer 214 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc buffer.resize(bufferSize); buffer 216 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc reinterpret_cast<PIP_ADAPTER_ADDRESSES>(&buffer.front()); buffer 126 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GtkTextBuffer* buffer = GTK_TEXT_BUFFER(data); buffer 128 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_iter_at_mark(buffer, &insert, buffer 129 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_insert(buffer)); buffer 130 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_iter_at_mark(buffer, &selection_bound, buffer 131 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_selection_bound(buffer)); buffer 134 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_move_mark(buffer, buffer 135 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_selection_bound(buffer), buffer 1224 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::HandleMarkSet(GtkTextBuffer* buffer, buffer 1227 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (!text_buffer_ || buffer != text_buffer_) buffer 1261 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::HandleMarkSetAfter(GtkTextBuffer* buffer, buffer 1264 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (!text_buffer_ || buffer != text_buffer_) buffer 1372 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::HandleInsertText(GtkTextBuffer* buffer, buffer 1415 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GtkTextBufferClass* klass = GTK_TEXT_BUFFER_GET_CLASS(buffer); buffer 1417 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc klass->insert_text(buffer, location, utf8_text.data(), buffer 1424 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_signal_stop_emission(buffer, signal_id, 0); buffer 2025 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::HandleDeleteRange(GtkTextBuffer* buffer, buffer 2036 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_signal_stop_emission(buffer, signal_id, 0); buffer 2040 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::HandleMarkSetAlways(GtkTextBuffer* buffer, buffer 2057 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_signal_stop_emission(buffer, signal_id, 0); buffer 2058 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_move_mark(buffer, mark, &new_iter); buffer 2070 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_iter_at_mark(buffer, &insert, buffer 2071 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_insert(buffer)); buffer 2072 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_iter_at_mark(buffer, &selection_bound, buffer 2073 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_get_selection_bound(buffer)); buffer 2080 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_signal_stop_emission(buffer, signal_id, 0); buffer 110 chrome/browser/ui/network_profile_bubble.cc LPWSTR buffer = NULL; buffer 116 chrome/browser/ui/network_profile_bubble.cc &buffer, &buffer_length)) { buffer 121 chrome/browser/ui/network_profile_bubble.cc unsigned short* type = reinterpret_cast<unsigned short*>(buffer); buffer 151 chrome/browser/ui/network_profile_bubble.cc ::WTSFreeMemory(buffer); buffer 56 chrome/browser/ui/webui/print_preview/sticky_settings.cc std::string buffer; buffer 57 chrome/browser/ui/webui/print_preview/sticky_settings.cc if (value->GetString(printing::kSettingAppState, &buffer)) buffer 58 chrome/browser/ui/webui/print_preview/sticky_settings.cc printer_app_state_.reset(new std::string(buffer)); buffer 164 chrome/browser/usb/usb_device_handle.cc scoped_refptr<net::IOBuffer> buffer; buffer 225 chrome/browser/usb/usb_device_handle.cc scoped_refptr<net::IOBuffer> buffer = transfer.buffer; buffer 242 chrome/browser/usb/usb_device_handle.cc buffer->data() + LIBUSB_CONTROL_SETUP_SIZE, buffer 244 chrome/browser/usb/usb_device_handle.cc buffer = resized_buffer; buffer 264 chrome/browser/usb/usb_device_handle.cc memmove(buffer->data() + actual_length, buffer 265 chrome/browser/usb/usb_device_handle.cc buffer->data() + packet_buffer_start, buffer 289 chrome/browser/usb/usb_device_handle.cc buffer, buffer 400 chrome/browser/usb/usb_device_handle.cc net::IOBuffer* buffer, const size_t length, const unsigned int timeout, buffer 403 chrome/browser/usb/usb_device_handle.cc callback.Run(USB_TRANSFER_DISCONNECT, buffer, 0); buffer 410 chrome/browser/usb/usb_device_handle.cc memcpy(resized_buffer->data() + LIBUSB_CONTROL_SETUP_SIZE, buffer->data(), buffer 440 chrome/browser/usb/usb_device_handle.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, buffer 443 chrome/browser/usb/usb_device_handle.cc callback.Run(USB_TRANSFER_DISCONNECT, buffer, 0); buffer 450 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<uint8*>(buffer->data()), length, buffer 460 chrome/browser/usb/usb_device_handle.cc make_scoped_refptr(buffer), buffer 467 chrome/browser/usb/usb_device_handle.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, buffer 470 chrome/browser/usb/usb_device_handle.cc callback.Run(USB_TRANSFER_DISCONNECT, buffer, 0); buffer 477 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<uint8*>(buffer->data()), length, buffer 486 chrome/browser/usb/usb_device_handle.cc make_scoped_refptr(buffer), buffer 493 chrome/browser/usb/usb_device_handle.cc const uint8 endpoint, net::IOBuffer* buffer, const size_t length, buffer 497 chrome/browser/usb/usb_device_handle.cc callback.Run(USB_TRANSFER_DISCONNECT, buffer, 0); buffer 508 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<uint8*>(buffer->data()), length, packets, buffer 519 chrome/browser/usb/usb_device_handle.cc make_scoped_refptr(buffer), buffer 552 chrome/browser/usb/usb_device_handle.cc net::IOBuffer* buffer, buffer 561 chrome/browser/usb/usb_device_handle.cc make_scoped_refptr(buffer), 0)); buffer 566 chrome/browser/usb/usb_device_handle.cc transfer.buffer = buffer; buffer 581 chrome/browser/usb/usb_device_handle.cc make_scoped_refptr(buffer), 0)); buffer 87 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, buffer 94 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, buffer 101 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, buffer 108 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, buffer 150 chrome/browser/usb/usb_device_handle.h net::IOBuffer* buffer, buffer 19 chrome/common/chrome_content_client_unittest.cc std::string buffer = content_client.GetUserAgent(); buffer 21 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, "Mozilla/5.0 (", &pieces); buffer 23 chrome/common/chrome_content_client_unittest.cc buffer = pieces[1]; buffer 26 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, ") AppleWebKit/", &pieces); buffer 28 chrome/common/chrome_content_client_unittest.cc buffer = pieces[1]; buffer 31 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, " (KHTML, like Gecko) ", &pieces); buffer 33 chrome/common/chrome_content_client_unittest.cc buffer = pieces[1]; buffer 36 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, " Safari/", &pieces); buffer 51 chrome/common/importer/firefox_importer_utils_win.cc wchar_t buffer[MAX_PATH]; buffer 52 chrome/common/importer/firefox_importer_utils_win.cc DWORD buffer_length = sizeof(buffer); buffer 55 chrome/common/importer/firefox_importer_utils_win.cc LONG result = reg_key.ReadValue(kCurrentVersion, buffer, buffer 60 chrome/common/importer/firefox_importer_utils_win.cc registry_path += L"\\" + base::string16(buffer) + L"\\Main"; buffer 61 chrome/common/importer/firefox_importer_utils_win.cc buffer_length = sizeof(buffer); buffer 64 chrome/common/importer/firefox_importer_utils_win.cc result = reg_key_directory.ReadValue(L"Install Directory", buffer, buffer 67 chrome/common/importer/firefox_importer_utils_win.cc return (result != ERROR_SUCCESS) ? base::FilePath() : base::FilePath(buffer); buffer 19 chrome/common/partial_circular_buffer.cc PartialCircularBuffer::PartialCircularBuffer(void* buffer, buffer 21 chrome/common/partial_circular_buffer.cc : buffer_data_(reinterpret_cast<BufferData*>(buffer)), buffer 37 chrome/common/partial_circular_buffer.cc PartialCircularBuffer::PartialCircularBuffer(void* buffer, buffer 41 chrome/common/partial_circular_buffer.cc : buffer_data_(reinterpret_cast<BufferData*>(buffer)), buffer 64 chrome/common/partial_circular_buffer.cc uint32 PartialCircularBuffer::Read(void* buffer, uint32 buffer_size) { buffer 69 chrome/common/partial_circular_buffer.cc uint8* buffer_uint8 = reinterpret_cast<uint8*>(buffer); buffer 140 chrome/common/partial_circular_buffer.cc void PartialCircularBuffer::Write(const void* buffer, uint32 buffer_size) { buffer 146 chrome/common/partial_circular_buffer.cc DoWrite(buffer_data_->data + position_, buffer, to_write); buffer 157 chrome/common/partial_circular_buffer.cc reinterpret_cast<const uint8*>(buffer) + to_write, buffer 29 chrome/common/partial_circular_buffer.h PartialCircularBuffer(void* buffer, uint32 buffer_size); buffer 34 chrome/common/partial_circular_buffer.h PartialCircularBuffer(void* buffer, buffer 39 chrome/common/partial_circular_buffer.h uint32 Read(void* buffer, uint32 buffer_size); buffer 40 chrome/common/partial_circular_buffer.h void Write(const void* buffer, uint32 buffer_size); buffer 49 chrome/common/service_process_util_posix.cc int buffer; buffer 50 chrome/common/service_process_util_posix.cc int length = read(fd, &buffer, sizeof(buffer)); buffer 51 chrome/common/service_process_util_posix.cc if ((length == sizeof(buffer)) && (buffer == kTerminateMessage)) { buffer 55 chrome/common/service_process_util_posix.cc DLOG(ERROR) << "Unexpected read: " << buffer; buffer 86 chrome/installer/gcapi/gcapi.cc bool GetCompanyName(const wchar_t* filename, wchar_t* buffer, DWORD out_len) { buffer 128 chrome/installer/gcapi/gcapi.cc memset(buffer, 0, out_len); buffer 129 chrome/installer/gcapi/gcapi.cc ::StringCchCopyN(buffer, buffer 303 chrome/installer/mini_installer/mini_installer.cc CommandString* buffer) { buffer 325 chrome/installer/mini_installer/mini_installer.cc buffer->append(cmd_to_append); buffer 137 chrome/installer/test/alternate_version_generator.cc wchar_t buffer[24]; buffer 139 chrome/installer/test/alternate_version_generator.cc swprintf_s(&buffer[0], arraysize(buffer), L"%hu.%hu.%hu.%hu", buffer 142 chrome/installer/test/alternate_version_generator.cc DCHECK_GT(static_cast<int>(arraysize(buffer)), string_len); buffer 143 chrome/installer/test/alternate_version_generator.cc return std::wstring(&buffer[0], string_len); buffer 168 chrome/installer/util/delete_after_reboot_helper.cc HRESULT MultiSZBytesToStringArray(const char* buffer, size_t byte_count, buffer 170 chrome/installer/util/delete_after_reboot_helper.cc DCHECK(buffer); buffer 175 chrome/installer/util/delete_after_reboot_helper.cc const wchar_t* data = reinterpret_cast<const wchar_t*>(buffer); buffer 199 chrome/installer/util/delete_after_reboot_helper.cc std::vector<char>* buffer) { buffer 200 chrome/installer/util/delete_after_reboot_helper.cc DCHECK(buffer); buffer 201 chrome/installer/util/delete_after_reboot_helper.cc buffer->clear(); buffer 221 chrome/installer/util/delete_after_reboot_helper.cc buffer->resize(total_length); buffer 222 chrome/installer/util/delete_after_reboot_helper.cc wchar_t* write_pointer = reinterpret_cast<wchar_t*>(&((*buffer)[0])); buffer 281 chrome/installer/util/delete_after_reboot_helper.cc std::vector<char> buffer; buffer 282 chrome/installer/util/delete_after_reboot_helper.cc buffer.resize(1); buffer 285 chrome/installer/util/delete_after_reboot_helper.cc 0, &type, reinterpret_cast<BYTE*>(&buffer[0]), buffer 309 chrome/installer/util/delete_after_reboot_helper.cc buffer.resize(buffer_size); buffer 311 chrome/installer/util/delete_after_reboot_helper.cc 0, &type, reinterpret_cast<LPBYTE>(&buffer[0]), buffer 321 chrome/installer/util/delete_after_reboot_helper.cc HRESULT hr = MultiSZBytesToStringArray(&buffer[0], buffer.size(), buffer 391 chrome/installer/util/delete_after_reboot_helper.cc std::vector<char> buffer; buffer 392 chrome/installer/util/delete_after_reboot_helper.cc StringArrayToMultiSZBytes(strings_to_keep, &buffer); buffer 393 chrome/installer/util/delete_after_reboot_helper.cc DCHECK_GT(buffer.size(), 0U); buffer 394 chrome/installer/util/delete_after_reboot_helper.cc if (buffer.empty()) buffer 396 chrome/installer/util/delete_after_reboot_helper.cc return (session_manager_key.WriteValue(kPendingFileRenameOps, &buffer[0], buffer 397 chrome/installer/util/delete_after_reboot_helper.cc buffer.size(), REG_MULTI_SZ) == ERROR_SUCCESS); buffer 59 chrome/installer/util/delete_after_reboot_helper.h HRESULT MultiSZBytesToStringArray(const char* buffer, size_t byte_count, buffer 67 chrome/installer/util/delete_after_reboot_helper.h std::vector<char>* buffer); buffer 53 chrome/installer/util/delete_after_reboot_helper_unittest.cc std::vector<char> buffer; buffer 54 chrome/installer/util/delete_after_reboot_helper_unittest.cc StringArrayToMultiSZBytes(original_pending_moves_, &buffer); buffer 55 chrome/installer/util/delete_after_reboot_helper_unittest.cc session_manager_key.WriteValue(kPendingFileRenameOps, &buffer[0], buffer 56 chrome/installer/util/delete_after_reboot_helper_unittest.cc buffer.size(), REG_MULTI_SZ); buffer 120 chrome/installer/util/delete_after_reboot_helper_unittest.cc std::vector<char> buffer; buffer 121 chrome/installer/util/delete_after_reboot_helper_unittest.cc buffer.resize(WStringPairListSize(string_list)); buffer 122 chrome/installer/util/delete_after_reboot_helper_unittest.cc StringArrayToMultiSZBytes(string_list, &buffer); buffer 123 chrome/installer/util/delete_after_reboot_helper_unittest.cc EXPECT_TRUE(CompareBuffers(&buffer[0], buffer 71 chrome/installer/util/lzma_util.cc SRes SzFileReadImp(void *object, void *buffer, size_t *size) { buffer 73 chrome/installer/util/lzma_util.cc return LzmaReadFile(s->file.handle, buffer, size); buffer 130 chrome/renderer/chrome_render_process_observer.cc LPVOID buffer, buffer 132 chrome/renderer/chrome_render_process_observer.cc int rv = GetFontData(hdc, table, offset, buffer, length); buffer 140 chrome/renderer/chrome_render_process_observer.cc rv = GetFontData(hdc, table, offset, buffer, length); buffer 22 chrome/renderer/net/predictor_queue_unittest.cc DnsQueueSequentialTester(DnsQueue& buffer, int32 read_counter = 0, buffer 40 chrome/renderer/net/predictor_queue_unittest.cc DnsQueue& buffer, int32 read_counter, int32 write_counter) buffer 41 chrome/renderer/net/predictor_queue_unittest.cc : buffer_(&buffer), buffer 80 chrome/renderer/net/predictor_queue_unittest.cc DnsQueue buffer(buffer_size); buffer 81 chrome/renderer/net/predictor_queue_unittest.cc DnsQueueSequentialTester tester(buffer); buffer 90 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_FALSE(buffer.Pop(&string)) buffer 103 chrome/renderer/net/predictor_queue_unittest.cc DnsQueue buffer(buffer_size); buffer 105 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_FALSE(buffer.Pop(&string)) << "Initial buffer not empty"; buffer 107 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(DnsQueue::SUCCESSFUL_PUSH, buffer.Push(big_string, 3)) buffer 109 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(DnsQueue::SUCCESSFUL_PUSH, buffer.Push(big_string, 0)) buffer 111 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(DnsQueue::SUCCESSFUL_PUSH, buffer.Push(big_string, 5)) buffer 114 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_TRUE(buffer.Pop(&string)) << "Filled buffer marked as empty"; buffer 116 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_TRUE(buffer.Pop(&string)) << "Filled buffer marked as empty"; buffer 118 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_TRUE(buffer.Pop(&string)) << "Filled buffer marked as empty"; buffer 121 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_FALSE(buffer.Pop(&string)) buffer 130 chrome/renderer/net/predictor_queue_unittest.cc DnsQueue buffer(buffer_size); buffer 132 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(0U, buffer.Size()); buffer 133 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_FALSE(buffer.Pop(&string)); buffer 134 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(DnsQueue::SUCCESSFUL_PUSH, buffer.Push(input_string)); buffer 135 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(1U, buffer.Size()); buffer 136 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(DnsQueue::SUCCESSFUL_PUSH, buffer.Push("Hi There")); buffer 137 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(2U, buffer.Size()); buffer 138 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_TRUE(buffer.Pop(&string)); buffer 139 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(1U, buffer.Size()); buffer 140 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_TRUE(buffer.Pop(&string)); buffer 141 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(0U, buffer.Size()); buffer 142 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(DnsQueue::SUCCESSFUL_PUSH, buffer.Push(input_string)); buffer 143 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(1U, buffer.Size()); buffer 146 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(DnsQueue::REDUNDANT_PUSH, buffer.Push(input_string)); buffer 147 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(1U, buffer.Size()); buffer 156 chrome/renderer/net/predictor_queue_unittest.cc DnsQueue buffer(buffer_size); buffer 157 chrome/renderer/net/predictor_queue_unittest.cc DnsQueueSequentialTester tester(buffer); buffer 163 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(buffer.Size(), write_success + 1); buffer 193 chrome/renderer/net/predictor_queue_unittest.cc DnsQueue buffer(buffer_size); buffer 195 chrome/renderer/net/predictor_queue_unittest.cc DnsQueueSequentialTester tester(buffer); buffer 201 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(buffer.Size(), write_success + 1); buffer 204 chrome/renderer/net/predictor_queue_unittest.cc buffer.Clear(); buffer 205 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(buffer.Size(), 0U); buffer 211 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(buffer.Size(), write_success2 + 1); buffer 215 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(buffer.Size(), write_success2); buffer 216 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_TRUE(buffer.Pop(&string)); buffer 219 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(buffer.Size(), 0U); buffer 220 chrome/renderer/net/predictor_queue_unittest.cc buffer.Clear(); buffer 221 chrome/renderer/net/predictor_queue_unittest.cc EXPECT_EQ(buffer.Size(), 0U); buffer 237 chrome/renderer/net/predictor_queue_unittest.cc DnsQueue buffer(buffer_size); buffer 238 chrome/renderer/net/predictor_queue_unittest.cc DnsQueueSequentialTester tester(buffer); buffer 8 chrome/renderer/static_v8_external_string_resource.cc const base::StringPiece& buffer) buffer 9 chrome/renderer/static_v8_external_string_resource.cc : buffer_(buffer) { buffer 18 chrome/renderer/static_v8_external_string_resource.h explicit StaticV8ExternalAsciiStringResource(const base::StringPiece& buffer); buffer 62 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TestHttpServerClient.java byte[] buffer = new byte[128]; buffer 63 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TestHttpServerClient.java int length = is.read(buffer); buffer 67 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TestHttpServerClient.java expectedResponse, new String(buffer, 0, length).trim()); buffer 239 chrome/test/chromedriver/net/websocket.cc scoped_refptr<net::IOBufferWithSize> buffer = frame_chunks[i]->data; buffer 240 chrome/test/chromedriver/net/websocket.cc if (buffer.get()) buffer 241 chrome/test/chromedriver/net/websocket.cc next_message_ += std::string(buffer->data(), buffer->size()); buffer 307 chrome/test/chromedriver/util.cc uint32 entry_size = stream.buffer().length(); buffer 329 chrome/test/chromedriver/util.cc uint32 cd_size = stream.buffer().length() - entry_size; buffer 341 chrome/test/chromedriver/util.cc return stream.buffer(); buffer 51 chrome/test/data/nacl/extension_mime_handler/ppapi_extension_mime_handler.cc char buffer[kMaxFileSize]; buffer 68 chrome/test/data/nacl/extension_mime_handler/ppapi_extension_mime_handler.cc int diff = strncmp(buffer, buffer 81 chrome/test/data/nacl/extension_mime_handler/ppapi_extension_mime_handler.cc buffer + buffer_pos, buffer 97 chrome/test/data/nacl/extension_mime_handler/ppapi_extension_mime_handler.cc buffer, buffer 48 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc char buffer[4096]; buffer 50 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc while ((len = read(desc, buffer, sizeof buffer - 1)) > 0) { buffer 74 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc int len = strlen(buffer); buffer 75 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc if (len >= 2 && buffer[len-1] == '\n' && buffer[len-2] == '\r') { buffer 76 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc buffer[len-2] = '\n'; buffer 77 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc buffer[len-1] = '\0'; buffer 80 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc buffer[len] = 0; buffer 81 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc str += buffer; buffer 177 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc char *buffer; buffer 182 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer = reinterpret_cast<char *>(malloc(nbytes)); buffer 183 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc if (NULL == buffer) { buffer 193 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer)) { buffer 202 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc new_buffer = reinterpret_cast<char *>(realloc(buffer, nbytes)); buffer 205 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc free(buffer); buffer 208 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer = new_buffer; buffer 213 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc if (nbytes == sizeof buffer) { buffer 218 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc for (char *p = buffer; buffer 219 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc static_cast<size_t>(p - buffer) < nbytes; buffer 224 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc free(buffer); buffer 475 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc char buffer[1024]; buffer 476 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc uint32_t nbytes = sizeof buffer; buffer 480 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc &nbytes, buffer)) { buffer 493 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc for (char *p = buffer; buffer 494 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc static_cast<size_t>(p - buffer) < nbytes; buffer 553 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc char buffer[4096]; buffer 555 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc while ((len = read(desc, buffer, sizeof buffer - 1)) > 0) { buffer 579 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc if (len >= 2 && buffer[len-1] == '\n' && buffer[len-2] == '\r') { buffer 580 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer[len-2] = '\n'; buffer 581 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer[len-1] = '\0'; buffer 584 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer[len] = 0; buffer 585 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc sb->Printf("%s", buffer); buffer 115 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc char buffer[4096]; buffer 117 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc while ((len = read(desc, buffer, sizeof buffer - 1)) > 0) { buffer 141 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc int len = strlen(buffer); buffer 142 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc if (len >= 2 && buffer[len-1] == '\n' && buffer[len-2] == '\r') { buffer 143 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc buffer[len-2] = '\n'; buffer 144 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc buffer[len-1] = '\0'; buffer 147 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc buffer[len] = 0; buffer 148 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc sb.Printf("%s", buffer); buffer 78 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc char buffer[1024]; buffer 79 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc uint32_t nbytes = sizeof buffer; buffer 83 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc &nbytes, buffer)) { buffer 88 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc if (nbytes == sizeof buffer) { buffer 94 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc for (char *p = buffer; buffer 95 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc static_cast<size_t>(p - buffer) < nbytes; buffer 126 chrome/test/security_tests/ipc_security_tests.cc char buffer[4]; buffer 138 chrome/test/security_tests/ipc_security_tests.cc ::ReadFile(server_pipe, buffer, 1, &bytes_read, NULL); buffer 84 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp unsigned char buffer[1024]; buffer 87 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp od.oid.data = buffer; buffer 88 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp od.oid.len = sizeof(buffer); buffer 216 chrome/utility/chrome_content_utility_client.cc HDC hdc, DWORD table, DWORD offset, LPVOID buffer, DWORD length) { buffer 217 chrome/utility/chrome_content_utility_client.cc int rv = GetFontData(hdc, table, offset, buffer, length); buffer 224 chrome/utility/chrome_content_utility_client.cc rv = GetFontData(hdc, table, offset, buffer, length); buffer 626 chrome/utility/chrome_content_utility_client.cc std::vector<uint8> buffer; buffer 627 chrome/utility/chrome_content_utility_client.cc buffer.resize(length); buffer 629 chrome/utility/chrome_content_utility_client.cc if (!ReadFile(pdf_file, &buffer.front(), length, &bytes_read, NULL) || buffer 635 chrome/utility/chrome_content_utility_client.cc if (!g_pdf_lib.Get().GetPDFDocInfo(&buffer.front(), buffer.size(), buffer 664 chrome/utility/chrome_content_utility_client.cc &buffer.front(), buffer.size(), page_number, metafile.context(), buffer 140 chrome/utility/image_writer/image_writer.cc scoped_ptr<char[]> buffer(new char[kBurningBlockSize]); buffer 141 chrome/utility/image_writer/image_writer.cc memset(buffer.get(), 0, kBurningBlockSize); buffer 143 chrome/utility/image_writer/image_writer.cc int bytes_read = image_file_.Read(bytes_processed_, buffer.get(), buffer 149 chrome/utility/image_writer/image_writer.cc int bytes_written = device_file_.Write(bytes_processed_, buffer.get(), buffer 38 chrome/utility/image_writer/image_writer_unittest.cc scoped_ptr<char[]> buffer(new char[kTestFileSize]); buffer 39 chrome/utility/image_writer/image_writer_unittest.cc memset(buffer.get(), pattern, kTestFileSize); buffer 41 chrome/utility/image_writer/image_writer_unittest.cc ASSERT_TRUE(base::WriteFile(path, buffer.get(), kTestFileSize)); buffer 571 chrome/utility/importer/ie_importer_win.cc unsigned char* buffer = NULL; buffer 573 chrome/utility/importer/ie_importer_win.cc item_name, &length, &buffer, NULL, 0); buffer 578 chrome/utility/importer/ie_importer_win.cc data.insert(0, reinterpret_cast<wchar_t*>(buffer), buffer 590 chrome/utility/importer/ie_importer_win.cc CoTaskMemFree(buffer); buffer 764 chrome/utility/importer/ie_importer_win.cc wchar_t buffer[MAX_PATH]; buffer 766 chrome/utility/importer/ie_importer_win.cc SHGFP_TYPE_CURRENT, buffer))) buffer 768 chrome/utility/importer/ie_importer_win.cc info->path = base::FilePath(buffer); buffer 776 chrome/utility/importer/ie_importer_win.cc DWORD buffer_length = sizeof(buffer); buffer 778 chrome/utility/importer/ie_importer_win.cc if (reg_key.ReadValue(L"LinksFolderName", buffer, buffer 781 chrome/utility/importer/ie_importer_win.cc info->links_folder = buffer; buffer 874 chrome/utility/importer/ie_importer_win.cc wchar_t buffer[128]; buffer 875 chrome/utility/importer/ie_importer_win.cc DWORD buffer_length = sizeof(buffer); buffer 877 chrome/utility/importer/ie_importer_win.cc LONG result = reg_key.ReadValue(L"Version", buffer, &buffer_length, NULL); buffer 878 chrome/utility/importer/ie_importer_win.cc version = ((result == ERROR_SUCCESS)? _wtoi(buffer) : 0); buffer 306 chrome_elf/create_file/chrome_create_file.cc wchar_t buffer[MAX_PATH] = {}; buffer 307 chrome_elf/create_file/chrome_create_file.cc if (!GetModuleFileNameW(NULL, buffer, MAX_PATH)) buffer 310 chrome_elf/create_file/chrome_create_file.cc bool is_canary = IsCanary(buffer); buffer 424 chromeos/dbus/debug_daemon_client.cc const uint8* buffer = NULL; buffer 426 chromeos/dbus/debug_daemon_client.cc if (!reader.PopArrayOfBytes(&buffer, &buf_size)) buffer 430 chromeos/dbus/debug_daemon_client.cc data.insert(data.end(), buffer, buffer + buf_size); buffer 31 cloud_print/common/win/cloud_print_utils.cc LPCWSTR buffer = NULL; buffer 34 cloud_print/common/win/cloud_print_utils.cc int count = ::LoadString(module, id, reinterpret_cast<LPWSTR>(&buffer), 0); buffer 35 cloud_print/common/win/cloud_print_utils.cc if (!buffer) buffer 37 cloud_print/common/win/cloud_print_utils.cc return base::string16(buffer, buffer + count); buffer 41 cloud_print/common/win/cloud_print_utils.cc LPWSTR buffer = NULL; buffer 44 cloud_print/common/win/cloud_print_utils.cc 0, hr, 0, reinterpret_cast<LPWSTR>(&buffer), 0, NULL); buffer 45 cloud_print/common/win/cloud_print_utils.cc base::string16 result(buffer); buffer 46 cloud_print/common/win/cloud_print_utils.cc ::LocalFree(buffer); buffer 104 cloud_print/gcp20/prototype/dns_sd_server.cc scoped_refptr<net::IOBufferWithSize> buffer(builder.Build()); buffer 106 cloud_print/gcp20/prototype/dns_sd_server.cc DCHECK(buffer.get() != NULL); buffer 108 cloud_print/gcp20/prototype/dns_sd_server.cc socket_->SendTo(buffer.get(), buffer.get()->size(), multicast_address_, buffer 179 cloud_print/gcp20/prototype/dns_sd_server.cc scoped_refptr<net::IOBufferWithSize> buffer(builder.Build()); buffer 180 cloud_print/gcp20/prototype/dns_sd_server.cc if (buffer.get() == NULL) buffer 187 cloud_print/gcp20/prototype/dns_sd_server.cc socket_->SendTo(buffer.get(), buffer.get()->size(), buffer 297 cloud_print/gcp20/prototype/dns_sd_server.cc scoped_refptr<net::IOBufferWithSize> buffer(builder.Build()); buffer 299 cloud_print/gcp20/prototype/dns_sd_server.cc DCHECK(buffer.get() != NULL); buffer 301 cloud_print/gcp20/prototype/dns_sd_server.cc socket_->SendTo(buffer.get(), buffer.get()->size(), multicast_address_, buffer 297 cloud_print/service/win/service_controller.cc std::vector<uint8> buffer(config_size, 0); buffer 299 cloud_print/service/win/service_controller.cc reinterpret_cast<QUERY_SERVICE_CONFIG*>(&buffer[0]); buffer 300 cloud_print/service/win/service_controller.cc if (!::QueryServiceConfig(service, config, buffer.size(), &config_size) || buffer 301 cloud_print/service/win/service_controller.cc config_size != buffer.size()) { buffer 147 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc scoped_ptr<BYTE[]> buffer(new BYTE[bytes_needed]); buffer 151 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc buffer.get(), buffer 157 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc JOB_INFO_1* job_info = reinterpret_cast<JOB_INFO_1*>(buffer.get()); buffer 440 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc BYTE* buffer, buffer 449 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc static_cast<DWORD>(fwrite(buffer, 1, buffer_size, port_data->file)); buffer 43 cloud_print/virtual_driver/win/port_monitor/port_monitor.h BYTE* buffer, buffer 136 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc BYTE* buffer = new BYTE[needed_bytes]; buffer 137 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 141 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 147 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PORT_INFO_1* port_info_1 = reinterpret_cast<PORT_INFO_1*>(buffer); buffer 149 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc delete[] buffer; buffer 164 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer = new BYTE[needed_bytes]; buffer 165 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 169 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 175 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PORT_INFO_2* port_info_2 = reinterpret_cast<PORT_INFO_2*>(buffer); buffer 177 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc delete[] buffer; buffer 189 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc BYTE buffer[kBufferSize] = {0}; buffer 207 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 223 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 241 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 246 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 247 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc sizeof(buffer), buffer 256 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 261 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc buffer, buffer 262 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc sizeof(buffer), buffer 35 cloud_print/virtual_driver/win/port_monitor/spooler_win.h BYTE* buffer, buffer 875 components/autofill/core/browser/autofill_country.cc scoped_ptr<uint8_t[]>* buffer, buffer 955 components/autofill/core/browser/autofill_country.cc scoped_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]); buffer 965 components/autofill/core/browser/autofill_country.cc &buffer, buffer 985 components/autofill/core/browser/autofill_country.cc scoped_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]); buffer 988 components/autofill/core/browser/autofill_country.cc &buffer, buffer 1022 components/autofill/core/browser/autofill_country.cc scoped_ptr<uint8_t[]>* buffer, buffer 1024 components/autofill/core/browser/autofill_country.cc DCHECK(buffer); buffer 1028 components/autofill/core/browser/autofill_country.cc int32_t expected_size = collator.getSortKey(icu_str, buffer->get(), buffer 1033 components/autofill/core/browser/autofill_country.cc buffer->reset(new uint8_t[*buffer_size]); buffer 1034 components/autofill/core/browser/autofill_country.cc DCHECK(buffer->get()); buffer 1036 components/autofill/core/browser/autofill_country.cc expected_size = collator.getSortKey(icu_str, buffer->get(), *buffer_size); buffer 1040 components/autofill/core/browser/autofill_country.cc return std::string(reinterpret_cast<const char*>(buffer->get())); buffer 39 components/autofill/core/browser/crypto/rc4_decryptor.h scoped_ptr<wchar_t[]> buffer(new wchar_t[data.length() + 1]); buffer 40 components/autofill/core/browser/crypto/rc4_decryptor.h memset(buffer.get(), 0, (data.length() + 1) * sizeof(wchar_t)); buffer 41 components/autofill/core/browser/crypto/rc4_decryptor.h memcpy(buffer.get(), data.c_str(), data_size); buffer 43 components/autofill/core/browser/crypto/rc4_decryptor.h RunInternal(reinterpret_cast<uint8 *>(buffer.get()), data_size); buffer 45 components/autofill/core/browser/crypto/rc4_decryptor.h std::wstring result(buffer.get()); buffer 48 components/autofill/core/browser/crypto/rc4_decryptor.h memset(buffer.get(), 0, data_size); buffer 85 components/autofill/core/browser/crypto/rc4_decryptor.h void RunInternal(uint8 *buffer, int buffer_len) { buffer 99 components/autofill/core/browser/crypto/rc4_decryptor.h buffer[counter] ^= state[xor_index]; buffer 89 components/nacl/browser/nacl_validation_cache.cc std::string buffer; buffer 93 components/nacl/browser/nacl_validation_cache.cc if (!iter.ReadString(&buffer)) buffer 95 components/nacl/browser/nacl_validation_cache.cc if (0 != buffer.compare(kValidationCacheBeginMagic)) buffer 99 components/nacl/browser/nacl_validation_cache.cc if (!iter.ReadString(&buffer)) buffer 101 components/nacl/browser/nacl_validation_cache.cc if (buffer.size() != kValidationCacheKeySize) buffer 104 components/nacl/browser/nacl_validation_cache.cc validation_cache_key_ = buffer; buffer 111 components/nacl/browser/nacl_validation_cache.cc if (!iter.ReadString(&buffer)) buffer 113 components/nacl/browser/nacl_validation_cache.cc if (buffer.size() != kValidationCacheEntrySize) buffer 115 components/nacl/browser/nacl_validation_cache.cc validation_cache_.Put(buffer, true); buffer 119 components/nacl/browser/nacl_validation_cache.cc if (!iter.ReadString(&buffer)) buffer 121 components/nacl/browser/nacl_validation_cache.cc if (0 != buffer.compare(kValidationCacheEndMagic)) buffer 260 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer) { buffer 273 components/nacl/browser/pnacl_host.cc pt->nexe_read_buffer = buffer; buffer 372 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer; buffer 379 components/nacl/browser/pnacl_host.cc buffer = new net::DrainableIOBuffer( buffer 381 components/nacl/browser/pnacl_host.cc if (base::ReadPlatformFile(fd, 0, buffer->data(), buffer->size()) != buffer 388 components/nacl/browser/pnacl_host.cc buffer = NULL; buffer 391 components/nacl/browser/pnacl_host.cc return buffer; buffer 446 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer) { buffer 457 components/nacl/browser/pnacl_host.cc if (buffer.get() == NULL) { buffer 463 components/nacl/browser/pnacl_host.cc buffer, buffer 512 components/nacl/browser/pnacl_host.cc scoped_refptr<net::DrainableIOBuffer> buffer) { buffer 513 components/nacl/browser/pnacl_host.cc int rv = base::WritePlatformFile(fd, 0, buffer->data(), buffer->size()); buffer 145 components/nacl/browser/pnacl_host.h scoped_refptr<net::DrainableIOBuffer> buffer); buffer 160 components/nacl/browser/pnacl_host.h scoped_refptr<net::DrainableIOBuffer> buffer); buffer 82 components/nacl/loader/nacl_helper_linux.cc char buffer[kMaxReadSize]; buffer 87 components/nacl/loader/nacl_helper_linux.cc const int nread = HANDLE_EINTR(read(parent_fd, buffer, kMaxReadSize)); buffer 96 components/nacl/loader/nacl_helper_linux.cc if (switch_prefix.compare(0, len, buffer, 0, len) == 0) { buffer 100 components/nacl/loader/nacl_helper_linux.cc std::string(&buffer[len], nread - len)); buffer 577 components/nacl/loader/nacl_ipc_adapter.cc bool NaClIPCAdapter::SendCompleteMessage(const char* buffer, buffer 583 components/nacl/loader/nacl_ipc_adapter.cc reinterpret_cast<const NaClMessageHeader*>(buffer); buffer 605 components/nacl/loader/nacl_ipc_adapter.cc msg->WriteBytes(&buffer[sizeof(NaClMessageHeader)], body_len); buffer 159 components/nacl/loader/nacl_ipc_adapter.h bool SendCompleteMessage(const char* buffer, size_t buffer_len); buffer 52 components/policy/core/common/cloud/resource_cache.cc std::string buffer; buffer 53 components/policy/core/common/cloud/resource_cache.cc base::ReplaceChars(encoded, "-", "+", &buffer); buffer 54 components/policy/core/common/cloud/resource_cache.cc base::ReplaceChars(buffer, "_", "/", &buffer); buffer 55 components/policy/core/common/cloud/resource_cache.cc return base::Base64Decode(buffer, value) && !value->empty(); buffer 163 components/policy/core/common/policy_loader_mac_unittest.cc const char buffer[] = "binary \xde\xad\xbe\xef data"; buffer 166 components/policy/core/common/policy_loader_mac_unittest.cc reinterpret_cast<const UInt8 *>(buffer), buffer 167 components/policy/core/common/policy_loader_mac_unittest.cc arraysize(buffer))); buffer 262 components/policy/core/common/policy_loader_win_unittest.cc static void AppendChars(std::vector<uint8>* buffer, buffer 561 components/policy/core/common/policy_loader_win_unittest.cc void PRegTestHarness::AppendChars(std::vector<uint8>* buffer, buffer 564 components/policy/core/common/policy_loader_win_unittest.cc buffer->push_back(*c & 0xff); buffer 565 components/policy/core/common/policy_loader_win_unittest.cc buffer->push_back((*c >> 8) & 0xff); buffer 574 components/policy/core/common/policy_loader_win_unittest.cc std::vector<uint8> buffer; buffer 575 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, L"["); buffer 576 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, path); buffer 577 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, base::string16(L"\0;", 2)); buffer 578 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, UTF8ToUTF16(key)); buffer 579 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, base::string16(L"\0;", 2)); buffer 582 components/policy/core/common/policy_loader_win_unittest.cc buffer.insert(buffer.end(), type_data, type_data + sizeof(DWORD)); buffer 583 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, L";"); buffer 586 components/policy/core/common/policy_loader_win_unittest.cc buffer.insert(buffer.end(), size_data, size_data + sizeof(DWORD)); buffer 587 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, L";"); buffer 588 components/policy/core/common/policy_loader_win_unittest.cc buffer.insert(buffer.end(), data, data + size); buffer 589 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, L"]"); buffer 591 components/policy/core/common/policy_loader_win_unittest.cc ASSERT_EQ(buffer.size(), buffer 594 components/policy/core/common/policy_loader_win_unittest.cc reinterpret_cast<const char*>(vector_as_array(&buffer)), buffer 595 components/policy/core/common/policy_loader_win_unittest.cc buffer.size())); buffer 200 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedCoMem<base::char16> buffer; buffer 201 components/storage_monitor/portable_device_watcher_win.cc HRESULT hr = properties_values->GetStringValue(key, &buffer); buffer 204 components/storage_monitor/portable_device_watcher_win.cc *value = static_cast<const base::char16*>(buffer); buffer 1097 components/wifi/wifi_service_win.cc scoped_ptr<unsigned char[]> buffer(new unsigned char[buffer_length]); buffer 1099 components/wifi/wifi_service_win.cc reinterpret_cast<IP_INTERFACE_INFO*>(buffer.get()); buffer 524 content/app/content_main_runner.cc static void GetStatsThunk(char* buffer, int buffer_length) { buffer 525 content/app/content_main_runner.cc MallocExtension::instance()->GetStats(buffer, buffer_length); buffer 45 content/browser/accessibility/browser_accessibility_state_impl_win.cc scoped_ptr<char[]> buffer(new char[bytes_required]); buffer 46 content/browser/accessibility/browser_accessibility_state_impl_win.cc modules = reinterpret_cast<HMODULE*>(buffer.get()); buffer 59 content/browser/byte_stream.cc virtual bool Write(scoped_refptr<net::IOBuffer> buffer, buffer 213 content/browser/byte_stream.cc scoped_refptr<net::IOBuffer> buffer, size_t byte_count) { buffer 228 content/browser/byte_stream.cc input_contents_.push_back(std::make_pair(buffer, byte_count)); buffer 132 content/browser/byte_stream.h virtual bool Write(scoped_refptr<net::IOBuffer> buffer, buffer 35 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(buffer_size)); buffer 36 content/browser/byte_stream_unittest.cc char *bufferp = buffer->data(); buffer 42 content/browser/byte_stream_unittest.cc return buffer; buffer 58 content/browser/byte_stream_unittest.cc scoped_refptr<net::IOBuffer> buffer, size_t buffer_size) { buffer 59 content/browser/byte_stream_unittest.cc char *bufferp = buffer->data(); buffer 32 content/browser/device_orientation/data_fetcher_shared_memory.h virtual bool Start(ConsumerType consumer_type, void* buffer) OVERRIDE; buffer 20 content/browser/device_orientation/data_fetcher_shared_memory_android.cc bool DataFetcherSharedMemory::Start(ConsumerType consumer_type, void* buffer) { buffer 21 content/browser/device_orientation/data_fetcher_shared_memory_android.cc DCHECK(buffer); buffer 27 content/browser/device_orientation/data_fetcher_shared_memory_android.cc static_cast<DeviceMotionHardwareBuffer*>(buffer)); buffer 31 content/browser/device_orientation/data_fetcher_shared_memory_android.cc static_cast<DeviceOrientationHardwareBuffer*>(buffer)); buffer 38 content/browser/device_orientation/data_fetcher_shared_memory_base.cc void AddConsumer(ConsumerType consumer_type, void* buffer); buffer 68 content/browser/device_orientation/data_fetcher_shared_memory_base.cc ConsumerType consumer_type, void* buffer) { buffer 70 content/browser/device_orientation/data_fetcher_shared_memory_base.cc if (!fetcher_->Start(consumer_type, buffer)) buffer 124 content/browser/device_orientation/data_fetcher_shared_memory_base.cc void* buffer = GetSharedMemoryBuffer(consumer_type); buffer 125 content/browser/device_orientation/data_fetcher_shared_memory_base.cc if (!buffer) buffer 135 content/browser/device_orientation/data_fetcher_shared_memory_base.cc consumer_type, buffer)); buffer 137 content/browser/device_orientation/data_fetcher_shared_memory_base.cc if (!Start(consumer_type, buffer)) buffer 76 content/browser/device_orientation/data_fetcher_shared_memory_base.h virtual bool Start(ConsumerType consumer_type, void* buffer) = 0; buffer 33 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc bool Init(ConsumerType consumer_type, void* buffer) { buffer 34 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(buffer); buffer 38 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc motion_buffer_ = static_cast<DeviceMotionHardwareBuffer*>(buffer); buffer 42 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc static_cast<DeviceOrientationHardwareBuffer*>(buffer); buffer 51 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc DeviceMotionHardwareBuffer* buffer = GetMotionBuffer(); buffer 52 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc ASSERT_TRUE(buffer); buffer 53 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->seqlock.WriteBegin(); buffer 54 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->data.interval = kInertialSensorIntervalMillis; buffer 55 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->seqlock.WriteEnd(); buffer 60 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc DeviceOrientationHardwareBuffer* buffer = GetOrientationBuffer(); buffer 61 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc ASSERT_TRUE(buffer); buffer 62 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->seqlock.WriteBegin(); buffer 63 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->data.alpha = 1; buffer 64 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->seqlock.WriteEnd(); buffer 129 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc virtual bool Start(ConsumerType consumer_type, void* buffer) OVERRIDE { buffer 130 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc Init(consumer_type, buffer); buffer 179 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc virtual bool Start(ConsumerType consumer_type, void* buffer) OVERRIDE { buffer 182 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc Init(consumer_type, buffer); buffer 237 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc virtual bool Start(ConsumerType consumer_type, void* buffer) OVERRIDE { buffer 240 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc Init(consumer_type, buffer); buffer 12 content/browser/device_orientation/data_fetcher_shared_memory_default.cc static bool SetMotionBuffer(content::DeviceMotionHardwareBuffer* buffer, buffer 14 content/browser/device_orientation/data_fetcher_shared_memory_default.cc if (!buffer) buffer 16 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->seqlock.WriteBegin(); buffer 17 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->data.allAvailableSensorsAreActive = enabled; buffer 18 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->seqlock.WriteEnd(); buffer 23 content/browser/device_orientation/data_fetcher_shared_memory_default.cc content::DeviceOrientationHardwareBuffer* buffer, bool enabled) { buffer 24 content/browser/device_orientation/data_fetcher_shared_memory_default.cc if (!buffer) buffer 26 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->seqlock.WriteBegin(); buffer 27 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->data.allAvailableSensorsAreActive = enabled; buffer 28 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->seqlock.WriteEnd(); buffer 43 content/browser/device_orientation/data_fetcher_shared_memory_default.cc bool DataFetcherSharedMemory::Start(ConsumerType consumer_type, void* buffer) { buffer 44 content/browser/device_orientation/data_fetcher_shared_memory_default.cc DCHECK(buffer); buffer 48 content/browser/device_orientation/data_fetcher_shared_memory_default.cc motion_buffer_ = static_cast<DeviceMotionHardwareBuffer*>(buffer); buffer 53 content/browser/device_orientation/data_fetcher_shared_memory_default.cc static_cast<DeviceOrientationHardwareBuffer*>(buffer); buffer 16 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc content::DeviceMotionHardwareBuffer* buffer) { buffer 17 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc DCHECK(buffer); buffer 23 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->seqlock.WriteBegin(); buffer 24 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.accelerationIncludingGravityX = axis_value[0] * kMeanGravity; buffer 25 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasAccelerationIncludingGravityX = true; buffer 26 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.accelerationIncludingGravityY = axis_value[1] * kMeanGravity; buffer 27 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasAccelerationIncludingGravityY = true; buffer 28 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.accelerationIncludingGravityZ = axis_value[2] * kMeanGravity; buffer 29 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasAccelerationIncludingGravityZ = true; buffer 30 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.allAvailableSensorsAreActive = true; buffer 31 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->seqlock.WriteEnd(); buffer 35 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc content::DeviceOrientationHardwareBuffer* buffer) { buffer 36 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc DCHECK(buffer); buffer 81 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->seqlock.WriteBegin(); buffer 82 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.beta = beta; buffer 83 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasBeta = true; buffer 84 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.gamma = gamma; buffer 85 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasGamma = true; buffer 86 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.allAvailableSensorsAreActive = true; buffer 87 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->seqlock.WriteEnd(); buffer 116 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc bool DataFetcherSharedMemory::Start(ConsumerType consumer_type, void* buffer) { buffer 118 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc DCHECK(buffer); buffer 126 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc motion_buffer_ = static_cast<DeviceMotionHardwareBuffer*>(buffer); buffer 138 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc static_cast<DeviceOrientationHardwareBuffer*>(buffer); buffer 100 content/browser/device_orientation/data_fetcher_shared_memory_win.cc DeviceOrientationHardwareBuffer* const buffer) : buffer_(buffer) {} buffer 142 content/browser/device_orientation/data_fetcher_shared_memory_win.cc explicit SensorEventSinkMotion(DeviceMotionHardwareBuffer* const buffer) buffer 143 content/browser/device_orientation/data_fetcher_shared_memory_win.cc : buffer_(buffer) {} buffer 238 content/browser/device_orientation/data_fetcher_shared_memory_win.cc bool DataFetcherSharedMemory::Start(ConsumerType consumer_type, void* buffer) { buffer 239 content/browser/device_orientation/data_fetcher_shared_memory_win.cc DCHECK(buffer); buffer 245 content/browser/device_orientation/data_fetcher_shared_memory_win.cc static_cast<DeviceOrientationHardwareBuffer*>(buffer); buffer 260 content/browser/device_orientation/data_fetcher_shared_memory_win.cc motion_buffer_ = static_cast<DeviceMotionHardwareBuffer*>(buffer); buffer 37 content/browser/device_orientation/device_inertial_sensor_browsertest.cc virtual bool Start(ConsumerType consumer_type, void* buffer) OVERRIDE { buffer 38 content/browser/device_orientation/device_inertial_sensor_browsertest.cc EXPECT_TRUE(buffer); buffer 44 content/browser/device_orientation/device_inertial_sensor_browsertest.cc static_cast<DeviceMotionHardwareBuffer*>(buffer); buffer 54 content/browser/device_orientation/device_inertial_sensor_browsertest.cc static_cast<DeviceOrientationHardwareBuffer*>(buffer); buffer 93 content/browser/device_orientation/device_inertial_sensor_browsertest.cc void SetMotionBufferReady(DeviceMotionHardwareBuffer* buffer) { buffer 94 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteBegin(); buffer 95 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; buffer 96 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteEnd(); buffer 99 content/browser/device_orientation/device_inertial_sensor_browsertest.cc void SetOrientationBufferReady(DeviceOrientationHardwareBuffer* buffer) { buffer 100 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteBegin(); buffer 101 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; buffer 102 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteEnd(); buffer 105 content/browser/device_orientation/device_inertial_sensor_browsertest.cc void UpdateMotion(DeviceMotionHardwareBuffer* buffer) { buffer 106 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteBegin(); buffer 107 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationX = 1; buffer 108 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationX = true; buffer 109 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationY = 2; buffer 110 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationY = true; buffer 111 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationZ = 3; buffer 112 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationZ = true; buffer 114 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationIncludingGravityX = 4; buffer 115 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationIncludingGravityX = true; buffer 116 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationIncludingGravityY = 5; buffer 117 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationIncludingGravityY = true; buffer 118 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationIncludingGravityZ = 6; buffer 119 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationIncludingGravityZ = true; buffer 121 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.rotationRateAlpha = 7; buffer 122 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasRotationRateAlpha = true; buffer 123 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.rotationRateBeta = 8; buffer 124 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasRotationRateBeta = true; buffer 125 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.rotationRateGamma = 9; buffer 126 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasRotationRateGamma = true; buffer 128 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.interval = 100; buffer 129 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; buffer 130 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteEnd(); buffer 133 content/browser/device_orientation/device_inertial_sensor_browsertest.cc void UpdateOrientation(DeviceOrientationHardwareBuffer* buffer) { buffer 134 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteBegin(); buffer 135 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.alpha = 1; buffer 136 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAlpha = true; buffer 137 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.beta = 2; buffer 138 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasBeta = true; buffer 139 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.gamma = 3; buffer 140 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasGamma = true; buffer 141 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; buffer 142 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->seqlock.WriteEnd(); buffer 167 content/browser/device_orientation/sensor_manager_android.cc DeviceMotionHardwareBuffer* buffer) { buffer 168 content/browser/device_orientation/sensor_manager_android.cc DCHECK(buffer); buffer 171 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_ = buffer; buffer 244 content/browser/device_orientation/sensor_manager_android.cc DeviceOrientationHardwareBuffer* buffer) { buffer 245 content/browser/device_orientation/sensor_manager_android.cc DCHECK(buffer); buffer 248 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_ = buffer; buffer 43 content/browser/device_orientation/sensor_manager_android.h bool StartFetchingDeviceMotionData(DeviceMotionHardwareBuffer* buffer); buffer 47 content/browser/device_orientation/sensor_manager_android.h DeviceOrientationHardwareBuffer* buffer); buffer 78 content/browser/devtools/devtools_tracing_handler.cc std::string buffer; buffer 84 content/browser/devtools/devtools_tracing_handler.cc if (buffer.size()) buffer 85 content/browser/devtools/devtools_tracing_handler.cc buffer.append(","); buffer 86 content/browser/devtools/devtools_tracing_handler.cc buffer.append(item); buffer 88 content/browser/devtools/devtools_tracing_handler.cc OnTraceDataCollected(buffer); buffer 89 content/browser/devtools/devtools_tracing_handler.cc buffer.clear(); buffer 92 content/browser/devtools/devtools_tracing_handler.cc if (buffer.size()) buffer 93 content/browser/devtools/devtools_tracing_handler.cc OnTraceDataCollected(buffer); buffer 130 content/browser/devtools/tethering_handler.cc scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(remaining); buffer 131 content/browser/devtools/tethering_handler.cc memcpy(buffer->data(), wire_buffer_->data(), remaining); buffer 133 content/browser/devtools/tethering_handler.cc buffer.get(), buffer 72 content/browser/download/file_metadata_unittest_linux.cc char* buffer = new char[len]; buffer 73 content/browser/download/file_metadata_unittest_linux.cc len = getxattr(test_file().value().c_str(), attr_name.c_str(), buffer, len); buffer 75 content/browser/download/file_metadata_unittest_linux.cc string real_value(buffer, len); buffer 76 content/browser/download/file_metadata_unittest_linux.cc delete[] buffer; buffer 83 content/browser/download/file_metadata_unittest_linux.cc char* buffer = new char[len]; buffer 84 content/browser/download/file_metadata_unittest_linux.cc len = listxattr(test_file().value().c_str(), buffer, len); buffer 86 content/browser/download/file_metadata_unittest_linux.cc base::SplitString(string(buffer, len), '\0', attr_names); buffer 87 content/browser/download/file_metadata_unittest_linux.cc delete[] buffer; buffer 100 content/browser/download/save_file_resource_handler.cc scoped_refptr<net::IOBuffer> buffer; buffer 101 content/browser/download/save_file_resource_handler.cc read_buffer_.swap(buffer); buffer 105 content/browser/download/save_file_resource_handler.cc save_manager_, save_id_, buffer, bytes_read)); buffer 741 content/browser/fileapi/file_system_operation_impl_unittest.cc char buffer[100]; buffer 743 content/browser/fileapi/file_system_operation_impl_unittest.cc buffer, data_size)); buffer 745 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(test_data[i], buffer[i]); buffer 54 content/browser/fileapi/file_system_url_request_job_unittest.cc void FillBuffer(char* buffer, size_t len) { buffer 55 content/browser/fileapi/file_system_url_request_job_unittest.cc base::RandBytes(buffer, len); buffer 266 content/browser/fileapi/file_system_url_request_job_unittest.cc scoped_ptr<char[]> buffer(new char[buffer_size]); buffer 267 content/browser/fileapi/file_system_url_request_job_unittest.cc FillBuffer(buffer.get(), buffer_size); buffer 268 content/browser/fileapi/file_system_url_request_job_unittest.cc WriteFile("bigfile", buffer.get(), buffer_size); buffer 272 content/browser/fileapi/file_system_url_request_job_unittest.cc std::string partial_buffer_string(buffer.get() + first_byte_position, buffer 273 content/browser/fileapi/file_system_url_request_job_unittest.cc buffer.get() + last_byte_position + 1); buffer 290 content/browser/fileapi/file_system_url_request_job_unittest.cc scoped_ptr<char[]> buffer(new char[buffer_size]); buffer 291 content/browser/fileapi/file_system_url_request_job_unittest.cc FillBuffer(buffer.get(), buffer_size); buffer 292 content/browser/fileapi/file_system_url_request_job_unittest.cc WriteFile("bigfile", buffer.get(), buffer_size); buffer 295 content/browser/fileapi/file_system_url_request_job_unittest.cc std::string partial_buffer_string(buffer.get() + first_byte_position, buffer 296 content/browser/fileapi/file_system_url_request_job_unittest.cc buffer.get() + buffer_size); buffer 168 content/browser/fileapi/fileapi_message_filter_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 175 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); buffer 185 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); buffer 192 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); buffer 221 content/browser/fileapi/fileapi_message_filter_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kFakeData.size())); buffer 228 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); buffer 230 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData, std::string(buffer->data(), bytes_read)); buffer 233 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); buffer 268 content/browser/fileapi/fileapi_message_filter_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kFakeData.size())); buffer 275 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); buffer 277 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData, std::string(buffer->data(), bytes_read)); buffer 280 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); buffer 160 content/browser/gamepad/gamepad_provider.cc &hwbuf->buffer, buffer 173 content/browser/gamepad/gamepad_provider.cc data_fetcher_->GetGamepadData(&hwbuf->buffer, changed); buffer 211 content/browser/gamepad/gamepad_provider.cc if (GamepadsHaveUserGesture(SharedMemoryAsHardwareBuffer()->buffer)) { buffer 101 content/browser/gamepad/gamepad_provider_unittest.cc memcpy(&output, &hwbuf->buffer, sizeof(output)); buffer 430 content/browser/gamepad/raw_input_data_fetcher_win.cc scoped_ptr<uint8[]> buffer(new uint8[size]); buffer 431 content/browser/gamepad/raw_input_data_fetcher_win.cc RAWINPUT* input = reinterpret_cast<RAWINPUT*>(buffer.get()); buffer 433 content/browser/gamepad/raw_input_data_fetcher_win.cc input_handle, RID_INPUT, buffer.get(), &size, sizeof(RAWINPUTHEADER)); buffer 453 content/browser/gamepad/xbox_data_fetcher_mac.cc UInt8* buffer = new UInt8[length]; buffer 454 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer[0] = static_cast<UInt8>(CONTROL_MESSAGE_SET_LED); buffer 455 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer[1] = length; buffer 456 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer[2] = static_cast<UInt8>(pattern); buffer 459 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer, buffer 462 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer); buffer 464 content/browser/gamepad/xbox_data_fetcher_mac.cc delete[] buffer; buffer 486 content/browser/gamepad/xbox_data_fetcher_mac.cc UInt8* buffer = static_cast<UInt8*>(context); buffer 487 content/browser/gamepad/xbox_data_fetcher_mac.cc delete[] buffer; buffer 524 content/browser/gamepad/xbox_data_fetcher_mac.cc uint8* buffer = read_buffer_.get(); buffer 526 content/browser/gamepad/xbox_data_fetcher_mac.cc if (buffer[1] != length) buffer 530 content/browser/gamepad/xbox_data_fetcher_mac.cc uint8 type = buffer[0]; buffer 531 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer += 2; buffer 537 content/browser/gamepad/xbox_data_fetcher_mac.cc Xbox360ButtonData* data = reinterpret_cast<Xbox360ButtonData*>(buffer); buffer 548 content/browser/gamepad/xbox_data_fetcher_mac.cc if (led_pattern_ == LED_NUM_PATTERNS && buffer[0] < LED_NUM_PATTERNS) buffer 549 content/browser/gamepad/xbox_data_fetcher_mac.cc led_pattern_ = static_cast<LEDPattern>(buffer[0]); buffer 565 content/browser/gamepad/xbox_data_fetcher_mac.cc uint8* buffer = read_buffer_.get(); buffer 567 content/browser/gamepad/xbox_data_fetcher_mac.cc uint8 type = buffer[0]; buffer 568 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer += 4; buffer 574 content/browser/gamepad/xbox_data_fetcher_mac.cc XboxOneButtonData* data = reinterpret_cast<XboxOneButtonData*>(buffer); buffer 606 content/browser/gamepad/xbox_data_fetcher_mac.cc UInt8* buffer = new UInt8[length]; buffer 607 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer[0] = 0x05; buffer 608 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer[1] = 0x20; buffer 611 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer, buffer 614 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer); buffer 616 content/browser/gamepad/xbox_data_fetcher_mac.cc delete[] buffer; buffer 152 content/browser/geolocation/wifi_data_provider_win.cc BYTE* buffer, buffer 156 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<BYTE, base::FreeDeleter>* buffer); buffer 472 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<BYTE, base::FreeDeleter> buffer( buffer 474 content/browser/geolocation/wifi_data_provider_win.cc if (buffer == NULL) { buffer 483 content/browser/geolocation/wifi_data_provider_win.cc result = PerformQuery(adapter_handle, buffer.get(), buffer 497 content/browser/geolocation/wifi_data_provider_win.cc if (!ResizeBuffer(oid_buffer_size_, &buffer)) { buffer 506 content/browser/geolocation/wifi_data_provider_win.cc DCHECK(buffer.get()); buffer 510 content/browser/geolocation/wifi_data_provider_win.cc reinterpret_cast<NDIS_802_11_BSSID_LIST*>(buffer.get()); buffer 584 content/browser/geolocation/wifi_data_provider_win.cc BYTE* buffer, buffer 592 content/browser/geolocation/wifi_data_provider_win.cc buffer, buffer 602 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<BYTE, base::FreeDeleter>* buffer) { buffer 604 content/browser/geolocation/wifi_data_provider_win.cc DCHECK(buffer); buffer 606 content/browser/geolocation/wifi_data_provider_win.cc buffer->reset(); buffer 610 content/browser/geolocation/wifi_data_provider_win.cc buffer->reset(reinterpret_cast<BYTE*>( buffer 611 content/browser/geolocation/wifi_data_provider_win.cc realloc(buffer->release(), requested_size))); buffer 612 content/browser/geolocation/wifi_data_provider_win.cc return buffer != NULL; buffer 622 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<base::char16[]> buffer(new base::char16[buffer_size]); buffer 625 content/browser/geolocation/wifi_data_provider_win.cc int characters_written = ::GetSystemDirectory(buffer.get(), buffer_size); buffer 631 content/browser/geolocation/wifi_data_provider_win.cc path->assign(buffer.get(), characters_written); buffer 388 content/browser/gpu/browser_gpu_channel_host_factory.cc scoped_ptr<GpuMemoryBufferImplShm> buffer( buffer 390 content/browser/gpu/browser_gpu_channel_host_factory.cc if (!buffer->InitializeFromSharedMemory(shm.Pass())) buffer 393 content/browser/gpu/browser_gpu_channel_host_factory.cc return buffer.PassAs<gfx::GpuMemoryBuffer>(); buffer 132 content/browser/indexed_db/indexed_db_backing_store.cc std::string buffer; buffer 133 content/browser/indexed_db/indexed_db_backing_store.cc EncodeBool(value, &buffer); buffer 134 content/browser/indexed_db/indexed_db_backing_store.cc transaction->Put(key, &buffer); buffer 168 content/browser/indexed_db/indexed_db_backing_store.cc std::string buffer; buffer 169 content/browser/indexed_db/indexed_db_backing_store.cc EncodeInt(value, &buffer); buffer 170 content/browser/indexed_db/indexed_db_backing_store.cc transaction->Put(key, &buffer); buffer 193 content/browser/indexed_db/indexed_db_backing_store.cc std::string buffer; buffer 194 content/browser/indexed_db/indexed_db_backing_store.cc EncodeVarInt(value, &buffer); buffer 195 content/browser/indexed_db/indexed_db_backing_store.cc transaction->Put(key, &buffer); buffer 220 content/browser/indexed_db/indexed_db_backing_store.cc std::string buffer; buffer 221 content/browser/indexed_db/indexed_db_backing_store.cc EncodeString(value, &buffer); buffer 222 content/browser/indexed_db/indexed_db_backing_store.cc transaction->Put(key, &buffer); buffer 228 content/browser/indexed_db/indexed_db_backing_store.cc std::string buffer; buffer 229 content/browser/indexed_db/indexed_db_backing_store.cc EncodeIDBKeyPath(value, &buffer); buffer 230 content/browser/indexed_db/indexed_db_backing_store.cc transaction->Put(key, &buffer); buffer 46 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 47 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeByte(value, &buffer); buffer 48 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 96 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 97 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeBool(value, &buffer); buffer 98 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 173 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 174 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeInt(value, &buffer); buffer 175 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 254 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 255 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeVarInt(value, &buffer); buffer 256 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 312 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 313 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeString(value, &buffer); buffer 314 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 363 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 364 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeStringWithLength(value, &buffer); buffer 365 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 480 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 481 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeBinary(value, &buffer); buffer 482 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 532 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 533 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeDouble(value, &buffer); buffer 534 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 611 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string buffer; buffer 612 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeIDBKeyPath(value, &buffer); buffer 613 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc return buffer; buffer 94 content/browser/loader/certificate_resource_handler.cc net::IOBuffer* buffer = NULL; buffer 95 content/browser/loader/certificate_resource_handler.cc read_buffer_.swap(&buffer); buffer 97 content/browser/loader/certificate_resource_handler.cc buffer_.push_back(std::make_pair(buffer, bytes_read)); buffer 91 content/browser/loader/stream_resource_handler.cc net::IOBuffer* buffer = NULL; buffer 92 content/browser/loader/stream_resource_handler.cc read_buffer_.swap(&buffer); buffer 93 content/browser/loader/stream_resource_handler.cc stream_->AddData(buffer, bytes_read); buffer 171 content/browser/media/capture/content_video_capture_device_core.cc const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer, buffer 177 content/browser/media/capture/content_video_capture_device_core.cc TRACE_EVENT_ASYNC_END2("mirroring", "Capture", buffer.get(), buffer 187 content/browser/media/capture/content_video_capture_device_core.cc buffer, buffer 89 content/browser/media/capture/content_video_capture_device_core.h const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer, buffer 48 content/browser/media/capture/desktop_capture_device_aura_unittest.cc void(const scoped_refptr<Buffer>& buffer, buffer 54 content/browser/media/capture/desktop_capture_device_unittest.cc void(const scoped_refptr<Buffer>& buffer, buffer 348 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const scoped_refptr<Buffer>& buffer, buffer 270 content/browser/renderer_host/clipboard_message_filter.cc base::SharedMemory buffer; buffer 271 content/browser/renderer_host/clipboard_message_filter.cc if (buffer.CreateAndMapAnonymous(png_data.size())) { buffer 272 content/browser/renderer_host/clipboard_message_filter.cc memcpy(buffer.memory(), vector_as_array(&png_data), png_data.size()); buffer 273 content/browser/renderer_host/clipboard_message_filter.cc if (buffer.GiveToProcess(PeerHandle(), &image_handle)) { buffer 266 content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc scoped_ptr<char[]> buffer(new char[kMaxInfoLogLength]); buffer 269 content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc buffer.get()); buffer 270 content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc buffer[kMaxInfoLogLength - 1] = '\0'; buffer 274 content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc << buffer.get() buffer 221 content/browser/renderer_host/java/java_bound_object.cc char* buffer = static_cast<char*>(malloc(length)); buffer 222 content/browser/renderer_host/java/java_bound_object.cc str.copy(buffer, length, 0); buffer 223 content/browser/renderer_host/java/java_bound_object.cc STRINGN_TO_NPVARIANT(buffer, length, *result); buffer 60 content/browser/renderer_host/media/audio_input_sync_writer.cc media::AudioInputBuffer* buffer = buffer 62 content/browser/renderer_host/media/audio_input_sync_writer.cc buffer->params.volume = volume; buffer 63 content/browser/renderer_host/media/audio_input_sync_writer.cc buffer->params.size = size; buffer 64 content/browser/renderer_host/media/audio_input_sync_writer.cc buffer->params.key_pressed = key_pressed; buffer 65 content/browser/renderer_host/media/audio_input_sync_writer.cc memcpy(buffer->audio, data, size); buffer 32 content/browser/renderer_host/media/midi_host_unittest.cc std::vector<T> buffer; buffer 33 content/browser/renderer_host/media/midi_host_unittest.cc buffer.insert(buffer.end(), data, data + N); buffer 34 content/browser/renderer_host/media/midi_host_unittest.cc return buffer; buffer 38 content/browser/renderer_host/media/midi_host_unittest.cc void PushToVector(const T(&data)[N], std::vector<T>* buffer) { buffer 39 content/browser/renderer_host/media/midi_host_unittest.cc buffer->insert(buffer->end(), data, data + N); buffer 64 content/browser/renderer_host/media/midi_host_unittest.cc std::vector<uint8> buffer; buffer 65 content/browser/renderer_host/media/midi_host_unittest.cc PushToVector(kGMOn, &buffer); buffer 66 content/browser/renderer_host/media/midi_host_unittest.cc PushToVector(kNoteOn, &buffer); buffer 67 content/browser/renderer_host/media/midi_host_unittest.cc PushToVector(kGSOn, &buffer); buffer 68 content/browser/renderer_host/media/midi_host_unittest.cc PushToVector(kTimingClock, &buffer); buffer 69 content/browser/renderer_host/media/midi_host_unittest.cc PushToVector(kNoteOn, &buffer); buffer 70 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(buffer)); buffer 71 content/browser/renderer_host/media/midi_host_unittest.cc PushToVector(kBrokenData1, &buffer); buffer 72 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData(buffer)); buffer 34 content/browser/renderer_host/media/video_capture_buffer_pool.cc Buffer* buffer = GetBuffer(buffer_id); buffer 35 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (!buffer) { buffer 40 content/browser/renderer_host/media/video_capture_buffer_pool.cc buffer->shared_memory.ShareToProcess(process_handle, &remote_handle); buffer 41 content/browser/renderer_host/media/video_capture_buffer_pool.cc *memory_size = buffer->shared_memory.requested_size(); buffer 50 content/browser/renderer_host/media/video_capture_buffer_pool.cc Buffer* buffer = GetBuffer(buffer_id); buffer 51 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (!buffer) { buffer 56 content/browser/renderer_host/media/video_capture_buffer_pool.cc DCHECK(buffer->held_by_producer); buffer 57 content/browser/renderer_host/media/video_capture_buffer_pool.cc *memory = buffer->shared_memory.memory(); buffer 58 content/browser/renderer_host/media/video_capture_buffer_pool.cc *size = buffer->shared_memory.mapped_size(); buffer 70 content/browser/renderer_host/media/video_capture_buffer_pool.cc Buffer* buffer = GetBuffer(buffer_id); buffer 71 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (!buffer) { buffer 75 content/browser/renderer_host/media/video_capture_buffer_pool.cc DCHECK(buffer->held_by_producer); buffer 76 content/browser/renderer_host/media/video_capture_buffer_pool.cc buffer->held_by_producer = false; buffer 83 content/browser/renderer_host/media/video_capture_buffer_pool.cc Buffer* buffer = GetBuffer(buffer_id); buffer 84 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (!buffer) { buffer 88 content/browser/renderer_host/media/video_capture_buffer_pool.cc DCHECK(buffer->held_by_producer); buffer 89 content/browser/renderer_host/media/video_capture_buffer_pool.cc DCHECK(!buffer->consumer_hold_count); buffer 91 content/browser/renderer_host/media/video_capture_buffer_pool.cc buffer->consumer_hold_count = num_clients; buffer 100 content/browser/renderer_host/media/video_capture_buffer_pool.cc Buffer* buffer = GetBuffer(buffer_id); buffer 101 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (!buffer) { buffer 105 content/browser/renderer_host/media/video_capture_buffer_pool.cc DCHECK_GE(buffer->consumer_hold_count, num_clients); buffer 107 content/browser/renderer_host/media/video_capture_buffer_pool.cc buffer->consumer_hold_count -= num_clients; buffer 123 content/browser/renderer_host/media/video_capture_buffer_pool.cc Buffer* buffer = it->second; buffer 124 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (!buffer->consumer_hold_count && !buffer->held_by_producer) { buffer 125 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (buffer->shared_memory.requested_size() >= size) { buffer 127 content/browser/renderer_host/media/video_capture_buffer_pool.cc buffer->held_by_producer = true; buffer 130 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (buffer->shared_memory.requested_size() > realloc_size) { buffer 131 content/browser/renderer_host/media/video_capture_buffer_pool.cc realloc_size = buffer->shared_memory.requested_size(); buffer 151 content/browser/renderer_host/media/video_capture_buffer_pool.cc scoped_ptr<Buffer> buffer(new Buffer()); buffer 154 content/browser/renderer_host/media/video_capture_buffer_pool.cc if (!buffer->shared_memory.CreateAndMapAnonymous(size)) buffer 157 content/browser/renderer_host/media/video_capture_buffer_pool.cc buffer->held_by_producer = true; buffer 158 content/browser/renderer_host/media/video_capture_buffer_pool.cc buffers_[buffer_id] = buffer.release(); buffer 132 content/browser/renderer_host/media/video_capture_controller.cc const scoped_refptr<Buffer>& buffer, buffer 323 content/browser/renderer_host/media/video_capture_controller.cc scoped_refptr<Buffer> buffer = buffer 326 content/browser/renderer_host/media/video_capture_controller.cc if (!buffer) buffer 331 content/browser/renderer_host/media/video_capture_controller.cc yplane = reinterpret_cast<uint8*>(buffer->data()); buffer 441 content/browser/renderer_host/media/video_capture_controller.cc buffer, buffer 465 content/browser/renderer_host/media/video_capture_controller.cc const scoped_refptr<Buffer>& buffer, buffer 475 content/browser/renderer_host/media/video_capture_controller.cc buffer, buffer 533 content/browser/renderer_host/media/video_capture_controller.cc const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer, buffer 538 content/browser/renderer_host/media/video_capture_controller.cc DCHECK_NE(buffer->id(), VideoCaptureBufferPool::kInvalidId); buffer 550 content/browser/renderer_host/media/video_capture_controller.cc buffer->id(), buffer 555 content/browser/renderer_host/media/video_capture_controller.cc bool is_new_buffer = client->known_buffers.insert(buffer->id()).second; buffer 560 content/browser/renderer_host/media/video_capture_controller.cc buffer->id(), client->render_process_handle, &memory_size); buffer 562 content/browser/renderer_host/media/video_capture_controller.cc client->controller_id, remote_handle, memory_size, buffer->id()); buffer 566 content/browser/renderer_host/media/video_capture_controller.cc client->controller_id, buffer->id(), buffer_format, timestamp); buffer 570 content/browser/renderer_host/media/video_capture_controller.cc client->active_buffers.insert(std::make_pair(buffer->id(), frame)) buffer 572 content/browser/renderer_host/media/video_capture_controller.cc DCHECK(inserted) << "Unexpected duplicate buffer: " << buffer->id(); buffer 577 content/browser/renderer_host/media/video_capture_controller.cc buffer_pool_->HoldForConsumers(buffer->id(), count); buffer 121 content/browser/renderer_host/media/video_capture_controller.h const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer, buffer 126 content/browser/renderer_host/media/video_capture_controller_unittest.cc const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer, buffer 133 content/browser/renderer_host/media/video_capture_controller_unittest.cc reinterpret_cast<uint8*>(buffer->data()), buffer 141 content/browser/renderer_host/media/video_capture_controller_unittest.cc const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer, buffer 317 content/browser/renderer_host/media/video_capture_controller_unittest.cc scoped_refptr<media::VideoCaptureDevice::Client::Buffer> buffer; buffer 318 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = buffer 320 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 321 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); buffer 338 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 342 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, capture_resolution), buffer 344 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 353 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = buffer 355 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 356 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); buffer 358 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 362 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, capture_resolution), buffer 364 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 384 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = device_->ReserveOutputBuffer(media::VideoFrame::I420, buffer 386 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 387 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); buffer 389 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 393 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, capture_resolution), buffer 395 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 424 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = buffer 426 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 427 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); buffer 429 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 433 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, capture_resolution), buffer 435 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 436 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = buffer 444 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 445 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); buffer 447 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 451 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, capture_resolution), buffer 453 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 471 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = device_->ReserveOutputBuffer(media::VideoFrame::I420, buffer 473 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 475 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 479 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, capture_resolution), buffer 481 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 486 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = device_->ReserveOutputBuffer(media::VideoFrame::NATIVE_TEXTURE, buffer 488 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 491 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 496 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 502 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 550 content/browser/renderer_host/media/video_capture_controller_unittest.cc scoped_refptr<media::VideoCaptureDevice::Client::Buffer> buffer = buffer 552 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 555 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 558 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, capture_resolution), buffer 560 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 589 content/browser/renderer_host/media/video_capture_controller_unittest.cc scoped_refptr<media::VideoCaptureDevice::Client::Buffer> buffer = buffer 591 content/browser/renderer_host/media/video_capture_controller_unittest.cc ASSERT_TRUE(buffer); buffer 595 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer, buffer 598 content/browser/renderer_host/media/video_capture_controller_unittest.cc WrapI420Buffer(buffer, dims), buffer 600 content/browser/renderer_host/media/video_capture_controller_unittest.cc buffer = NULL; buffer 68 content/browser/renderer_host/media/video_capture_host_unittest.cc void NewVideoFrame(const void* buffer) { buffer 70 content/browser/renderer_host/media/video_capture_host_unittest.cc ASSERT_EQ(1U, fwrite(buffer, expected_size_, 1, file_.get())); buffer 326 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_refptr<net::DrainableIOBuffer>& buffer) { buffer 328 content/browser/renderer_host/p2p/socket_host_tcp.cc write_queue_.push(buffer); buffer 332 content/browser/renderer_host/p2p/socket_host_tcp.cc write_buffer_ = buffer; buffer 457 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_refptr<net::DrainableIOBuffer> buffer = buffer 459 content/browser/renderer_host/p2p/socket_host_tcp.cc *reinterpret_cast<uint16*>(buffer->data()) = base::HostToNet16(data.size()); buffer 460 content/browser/renderer_host/p2p/socket_host_tcp.cc memcpy(buffer->data() + kPacketHeaderSize, &data[0], data.size()); buffer 463 content/browser/renderer_host/p2p/socket_host_tcp.cc buffer->data() + kPacketHeaderSize, buffer 464 content/browser/renderer_host/p2p/socket_host_tcp.cc buffer->BytesRemaining() - kPacketHeaderSize, buffer 467 content/browser/renderer_host/p2p/socket_host_tcp.cc WriteOrQueue(buffer); buffer 529 content/browser/renderer_host/p2p/socket_host_tcp.cc scoped_refptr<net::DrainableIOBuffer> buffer = buffer 531 content/browser/renderer_host/p2p/socket_host_tcp.cc memcpy(buffer->data(), &data[0], data.size()); buffer 534 content/browser/renderer_host/p2p/socket_host_tcp.cc buffer->data(), data.size(), options, 0); buffer 539 content/browser/renderer_host/p2p/socket_host_tcp.cc memcpy(buffer->data() + data.size(), padding, pad_bytes); buffer 541 content/browser/renderer_host/p2p/socket_host_tcp.cc WriteOrQueue(buffer); buffer 58 content/browser/renderer_host/p2p/socket_host_tcp.h void WriteOrQueue(scoped_refptr<net::DrainableIOBuffer>& buffer); buffer 72 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc scoped_refptr<net::IOBuffer> buffer(buf); buffer 75 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc memcpy(buffer->data(), &*incoming_packets_.front().second.begin(), size); buffer 91 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc scoped_refptr<net::IOBuffer> buffer(buf); buffer 92 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc std::vector<char> data_vector(buffer->data(), buffer->data() + buf_len); buffer 64 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc EXPECT_EQ(AddressDiff(&content_buf.buffer, &content_buf), buffer 65 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc AddressDiff(&ppapi_buf.buffer, &ppapi_buf)); buffer 187 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc const ppapi::ContentGamepadHardwareBuffer* buffer = buffer 190 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc EXPECT_EQ(button_down_data.length, buffer->buffer.length); buffer 192 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc buffer->buffer.items[0].buttons_length); buffer 195 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc buffer->buffer.items[0].buttons[i].value); buffer 197 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc buffer->buffer.items[0].buttons[i].pressed); buffer 34 content/browser/speech/audio_encoder.cc const FLAC__byte buffer[], buffer 48 content/browser/speech/audio_encoder.cc const FLAC__byte buffer[], buffer 55 content/browser/speech/audio_encoder.cc me->encoded_audio_buffer_.Enqueue(buffer, bytes); buffer 20 content/browser/speech/chunked_byte_buffer.cc uint32 ReadBigEndian32(const uint8* buffer) { buffer 21 content/browser/speech/chunked_byte_buffer.cc return (static_cast<uint32>(buffer[3])) | buffer 22 content/browser/speech/chunked_byte_buffer.cc (static_cast<uint32>(buffer[2]) << 8) | buffer 23 content/browser/speech/chunked_byte_buffer.cc (static_cast<uint32>(buffer[1]) << 16) | buffer 24 content/browser/speech/chunked_byte_buffer.cc (static_cast<uint32>(buffer[0]) << 24); buffer 16 content/browser/speech/chunked_byte_buffer_unittest.cc ChunkedByteBuffer buffer; buffer 24 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(0U, buffer.GetTotalLength()); buffer 25 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_FALSE(buffer.HasChunks()); buffer 28 content/browser/speech/chunked_byte_buffer_unittest.cc buffer.Append(kChunks, 2); buffer 29 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(2U, buffer.GetTotalLength()); buffer 30 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_FALSE(buffer.HasChunks()); buffer 33 content/browser/speech/chunked_byte_buffer_unittest.cc buffer.Append(kChunks + 2, 6); buffer 34 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(8U, buffer.GetTotalLength()); buffer 35 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_TRUE(buffer.HasChunks()); buffer 38 content/browser/speech/chunked_byte_buffer_unittest.cc buffer.Append(kChunks + 8, 6); buffer 39 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(14U, buffer.GetTotalLength()); buffer 40 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_TRUE(buffer.HasChunks()); buffer 44 content/browser/speech/chunked_byte_buffer_unittest.cc chunk = buffer.PopChunk(); buffer 50 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(6U, buffer.GetTotalLength()); buffer 51 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_TRUE(buffer.HasChunks()); buffer 54 content/browser/speech/chunked_byte_buffer_unittest.cc chunk = buffer.PopChunk(); buffer 60 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(0U, buffer.GetTotalLength()); buffer 61 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_FALSE(buffer.HasChunks()); buffer 64 content/browser/speech/chunked_byte_buffer_unittest.cc buffer.Append(kChunks + 14, 5); buffer 65 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(5U, buffer.GetTotalLength()); buffer 68 content/browser/speech/chunked_byte_buffer_unittest.cc chunk = buffer.PopChunk(); buffer 72 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_EQ(0U, buffer.GetTotalLength()); buffer 73 content/browser/speech/chunked_byte_buffer_unittest.cc EXPECT_FALSE(buffer.HasChunks()); buffer 332 content/browser/storage_partition_impl_map.cc char buffer[kPartitionNameHashBytes]; buffer 333 content/browser/storage_partition_impl_map.cc crypto::SHA256HashString(partition_name, &buffer[0], buffer 334 content/browser/storage_partition_impl_map.cc sizeof(buffer)); buffer 335 content/browser/storage_partition_impl_map.cc return path.AppendASCII(base::HexEncode(buffer, sizeof(buffer))); buffer 83 content/browser/streams/stream.cc void Stream::AddData(scoped_refptr<net::IOBuffer> buffer, size_t size) { buffer 99 content/browser/streams/stream.cc can_add_data_ = writer_->Write(buffer, size); buffer 67 content/browser/streams/stream.h void AddData(scoped_refptr<net::IOBuffer> buffer, size_t size); buffer 26 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(buffer_size)); buffer 27 content/browser/streams/stream_unittest.cc char *bufferp = buffer->data(); buffer 31 content/browser/streams/stream_unittest.cc return buffer; buffer 50 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 55 content/browser/streams/stream_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read); buffer 75 content/browser/streams/stream_unittest.cc buffer->data(), bytes_read); buffer 100 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer, buffer 102 content/browser/streams/stream_unittest.cc stream->AddData(buffer, buffer_size); buffer 159 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); buffer 160 content/browser/streams/stream_unittest.cc writer.Write(stream.get(), buffer, kBufferSize); buffer 165 content/browser/streams/stream_unittest.cc ASSERT_EQ(reader.buffer()->capacity(), kBufferSize); buffer 167 content/browser/streams/stream_unittest.cc EXPECT_EQ(buffer->data()[i], reader.buffer()->data()[i]); buffer 186 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); buffer 187 content/browser/streams/stream_unittest.cc stream->AddData(buffer, kBufferSize); buffer 191 content/browser/streams/stream_unittest.cc EXPECT_EQ(0, reader.buffer()->capacity()); buffer 272 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); buffer 273 content/browser/streams/stream_unittest.cc writer1.Write(stream1.get(), buffer, kBufferSize); buffer 277 content/browser/streams/stream_unittest.cc writer2.Write(stream2.get(), buffer, kBufferSize); buffer 283 content/browser/streams/stream_unittest.cc writer1.Write(stream1.get(), buffer, kMaxMemoryUsage - kBufferSize); buffer 300 content/browser/streams/stream_unittest.cc scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize)); buffer 301 content/browser/streams/stream_unittest.cc writer.Write(stream.get(), buffer, kBufferSize); buffer 306 content/browser/streams/stream_unittest.cc writer.Write(stream.get(), buffer, kBufferSize); buffer 108 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( buffer 111 content/browser/streams/stream_url_request_job_unittest.cc stream->AddData(buffer, buffer->size()); buffer 126 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( buffer 129 content/browser/streams/stream_url_request_job_unittest.cc stream->AddData(buffer, buffer->size()); buffer 151 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( buffer 154 content/browser/streams/stream_url_request_job_unittest.cc stream->AddData(buffer, buffer->size()); buffer 168 content/browser/streams/stream_url_request_job_unittest.cc scoped_refptr<net::StringIOBuffer> buffer( buffer 171 content/browser/streams/stream_url_request_job_unittest.cc stream->AddData(buffer, buffer->size()); buffer 92 content/browser/tcmalloc_internals_request_job.cc char buffer[1024 * 32]; buffer 93 content/browser/tcmalloc_internals_request_job.cc base::allocator::GetStats(buffer, sizeof(buffer)); buffer 95 content/browser/tcmalloc_internals_request_job.cc AboutTcmallocOutputs::GetInstance()->SetOutput(browser, buffer); buffer 171 content/browser/tracing/etw_system_event_consumer_win.cc base::StringPiece buffer(static_cast<const char*>(event->MofData), buffer 174 content/browser/tracing/etw_system_event_consumer_win.cc base::Base64Encode(buffer, &payload); buffer 783 content/child/blink_platform_impl.cc unsigned char* buffer, size_t length) { buffer 784 content/child/blink_platform_impl.cc base::RandBytes(buffer, length); buffer 126 content/child/blink_platform_impl.h unsigned char* buffer, size_t length); buffer 492 content/child/child_thread.cc char buffer[1024 * 32]; buffer 493 content/child/child_thread.cc base::allocator::GetStats(buffer, sizeof(buffer)); buffer 494 content/child/child_thread.cc result.append(buffer); buffer 255 content/child/npapi/npobject_util.cc void* buffer = malloc(param.string_value.size()); buffer 257 content/child/npapi/npobject_util.cc result->value.stringValue.UTF8Characters = static_cast<NPUTF8*>(buffer); buffer 258 content/child/npapi/npobject_util.cc memcpy(buffer, param.string_value.c_str(), size); buffer 558 content/child/npapi/plugin_host.cc int32_t NPN_Write(NPP id, NPStream* stream, int32_t len, void* buffer) { buffer 305 content/child/npapi/plugin_instance.cc void* buffer) { buffer 309 content/child/npapi/plugin_instance.cc return npp_functions_->write(npp_, stream, offset, len, buffer); buffer 414 content/child/npapi/plugin_instance.cc void PluginInstance::DidReceiveManualData(const char* buffer, int length) { buffer 417 content/child/npapi/plugin_instance.cc plugin_data_stream_->DidReceiveData(buffer, length, 0); buffer 216 content/child/npapi/plugin_instance.h void DidReceiveManualData(const char* buffer, int length); buffer 110 content/child/npapi/plugin_stream.cc int PluginStream::Write(const char* buffer, const int length, buffer 120 content/child/npapi/plugin_stream.cc if (WriteToFile(buffer, length) && buffer 121 content/child/npapi/plugin_stream.cc WriteToPlugin(buffer, length, data_offset)) { buffer 129 content/child/npapi/plugin_stream_url.cc void PluginStreamUrl::DidReceiveData(const char* buffer, int length, buffer 141 content/child/npapi/plugin_stream_url.cc if (Write(const_cast<char*>(buffer), length, data_offset) > 0) { buffer 53 content/child/npapi/plugin_stream_url.h virtual void DidReceiveData(const char* buffer, buffer 112 content/child/npapi/webplugin_delegate.h virtual void DidReceiveManualData(const char* buffer, int length) = 0; buffer 233 content/child/npapi/webplugin_delegate_impl.cc void WebPluginDelegateImpl::DidReceiveManualData(const char* buffer, buffer 235 content/child/npapi/webplugin_delegate_impl.cc instance()->DidReceiveManualData(buffer, length); buffer 114 content/child/npapi/webplugin_delegate_impl.h virtual void DidReceiveManualData(const char* buffer, int length) OVERRIDE; buffer 178 content/child/npapi/webplugin_delegate_impl_win.cc scoped_ptr<char[]> buffer(new char[size]); buffer 179 content/child/npapi/webplugin_delegate_impl_win.cc if (buffer.get() == NULL) buffer 182 content/child/npapi/webplugin_delegate_impl_win.cc result = func(key, KeyNameInformation, buffer.get(), size, &size); buffer 187 content/child/npapi/webplugin_delegate_impl_win.cc reinterpret_cast<KEY_NAME_INFORMATION*>(buffer.get()); buffer 29 content/child/npapi/webplugin_resource_client.h virtual void DidReceiveData(const char* buffer, int length, buffer 40 content/child/plugin_messages.h IPC_STRUCT_MEMBER(std::vector<char>, buffer) buffer 390 content/child/resource_dispatcher.cc request_info->buffer.reset( buffer 393 content/child/resource_dispatcher.cc bool ok = request_info->buffer->Map(shm_size); buffer 417 content/child/resource_dispatcher.cc CHECK(base::SharedMemory::IsHandleValid(request_info->buffer->handle())); buffer 423 content/child/resource_dispatcher.cc linked_ptr<base::SharedMemory> retain_buffer(request_info->buffer); buffer 427 content/child/resource_dispatcher.cc const char* data_ptr = static_cast<char*>(request_info->buffer->memory()); buffer 531 content/child/resource_dispatcher.cc request_info->buffer.reset(); buffer 125 content/child/resource_dispatcher.h linked_ptr<base::SharedMemory> buffer; buffer 26 content/child/webcrypto/crypto_data.cc CryptoData::CryptoData(const blink::WebArrayBuffer& buffer) buffer 27 content/child/webcrypto/crypto_data.cc : bytes_(reinterpret_cast<const unsigned char*>(buffer.data())), buffer 28 content/child/webcrypto/crypto_data.cc byte_length_(buffer.byteLength()) {} buffer 39 content/child/webcrypto/crypto_data.h explicit CryptoData(const blink::WebArrayBuffer& buffer); buffer 794 content/child/webcrypto/jwk.cc blink::WebArrayBuffer* buffer) { buffer 838 content/child/webcrypto/jwk.cc *buffer = CreateArrayBuffer(reinterpret_cast<const uint8*>(json.data()), buffer 26 content/child/webcrypto/jwk.h blink::WebArrayBuffer* buffer); buffer 56 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 67 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 74 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 80 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 88 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 94 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 107 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 180 content/child/webcrypto/platform_crypto.h Status ExportKeyRaw(SymKey* key, blink::WebArrayBuffer* buffer); buffer 184 content/child/webcrypto/platform_crypto.h Status ExportKeySpki(PublicKey* key, blink::WebArrayBuffer* buffer); buffer 196 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 203 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 230 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 237 content/child/webcrypto/platform_crypto.h blink::WebArrayBuffer* buffer); buffer 175 content/child/webcrypto/platform_crypto_nss.cc SECItem MakeSECItemForBuffer(const CryptoData& buffer) { buffer 179 content/child/webcrypto/platform_crypto_nss.cc const_cast<unsigned char*>(buffer.bytes()), buffer.byte_length()}; buffer 221 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 258 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(output_max_len, 1); buffer 260 content/child/webcrypto/platform_crypto_nss.cc unsigned char* buffer_data = reinterpret_cast<unsigned char*>(buffer->data()); buffer 266 content/child/webcrypto/platform_crypto_nss.cc buffer->byteLength(), buffer 280 content/child/webcrypto/platform_crypto_nss.cc ShrinkBuffer(buffer, final_output_chunk_len + output_len); buffer 293 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 336 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(buffer_size, 1); buffer 337 content/child/webcrypto/platform_crypto_nss.cc unsigned char* buffer_data = reinterpret_cast<unsigned char*>(buffer->data()); buffer 349 content/child/webcrypto/platform_crypto_nss.cc buffer->byteLength(), buffer 358 content/child/webcrypto/platform_crypto_nss.cc ShrinkBuffer(buffer, output_len); buffer 798 content/child/webcrypto/platform_crypto_nss.cc Status ExportKeyRaw(SymKey* key, blink::WebArrayBuffer* buffer) { buffer 806 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(key_data->data, key_data->len); buffer 882 content/child/webcrypto/platform_crypto_nss.cc Status ExportKeySpki(PublicKey* key, blink::WebArrayBuffer* buffer) { buffer 891 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(spki_der->data, spki_der->len); buffer 912 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 963 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(encoded_key->data, encoded_key->len); buffer 1023 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1041 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(signature_item.len, 1); buffer 1042 content/child/webcrypto/platform_crypto_nss.cc signature_item.data = reinterpret_cast<unsigned char*>(buffer->data()); buffer 1052 content/child/webcrypto/platform_crypto_nss.cc DCHECK_EQ(buffer->byteLength(), signature_item.len); buffer 1062 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1072 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(encrypted_length_bytes, 1); buffer 1074 content/child/webcrypto/platform_crypto_nss.cc reinterpret_cast<unsigned char*>(buffer->data()); buffer 1088 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1094 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(max_output_length_bytes, 1); buffer 1096 content/child/webcrypto/platform_crypto_nss.cc reinterpret_cast<unsigned char*>(buffer->data()); buffer 1108 content/child/webcrypto/platform_crypto_nss.cc ShrinkBuffer(buffer, output_length_bytes); buffer 1119 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1149 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(signature_item->data, signature_item->len); buffer 1194 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1196 content/child/webcrypto/platform_crypto_nss.cc return AesCbcEncryptDecrypt(mode, key, iv, data, buffer); buffer 1205 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1208 content/child/webcrypto/platform_crypto_nss.cc mode, key, data, iv, additional_data, tag_length_bits, buffer); buffer 1301 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1306 content/child/webcrypto/platform_crypto_nss.cc return digestor.FinishWithWebArrayAndStatus(buffer); buffer 1412 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1433 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(output_length, 1); buffer 1434 content/child/webcrypto/platform_crypto_nss.cc SECItem wrapped_key_item = MakeSECItemForBuffer(CryptoData(*buffer)); buffer 1484 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1500 content/child/webcrypto/platform_crypto_nss.cc *buffer = webcrypto::CreateArrayBuffer(key_data->data, key_data->len); buffer 1507 content/child/webcrypto/platform_crypto_nss.cc blink::WebArrayBuffer* buffer) { buffer 1519 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(modulus_length_bytes, 1); buffer 1520 content/child/webcrypto/platform_crypto_nss.cc SECItem wrapped_key_item = MakeSECItemForBuffer(CryptoData(*buffer)); buffer 86 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 125 content/child/webcrypto/platform_crypto_openssl.cc *buffer = blink::WebArrayBuffer::create(output_max_len, 1); buffer 128 content/child/webcrypto/platform_crypto_openssl.cc reinterpret_cast<unsigned char*>(buffer->data()); buffer 148 content/child/webcrypto/platform_crypto_openssl.cc ShrinkBuffer(buffer, final_output_len); buffer 242 content/child/webcrypto/platform_crypto_openssl.cc Status ExportKeyRaw(SymKey* key, blink::WebArrayBuffer* buffer) { buffer 243 content/child/webcrypto/platform_crypto_openssl.cc *buffer = CreateArrayBuffer(Uint8VectorStart(key->key()), key->key().size()); buffer 253 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 255 content/child/webcrypto/platform_crypto_openssl.cc return AesCbcEncryptDecrypt(mode, key, iv, data, buffer); buffer 260 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 265 content/child/webcrypto/platform_crypto_openssl.cc return digestor.FinishWithWebArrayAndStatus(buffer); buffer 338 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 373 content/child/webcrypto/platform_crypto_openssl.cc *buffer = result; buffer 394 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 402 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 409 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 417 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 450 content/child/webcrypto/platform_crypto_openssl.cc Status ExportKeySpki(PublicKey* key, blink::WebArrayBuffer* buffer) { buffer 457 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 471 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 488 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 495 content/child/webcrypto/platform_crypto_openssl.cc blink::WebArrayBuffer* buffer) { buffer 69 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 83 content/child/webcrypto/shared_crypto.cc return platform::EncryptDecryptAesCbc(mode, sym_key, data, iv, buffer); buffer 90 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 116 content/child/webcrypto/shared_crypto.cc buffer); buffer 122 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 132 content/child/webcrypto/shared_crypto.cc return platform::EncryptRsaEsPkcs1v1_5(public_key, data, buffer); buffer 138 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 148 content/child/webcrypto/shared_crypto.cc return platform::DecryptRsaEsPkcs1v1_5(private_key, data, buffer); buffer 154 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 161 content/child/webcrypto/shared_crypto.cc sym_key, key.algorithm().hmacParams()->hash(), data, buffer); buffer 186 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 193 content/child/webcrypto/shared_crypto.cc private_key, key.algorithm().rsaHashedParams()->hash(), data, buffer); buffer 369 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 384 content/child/webcrypto/shared_crypto.cc platform_wrapping_key, platform_key, buffer); buffer 392 content/child/webcrypto/shared_crypto.cc platform_wrapping_key, platform_key, buffer); buffer 402 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 410 content/child/webcrypto/shared_crypto.cc return platform::DecryptAesKw(sym_key, data, buffer); buffer 416 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 421 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesCbc(DECRYPT, algorithm, key, data, buffer); buffer 423 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesGcm(DECRYPT, algorithm, key, data, buffer); buffer 425 content/child/webcrypto/shared_crypto.cc return DecryptRsaEsPkcs1v1_5(algorithm, key, data, buffer); buffer 427 content/child/webcrypto/shared_crypto.cc return DecryptAesKw(algorithm, key, data, buffer); buffer 436 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 441 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesCbc(ENCRYPT, algorithm, key, data, buffer); buffer 443 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesGcm(ENCRYPT, algorithm, key, data, buffer); buffer 445 content/child/webcrypto/shared_crypto.cc return EncryptRsaEsPkcs1v1_5(algorithm, key, data, buffer); buffer 460 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer buffer; buffer 462 content/child/webcrypto/shared_crypto.cc wrapping_algorithm, wrapping_key, wrapped_key_data, &buffer); buffer 466 content/child/webcrypto/shared_crypto.cc format, CryptoData(buffer), algorithm, extractable, usage_mask, key); buffer 478 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 484 content/child/webcrypto/shared_crypto.cc wrapping_algorithm, wrapping_key, CryptoData(exported_data), buffer); buffer 509 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 512 content/child/webcrypto/shared_crypto.cc return EncryptDontCheckUsage(algorithm, key, data, buffer); buffer 518 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 521 content/child/webcrypto/shared_crypto.cc return DecryptDontCheckKeyUsage(algorithm, key, data, buffer); buffer 526 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 532 content/child/webcrypto/shared_crypto.cc return platform::DigestSha(algorithm.id(), data, buffer); buffer 654 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 661 content/child/webcrypto/shared_crypto.cc return platform::ExportKeyRaw(sym_key, buffer); buffer 668 content/child/webcrypto/shared_crypto.cc return platform::ExportKeySpki(public_key, buffer); buffer 675 content/child/webcrypto/shared_crypto.cc return platform::ExportKeyPkcs8(private_key, key.algorithm(), buffer); buffer 678 content/child/webcrypto/shared_crypto.cc return ExportKeyJwk(key, buffer); buffer 686 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 689 content/child/webcrypto/shared_crypto.cc return ExportKeyDontCheckExtractability(format, key, buffer); buffer 695 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 703 content/child/webcrypto/shared_crypto.cc return SignHmac(algorithm, key, data, buffer); buffer 705 content/child/webcrypto/shared_crypto.cc return SignRsaSsaPkcs1v1_5(algorithm, key, data, buffer); buffer 744 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer* buffer) { buffer 752 content/child/webcrypto/shared_crypto.cc return WrapKeyRaw(wrapping_key, key_to_wrap, wrapping_algorithm, buffer); buffer 755 content/child/webcrypto/shared_crypto.cc format, wrapping_key, key_to_wrap, wrapping_algorithm, buffer); buffer 807 content/child/webcrypto/shared_crypto.cc blink::WebArrayBuffer buffer; buffer 809 content/child/webcrypto/shared_crypto.cc GetCloneFormatForKeyType(key.type()), key, &buffer); buffer 813 content/child/webcrypto/shared_crypto.cc reinterpret_cast<unsigned char*>(buffer.data()), buffer.byteLength()); buffer 79 content/child/webcrypto/shared_crypto.h blink::WebArrayBuffer* buffer); buffer 84 content/child/webcrypto/shared_crypto.h blink::WebArrayBuffer* buffer); buffer 88 content/child/webcrypto/shared_crypto.h blink::WebArrayBuffer* buffer); buffer 115 content/child/webcrypto/shared_crypto.h blink::WebArrayBuffer* buffer); buffer 120 content/child/webcrypto/shared_crypto.h blink::WebArrayBuffer* buffer); buffer 134 content/child/webcrypto/shared_crypto.h blink::WebArrayBuffer* buffer); buffer 50 content/child/webcrypto/webcrypto_impl.cc blink::WebArrayBuffer buffer; buffer 52 content/child/webcrypto/webcrypto_impl.cc algorithm, key, webcrypto::CryptoData(data, data_size), &buffer); buffer 56 content/child/webcrypto/webcrypto_impl.cc result.completeWithBuffer(buffer); buffer 65 content/child/webcrypto/webcrypto_impl.cc blink::WebArrayBuffer buffer; buffer 67 content/child/webcrypto/webcrypto_impl.cc algorithm, key, webcrypto::CryptoData(data, data_size), &buffer); buffer 71 content/child/webcrypto/webcrypto_impl.cc result.completeWithBuffer(buffer); buffer 79 content/child/webcrypto/webcrypto_impl.cc blink::WebArrayBuffer buffer; buffer 81 content/child/webcrypto/webcrypto_impl.cc algorithm, webcrypto::CryptoData(data, data_size), &buffer); buffer 85 content/child/webcrypto/webcrypto_impl.cc result.completeWithBuffer(buffer); buffer 155 content/child/webcrypto/webcrypto_impl.cc blink::WebArrayBuffer buffer; buffer 156 content/child/webcrypto/webcrypto_impl.cc Status status = webcrypto::ExportKey(format, key, &buffer); buffer 160 content/child/webcrypto/webcrypto_impl.cc result.completeWithBuffer(buffer); buffer 169 content/child/webcrypto/webcrypto_impl.cc blink::WebArrayBuffer buffer; buffer 171 content/child/webcrypto/webcrypto_impl.cc algorithm, key, webcrypto::CryptoData(data, data_size), &buffer); buffer 175 content/child/webcrypto/webcrypto_impl.cc result.completeWithBuffer(buffer); buffer 204 content/child/webcrypto/webcrypto_impl.cc blink::WebArrayBuffer buffer; buffer 207 content/child/webcrypto/webcrypto_impl.cc format, wrapping_key, key, wrap_algorithm, &buffer); buffer 211 content/child/webcrypto/webcrypto_impl.cc result.completeWithBuffer(buffer); buffer 25 content/child/webcrypto/webcrypto_util.cc void ShrinkBuffer(blink::WebArrayBuffer* buffer, unsigned int new_size) { buffer 26 content/child/webcrypto/webcrypto_util.cc DCHECK_LE(new_size, buffer->byteLength()); buffer 28 content/child/webcrypto/webcrypto_util.cc if (new_size == buffer->byteLength()) buffer 33 content/child/webcrypto/webcrypto_util.cc memcpy(new_buffer.data(), buffer->data(), new_size); buffer 34 content/child/webcrypto/webcrypto_util.cc *buffer = new_buffer; buffer 39 content/child/webcrypto/webcrypto_util.cc blink::WebArrayBuffer buffer = blink::WebArrayBuffer::create(data_size, 1); buffer 40 content/child/webcrypto/webcrypto_util.cc DCHECK(!buffer.isNull()); buffer 42 content/child/webcrypto/webcrypto_util.cc memcpy(buffer.data(), data, data_size); buffer 43 content/child/webcrypto/webcrypto_util.cc return buffer; buffer 32 content/child/webcrypto/webcrypto_util.h void ShrinkBuffer(blink::WebArrayBuffer* buffer, unsigned int new_size); buffer 29 content/common/gamepad_hardware_buffer.h blink::WebGamepads buffer; buffer 290 content/common/gpu/client/command_buffer_proxy_impl.cc scoped_refptr<gpu::Buffer> buffer( buffer 292 content/common/gpu/client/command_buffer_proxy_impl.cc return buffer; buffer 218 content/common/gpu/client/gl_helper.cc buffer(0), buffer 227 content/common/gpu/client/gl_helper.cc GLuint buffer; buffer 425 content/common/gpu/client/gl_helper.cc request->buffer = 0u; buffer 445 content/common/gpu/client/gl_helper.cc gl_->GenBuffers(1, &request->buffer); buffer 446 content/common/gpu/client/gl_helper.cc gl_->BindBuffer(GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM, request->buffer); buffer 622 content/common/gpu/client/gl_helper.cc if (request->buffer != 0) { buffer 623 content/common/gpu/client/gl_helper.cc gl_->BindBuffer(GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM, request->buffer); buffer 658 content/common/gpu/client/gl_helper.cc if (request->buffer != 0) { buffer 659 content/common/gpu/client/gl_helper.cc gl_->DeleteBuffers(1, &request->buffer); buffer 660 content/common/gpu/client/gl_helper.cc request->buffer = 0; buffer 18 content/common/gpu/client/gpu_memory_buffer_impl_android.cc scoped_ptr<GpuMemoryBufferImplShm> buffer( buffer 20 content/common/gpu/client/gpu_memory_buffer_impl_android.cc if (!buffer->Initialize(handle)) buffer 23 content/common/gpu/client/gpu_memory_buffer_impl_android.cc return buffer.PassAs<GpuMemoryBufferImpl>(); buffer 26 content/common/gpu/client/gpu_memory_buffer_impl_android.cc scoped_ptr<GpuMemoryBufferImplSurfaceTexture> buffer( buffer 28 content/common/gpu/client/gpu_memory_buffer_impl_android.cc if (!buffer->Initialize(handle)) buffer 31 content/common/gpu/client/gpu_memory_buffer_impl_android.cc return buffer.PassAs<GpuMemoryBufferImpl>(); buffer 17 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc scoped_ptr<GpuMemoryBufferImplShm> buffer( buffer 19 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc if (!buffer->Initialize(handle)) buffer 22 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc return buffer.PassAs<GpuMemoryBufferImpl>(); buffer 18 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc scoped_ptr<GpuMemoryBufferImplShm> buffer( buffer 20 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc if (!buffer->Initialize(handle)) buffer 23 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc return buffer.PassAs<GpuMemoryBufferImpl>(); buffer 26 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc scoped_ptr<GpuMemoryBufferImplIOSurface> buffer( buffer 28 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc if (!buffer->Initialize(handle)) buffer 31 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc return buffer.PassAs<GpuMemoryBufferImpl>(); buffer 73 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc ANativeWindow_Buffer buffer; buffer 74 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc int status = ANativeWindow_lock(native_window_, &buffer, NULL); buffer 80 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc DCHECK_LE(size_.width(), buffer.stride); buffer 81 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc stride_ = buffer.stride * BytesPerPixel(internalformat_); buffer 83 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc return buffer.bits; buffer 17 content/common/gpu/client/gpu_memory_buffer_impl_win.cc scoped_ptr<GpuMemoryBufferImplShm> buffer( buffer 19 content/common/gpu/client/gpu_memory_buffer_impl_win.cc if (!buffer->Initialize(handle)) buffer 22 content/common/gpu/client/gpu_memory_buffer_impl_win.cc return buffer.PassAs<GpuMemoryBufferImpl>(); buffer 131 content/common/gpu/client/gpu_video_decode_accelerator_host.cc const media::PictureBuffer& buffer = buffers[i]; buffer 132 content/common/gpu/client/gpu_video_decode_accelerator_host.cc if (buffer.size() != picture_buffer_dimensions_) { buffer 135 content/common/gpu/client/gpu_video_decode_accelerator_host.cc << ", got " << buffer.size().ToString(); buffer 138 content/common/gpu/client/gpu_video_decode_accelerator_host.cc texture_ids.push_back(buffer.texture_id()); buffer 139 content/common/gpu/client/gpu_video_decode_accelerator_host.cc buffer_ids.push_back(buffer.id()); buffer 144 content/common/gpu/client/gpu_video_encode_accelerator_host.cc const media::BitstreamBuffer& buffer) { buffer 150 content/common/gpu/client/gpu_video_encode_accelerator_host.cc channel_->ShareToGpuProcess(buffer.handle()); buffer 154 content/common/gpu/client/gpu_video_encode_accelerator_host.cc "for GPU process: buffer.id()=" << buffer.id(); buffer 158 content/common/gpu/client/gpu_video_encode_accelerator_host.cc encoder_route_id_, buffer.id(), handle, buffer.size())); buffer 64 content/common/gpu/client/gpu_video_encode_accelerator_host.h const media::BitstreamBuffer& buffer) OVERRIDE; buffer 1141 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc void WebGraphicsContext3DCommandBufferImpl::deleteBuffer(WebGLId buffer) { buffer 1142 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc gl_->DeleteBuffers(1, &buffer); buffer 186 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h virtual void bindBuffer(WGC3Denum target, WebGLId buffer); buffer 357 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h virtual WGC3Dboolean isBuffer(WebGLId buffer); buffer 219 content/common/gpu/media/android_video_encode_accelerator.cc const media::BitstreamBuffer& buffer) { buffer 220 content/common/gpu/media/android_video_encode_accelerator.cc DVLOG(3) << __PRETTY_FUNCTION__ << ": bitstream_buffer_id=" << buffer.id(); buffer 222 content/common/gpu/media/android_video_encode_accelerator.cc RETURN_ON_FAILURE(buffer.size() >= media_codec_->GetOutputBuffersCapacity(), buffer 225 content/common/gpu/media/android_video_encode_accelerator.cc available_bitstream_buffers_.push_back(buffer); buffer 291 content/common/gpu/media/android_video_encode_accelerator.cc uint8* buffer = NULL; buffer 293 content/common/gpu/media/android_video_encode_accelerator.cc media_codec_->GetInputBuffer(input_buf_index, &buffer, &capacity); buffer 301 content/common/gpu/media/android_video_encode_accelerator.cc uint8* dst_y = buffer; buffer 303 content/common/gpu/media/android_video_encode_accelerator.cc uint8* dst_uv = buffer + frame->stride(VideoFrame::kYPlane) * buffer 48 content/common/gpu/media/android_video_encode_accelerator.h virtual void UseOutputBitstreamBuffer(const media::BitstreamBuffer& buffer) buffer 86 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaBuffer> buffer; buffer 91 content/common/gpu/media/dxva_video_decode_accelerator.cc hr = MFCreateMemoryBuffer(buffer_length, buffer.Receive()); buffer 95 content/common/gpu/media/dxva_video_decode_accelerator.cc buffer.Receive()); buffer 99 content/common/gpu/media/dxva_video_decode_accelerator.cc hr = sample->AddBuffer(buffer); buffer 119 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaBuffer> buffer; buffer 120 content/common/gpu/media/dxva_video_decode_accelerator.cc HRESULT hr = sample->GetBufferByIndex(0, buffer.Receive()); buffer 126 content/common/gpu/media/dxva_video_decode_accelerator.cc hr = buffer->Lock(&destination, &max_length, ¤t_length); buffer 133 content/common/gpu/media/dxva_video_decode_accelerator.cc hr = buffer->Unlock(); buffer 136 content/common/gpu/media/dxva_video_decode_accelerator.cc hr = buffer->SetCurrentLength(size); buffer 162 content/common/gpu/media/dxva_video_decode_accelerator.cc const media::PictureBuffer& buffer, buffer 191 content/common/gpu/media/dxva_video_decode_accelerator.cc explicit DXVAPictureBuffer(const media::PictureBuffer& buffer); buffer 208 content/common/gpu/media/dxva_video_decode_accelerator.cc const media::PictureBuffer& buffer, buffer 210 content/common/gpu/media/dxva_video_decode_accelerator.cc linked_ptr<DXVAPictureBuffer> picture_buffer(new DXVAPictureBuffer(buffer)); buffer 219 content/common/gpu/media/dxva_video_decode_accelerator.cc EGL_WIDTH, buffer.size().width(), buffer 220 content/common/gpu/media/dxva_video_decode_accelerator.cc EGL_HEIGHT, buffer.size().height(), buffer 246 content/common/gpu/media/dxva_video_decode_accelerator.cc buffer.size().width(), buffer 247 content/common/gpu/media/dxva_video_decode_accelerator.cc buffer.size().height(), buffer 262 content/common/gpu/media/dxva_video_decode_accelerator.cc const media::PictureBuffer& buffer) buffer 264 content/common/gpu/media/dxva_video_decode_accelerator.cc picture_buffer_(buffer), buffer 295 content/common/gpu/media/exynos_video_encode_accelerator.cc const media::BitstreamBuffer& buffer) { buffer 296 content/common/gpu/media/exynos_video_encode_accelerator.cc DVLOG(3) << "UseOutputBitstreamBuffer(): id=" << buffer.id(); buffer 299 content/common/gpu/media/exynos_video_encode_accelerator.cc if (buffer.size() < output_buffer_byte_size_) { buffer 305 content/common/gpu/media/exynos_video_encode_accelerator.cc new base::SharedMemory(buffer.handle(), false)); buffer 306 content/common/gpu/media/exynos_video_encode_accelerator.cc if (!shm->Map(buffer.size())) { buffer 312 content/common/gpu/media/exynos_video_encode_accelerator.cc new BitstreamBufferRef(buffer.id(), shm.Pass(), buffer.size())); buffer 1434 content/common/gpu/media/exynos_video_encode_accelerator.cc struct v4l2_buffer buffer; buffer 1435 content/common/gpu/media/exynos_video_encode_accelerator.cc memset(&buffer, 0, sizeof(buffer)); buffer 1437 content/common/gpu/media/exynos_video_encode_accelerator.cc buffer.index = i; buffer 1438 content/common/gpu/media/exynos_video_encode_accelerator.cc buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; buffer 1439 content/common/gpu/media/exynos_video_encode_accelerator.cc buffer.memory = V4L2_MEMORY_MMAP; buffer 1440 content/common/gpu/media/exynos_video_encode_accelerator.cc buffer.m.planes = planes; buffer 1441 content/common/gpu/media/exynos_video_encode_accelerator.cc buffer.length = arraysize(planes); buffer 1442 content/common/gpu/media/exynos_video_encode_accelerator.cc IOCTL_OR_ERROR_RETURN_FALSE(mfc_fd_, VIDIOC_QUERYBUF, &buffer); buffer 1443 content/common/gpu/media/exynos_video_encode_accelerator.cc void* address = mmap(NULL, buffer.m.planes[0].length, buffer 1445 content/common/gpu/media/exynos_video_encode_accelerator.cc buffer.m.planes[0].m.mem_offset); buffer 1451 content/common/gpu/media/exynos_video_encode_accelerator.cc mfc_output_buffer_map_[i].length = buffer.m.planes[0].length; buffer 51 content/common/gpu/media/exynos_video_encode_accelerator.h const media::BitstreamBuffer& buffer) OVERRIDE; buffer 1094 content/common/gpu/media/v4l2_video_decode_accelerator.cc const int buffer = input_ready_queue_.front(); buffer 1095 content/common/gpu/media/v4l2_video_decode_accelerator.cc InputRecord& input_record = input_buffer_map_[buffer]; buffer 1101 content/common/gpu/media/v4l2_video_decode_accelerator.cc qbuf.index = buffer; buffer 1122 content/common/gpu/media/v4l2_video_decode_accelerator.cc const int buffer = free_output_buffers_.front(); buffer 1123 content/common/gpu/media/v4l2_video_decode_accelerator.cc OutputRecord& output_record = output_buffer_map_[buffer]; buffer 1152 content/common/gpu/media/v4l2_video_decode_accelerator.cc qbuf.index = buffer; buffer 1678 content/common/gpu/media/v4l2_video_decode_accelerator.cc struct v4l2_buffer buffer; buffer 1679 content/common/gpu/media/v4l2_video_decode_accelerator.cc memset(&buffer, 0, sizeof(buffer)); buffer 1681 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.index = i; buffer 1682 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; buffer 1683 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.memory = V4L2_MEMORY_MMAP; buffer 1684 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.m.planes = planes; buffer 1685 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.length = 1; buffer 1686 content/common/gpu/media/v4l2_video_decode_accelerator.cc IOCTL_OR_ERROR_RETURN_FALSE(VIDIOC_QUERYBUF, &buffer); buffer 1688 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.m.planes[0].length, buffer 1691 content/common/gpu/media/v4l2_video_decode_accelerator.cc buffer.m.planes[0].m.mem_offset); buffer 1697 content/common/gpu/media/v4l2_video_decode_accelerator.cc input_buffer_map_[i].length = buffer.m.planes[0].length; buffer 290 content/common/gpu/media/vaapi_wrapper.cc void* buffer) { buffer 296 content/common/gpu/media/vaapi_wrapper.cc 1, buffer, &buffer_id); buffer 65 content/common/gpu/media/vaapi_wrapper.h bool SubmitBuffer(VABufferType va_buffer_type, size_t size, void* buffer); buffer 603 content/common/gpu/media/video_decode_accelerator_unittest.cc media::PictureBuffer* buffer = buffer 605 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(picture_buffers_by_id_.insert(std::make_pair(id, buffer)).second); buffer 606 content/common/gpu/media/video_decode_accelerator_unittest.cc buffers.push_back(*buffer); buffer 178 content/common/plugin_list_posix.cc char buffer[kELFBufferSize]; buffer 179 content/common/plugin_list_posix.cc if (!base::ReadFile(filename, buffer, kELFBufferSize)) buffer 182 content/common/plugin_list_posix.cc if (buffer[0] != ELFMAG0 || buffer 183 content/common/plugin_list_posix.cc buffer[1] != ELFMAG1 || buffer 184 content/common/plugin_list_posix.cc buffer[2] != ELFMAG2 || buffer 185 content/common/plugin_list_posix.cc buffer[3] != ELFMAG3) { buffer 190 content/common/plugin_list_posix.cc int elf_class = buffer[EI_CLASS]; buffer 425 content/common/sandbox_win.cc BYTE buffer[sizeof(OBJECT_TYPE_INFORMATION) + 32 * sizeof(wchar_t)]; buffer 427 content/common/sandbox_win.cc reinterpret_cast<OBJECT_TYPE_INFORMATION*>(buffer); buffer 428 content/common/sandbox_win.cc ULONG size = sizeof(buffer) - sizeof(wchar_t); buffer 236 content/plugin/webplugin_delegate_stub.cc const std::vector<char>& buffer, buffer 242 content/plugin/webplugin_delegate_stub.cc client->DidReceiveData(&buffer.front(), static_cast<int>(buffer.size()), buffer 401 content/plugin/webplugin_delegate_stub.cc const std::vector<char>& buffer) { buffer 402 content/plugin/webplugin_delegate_stub.cc delegate_->DidReceiveManualData(&buffer.front(), buffer 403 content/plugin/webplugin_delegate_stub.cc static_cast<int>(buffer.size())); buffer 66 content/plugin/webplugin_delegate_stub.h void OnDidReceiveData(int id, const std::vector<char>& buffer, buffer 105 content/plugin/webplugin_delegate_stub.h void OnDidReceiveManualData(const std::vector<char>& buffer); buffer 339 content/plugin/webplugin_proxy.cc params.buffer.resize(len); buffer 340 content/plugin/webplugin_proxy.cc memcpy(¶ms.buffer.front(), buf, len); buffer 108 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java byte[] buffer = null; buffer 126 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java if (buffer == null) { buffer 127 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java buffer = new byte[BUFFER_SIZE]; buffer 131 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java while ((count = is.read(buffer, 0, BUFFER_SIZE)) != -1) { buffer 132 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java os.write(buffer, 0, count); buffer 72 content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java public void onBufferReceived(byte[] buffer) { } buffer 22 content/public/test/unittest_test_suite.cc virtual void cryptographicallyRandomValues(unsigned char* buffer, buffer 24 content/public/test/unittest_test_suite.cc base::RandBytes(buffer, length); buffer 60 content/renderer/gamepad_shared_memory_reader.cc memcpy(&read_into, &gamepad_hardware_buffer_->buffer, sizeof(read_into)); buffer 36 content/renderer/gpu/compositor_software_output_device.cc Buffer* buffer, SkRegion* result) const { buffer 37 content/renderer/gpu/compositor_software_output_device.cc if (!buffer) buffer 40 content/renderer/gpu/compositor_software_output_device.cc if (buffer == this) { buffer 49 content/renderer/gpu/compositor_software_output_device.cc if (current->parent_ == buffer) { buffer 185 content/renderer/gpu/compositor_software_output_device.cc Buffer* buffer = buffers_[i]; buffer 186 content/renderer/gpu/compositor_software_output_device.cc if (buffer->parent() == current) buffer 187 content/renderer/gpu/compositor_software_output_device.cc buffer->SetParent(NULL, gfx::Rect(viewport_size_)); buffer 199 content/renderer/gpu/compositor_software_output_device.cc Buffer* buffer = buffers_[current_index_]; buffer 200 content/renderer/gpu/compositor_software_output_device.cc frame_data->id = buffer->id(); buffer 203 content/renderer/gpu/compositor_software_output_device.cc frame_data->handle = buffer->handle(); buffer 206 content/renderer/gpu/compositor_software_output_device.cc buffer->shared_memory()->mapped_size()); buffer 60 content/renderer/gpu/compositor_software_output_device.h bool FindDamageDifferenceFrom(Buffer* buffer, SkRegion* result) const; buffer 76 content/renderer/gpu/compositor_software_output_device.h bool operator()(const Buffer* buffer) const { buffer 77 content/renderer/gpu/compositor_software_output_device.h return buffer->id() == id_; buffer 145 content/renderer/media/android/audio_decoder_android.cc uint32_t ReadUnsignedInteger(const uint8_t* buffer, size_t length); buffer 197 content/renderer/media/android/audio_decoder_android.cc uint32_t WAVEDecoder::ReadUnsignedInteger(const uint8_t* buffer, buffer 208 content/renderer/media/android/audio_decoder_android.cc value = (value << 8) + buffer[k - 1]; buffer 359 content/renderer/media/android/media_source_delegate.cc const scoped_refptr<media::DecoderBuffer>& buffer) { buffer 362 content/renderer/media/android/media_source_delegate.cc << ((!buffer || buffer->end_of_stream()) ? buffer 363 content/renderer/media/android/media_source_delegate.cc -1 : buffer->timestamp().InMilliseconds()) buffer 410 content/renderer/media/android/media_source_delegate.cc if (buffer->end_of_stream()) { buffer 419 content/renderer/media/android/media_source_delegate.cc statistics_.audio_bytes_decoded += buffer->data_size(); buffer 421 content/renderer/media/android/media_source_delegate.cc statistics_.video_bytes_decoded += buffer->data_size(); buffer 424 content/renderer/media/android/media_source_delegate.cc data->access_units[index].timestamp = buffer->timestamp(); buffer 427 content/renderer/media/android/media_source_delegate.cc buffer->data(), buffer->data() + buffer->data_size()); buffer 436 content/renderer/media/android/media_source_delegate.cc if (buffer->decrypt_config()) { buffer 438 content/renderer/media/android/media_source_delegate.cc buffer->decrypt_config()->key_id().begin(), buffer 439 content/renderer/media/android/media_source_delegate.cc buffer->decrypt_config()->key_id().end()); buffer 441 content/renderer/media/android/media_source_delegate.cc buffer->decrypt_config()->iv().begin(), buffer 442 content/renderer/media/android/media_source_delegate.cc buffer->decrypt_config()->iv().end()); buffer 444 content/renderer/media/android/media_source_delegate.cc buffer->decrypt_config()->subsamples(); buffer 168 content/renderer/media/android/media_source_delegate.h const scoped_refptr<media::DecoderBuffer>& buffer); buffer 505 content/renderer/media/buffered_data_source_unittest.cc uint8 buffer[256]; buffer 506 content/renderer/media/buffered_data_source_unittest.cc data_source_->Read(0, arraysize(buffer), buffer, base::Bind( buffer 220 content/renderer/media/buffered_resource_loader.cc uint8* buffer, buffer 225 content/renderer/media/buffered_resource_loader.cc DCHECK(buffer); buffer 232 content/renderer/media/buffered_resource_loader.cc read_buffer_ = buffer; buffer 127 content/renderer/media/buffered_resource_loader.h uint8* buffer, const ReadCB& read_cb); buffer 234 content/renderer/media/buffered_resource_loader_unittest.cc void ReadLoader(int64 position, int size, uint8* buffer) { buffer 235 content/renderer/media/buffered_resource_loader_unittest.cc loader_->Read(position, size, buffer, buffer 241 content/renderer/media/buffered_resource_loader_unittest.cc void VerifyBuffer(uint8* buffer, int pos, int size) { buffer 242 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_EQ(0, memcmp(buffer, data_ + pos, size)); buffer 399 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 405 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 406 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 10, 10); buffer 411 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(20, 5, buffer); buffer 412 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 20, 5); buffer 414 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(25, 5, buffer); buffer 415 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 25, 5); buffer 419 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 420 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 10, 10); buffer 424 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(9, 10, buffer); buffer 432 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(25, 10, buffer); buffer 433 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 25, 5); buffer 437 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(5, 10, buffer); buffer 441 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(30, 10, buffer); buffer 451 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[20]; buffer 461 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 20, buffer); buffer 463 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 10, 20); buffer 468 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(30, 20, buffer); buffer 475 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 30, 20); buffer 481 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(0x00300000, 1, buffer); buffer 488 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(30, 0x01400001, buffer); buffer 500 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 505 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(0x00FFFFFF, 1, buffer); buffer 509 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 514 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 10, 10); buffer 517 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(25, 10, buffer); buffer 529 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 533 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 547 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 563 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 571 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 575 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 592 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 600 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 613 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 616 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 626 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 10, 10); buffer 631 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(20, 10, buffer); buffer 638 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 20, 10); buffer 643 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(80, 10, buffer); buffer 650 content/renderer/media/buffered_resource_loader_unittest.cc VerifyBuffer(buffer, 80, 10); buffer 662 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[10]; buffer 675 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 1, buffer); buffer 690 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[256]; buffer 697 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 1, buffer); buffer 713 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(20, 4, buffer); buffer 735 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[256]; buffer 753 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(9, 4, buffer); buffer 768 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[256]; buffer 793 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(24, 4, buffer); buffer 816 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[256]; buffer 846 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(24, 12, buffer); buffer 871 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[256]; buffer 878 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(10, 10, buffer); buffer 904 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(16, 18, buffer); buffer 932 content/renderer/media/buffered_resource_loader_unittest.cc uint8 buffer[256]; buffer 950 content/renderer/media/buffered_resource_loader_unittest.cc ReadLoader(kThreshold + 20, 10, buffer); buffer 146 content/renderer/media/mock_peer_connection_impl.cc virtual bool Send(const webrtc::DataBuffer& buffer) OVERRIDE { buffer 98 content/renderer/media/rtc_data_channel_handler.cc talk_base::Buffer buffer(utf8_buffer.c_str(), utf8_buffer.length()); buffer 99 content/renderer/media/rtc_data_channel_handler.cc webrtc::DataBuffer data_buffer(buffer, false); buffer 105 content/renderer/media/rtc_data_channel_handler.cc talk_base::Buffer buffer(data, length); buffer 106 content/renderer/media/rtc_data_channel_handler.cc webrtc::DataBuffer data_buffer(buffer, true); buffer 145 content/renderer/media/rtc_data_channel_handler.cc void RtcDataChannelHandler::OnMessage(const webrtc::DataBuffer& buffer) { buffer 151 content/renderer/media/rtc_data_channel_handler.cc if (buffer.binary) { buffer 152 content/renderer/media/rtc_data_channel_handler.cc webkit_client_->didReceiveRawData(buffer.data.data(), buffer.data.length()); buffer 155 content/renderer/media/rtc_data_channel_handler.cc if (!base::UTF8ToUTF16(buffer.data.data(), buffer.data.length(), &utf16)) { buffer 49 content/renderer/media/rtc_data_channel_handler.h virtual void OnMessage(const webrtc::DataBuffer& buffer) OVERRIDE; buffer 591 content/renderer/media/rtc_video_decoder.cc uint8_t* buffer = new uint8_t[input_image._length]; buffer 595 content/renderer/media/rtc_video_decoder.cc memcpy(buffer, input_image._buffer, input_image._length); buffer 597 content/renderer/media/rtc_video_decoder.cc buffer, input_image._length, input_image._length); buffer 459 content/renderer/media/rtc_video_encoder.cc media::CopyYPlane(next_frame->buffer(webrtc::kYPlane), buffer 463 content/renderer/media/rtc_video_encoder.cc media::CopyUPlane(next_frame->buffer(webrtc::kUPlane), buffer 467 content/renderer/media/rtc_video_encoder.cc media::CopyVPlane(next_frame->buffer(webrtc::kVPlane), buffer 20 content/renderer/media/video_capture_impl.cc ClientBuffer(scoped_ptr<base::SharedMemory> buffer, buffer 22 content/renderer/media/video_capture_impl.cc : buffer(buffer.Pass()), buffer 24 content/renderer/media/video_capture_impl.cc const scoped_ptr<base::SharedMemory> buffer; buffer 274 content/renderer/media/video_capture_impl.cc scoped_refptr<ClientBuffer> buffer = iter->second; buffer 281 content/renderer/media/video_capture_impl.cc reinterpret_cast<uint8*>(buffer->buffer->memory()), buffer 282 content/renderer/media/video_capture_impl.cc buffer->buffer_size, buffer 283 content/renderer/media/video_capture_impl.cc buffer->buffer->handle(), buffer 289 content/renderer/media/video_capture_impl.cc buffer, buffer 123 content/renderer/media/video_capture_impl.h const scoped_refptr<ClientBuffer>& buffer, buffer 153 content/renderer/npapi/webplugin_delegate_proxy.cc virtual void DidReceiveData(const char* buffer, buffer 160 content/renderer/npapi/webplugin_delegate_proxy.cc memcpy(&data.front(), buffer, length); buffer 421 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::DidReceiveManualData(const char* buffer, buffer 426 content/renderer/npapi/webplugin_delegate_proxy.cc memcpy(&data.front(), buffer, length); buffer 1085 content/renderer/npapi/webplugin_delegate_proxy.cc if (params.buffer.size()) buffer 1086 content/renderer/npapi/webplugin_delegate_proxy.cc data = ¶ms.buffer[0]; buffer 1094 content/renderer/npapi/webplugin_delegate_proxy.cc static_cast<unsigned int>(params.buffer.size()), params.notify_id, buffer 123 content/renderer/npapi/webplugin_delegate_proxy.h virtual void DidReceiveManualData(const char* buffer, int length) OVERRIDE; buffer 1077 content/renderer/npapi/webplugin_impl.cc const char *buffer, buffer 1089 content/renderer/npapi/webplugin_impl.cc multi_part_handler->OnReceivedData(buffer, buffer 1095 content/renderer/npapi/webplugin_impl.cc client->DidReceiveData(buffer, data_length, client_info->data_offset); buffer 221 content/renderer/npapi/webplugin_impl.h void didReceiveData(blink::WebURLLoader* loader, const char *buffer, buffer 57 content/renderer/pepper/content_decryptor_delegate.cc scoped_refptr<PPB_Buffer_Impl> buffer( buffer 59 content/renderer/pepper/content_decryptor_delegate.cc if (!buffer.get()) buffer 62 content/renderer/pepper/content_decryptor_delegate.cc BufferAutoMapper mapper(buffer.get()); buffer 67 content/renderer/pepper/content_decryptor_delegate.cc *resource = buffer; buffer 30 content/renderer/pepper/host_array_buffer_var.cc HostArrayBufferVar::HostArrayBufferVar(const WebArrayBuffer& buffer) buffer 31 content/renderer/pepper/host_array_buffer_var.cc : buffer_(buffer), buffer 20 content/renderer/pepper/host_array_buffer_var.h explicit HostArrayBufferVar(const blink::WebArrayBuffer& buffer); buffer 89 content/renderer/pepper/message_channel.cc ArrayBufferVar* buffer = ArrayBufferVar::FromPPVar(var); buffer 90 content/renderer/pepper/message_channel.cc if (!buffer) buffer 93 content/renderer/pepper/message_channel.cc MakeArrayBufferPPVar(buffer->ByteLength()); buffer 101 content/renderer/pepper/message_channel.cc memcpy(new_buffer->Map(), buffer->Map(), buffer->ByteLength()); buffer 50 content/renderer/pepper/npapi_glue.cc WebArrayBuffer buffer; buffer 54 content/renderer/pepper/npapi_glue.cc if (WebBindings::getArrayBuffer(object, &buffer)) { buffer 56 content/renderer/pepper/npapi_glue.cc new HostArrayBufferVar(buffer)); buffer 107 content/renderer/pepper/pepper_media_stream_audio_track_host.cc ppapi::MediaStreamBuffer::Audio* buffer = buffer 109 content/renderer/pepper/pepper_media_stream_audio_track_host.cc buffer->header.size = host_->buffer_manager()->buffer_size(); buffer 110 content/renderer/pepper/pepper_media_stream_audio_track_host.cc buffer->header.type = ppapi::MediaStreamBuffer::TYPE_AUDIO; buffer 111 content/renderer/pepper/pepper_media_stream_audio_track_host.cc buffer->timestamp = timestamp_.InMillisecondsF(); buffer 112 content/renderer/pepper/pepper_media_stream_audio_track_host.cc buffer->sample_rate = static_cast<PP_AudioBuffer_SampleRate>(sample_rate); buffer 113 content/renderer/pepper/pepper_media_stream_audio_track_host.cc buffer->number_of_channels = number_of_channels; buffer 114 content/renderer/pepper/pepper_media_stream_audio_track_host.cc buffer->number_of_samples = number_of_channels * number_of_frames; buffer 115 content/renderer/pepper/pepper_media_stream_audio_track_host.cc buffer->data_size = buffer_data_size_; buffer 116 content/renderer/pepper/pepper_media_stream_audio_track_host.cc memcpy(buffer->data, audio_data, buffer_data_size_); buffer 217 content/renderer/pepper/pepper_media_stream_video_track_host.cc ppapi::MediaStreamBuffer::Video* buffer = buffer 219 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->header.size = buffer_manager()->buffer_size(); buffer 220 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->header.type = ppapi::MediaStreamBuffer::TYPE_VIDEO; buffer 221 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->timestamp = frame->GetTimestamp().InSecondsF(); buffer 222 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->format = format; buffer 223 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->size.width = size.width(); buffer 224 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->size.height = size.height(); buffer 225 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->data_size = frame_data_size_; buffer 226 content/renderer/pepper/pepper_media_stream_video_track_host.cc ConvertFromMediaVideoFrame(frame, format, size, buffer->data); buffer 43 content/renderer/pepper/pepper_truetype_font_win.cc LPVOID buffer, buffer 142 content/renderer/pepper/pepper_truetype_font_win.cc void* buffer, buffer 145 content/renderer/pepper/pepper_truetype_font_win.cc if (buffer && !length) buffer 148 content/renderer/pepper/pepper_truetype_font_win.cc DWORD result = ::GetFontData(hdc, table, offset, buffer, length); buffer 160 content/renderer/pepper/pepper_truetype_font_win.cc result = ::GetFontData(hdc, table, offset, buffer, length); buffer 149 content/renderer/pepper/pepper_video_capture_host.cc if (buffers_[i].buffer->size() < buffer 211 content/renderer/pepper/pepper_video_capture_host.cc buf.buffer = static_cast<PPB_Buffer_Impl*>(enter.object()); buffer 212 content/renderer/pepper/pepper_video_capture_host.cc buf.data = buf.buffer->Map(); buffer 310 content/renderer/pepper/pepper_video_capture_host.cc uint32_t buffer) { buffer 311 content/renderer/pepper/pepper_video_capture_host.cc if (buffer >= buffers_.size() || !buffers_[buffer].in_use) buffer 313 content/renderer/pepper/pepper_video_capture_host.cc buffers_[buffer].in_use = false; buffer 353 content/renderer/pepper/pepper_video_capture_host.cc buffers_[i].buffer->Unmap(); buffer 354 content/renderer/pepper/pepper_video_capture_host.cc tracker->ReleaseResource(buffers_[i].buffer->pp_resource()); buffer 58 content/renderer/pepper/pepper_video_capture_host.h uint32_t buffer); buffer 86 content/renderer/pepper/pepper_video_capture_host.h scoped_refptr<PPB_Buffer_Impl> buffer; buffer 43 content/renderer/pepper/ppb_buffer_impl.cc scoped_refptr<PPB_Buffer_Impl> buffer(new PPB_Buffer_Impl(instance)); buffer 44 content/renderer/pepper/ppb_buffer_impl.cc if (!buffer->Init(size)) buffer 46 content/renderer/pepper/ppb_buffer_impl.cc return buffer; buffer 162 content/renderer/pepper/ppb_video_decoder_impl.cc PPB_Buffer_Impl* buffer = static_cast<PPB_Buffer_Impl*>(enter.object()); buffer 166 content/renderer/pepper/ppb_video_decoder_impl.cc buffer->shared_memory()->handle(), buffer 188 content/renderer/pepper/ppb_video_decoder_impl.cc media::PictureBuffer buffer( buffer 192 content/renderer/pepper/ppb_video_decoder_impl.cc wrapped_buffers.push_back(buffer); buffer 88 content/renderer/pepper/url_response_info_util.cc data.headers = flattener.buffer(); buffer 142 content/renderer/pepper/v8_var_converter.cc ArrayBufferVar* buffer = ArrayBufferVar::FromPPVar(var); buffer 143 content/renderer/pepper/v8_var_converter.cc if (!buffer) { buffer 149 content/renderer/pepper/v8_var_converter.cc static_cast<HostArrayBufferVar*>(buffer); buffer 156 content/renderer/renderer_clipboard_client.cc base::SharedMemory buffer(image_handle, true); buffer 157 content/renderer/renderer_clipboard_client.cc buffer.Map(image_size); buffer 158 content/renderer/renderer_clipboard_client.cc data->append(static_cast<char*>(buffer.memory()), image_size); buffer 184 content/renderer/skia_benchmarking_extension.cc blink::WebArrayBuffer buffer = buffer 187 content/renderer/skia_benchmarking_extension.cc uint8* buffer_pixels = reinterpret_cast<uint8*>(buffer.data()); buffer 203 content/renderer/skia_benchmarking_extension.cc blink::WebArrayBufferConverter::toV8Value(&buffer)); buffer 229 content/renderer/v8_value_converter_impl.cc blink::WebArrayBuffer buffer = buffer 231 content/renderer/v8_value_converter_impl.cc memcpy(buffer.data(), value->GetBuffer(), value->GetSize()); buffer 232 content/renderer/v8_value_converter_impl.cc return blink::WebArrayBufferConverter::toV8Value(&buffer); buffer 45 content/renderer/webclipboard_impl.cc uint64 WebClipboardImpl::sequenceNumber(Buffer buffer) { buffer 47 content/renderer/webclipboard_impl.cc if (!ConvertBufferType(buffer, &clipboard_type)) buffer 53 content/renderer/webclipboard_impl.cc bool WebClipboardImpl::isFormatAvailable(Format format, Buffer buffer) { buffer 56 content/renderer/webclipboard_impl.cc if (!ConvertBufferType(buffer, &clipboard_type)) buffer 79 content/renderer/webclipboard_impl.cc Buffer buffer, bool* contains_filenames) { buffer 82 content/renderer/webclipboard_impl.cc if (ConvertBufferType(buffer, &clipboard_type)) { buffer 88 content/renderer/webclipboard_impl.cc WebString WebClipboardImpl::readPlainText(Buffer buffer) { buffer 90 content/renderer/webclipboard_impl.cc if (!ConvertBufferType(buffer, &clipboard_type)) buffer 98 content/renderer/webclipboard_impl.cc WebString WebClipboardImpl::readHTML(Buffer buffer, WebURL* source_url, buffer 102 content/renderer/webclipboard_impl.cc if (!ConvertBufferType(buffer, &clipboard_type)) buffer 114 content/renderer/webclipboard_impl.cc WebData WebClipboardImpl::readImage(Buffer buffer) { buffer 116 content/renderer/webclipboard_impl.cc if (!ConvertBufferType(buffer, &clipboard_type)) buffer 124 content/renderer/webclipboard_impl.cc WebString WebClipboardImpl::readCustomData(Buffer buffer, buffer 127 content/renderer/webclipboard_impl.cc if (!ConvertBufferType(buffer, &clipboard_type)) buffer 199 content/renderer/webclipboard_impl.cc bool WebClipboardImpl::ConvertBufferType(Buffer buffer, buffer 202 content/renderer/webclipboard_impl.cc switch (buffer) { buffer 25 content/renderer/webclipboard_impl.h virtual uint64 sequenceNumber(Buffer buffer); buffer 26 content/renderer/webclipboard_impl.h virtual bool isFormatAvailable(Format format, Buffer buffer); buffer 28 content/renderer/webclipboard_impl.h Buffer buffer, bool* contains_filenames); buffer 29 content/renderer/webclipboard_impl.h virtual blink::WebString readPlainText(Buffer buffer); buffer 31 content/renderer/webclipboard_impl.h Buffer buffer, buffer 35 content/renderer/webclipboard_impl.h virtual blink::WebData readImage(Buffer buffer); buffer 37 content/renderer/webclipboard_impl.h Buffer buffer, const blink::WebString& type); buffer 24 content/shell/renderer/test_runner/MockWebSpeechInputController.cpp char buffer[100]; buffer 25 content/shell/renderer/test_runner/MockWebSpeechInputController.cpp snprintf(buffer, sizeof(buffer), "%d,%d,%d,%d", rect.x, rect.y, rect.width, rect.height); buffer 28 content/shell/renderer/test_runner/MockWebSpeechInputController.cpp res.assign(WebString::fromUTF8(static_cast<const char*>(buffer)), 1.0); buffer 91 content/shell/renderer/test_runner/TestPlugin.cpp char buffer[100]; buffer 92 content/shell/renderer/test_runner/TestPlugin.cpp snprintf(buffer, buffer 93 content/shell/renderer/test_runner/TestPlugin.cpp sizeof(buffer), buffer 98 content/shell/renderer/test_runner/TestPlugin.cpp delegate->printMessage(buffer); buffer 111 content/shell/renderer/test_runner/TestPlugin.cpp char buffer[100]; buffer 112 content/shell/renderer/test_runner/TestPlugin.cpp snprintf(buffer, sizeof(buffer), "* %d, %d\n", mouse.x, mouse.y); buffer 113 content/shell/renderer/test_runner/TestPlugin.cpp delegate->printMessage(buffer); buffer 116 content/shell/renderer/test_runner/TestPlugin.cpp char buffer[100]; buffer 117 content/shell/renderer/test_runner/TestPlugin.cpp snprintf(buffer, sizeof(buffer), "* %d, %d\n", gesture.x, gesture.y); buffer 118 content/shell/renderer/test_runner/TestPlugin.cpp delegate->printMessage(buffer); buffer 1107 content/shell/renderer/test_runner/WebTestProxy.cpp char buffer[100]; buffer 1108 content/shell/renderer/test_runner/WebTestProxy.cpp snprintf(buffer, sizeof(buffer), " - has %u onunload handler(s)\n", pendingUnloadEvents); buffer 1109 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(buffer); buffer 1290 content/shell/renderer/test_runner/WebTestProxy.cpp char buffer[40]; buffer 1291 content/shell/renderer/test_runner/WebTestProxy.cpp snprintf(buffer, sizeof(buffer), "line %d: ", sourceLine); buffer 1292 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(buffer); buffer 113 content/shell/tools/plugin/PluginTest.cpp void* buffer) { buffer 94 content/shell/tools/plugin/PluginTest.h void* buffer); buffer 107 content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp virtual int32_t NPP_Write(NPStream* stream, int32_t offset, int32_t len, void* buffer) OVERRIDE buffer 112 content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp m_data.insert(m_data.end(), static_cast<char*>(buffer), static_cast<char*>(buffer) + len); buffer 227 content/shell/tools/plugin/main.cpp char* buffer = (char*) malloc(length); buffer 228 content/shell/tools/plugin/main.cpp snprintf(buffer, length, "xWebkitTestNetscapeLog('%s')", argv[j]); buffer 229 content/shell/tools/plugin/main.cpp executeScript(obj, buffer); buffer 230 content/shell/tools/plugin/main.cpp free(buffer); buffer 465 content/shell/tools/plugin/main.cpp int32_t NPP_Write(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer) buffer 472 content/shell/tools/plugin/main.cpp return obj->pluginTest->NPP_Write(stream, offset, len, buffer); buffer 33 content/test/mock_webclipboard_impl.cc bool MockWebClipboardImpl::isFormatAvailable(Format format, Buffer buffer) { buffer 51 content/test/mock_webclipboard_impl.cc Buffer buffer, buffer 75 content/test/mock_webclipboard_impl.cc blink::WebClipboard::Buffer buffer) { buffer 81 content/test/mock_webclipboard_impl.cc blink::WebClipboard::Buffer buffer, buffer 91 content/test/mock_webclipboard_impl.cc blink::WebClipboard::Buffer buffer) { buffer 115 content/test/mock_webclipboard_impl.cc blink::WebClipboard::Buffer buffer, buffer 29 content/test/mock_webclipboard_impl.h blink::WebClipboard::Buffer buffer); buffer 31 content/test/mock_webclipboard_impl.h blink::WebClipboard::Buffer buffer, bool* containsFilenames); buffer 33 content/test/mock_webclipboard_impl.h virtual blink::WebString readPlainText(blink::WebClipboard::Buffer buffer); buffer 34 content/test/mock_webclipboard_impl.h virtual blink::WebString readHTML(blink::WebClipboard::Buffer buffer, buffer 38 content/test/mock_webclipboard_impl.h virtual blink::WebData readImage(blink::WebClipboard::Buffer buffer); buffer 39 content/test/mock_webclipboard_impl.h virtual blink::WebString readCustomData(blink::WebClipboard::Buffer buffer, buffer 176 content/test/plugin/plugin_client.cc int32 len, void *buffer) { buffer 183 content/test/plugin/plugin_client.cc return plugin->Write(stream, offset, len, buffer); buffer 29 content/test/plugin/plugin_execute_stream_javascript.cc void *buffer) { buffer 40 content/test/plugin/plugin_execute_stream_javascript.cc javascript.append(static_cast<char*>(buffer), len); buffer 26 content/test/plugin/plugin_execute_stream_javascript.h void *buffer) OVERRIDE; buffer 65 content/test/plugin/plugin_get_javascript_url2_test.cc void *buffer) { buffer 80 content/test/plugin/plugin_get_javascript_url2_test.cc self_url_.append(static_cast<char*>(buffer), len); buffer 28 content/test/plugin/plugin_get_javascript_url2_test.h void *buffer) OVERRIDE; buffer 134 content/test/plugin/plugin_get_javascript_url_test.cc int32 len, void *buffer) { buffer 154 content/test/plugin/plugin_get_javascript_url_test.cc self_url_.append(static_cast<char*>(buffer), len); buffer 27 content/test/plugin/plugin_get_javascript_url_test.h void *buffer) OVERRIDE; buffer 256 content/test/plugin/plugin_geturl_test.cc void *buffer) { buffer 258 content/test/plugin/plugin_geturl_test.cc return PluginTest::Write(stream, offset, len, buffer); buffer 285 content/test/plugin/plugin_geturl_test.cc self_url_.append(static_cast<char*>(buffer), len); buffer 296 content/test/plugin/plugin_geturl_test.cc if (memcmp(read_buffer, buffer, len)) buffer 37 content/test/plugin/plugin_geturl_test.h void *buffer) OVERRIDE; buffer 71 content/test/plugin/plugin_request_read_test.cc void* buffer) { buffer 95 content/test/plugin/plugin_request_read_test.cc const char* data = static_cast<const char*>(buffer); buffer 34 content/test/plugin/plugin_request_read_test.h void* buffer) OVERRIDE; buffer 171 content/test/plugin/plugin_test.cc void *buffer) { buffer 39 content/test/plugin/plugin_test.h void *buffer); buffer 286 content/test/test_webkit_platform_support.cc std::string buffer; buffer 287 content/test/test_webkit_platform_support.cc base::ReadFileToString(file_path, &buffer); buffer 289 content/test/test_webkit_platform_support.cc return blink::WebData(buffer.data(), buffer.size()); buffer 183 content/test/weburl_loader_mock_factory.cc scoped_ptr<char[]> buffer(new char[size]); buffer 185 content/test/weburl_loader_mock_factory.cc int read_count = base::ReadFile(file_path, buffer.get(), size); buffer 189 content/test/weburl_loader_mock_factory.cc data->assign(buffer.get(), size); buffer 101 courgette/courgette.h Status DetectExecutableType(const void* buffer, size_t length, buffer 109 courgette/courgette.h Status ParseDetectedExecutable(const void* buffer, size_t length, buffer 128 courgette/courgette.h Status Assemble(EncodedProgram* encoded, SinkStream* buffer); buffer 54 courgette/courgette_tool.cc std::string buffer; buffer 55 courgette/courgette_tool.cc buffer.reserve(static_cast<size_t>(file_size)); buffer 56 courgette/courgette_tool.cc if (!base::ReadFileToString(file_name, &buffer)) buffer 58 courgette/courgette_tool.cc return buffer; buffer 75 courgette/courgette_tool.cc std::string buffer = ReadOrFail(input_file, "input"); buffer 79 courgette/courgette_tool.cc courgette::ParseDetectedExecutable(buffer.c_str(), buffer.length(), buffer 112 courgette/courgette_tool.cc std::string buffer = ReadOrFail(input_file, "input"); buffer 117 courgette/courgette_tool.cc DetectExecutableType(buffer.c_str(), buffer.length(), buffer 290 courgette/courgette_tool.cc std::string buffer = ReadOrFail(input_file, "input"); buffer 293 courgette/courgette_tool.cc if (!sources.Init(buffer.c_str(), buffer.length())) buffer 19 courgette/crc.cc uint32 CalculateCrc(const uint8* buffer, size_t size) { buffer 24 courgette/crc.cc crc = crc32(0, buffer, size); buffer 28 courgette/crc.cc crc = CrcCalc(buffer, size); buffer 14 courgette/crc.h uint32 CalculateCrc(const uint8* buffer, size_t size); buffer 26 courgette/disassembler.cc Disassembler* DetectDisassembler(const void* buffer, size_t length) { buffer 29 courgette/disassembler.cc disassembler = new DisassemblerWin32X86(buffer, length); buffer 35 courgette/disassembler.cc disassembler = new DisassemblerWin32X64(buffer, length); buffer 41 courgette/disassembler.cc disassembler = new DisassemblerElf32X86(buffer, length); buffer 47 courgette/disassembler.cc disassembler = new DisassemblerElf32ARM(buffer, length); buffer 56 courgette/disassembler.cc Status DetectExecutableType(const void* buffer, size_t length, buffer 60 courgette/disassembler.cc Disassembler* disassembler = DetectDisassembler(buffer, length); buffer 75 courgette/disassembler.cc Status ParseDetectedExecutable(const void* buffer, size_t length, buffer 79 courgette/disassembler.cc Disassembler* disassembler = DetectDisassembler(buffer, length); buffer 45 courgette/encode_decode_unittest.cc const void* buffer = sink.Buffer(); buffer 51 courgette/encode_decode_unittest.cc bool can_get_source_streams = sources.Init(buffer, length); buffer 45 courgette/encoded_program.cc CheckBool WriteVector(const V& items, SinkStream* buffer) { buffer 47 courgette/encoded_program.cc bool ok = buffer->WriteSizeVarint32(count); buffer 51 courgette/encoded_program.cc ok = buffer->WriteSizeVarint32(items[i]); buffer 57 courgette/encoded_program.cc bool ReadVector(V* items, SourceStream* buffer) { buffer 59 courgette/encoded_program.cc if (!buffer->ReadVarint32(&count)) buffer 67 courgette/encoded_program.cc ok = buffer->ReadVarint32(&item); buffer 77 courgette/encoded_program.cc CheckBool WriteU32Delta(const V& set, SinkStream* buffer) { buffer 79 courgette/encoded_program.cc bool ok = buffer->WriteSizeVarint32(count); buffer 84 courgette/encoded_program.cc ok = buffer->WriteVarint32(delta); buffer 91 courgette/encoded_program.cc static CheckBool ReadU32Delta(V* set, SourceStream* buffer) { buffer 94 courgette/encoded_program.cc if (!buffer->ReadVarint32(&count)) buffer 103 courgette/encoded_program.cc ok = buffer->ReadVarint32(&delta); buffer 122 courgette/encoded_program.cc CheckBool WriteVectorU8(const V& items, SinkStream* buffer) { buffer 124 courgette/encoded_program.cc bool ok = buffer->WriteSizeVarint32(count); buffer 127 courgette/encoded_program.cc ok = buffer->Write(static_cast<const void*>(&items[0]), byte_count); buffer 133 courgette/encoded_program.cc bool ReadVectorU8(V* items, SourceStream* buffer) { buffer 135 courgette/encoded_program.cc if (!buffer->ReadVarint32(&count)) buffer 142 courgette/encoded_program.cc return buffer->Read(static_cast<void*>(&((*items)[0])), byte_count); buffer 722 courgette/encoded_program.cc CheckBool Flush(SinkStream* buffer) WARN_UNUSED_RESULT { buffer 728 courgette/encoded_program.cc ok = buffer->Write(&pod, pod.block_size); buffer 736 courgette/encoded_program.cc CheckBool EncodedProgram::GeneratePeRelocations(SinkStream* buffer, buffer 747 courgette/encoded_program.cc ok &= block.Flush(buffer); buffer 753 courgette/encoded_program.cc ok &= block.Flush(buffer); buffer 758 courgette/encoded_program.cc SinkStream* buffer) { buffer 768 courgette/encoded_program.cc ok = buffer->Write(&relocation_block, sizeof(Elf32_Rel)); buffer 791 courgette/encoded_program.cc Status Assemble(EncodedProgram* encoded, SinkStream* buffer) { buffer 792 courgette/encoded_program.cc bool assembled = encoded->AssembleTo(buffer); buffer 61 courgette/encoded_program.h CheckBool AssembleTo(SinkStream* buffer) WARN_UNUSED_RESULT; buffer 95 courgette/encoded_program.h CheckBool GeneratePeRelocations(SinkStream *buffer, buffer 98 courgette/encoded_program.h SinkStream *buffer) WARN_UNUSED_RESULT; buffer 25 courgette/encoded_program_fuzz_unittest.cc void FuzzByte(const std::string& buffer, const std::string& output, buffer 27 courgette/encoded_program_fuzz_unittest.cc void FuzzBits(const std::string& buffer, const std::string& output, buffer 31 courgette/encoded_program_fuzz_unittest.cc bool TryAssemble(const std::string& buffer, std::string* output) const; buffer 169 courgette/encoded_program_fuzz_unittest.cc bool DecodeFuzzTest::TryAssemble(const std::string& buffer, buffer 175 courgette/encoded_program_fuzz_unittest.cc bool can_get_source_streams = sources.Init(buffer.c_str(), buffer.length()); buffer 38 courgette/encoded_program_unittest.cc const void* buffer = sink.Buffer(); buffer 42 courgette/encoded_program_unittest.cc bool can_get_source_streams = sources.Init(buffer, length); buffer 189 courgette/streams.cc uint8 buffer[Varint::kMax32]; buffer 190 courgette/streams.cc uint8* end = Varint::Encode32(buffer, value); buffer 191 courgette/streams.cc return Write(buffer, end - buffer); buffer 30 device/bluetooth/bluetooth_socket.h virtual bool Receive(net::GrowableIOBuffer* buffer) = 0; buffer 35 device/bluetooth/bluetooth_socket.h virtual bool Send(net::DrainableIOBuffer* buffer) = 0; buffer 50 device/bluetooth/bluetooth_socket_chromeos.cc bool BluetoothSocketChromeOS::Receive(net::GrowableIOBuffer *buffer) { buffer 88 device/bluetooth/bluetooth_socket_chromeos.cc buffer->SetCapacity(count); buffer 90 device/bluetooth/bluetooth_socket_chromeos.cc buffer->SetCapacity(1024); buffer 95 device/bluetooth/bluetooth_socket_chromeos.cc if (buffer->RemainingCapacity() == 0) buffer 96 device/bluetooth/bluetooth_socket_chromeos.cc buffer->SetCapacity(buffer->capacity() * 2); buffer 98 device/bluetooth/bluetooth_socket_chromeos.cc HANDLE_EINTR(read(fd_, buffer->data(), buffer->RemainingCapacity())); buffer 100 device/bluetooth/bluetooth_socket_chromeos.cc buffer->set_offset(buffer->offset() + bytes_read); buffer 105 device/bluetooth/bluetooth_socket_chromeos.cc if (buffer->offset() > 0) buffer 128 device/bluetooth/bluetooth_socket_chromeos.cc bool BluetoothSocketChromeOS::Send(net::DrainableIOBuffer *buffer) { buffer 134 device/bluetooth/bluetooth_socket_chromeos.cc HANDLE_EINTR(write(fd_, buffer->data(), buffer->BytesRemaining())); buffer 136 device/bluetooth/bluetooth_socket_chromeos.cc buffer->DidConsume(bytes_written); buffer 137 device/bluetooth/bluetooth_socket_chromeos.cc } while (buffer->BytesRemaining() > 0 && bytes_written > 0); buffer 36 device/bluetooth/bluetooth_socket_chromeos.h virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; buffer 37 device/bluetooth/bluetooth_socket_chromeos.h virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE; buffer 46 device/bluetooth/bluetooth_socket_mac.h virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; buffer 47 device/bluetooth/bluetooth_socket_mac.h virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE; buffer 76 device/bluetooth/bluetooth_socket_win.cc bool BluetoothSocketWin::Receive(net::GrowableIOBuffer* buffer) { buffer 77 device/bluetooth/bluetooth_socket_win.cc buffer->SetCapacity(1024); buffer 80 device/bluetooth/bluetooth_socket_win.cc if (buffer->RemainingCapacity() == 0) buffer 81 device/bluetooth/bluetooth_socket_win.cc buffer->SetCapacity(buffer->capacity() * 2); buffer 82 device/bluetooth/bluetooth_socket_win.cc bytes_read = recv(fd_, buffer->data(), buffer->RemainingCapacity(), 0); buffer 84 device/bluetooth/bluetooth_socket_win.cc buffer->set_offset(buffer->offset() + bytes_read); buffer 95 device/bluetooth/bluetooth_socket_win.cc bool BluetoothSocketWin::Send(net::DrainableIOBuffer* buffer) { buffer 98 device/bluetooth/bluetooth_socket_win.cc bytes_written = send(fd_, buffer->data(), buffer->BytesRemaining(), 0); buffer 100 device/bluetooth/bluetooth_socket_win.cc buffer->DidConsume(bytes_written); buffer 101 device/bluetooth/bluetooth_socket_win.cc } while (buffer->BytesRemaining() > 0 && bytes_written > 0); buffer 34 device/bluetooth/bluetooth_socket_win.h virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; buffer 35 device/bluetooth/bluetooth_socket_win.h virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE; buffer 21 device/hid/hid_connection.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, buffer 24 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 27 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 30 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 52 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer; buffer 59 device/hid/hid_connection.h scoped_refptr<net::IOBufferWithSize> buffer; buffer 36 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 39 device/hid/hid_connection_linux.cc new net::IOBufferWithSize(buffer->size() + 1)); buffer 41 device/hid/hid_connection_linux.cc memcpy(new_buffer->data() + 1, buffer->data(), buffer->size()); buffer 96 device/hid/hid_connection_linux.cc uint8 buffer[1024] = {0}; buffer 98 device/hid/hid_connection_linux.cc HANDLE_EINTR(read(device_file_.GetPlatformFile(), buffer, 1024)); buffer 108 device/hid/hid_connection_linux.cc report.buffer = new net::IOBufferWithSize(bytes_read); buffer 109 device/hid/hid_connection_linux.cc memcpy(report.buffer->data(), buffer, bytes_read); buffer 127 device/hid/hid_connection_linux.cc void HidConnectionLinux::Read(scoped_refptr<net::IOBufferWithSize> buffer, buffer 131 device/hid/hid_connection_linux.cc pending_read.buffer = buffer; buffer 138 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 143 device/hid/hid_connection_linux.cc buffer = CopyBufferWithReportId(buffer, report_id); buffer 145 device/hid/hid_connection_linux.cc write(device_file_.GetPlatformFile(), buffer->data(), buffer->size())); buffer 156 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 160 device/hid/hid_connection_linux.cc if (buffer->size() == 0) { buffer 166 device/hid/hid_connection_linux.cc buffer->data()[0] = report_id; buffer 168 device/hid/hid_connection_linux.cc HIDIOCGFEATURE(buffer->size()), buffer 169 device/hid/hid_connection_linux.cc buffer->data()); buffer 178 device/hid/hid_connection_linux.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 182 device/hid/hid_connection_linux.cc buffer = CopyBufferWithReportId(buffer, report_id); buffer 184 device/hid/hid_connection_linux.cc HIDIOCSFEATURE(buffer->size()), buffer 185 device/hid/hid_connection_linux.cc buffer->data()); buffer 197 device/hid/hid_connection_linux.cc if (report.buffer->size() > read.buffer->size()) { buffer 198 device/hid/hid_connection_linux.cc read.callback.Run(false, report.buffer->size()); buffer 200 device/hid/hid_connection_linux.cc memcpy(read.buffer->data(), report.buffer->data(), report.buffer->size()); buffer 202 device/hid/hid_connection_linux.cc read.callback.Run(true, report.buffer->size()); buffer 22 device/hid/hid_connection_linux.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, buffer 25 device/hid/hid_connection_linux.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 28 device/hid/hid_connection_linux.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 31 device/hid/hid_connection_linux.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 43 device/hid/hid_connection_mac.cc void HidConnectionMac::Read(scoped_refptr<net::IOBufferWithSize> buffer, buffer 51 device/hid/hid_connection_mac.cc read.buffer = buffer; buffer 58 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 61 device/hid/hid_connection_mac.cc WriteReport(kIOHIDReportTypeOutput, report_id, buffer, callback); buffer 66 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 74 device/hid/hid_connection_mac.cc if (buffer->size() < device_info().feature_report_size) { buffer 79 device/hid/hid_connection_mac.cc uint8_t* feature_report_buffer = reinterpret_cast<uint8_t*>(buffer->data()); buffer 94 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 97 device/hid/hid_connection_mac.cc WriteReport(kIOHIDReportTypeFeature, report_id, buffer, callback); buffer 109 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer; buffer 110 device/hid/hid_connection_mac.cc buffer = new net::IOBufferWithSize(report_length); buffer 111 device/hid/hid_connection_mac.cc memcpy(buffer->data(), report_bytes, report_length); buffer 116 device/hid/hid_connection_mac.cc &HidConnectionMac::ProcessInputReport, connection, type, buffer)); buffer 125 device/hid/hid_connection_mac.cc if (read.buffer->size() < report.buffer->size()) { buffer 126 device/hid/hid_connection_mac.cc read.callback.Run(false, report.buffer->size()); buffer 128 device/hid/hid_connection_mac.cc memcpy(read.buffer->data(), report.buffer->data(), report.buffer->size()); buffer 130 device/hid/hid_connection_mac.cc read.callback.Run(true, report.buffer->size()); buffer 137 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer) { buffer 140 device/hid/hid_connection_mac.cc report.buffer = buffer; buffer 147 device/hid/hid_connection_mac.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 156 device/hid/hid_connection_mac.cc output_buffer = new net::IOBufferWithSize(buffer->size() + 1); buffer 158 device/hid/hid_connection_mac.cc memcpy(output_buffer->data() + 1, buffer->data(), buffer->size()); buffer 160 device/hid/hid_connection_mac.cc output_buffer = new net::IOBufferWithSize(buffer->size()); buffer 161 device/hid/hid_connection_mac.cc memcpy(output_buffer->data(), buffer->data(), buffer->size()); buffer 34 device/hid/hid_connection_mac.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, buffer 37 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 40 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 43 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 58 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer); buffer 62 device/hid/hid_connection_mac.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 30 device/hid/hid_connection_unittest.cc scoped_refptr<IOBufferWithSize> buffer, buffer 38 device/hid/hid_connection_unittest.cc uint64_t* data = reinterpret_cast<uint64_t*>(buffer->data()); buffer 56 device/hid/hid_connection_unittest.cc scoped_refptr<IOBufferWithSize> buffer(new IOBufferWithSize(8)); buffer 57 device/hid/hid_connection_unittest.cc conn->Read(buffer, base::Bind(OnRead, conn, buffer)); buffer 67 device/hid/hid_connection_unittest.cc scoped_refptr<IOBufferWithSize> buffer(new IOBufferWithSize(8)); buffer 68 device/hid/hid_connection_unittest.cc *(int64_t*)buffer->data() = kReport; buffer 70 device/hid/hid_connection_unittest.cc conn->Write(0, buffer, base::Bind(OnWriteNormal)); buffer 124 device/hid/hid_connection_win.cc void HidConnectionWin::Read(scoped_refptr<net::IOBufferWithSize> buffer, buffer 133 device/hid/hid_connection_win.cc if (buffer->size() < device_info().input_report_size) { buffer 141 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> receive_buffer(buffer); buffer 143 device/hid/hid_connection_win.cc receive_buffer = new net::IOBufferWithSize(buffer->size() + 1); buffer 146 device/hid/hid_connection_win.cc new PendingHidTransfer(this, buffer, receive_buffer, callback)); buffer 157 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 168 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> output_buffer(buffer); buffer 169 device/hid/hid_connection_win.cc output_buffer = new net::IOBufferWithSize(buffer->size() + 1); buffer 171 device/hid/hid_connection_win.cc memcpy(output_buffer->data() + 1, buffer->data(), buffer->size()); buffer 174 device/hid/hid_connection_win.cc new PendingHidTransfer(this, buffer, NULL, callback)); buffer 186 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 195 device/hid/hid_connection_win.cc if (buffer->size() < device_info().feature_report_size) { buffer 200 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> receive_buffer(buffer); buffer 202 device/hid/hid_connection_win.cc receive_buffer = new net::IOBufferWithSize(buffer->size() + 1); buffer 207 device/hid/hid_connection_win.cc new PendingHidTransfer(this, buffer, receive_buffer, callback)); buffer 222 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> buffer, buffer 231 device/hid/hid_connection_win.cc if (buffer->size() < device_info().feature_report_size) { buffer 238 device/hid/hid_connection_win.cc scoped_refptr<net::IOBufferWithSize> output_buffer(buffer); buffer 239 device/hid/hid_connection_win.cc output_buffer = new net::IOBufferWithSize(buffer->size() + 1); buffer 241 device/hid/hid_connection_win.cc memcpy(output_buffer->data() + 1, buffer->data(), buffer->size()); buffer 244 device/hid/hid_connection_win.cc new PendingHidTransfer(this, buffer, NULL, callback)); buffer 29 device/hid/hid_connection_win.h virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer, buffer 32 device/hid/hid_connection_win.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 35 device/hid/hid_connection_win.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 38 device/hid/hid_connection_win.h scoped_refptr<net::IOBufferWithSize> buffer, buffer 136 gin/array_buffer.cc bytes_ = private_->buffer(); buffer 30 gin/array_buffer.h ArrayBuffer(v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> buffer); buffer 22 gin/isolate_holder.cc bool GenerateEntropy(unsigned char* buffer, size_t amount) { buffer 23 gin/isolate_holder.cc base::RandBytes(buffer, amount); buffer 137 google_apis/drive/base_requests.cc int ResponseWriter::Write(net::IOBuffer* buffer, buffer 143 google_apis/drive/base_requests.cc make_scoped_ptr(new std::string(buffer->data(), num_bytes))); buffer 148 google_apis/drive/base_requests.cc buffer, num_bytes, buffer 151 google_apis/drive/base_requests.cc make_scoped_refptr(buffer), callback)); buffer 153 google_apis/drive/base_requests.cc DidWrite(buffer, net::CompletionCallback(), result); buffer 157 google_apis/drive/base_requests.cc data_.append(buffer->data(), num_bytes); buffer 168 google_apis/drive/base_requests.cc void ResponseWriter::DidWrite(scoped_refptr<net::IOBuffer> buffer, buffer 177 google_apis/drive/base_requests.cc data_.append(buffer->data(), std::min(static_cast<size_t>(result), buffer 109 google_apis/drive/base_requests.h virtual int Write(net::IOBuffer* buffer, buffer 115 google_apis/drive/base_requests.h void DidWrite(scoped_refptr<net::IOBuffer> buffer, buffer 107 google_apis/gcm/base/socket_stream_unittest.cc const void* buffer = NULL; buffer 113 google_apis/gcm/base/socket_stream_unittest.cc if (!socket_input_stream_->Next(&buffer, &size)) buffer 118 google_apis/gcm/base/socket_stream_unittest.cc static_cast<const uint8*>(buffer) + size); buffer 120 google_apis/gcm/base/socket_stream_unittest.cc initial_buffer = buffer; buffer 137 google_apis/gcm/base/socket_stream_unittest.cc void* buffer = NULL; buffer 142 google_apis/gcm/base/socket_stream_unittest.cc if (!socket_output_stream_->Next(&buffer, &size)) buffer 145 google_apis/gcm/base/socket_stream_unittest.cc memcpy(buffer, buffer 33 gpu/command_buffer/client/buffer_tracker.cc Buffer* buffer = new Buffer(id, size, shm_id, shm_offset, address); buffer 35 gpu/command_buffer/client/buffer_tracker.cc buffers_.insert(std::make_pair(id, buffer)); buffer 37 gpu/command_buffer/client/buffer_tracker.cc return buffer; buffer 48 gpu/command_buffer/client/buffer_tracker.cc Buffer* buffer = it->second; buffer 50 gpu/command_buffer/client/buffer_tracker.cc if (buffer->address_) buffer 51 gpu/command_buffer/client/buffer_tracker.cc mapped_memory_->Free(buffer->address_); buffer 52 gpu/command_buffer/client/buffer_tracker.cc delete buffer; buffer 56 gpu/command_buffer/client/buffer_tracker.cc void BufferTracker::FreePendingToken(Buffer* buffer, int32 token) { buffer 57 gpu/command_buffer/client/buffer_tracker.cc if (buffer->address_) buffer 58 gpu/command_buffer/client/buffer_tracker.cc mapped_memory_->FreePendingToken(buffer->address_, token); buffer 59 gpu/command_buffer/client/buffer_tracker.cc buffer->size_ = 0; buffer 60 gpu/command_buffer/client/buffer_tracker.cc buffer->shm_id_ = 0; buffer 61 gpu/command_buffer/client/buffer_tracker.cc buffer->shm_offset_ = 0; buffer 62 gpu/command_buffer/client/buffer_tracker.cc buffer->address_ = NULL; buffer 63 gpu/command_buffer/client/buffer_tracker.cc buffer->last_usage_token_ = 0; buffer 64 gpu/command_buffer/client/buffer_tracker.cc buffer->last_async_upload_token_ = 0; buffer 67 gpu/command_buffer/client/buffer_tracker.cc void BufferTracker::Unmanage(Buffer* buffer) { buffer 68 gpu/command_buffer/client/buffer_tracker.cc buffer->size_ = 0; buffer 69 gpu/command_buffer/client/buffer_tracker.cc buffer->shm_id_ = 0; buffer 70 gpu/command_buffer/client/buffer_tracker.cc buffer->shm_offset_ = 0; buffer 71 gpu/command_buffer/client/buffer_tracker.cc buffer->address_ = NULL; buffer 72 gpu/command_buffer/client/buffer_tracker.cc buffer->last_usage_token_ = 0; buffer 73 gpu/command_buffer/client/buffer_tracker.cc buffer->last_async_upload_token_ = 0; buffer 76 gpu/command_buffer/client/buffer_tracker.cc void BufferTracker::Free(Buffer* buffer) { buffer 77 gpu/command_buffer/client/buffer_tracker.cc if (buffer->address_) buffer 78 gpu/command_buffer/client/buffer_tracker.cc mapped_memory_->Free(buffer->address_); buffer 80 gpu/command_buffer/client/buffer_tracker.cc buffer->size_ = 0; buffer 81 gpu/command_buffer/client/buffer_tracker.cc buffer->shm_id_ = 0; buffer 82 gpu/command_buffer/client/buffer_tracker.cc buffer->shm_offset_ = 0; buffer 83 gpu/command_buffer/client/buffer_tracker.cc buffer->address_ = NULL; buffer 84 gpu/command_buffer/client/buffer_tracker.cc buffer->last_usage_token_ = 0; buffer 85 gpu/command_buffer/client/buffer_tracker.cc buffer->last_async_upload_token_ = 0; buffer 109 gpu/command_buffer/client/buffer_tracker.h void FreePendingToken(Buffer* buffer, int32 token); buffer 110 gpu/command_buffer/client/buffer_tracker.h void Unmanage(Buffer* buffer); buffer 111 gpu/command_buffer/client/buffer_tracker.h void Free(Buffer* buffer); buffer 84 gpu/command_buffer/client/buffer_tracker_unittest.cc BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId1, size); buffer 85 gpu/command_buffer/client/buffer_tracker_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 87 gpu/command_buffer/client/buffer_tracker_unittest.cc EXPECT_EQ(buffer, buffer_tracker_->GetBuffer(kId1)); buffer 89 gpu/command_buffer/client/buffer_tracker_unittest.cc EXPECT_TRUE(buffer->address() != NULL); buffer 107 gpu/command_buffer/client/buffer_tracker_unittest.cc BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, 0); buffer 108 gpu/command_buffer/client/buffer_tracker_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 110 gpu/command_buffer/client/buffer_tracker_unittest.cc EXPECT_TRUE(buffer->address() == NULL); buffer 123 gpu/command_buffer/client/buffer_tracker_unittest.cc BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, size); buffer 124 gpu/command_buffer/client/buffer_tracker_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 126 gpu/command_buffer/client/buffer_tracker_unittest.cc EXPECT_EQ(64u, buffer->size()); buffer 128 gpu/command_buffer/client/buffer_tracker_unittest.cc EXPECT_TRUE(buffer->address() == NULL); buffer 139 gpu/command_buffer/client/buffer_tracker_unittest.cc BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, size); buffer 140 gpu/command_buffer/client/buffer_tracker_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 143 gpu/command_buffer/client/buffer_tracker_unittest.cc void* mem = buffer->address(); buffer 144 gpu/command_buffer/client/buffer_tracker_unittest.cc buffer_tracker_->Unmanage(buffer); buffer 98 gpu/command_buffer/client/cmd_buffer_helper.cc scoped_refptr<Buffer> buffer = buffer 105 gpu/command_buffer/client/cmd_buffer_helper.cc ring_buffer_ = buffer; buffer 24 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2BindBuffer(GLenum target, GLuint buffer) { buffer 25 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->BindBuffer(target, buffer); buffer 333 gpu/command_buffer/client/gles2_c_lib_autogen.h GLboolean GLES2IsBuffer(GLuint buffer) { buffer 334 gpu/command_buffer/client/gles2_c_lib_autogen.h return gles2::GetGLContext()->IsBuffer(buffer); buffer 50 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void BindBuffer(GLenum target, GLuint buffer) { buffer 53 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, buffer); buffer 853 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void IsBuffer(GLuint buffer, uint32 result_shm_id, uint32 result_shm_offset) { buffer 856 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(buffer, result_shm_id, result_shm_offset); buffer 264 gpu/command_buffer/client/gles2_implementation.cc void* buffer = transfer_buffer_->Alloc( buffer 267 gpu/command_buffer/client/gles2_implementation.cc if (!buffer) { buffer 272 gpu/command_buffer/client/gles2_implementation.cc integerv_state.buffer = buffer; buffer 274 gpu/command_buffer/client/gles2_implementation.cc static_cast<char*>(buffer) + integerv_state.transfer_buffer_size_needed; buffer 284 gpu/command_buffer/client/gles2_implementation.cc transfer_buffer_->FreePendingToken(buffer, helper_->InsertToken()); buffer 539 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(kStartSize, helper_, transfer_buffer_); buffer 540 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 551 gpu/command_buffer/client/gles2_implementation.cc buffer.size(), buffer.shm_id(), buffer.offset()); buffer 558 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 559 gpu/command_buffer/client/gles2_implementation.cc buffer.Reset(size); buffer 560 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 564 gpu/command_buffer/client/gles2_implementation.cc bucket_id, offset, buffer.size(), buffer.shm_id(), buffer.offset()); buffer 567 gpu/command_buffer/client/gles2_implementation.cc uint32 size_to_copy = std::min(size, buffer.size()); buffer 568 gpu/command_buffer/client/gles2_implementation.cc memcpy(&(*data)[offset], buffer.address(), size_to_copy); buffer 571 gpu/command_buffer/client/gles2_implementation.cc buffer.Release(); buffer 588 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(size, helper_, transfer_buffer_); buffer 589 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 592 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer.address(), static_cast<const int8*>(data) + offset, buffer 593 gpu/command_buffer/client/gles2_implementation.cc buffer.size()); buffer 595 gpu/command_buffer/client/gles2_implementation.cc bucket_id, offset, buffer.size(), buffer.shm_id(), buffer.offset()); buffer 596 gpu/command_buffer/client/gles2_implementation.cc offset += buffer.size(); buffer 597 gpu/command_buffer/client/gles2_implementation.cc size -= buffer.size(); buffer 1213 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferArray<GLint> buffer( buffer 1215 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid() || buffer.num_elements() != shader_id_size + length) { buffer 1219 gpu/command_buffer/client/gles2_implementation.cc void* shader_ids = buffer.elements(); buffer 1220 gpu/command_buffer/client/gles2_implementation.cc void* shader_data = buffer.elements() + shader_id_size; buffer 1225 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer 1226 gpu/command_buffer/client/gles2_implementation.cc buffer.offset(), buffer 1228 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer 1229 gpu/command_buffer/client/gles2_implementation.cc buffer.offset() + shader_id_size, buffer 1361 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(size, helper_, transfer_buffer_); buffer 1362 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 1365 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer.address(), src, buffer.size()); buffer 1366 gpu/command_buffer/client/gles2_implementation.cc helper_->SetBucketData(kResultBucketId, offset, buffer.size(), buffer 1367 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer.offset()); buffer 1368 gpu/command_buffer/client/gles2_implementation.cc offset += buffer.size(); buffer 1369 gpu/command_buffer/client/gles2_implementation.cc src += buffer.size(); buffer 1370 gpu/command_buffer/client/gles2_implementation.cc size -= buffer.size(); buffer 1395 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = buffer_tracker_->GetBuffer(buffer_id); buffer 1396 gpu/command_buffer/client/gles2_implementation.cc if (buffer) buffer 1397 gpu/command_buffer/client/gles2_implementation.cc RemoveTransferBuffer(buffer); buffer 1400 gpu/command_buffer/client/gles2_implementation.cc buffer = buffer_tracker_->CreateBuffer(buffer_id, size); buffer 1401 gpu/command_buffer/client/gles2_implementation.cc DCHECK(buffer); buffer 1402 gpu/command_buffer/client/gles2_implementation.cc if (buffer->address() && data) buffer 1403 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer->address(), data, size); buffer 1418 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(size, helper_, transfer_buffer_); buffer 1419 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 1423 gpu/command_buffer/client/gles2_implementation.cc if (buffer.size() >= static_cast<unsigned int>(size)) { buffer 1424 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer.address(), data, size); buffer 1428 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer 1429 gpu/command_buffer/client/gles2_implementation.cc buffer.offset(), buffer 1436 gpu/command_buffer/client/gles2_implementation.cc BufferSubDataHelperImpl(target, 0, size, data, &buffer); buffer 1468 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = buffer_tracker_->GetBuffer(buffer_id); buffer 1469 gpu/command_buffer/client/gles2_implementation.cc if (!buffer) { buffer 1475 gpu/command_buffer/client/gles2_implementation.cc int32 buffer_size = buffer->size(); buffer 1481 gpu/command_buffer/client/gles2_implementation.cc if (buffer->address() && data) buffer 1482 gpu/command_buffer/client/gles2_implementation.cc memcpy(static_cast<uint8*>(buffer->address()) + offset, data, size); buffer 1486 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(size, helper_, transfer_buffer_); buffer 1487 gpu/command_buffer/client/gles2_implementation.cc BufferSubDataHelperImpl(target, offset, size, data, &buffer); buffer 1492 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr* buffer) { buffer 1493 gpu/command_buffer/client/gles2_implementation.cc DCHECK(buffer); buffer 1498 gpu/command_buffer/client/gles2_implementation.cc if (!buffer->valid() || buffer->size() == 0) { buffer 1499 gpu/command_buffer/client/gles2_implementation.cc buffer->Reset(size); buffer 1500 gpu/command_buffer/client/gles2_implementation.cc if (!buffer->valid()) { buffer 1504 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer->address(), source, buffer->size()); buffer 1506 gpu/command_buffer/client/gles2_implementation.cc target, offset, buffer->size(), buffer->shm_id(), buffer->offset()); buffer 1507 gpu/command_buffer/client/gles2_implementation.cc offset += buffer->size(); buffer 1508 gpu/command_buffer/client/gles2_implementation.cc source += buffer->size(); buffer 1509 gpu/command_buffer/client/gles2_implementation.cc size -= buffer->size(); buffer 1510 gpu/command_buffer/client/gles2_implementation.cc buffer->Release(); buffer 1525 gpu/command_buffer/client/gles2_implementation.cc void GLES2Implementation::RemoveTransferBuffer(BufferTracker::Buffer* buffer) { buffer 1526 gpu/command_buffer/client/gles2_implementation.cc int32 token = buffer->last_usage_token(); buffer 1527 gpu/command_buffer/client/gles2_implementation.cc uint32 async_token = buffer->last_async_upload_token(); buffer 1531 gpu/command_buffer/client/gles2_implementation.cc buffer_tracker_->Free(buffer); buffer 1534 gpu/command_buffer/client/gles2_implementation.cc std::make_pair(buffer->address(), async_token)); buffer 1535 gpu/command_buffer/client/gles2_implementation.cc buffer_tracker_->Unmanage(buffer); buffer 1539 gpu/command_buffer/client/gles2_implementation.cc buffer_tracker_->Free(buffer); buffer 1541 gpu/command_buffer/client/gles2_implementation.cc buffer_tracker_->FreePendingToken(buffer, token); buffer 1543 gpu/command_buffer/client/gles2_implementation.cc buffer_tracker_->Free(buffer); buffer 1546 gpu/command_buffer/client/gles2_implementation.cc buffer_tracker_->RemoveBuffer(buffer->id()); buffer 1579 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = buffer_tracker_->GetBuffer(buffer_id); buffer 1580 gpu/command_buffer/client/gles2_implementation.cc if (!buffer) { buffer 1584 gpu/command_buffer/client/gles2_implementation.cc if (buffer->mapped()) { buffer 1588 gpu/command_buffer/client/gles2_implementation.cc if ((buffer->size() - offset) < static_cast<GLuint>(size)) { buffer 1592 gpu/command_buffer/client/gles2_implementation.cc return buffer; buffer 1617 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = GetBoundPixelUnpackTransferBufferIfValid( buffer 1620 gpu/command_buffer/client/gles2_implementation.cc if (buffer && buffer->shm_id() != -1) { buffer 1623 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset); buffer 1624 gpu/command_buffer/client/gles2_implementation.cc buffer->set_last_usage_token(helper_->InsertToken()); buffer 1658 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = GetBoundPixelUnpackTransferBufferIfValid( buffer 1661 gpu/command_buffer/client/gles2_implementation.cc if (buffer && buffer->shm_id() != -1) { buffer 1664 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset); buffer 1665 gpu/command_buffer/client/gles2_implementation.cc buffer->set_last_usage_token(helper_->InsertToken()); buffer 1688 gpu/command_buffer/client/gles2_implementation.cc void* buffer, buffer 1691 gpu/command_buffer/client/gles2_implementation.cc int8* dest = static_cast<int8*>(buffer); buffer 1745 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = GetBoundPixelUnpackTransferBufferIfValid( buffer 1748 gpu/command_buffer/client/gles2_implementation.cc if (buffer && buffer->shm_id() != -1) { buffer 1751 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset); buffer 1752 gpu/command_buffer/client/gles2_implementation.cc buffer->set_last_usage_token(helper_->InsertToken()); buffer 1791 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(size, helper_, transfer_buffer_); buffer 1792 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 1796 gpu/command_buffer/client/gles2_implementation.cc if (buffer.size() >= size) { buffer 1799 gpu/command_buffer/client/gles2_implementation.cc buffer.address(), padded_row_size); buffer 1802 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer.offset()); buffer 1813 gpu/command_buffer/client/gles2_implementation.cc pixels, src_padded_row_size, GL_TRUE, &buffer, padded_row_size); buffer 1851 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = GetBoundPixelUnpackTransferBufferIfValid( buffer 1854 gpu/command_buffer/client/gles2_implementation.cc if (buffer && buffer->shm_id() != -1) { buffer 1857 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset, false); buffer 1858 gpu/command_buffer/client/gles2_implementation.cc buffer->set_last_usage_token(helper_->InsertToken()); buffer 1887 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(temp_size, helper_, transfer_buffer_); buffer 1890 gpu/command_buffer/client/gles2_implementation.cc unpadded_row_size, pixels, src_padded_row_size, GL_FALSE, &buffer, buffer 1910 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr* buffer, uint32 buffer_padded_row_size) { buffer 1911 gpu/command_buffer/client/gles2_implementation.cc DCHECK(buffer); buffer 1922 gpu/command_buffer/client/gles2_implementation.cc if (!buffer->valid() || buffer->size() == 0) { buffer 1923 gpu/command_buffer/client/gles2_implementation.cc buffer->Reset(desired_size); buffer 1924 gpu/command_buffer/client/gles2_implementation.cc if (!buffer->valid()) { buffer 1930 gpu/command_buffer/client/gles2_implementation.cc buffer_padded_row_size, unpadded_row_size, buffer->size()); buffer 1934 gpu/command_buffer/client/gles2_implementation.cc unpack_flip_y_, buffer->address(), buffer_padded_row_size); buffer 1938 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->offset(), internal); buffer 1939 gpu/command_buffer/client/gles2_implementation.cc buffer->Release(); buffer 2319 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = GetBoundPixelUnpackTransferBufferIfValid( buffer 2322 gpu/command_buffer/client/gles2_implementation.cc if (buffer && buffer->shm_id() != -1) { buffer 2324 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset(), buffer 2340 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferPtr buffer(desired_size, helper_, transfer_buffer_); buffer 2341 gpu/command_buffer/client/gles2_implementation.cc if (!buffer.valid()) { buffer 2345 gpu/command_buffer/client/gles2_implementation.cc padded_row_size, unpadded_row_size, buffer.size()); buffer 2356 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer.offset(), buffer 2371 gpu/command_buffer/client/gles2_implementation.cc const int8* src = static_cast<const int8*>(buffer.address()); buffer 2610 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = buffer_tracker_->GetBuffer(buffers[ii]); buffer 2611 gpu/command_buffer/client/gles2_implementation.cc if (buffer) buffer 2612 gpu/command_buffer/client/gles2_implementation.cc RemoveTransferBuffer(buffer); buffer 3106 gpu/command_buffer/client/gles2_implementation.cc state.buffer = transfer_buffer_->Alloc(state.transfer_buffer_size_needed); buffer 3107 gpu/command_buffer/client/gles2_implementation.cc if (!state.buffer) { buffer 3124 gpu/command_buffer/client/gles2_implementation.cc transfer_buffer_->FreePendingToken(state.buffer, helper_->InsertToken()); buffer 3160 gpu/command_buffer/client/gles2_implementation.cc GLenum* pnames_buffer = static_cast<GLenum*>(state->buffer); buffer 3654 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = buffer_tracker_->GetBuffer(buffer_id); buffer 3655 gpu/command_buffer/client/gles2_implementation.cc if (!buffer) { buffer 3659 gpu/command_buffer/client/gles2_implementation.cc if (buffer->mapped()) { buffer 3668 gpu/command_buffer/client/gles2_implementation.cc if (buffer->last_usage_token()) { buffer 3669 gpu/command_buffer/client/gles2_implementation.cc helper_->WaitForToken(buffer->last_usage_token()); buffer 3670 gpu/command_buffer/client/gles2_implementation.cc buffer->set_last_usage_token(0); buffer 3672 gpu/command_buffer/client/gles2_implementation.cc buffer->set_mapped(true); buffer 3674 gpu/command_buffer/client/gles2_implementation.cc GPU_CLIENT_LOG(" returned " << buffer->address()); buffer 3676 gpu/command_buffer/client/gles2_implementation.cc return buffer->address(); buffer 3690 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = buffer_tracker_->GetBuffer(buffer_id); buffer 3691 gpu/command_buffer/client/gles2_implementation.cc if (!buffer) { buffer 3695 gpu/command_buffer/client/gles2_implementation.cc if (!buffer->mapped()) { buffer 3699 gpu/command_buffer/client/gles2_implementation.cc buffer->set_mapped(false); buffer 3814 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = GetBoundPixelUnpackTransferBufferIfValid( buffer 3817 gpu/command_buffer/client/gles2_implementation.cc if (buffer && buffer->shm_id() != -1) { buffer 3819 gpu/command_buffer/client/gles2_implementation.cc buffer->set_last_async_upload_token(async_token); buffer 3822 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset, buffer 3867 gpu/command_buffer/client/gles2_implementation.cc BufferTracker::Buffer* buffer = GetBoundPixelUnpackTransferBufferIfValid( buffer 3870 gpu/command_buffer/client/gles2_implementation.cc if (buffer && buffer->shm_id() != -1) { buffer 3872 gpu/command_buffer/client/gles2_implementation.cc buffer->set_last_async_upload_token(async_token); buffer 3875 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset, buffer 423 gpu/command_buffer/client/gles2_implementation.h void* buffer; buffer 544 gpu/command_buffer/client/gles2_implementation.h ScopedTransferBufferPtr* buffer); buffer 569 gpu/command_buffer/client/gles2_implementation.h ScopedTransferBufferPtr* buffer, uint32 buffer_padded_row_size); buffer 604 gpu/command_buffer/client/gles2_implementation.h void RemoveTransferBuffer(BufferTracker::Buffer* buffer); buffer 24 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void BindBuffer(GLenum target, GLuint buffer) OVERRIDE; buffer 274 gpu/command_buffer/client/gles2_implementation_autogen.h virtual GLboolean IsBuffer(GLuint buffer) OVERRIDE; buffer 24 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::BindBuffer(GLenum target, GLuint buffer) { buffer 28 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << buffer << ")"); buffer 29 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (IsBufferReservedId(buffer)) { buffer 33 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (BindBufferHelper(target, buffer)) { buffer 34 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->BindBuffer(target, buffer); buffer 947 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLboolean GLES2Implementation::IsBuffer(GLuint buffer) { buffer 950 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glIsBuffer(" << buffer << ")"); buffer 957 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->IsBuffer(buffer, GetResultShmId(), GetResultShmOffset()); buffer 1668 gpu/command_buffer/client/gles2_implementation_unittest.cc scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]); buffer 1675 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_->ReadPixels(0, 0, kWidth, kHeight, kFormat, kType, buffer.get()); buffer 1700 gpu/command_buffer/client/gles2_implementation_unittest.cc scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]); buffer 1706 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_->ReadPixels(0, 0, kWidth, kHeight, kFormat, kType, buffer.get()); buffer 21 gpu/command_buffer/client/gles2_interface_autogen.h virtual void BindBuffer(GLenum target, GLuint buffer) = 0; buffer 194 gpu/command_buffer/client/gles2_interface_autogen.h virtual GLboolean IsBuffer(GLuint buffer) = 0; buffer 20 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void BindBuffer(GLenum target, GLuint buffer) OVERRIDE; buffer 204 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual GLboolean IsBuffer(GLuint buffer) OVERRIDE; buffer 20 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void BindBuffer(GLenum target, GLuint buffer) OVERRIDE; buffer 204 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual GLboolean IsBuffer(GLuint buffer) OVERRIDE; buffer 32 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::BindBuffer(GLenum target, GLuint buffer) { buffer 34 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->BindBuffer(target, buffer); buffer 552 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLboolean GLES2TraceImplementation::IsBuffer(GLuint buffer) { buffer 554 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h return gl_->IsBuffer(buffer); buffer 28 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc gfx::GpuMemoryBuffer* buffer = gpu_control_->CreateGpuMemoryBuffer( buffer 30 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc if (!buffer) buffer 34 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc buffers_.insert(std::make_pair(image_id, buffer)); buffer 89 gpu/command_buffer/client/transfer_buffer.cc scoped_refptr<gpu::Buffer> buffer = buffer 92 gpu/command_buffer/client/transfer_buffer.cc DCHECK(buffer); buffer 93 gpu/command_buffer/client/transfer_buffer.cc buffer_ = buffer; buffer 41 gpu/command_buffer/common/command_buffer_shared_test.cc void WriteToState(int32 *buffer, buffer 51 gpu/command_buffer/common/command_buffer_shared_test.cc EXPECT_EQ(buffer[i], 0); buffer 58 gpu/command_buffer/common/command_buffer_shared_test.cc scoped_ptr<int32[]> buffer; buffer 59 gpu/command_buffer/common/command_buffer_shared_test.cc buffer.reset(new int32[kSize]); buffer 62 gpu/command_buffer/common/command_buffer_shared_test.cc memset(buffer.get(), 0, kSize * sizeof(int32)); buffer 66 gpu/command_buffer/common/command_buffer_shared_test.cc FROM_HERE, base::Bind(&WriteToState, buffer.get(), buffer 79 gpu/command_buffer/common/command_buffer_shared_test.cc buffer[state.get_offset - 1] = 1; buffer 197 gpu/command_buffer/common/gles2_cmd_format_autogen.h buffer = _buffer; buffer 207 gpu/command_buffer/common/gles2_cmd_format_autogen.h uint32 buffer; buffer 215 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(BindBuffer, buffer) == 8, buffer 4133 gpu/command_buffer/common/gles2_cmd_format_autogen.h buffer = _buffer; buffer 4148 gpu/command_buffer/common/gles2_cmd_format_autogen.h uint32 buffer; buffer 4155 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(IsBuffer, buffer) == 4, OffsetOf_IsBuffer_buffer_not_4); buffer 83 gpu/command_buffer/common/gles2_cmd_format_test.cc size_t buffer = i % kSize; buffer 86 gpu/command_buffer/common/gles2_cmd_format_test.cc while (buffer_tokens[buffer] && buffer 87 gpu/command_buffer/common/gles2_cmd_format_test.cc !sync.HasAsyncUploadTokenPassed(buffer_tokens[buffer])) buffer 96 gpu/command_buffer/common/gles2_cmd_format_test.cc buffer_tokens[buffer] = async_token; buffer 102 gpu/command_buffer/common/gles2_cmd_format_test.cc &buffer_tokens[buffer], buffer 81 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLuint>(12), cmd.buffer); buffer 1351 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLuint>(11), cmd.buffer); buffer 9 gpu/command_buffer/service/async_pixel_transfer_delegate.cc AsyncMemoryParams::AsyncMemoryParams(scoped_refptr<Buffer> buffer, buffer 12 gpu/command_buffer/service/async_pixel_transfer_delegate.cc : buffer_(buffer), data_offset_(data_offset), data_size_(data_size) { buffer 50 gpu/command_buffer/service/async_pixel_transfer_delegate.h AsyncMemoryParams(scoped_refptr<Buffer> buffer, buffer 55 gpu/command_buffer/service/async_pixel_transfer_delegate.h scoped_refptr<Buffer> buffer() const { return buffer_; } buffer 45 gpu/command_buffer/service/buffer_manager.cc scoped_refptr<Buffer> buffer(new Buffer(this, service_id)); buffer 47 gpu/command_buffer/service/buffer_manager.cc buffers_.insert(std::make_pair(client_id, buffer)); buffer 60 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer = it->second.get(); buffer 61 gpu/command_buffer/service/buffer_manager.cc buffer->MarkAsDeleted(); buffer 70 gpu/command_buffer/service/buffer_manager.cc void BufferManager::StopTracking(Buffer* buffer) { buffer 71 gpu/command_buffer/service/buffer_manager.cc memory_tracker_->TrackMemFree(buffer->size()); buffer 251 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data) { buffer 252 gpu/command_buffer/service/buffer_manager.cc DCHECK(buffer); buffer 253 gpu/command_buffer/service/buffer_manager.cc memory_tracker_->TrackMemFree(buffer->size()); buffer 255 gpu/command_buffer/service/buffer_manager.cc bool shadow = buffer->target() == GL_ELEMENT_ARRAY_BUFFER || buffer 258 gpu/command_buffer/service/buffer_manager.cc buffer->SetInfo(size, usage, shadow, data, is_client_side_array); buffer 259 gpu/command_buffer/service/buffer_manager.cc memory_tracker_->TrackMemAlloc(buffer->size()); buffer 282 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer = GetBufferInfoForTarget(context_state, target); buffer 283 gpu/command_buffer/service/buffer_manager.cc if (!buffer) { buffer 295 gpu/command_buffer/service/buffer_manager.cc DoBufferData(error_state, buffer, size, usage, data); buffer 301 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer, buffer 316 gpu/command_buffer/service/buffer_manager.cc glBufferData(buffer->target(), empty_size, NULL, usage); buffer 318 gpu/command_buffer/service/buffer_manager.cc glBufferData(buffer->target(), size, data, usage); buffer 322 gpu/command_buffer/service/buffer_manager.cc SetInfo(buffer, size, usage, data); buffer 324 gpu/command_buffer/service/buffer_manager.cc SetInfo(buffer, 0, usage, NULL); buffer 332 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer = GetBufferInfoForTarget(context_state, target); buffer 333 gpu/command_buffer/service/buffer_manager.cc if (!buffer) { buffer 339 gpu/command_buffer/service/buffer_manager.cc DoBufferSubData(error_state, buffer, offset, size, data); buffer 344 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer, buffer 348 gpu/command_buffer/service/buffer_manager.cc if (!buffer->SetRange(offset, size, data)) { buffer 354 gpu/command_buffer/service/buffer_manager.cc if (!buffer->IsClientSideArray()) { buffer 355 gpu/command_buffer/service/buffer_manager.cc glBufferSubData(buffer->target(), offset, size, data); buffer 361 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer = GetBufferInfoForTarget(context_state, target); buffer 362 gpu/command_buffer/service/buffer_manager.cc if (!buffer) { buffer 370 gpu/command_buffer/service/buffer_manager.cc *params = buffer->size(); buffer 373 gpu/command_buffer/service/buffer_manager.cc *params = buffer->usage(); buffer 380 gpu/command_buffer/service/buffer_manager.cc bool BufferManager::SetTarget(Buffer* buffer, GLenum target) { buffer 382 gpu/command_buffer/service/buffer_manager.cc if (buffer->target() != 0 && buffer->target() != target && buffer 386 gpu/command_buffer/service/buffer_manager.cc if (buffer->target() == 0) { buffer 387 gpu/command_buffer/service/buffer_manager.cc buffer->set_target(target); buffer 214 gpu/command_buffer/service/buffer_manager.h bool SetTarget(Buffer* buffer, GLenum target); buffer 235 gpu/command_buffer/service/buffer_manager.h void StartTracking(Buffer* buffer); buffer 236 gpu/command_buffer/service/buffer_manager.h void StopTracking(Buffer* buffer); buffer 244 gpu/command_buffer/service/buffer_manager.h Buffer* buffer, buffer 253 gpu/command_buffer/service/buffer_manager.h Buffer* buffer, buffer 261 gpu/command_buffer/service/buffer_manager.h Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data); buffer 44 gpu/command_buffer/service/buffer_manager_unittest.cc GLenum GetTarget(const Buffer* buffer) const { buffer 45 gpu/command_buffer/service/buffer_manager_unittest.cc return buffer->target(); buffer 49 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data, buffer 53 gpu/command_buffer/service/buffer_manager_unittest.cc buffer, size, usage, data, error); buffer 57 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer, GLintptr offset, GLsizeiptr size, buffer 60 gpu/command_buffer/service/buffer_manager_unittest.cc if (!buffer->CheckRange(offset, size)) { buffer 65 gpu/command_buffer/service/buffer_manager_unittest.cc } else if (!buffer->IsClientSideArray()) { buffer 67 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->target(), offset, size, _)) buffer 72 gpu/command_buffer/service/buffer_manager_unittest.cc error_state_.get(), buffer, offset, size, data); buffer 198 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer = manager_->GetBuffer(kClientBufferId); buffer 199 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 200 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer, GL_ELEMENT_ARRAY_BUFFER); buffer 201 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 202 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); buffer 203 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, sizeof(data), 0, data)); buffer 204 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, sizeof(data), 1, data)); buffer 205 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, 0, sizeof(data) + 1, data)); buffer 206 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, -1, sizeof(data), data)); buffer 207 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, 0, -1, data)); buffer 208 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, 1, GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 211 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, 0 - size, size, temp.get())); buffer 212 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, 1, size / 2, temp.get())); buffer 220 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer = manager_->GetBuffer(kClientBufferId); buffer 221 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 222 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer, GL_ELEMENT_ARRAY_BUFFER); buffer 223 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 225 gpu/command_buffer/service/buffer_manager_unittest.cc static_cast<const char*>(buffer->GetRange(0, sizeof(data))); buffer 228 gpu/command_buffer/service/buffer_manager_unittest.cc static_cast<const char*>(buffer->GetRange(1, sizeof(data) - 1)); buffer 230 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(sizeof(data), 1) == NULL); buffer 231 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(0, sizeof(data) + 1) == NULL); buffer 232 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(-1, sizeof(data)) == NULL); buffer 233 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(-0, -1) == NULL); buffer 235 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, size / 2, GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 236 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(0 - size, size) == NULL); buffer 237 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(1, size / 2) == NULL); buffer 246 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer = manager_->GetBuffer(kClientBufferId); buffer 247 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 248 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer, GL_ELEMENT_ARRAY_BUFFER); buffer 249 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 250 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); buffer 253 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 257 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 261 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 4, sizeof(new_data), new_data)); buffer 262 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 266 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 270 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(buffer->GetMaxValueForRange( buffer 272 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(buffer->GetMaxValueForRange( buffer 282 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer = manager_->GetBuffer(kClientBufferId); buffer 283 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 284 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer, GL_ELEMENT_ARRAY_BUFFER); buffer 285 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 286 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); buffer 289 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 293 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(buffer->GetMaxValueForRange( buffer 296 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 300 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 8, sizeof(new_data), new_data)); buffer 301 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 305 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange( buffer 309 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(buffer->GetMaxValueForRange( buffer 311 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(buffer->GetMaxValueForRange( buffer 321 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer = manager_->GetBuffer(kClientBufferId); buffer 322 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 323 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer, GL_ELEMENT_ARRAY_BUFFER); buffer 324 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 325 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); buffer 329 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(0, 10, GL_UNSIGNED_INT, &max_value)); buffer 333 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(1, 10, GL_UNSIGNED_INT, &max_value)); buffer 335 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(2, 10, GL_UNSIGNED_INT, &max_value)); buffer 337 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(3, 10, GL_UNSIGNED_INT, &max_value)); buffer 339 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange(16, 3, GL_UNSIGNED_INT, &max_value)); buffer 342 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 16, sizeof(new_data), new_data)); buffer 343 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange(16, 3, GL_UNSIGNED_INT, &max_value)); buffer 346 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetMaxValueForRange(0, 10, GL_UNSIGNED_INT, &max_value)); buffer 350 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(0, 11, GL_UNSIGNED_INT, &max_value)); buffer 352 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(40, 1, GL_UNSIGNED_INT, &max_value)); buffer 360 gpu/command_buffer/service/buffer_manager_unittest.cc scoped_refptr<Buffer> buffer = manager_->GetBuffer(kClientBufferId); buffer 361 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer.get() != NULL); buffer 362 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer.get(), GL_ARRAY_BUFFER); buffer 366 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer.get(), sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); buffer 371 gpu/command_buffer/service/buffer_manager_unittest.cc buffer = NULL; buffer 380 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer = manager_->GetBuffer(kClientBufferId); buffer 381 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 382 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer, GL_ARRAY_BUFFER); buffer 383 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STREAM_DRAW, data, GL_NO_ERROR); buffer 384 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->IsClientSideArray()); buffer 385 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_EQ(0, memcmp(data, buffer->GetRange(0, sizeof(data)), sizeof(data))); buffer 386 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_DYNAMIC_DRAW, data, GL_NO_ERROR); buffer 387 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(buffer->IsClientSideArray()); buffer 397 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer = manager_->GetBuffer(kClientBufferId); buffer 398 gpu/command_buffer/service/buffer_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 399 gpu/command_buffer/service/buffer_manager_unittest.cc manager_->SetTarget(buffer, GL_ELEMENT_ARRAY_BUFFER); buffer 403 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data1), GL_STATIC_DRAW, data1, GL_NO_ERROR); buffer 405 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(0, 10, GL_UNSIGNED_INT, &max_value)); buffer 410 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data2), GL_STATIC_DRAW, data2, GL_NO_ERROR); buffer 412 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(0, 10, GL_UNSIGNED_INT, &max_value)); buffer 417 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data3), GL_STATIC_DRAW, data3, GL_NO_ERROR); buffer 419 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->GetMaxValueForRange(0, 3, GL_UNSIGNED_INT, &max_value)); buffer 53 gpu/command_buffer/service/cmd_parser_test.cc parser->SetBuffer(buffer(), shm_size, 0, command_buffer_size); buffer 84 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 97 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 98 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 2134; buffer 99 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_float = 1.f; buffer 122 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 123 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 5151; buffer 128 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 129 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 3434; buffer 150 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 151 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 5656; buffer 155 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 156 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 7878; buffer 182 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 195 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 196 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 5; buffer 212 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 213 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 6; buffer 236 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 251 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 266 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 270 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 297 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_header = header; buffer 298 gpu/command_buffer/service/cmd_parser_test.cc buffer()[put++].value_int32 = 456; buffer 159 gpu/command_buffer/service/command_buffer_service.cc scoped_ptr<BufferBacking> buffer) { buffer 160 gpu/command_buffer/service/command_buffer_service.cc return transfer_buffer_manager_->RegisterTransferBuffer(id, buffer.Pass()); buffer 89 gpu/command_buffer/service/command_buffer_service.h bool RegisterTransferBuffer(int32 id, scoped_ptr<BufferBacking> buffer); buffer 67 gpu/command_buffer/service/common_decoder.cc scoped_refptr<gpu::Buffer> buffer = engine_->GetSharedMemoryBuffer(shm_id); buffer 68 gpu/command_buffer/service/common_decoder.cc if (!buffer) buffer 70 gpu/command_buffer/service/common_decoder.cc return buffer->GetDataAddress(data_offset, data_size); buffer 303 gpu/command_buffer/service/common_decoder_unittest.cc int8 buffer[1024]; buffer 305 gpu/command_buffer/service/common_decoder_unittest.cc *reinterpret_cast<cmd::SetBucketDataImmediate*>(&buffer); buffer 319 gpu/command_buffer/service/common_decoder_unittest.cc void* memory = &buffer[0] + sizeof(cmd); buffer 195 gpu/command_buffer/service/context_state.cc Buffer* buffer = attrib->buffer(); buffer 196 gpu/command_buffer/service/context_state.cc glBindBuffer(GL_ARRAY_BUFFER, buffer ? buffer->service_id() : 0); buffer 531 gpu/command_buffer/service/gles2_cmd_decoder.cc DCHECK(mem_params.buffer()); buffer 1059 gpu/command_buffer/service/gles2_cmd_decoder.cc Buffer* buffer = buffer_manager()->GetBuffer(client_id); buffer 1060 gpu/command_buffer/service/gles2_cmd_decoder.cc return buffer; buffer 1214 gpu/command_buffer/service/gles2_cmd_decoder.cc void DoBindBuffer(GLenum target, GLuint buffer); buffer 1625 gpu/command_buffer/service/gles2_cmd_decoder.cc void FinishReadPixels(const cmds::ReadPixels& c, GLuint buffer); buffer 2856 gpu/command_buffer/service/gles2_cmd_decoder.cc Buffer* buffer = GetBuffer(client_ids[ii]); buffer 2857 gpu/command_buffer/service/gles2_cmd_decoder.cc if (buffer && !buffer->IsDeleted()) { buffer 2858 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.vertex_attrib_manager->Unbind(buffer); buffer 2859 gpu/command_buffer/service/gles2_cmd_decoder.cc if (state_.bound_array_buffer.get() == buffer) { buffer 3752 gpu/command_buffer/service/gles2_cmd_decoder.cc Buffer* buffer = NULL; buffer 3755 gpu/command_buffer/service/gles2_cmd_decoder.cc buffer = GetBuffer(client_id); buffer 3756 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!buffer) { buffer 3767 gpu/command_buffer/service/gles2_cmd_decoder.cc buffer = GetBuffer(client_id); buffer 3773 gpu/command_buffer/service/gles2_cmd_decoder.cc LogClientServiceForInfo(buffer, client_id, "glBindBuffer"); buffer 3774 gpu/command_buffer/service/gles2_cmd_decoder.cc if (buffer) { buffer 3775 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!buffer_manager()->SetTarget(buffer, target)) { buffer 3781 gpu/command_buffer/service/gles2_cmd_decoder.cc service_id = buffer->service_id(); buffer 3785 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.bound_array_buffer = buffer; buffer 3788 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.vertex_attrib_manager->SetElementArrayBuffer(buffer); buffer 6250 gpu/command_buffer/service/gles2_cmd_decoder.cc Buffer* buffer = attrib->buffer(); buffer 6251 gpu/command_buffer/service/gles2_cmd_decoder.cc glBindBuffer(GL_ARRAY_BUFFER, buffer ? buffer->service_id() : 0); buffer 6369 gpu/command_buffer/service/gles2_cmd_decoder.cc attrib->buffer()->GetRange(attrib->offset(), size)); buffer 6637 gpu/command_buffer/service/gles2_cmd_decoder.cc Buffer* buffer = GetBuffer(buffer_id); buffer 6638 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!buffer) { buffer 6643 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!buffer->GetMaxValueForRange( buffer 6804 gpu/command_buffer/service/gles2_cmd_decoder.cc const Buffer* buffer = GetBuffer(client_id); buffer 6805 gpu/command_buffer/service/gles2_cmd_decoder.cc return buffer && buffer->IsValid() && !buffer->IsDeleted(); buffer 6893 gpu/command_buffer/service/gles2_cmd_decoder.cc Buffer* buffer = attrib->buffer(); buffer 6894 gpu/command_buffer/service/gles2_cmd_decoder.cc if (buffer && !buffer->IsDeleted()) { buffer 6896 gpu/command_buffer/service/gles2_cmd_decoder.cc buffer_manager()->GetClientId(buffer->service_id(), &client_id); buffer 7218 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint buffer) { buffer 7231 gpu/command_buffer/service/gles2_cmd_decoder.cc if (buffer != 0) { buffer 7232 gpu/command_buffer/service/gles2_cmd_decoder.cc glDeleteBuffersARB(1, &buffer); buffer 7243 gpu/command_buffer/service/gles2_cmd_decoder.cc if (buffer != 0) { buffer 7244 gpu/command_buffer/service/gles2_cmd_decoder.cc glDeleteBuffersARB(1, &buffer); buffer 7249 gpu/command_buffer/service/gles2_cmd_decoder.cc if (buffer != 0) { buffer 7250 gpu/command_buffer/service/gles2_cmd_decoder.cc glBindBuffer(GL_PIXEL_PACK_BUFFER_ARB, buffer); buffer 7263 gpu/command_buffer/service/gles2_cmd_decoder.cc glDeleteBuffersARB(1, &buffer); buffer 7451 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint buffer; buffer 7452 gpu/command_buffer/service/gles2_cmd_decoder.cc glGenBuffersARB(1, &buffer); buffer 7453 gpu/command_buffer/service/gles2_cmd_decoder.cc glBindBuffer(GL_PIXEL_PACK_BUFFER_ARB, buffer); buffer 7464 gpu/command_buffer/service/gles2_cmd_decoder.cc c, buffer)); buffer 10424 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_refptr<gpu::Buffer> buffer = GetSharedMemoryBuffer(sync_data_shm_id); buffer 10425 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!buffer || !buffer->GetDataAddress(sync_data_shm_offset, buffer 10429 gpu/command_buffer/service/gles2_cmd_decoder.cc AsyncMemoryParams mem_params(buffer, buffer 36 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLuint buffer = c.buffer; buffer 41 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoBindBuffer(target, buffer); buffer 1415 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLuint buffer = c.buffer; buffer 1422 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h *result_dst = DoIsBuffer(buffer); buffer 4730 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc Buffer* buffer = manager->GetBuffer(client_buffer_id_); buffer 4731 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 4732 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(0, buffer->size()); buffer 4744 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(0, buffer->size()); buffer 271 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc scoped_refptr<gpu::Buffer> buffer = buffer 275 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc reinterpret_cast<int8*>(buffer->memory()) + shared_memory_offset_; buffer 277 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc shared_memory_base_ = buffer->memory(); buffer 45 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h int8 buffer[sizeof(T) + sizeof(client_id)]; buffer 46 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h T& cmd = *reinterpret_cast<T*>(&buffer); buffer 44 gpu/command_buffer/service/gpu_control_service.cc linked_ptr<gfx::GpuMemoryBuffer> buffer = make_linked_ptr( buffer 48 gpu/command_buffer/service/gpu_control_service.cc if (!buffer.get()) buffer 55 gpu/command_buffer/service/gpu_control_service.cc buffer->GetHandle(), buffer 63 gpu/command_buffer/service/gpu_control_service.cc gpu_memory_buffers_[*id] = buffer; buffer 64 gpu/command_buffer/service/gpu_control_service.cc return buffer.get(); buffer 115 gpu/command_buffer/service/gpu_control_service.cc gfx::GpuMemoryBufferHandle buffer, buffer 120 gpu/command_buffer/service/gpu_control_service.cc buffer, buffer 55 gpu/command_buffer/service/gpu_control_service.h gfx::GpuMemoryBufferHandle buffer, buffer 19 gpu/command_buffer/service/gpu_memory_buffer_manager.h gfx::GpuMemoryBufferHandle buffer, buffer 19 gpu/command_buffer/service/image_manager.cc gfx::GpuMemoryBufferHandle buffer, buffer 34 gpu/command_buffer/service/image_manager.cc gfx::GLImage::CreateGLImageForGpuMemoryBuffer(buffer, buffer 30 gpu/command_buffer/service/image_manager.h gfx::GpuMemoryBufferHandle buffer, buffer 111 gpu/command_buffer/service/program_cache.cc scoped_ptr<unsigned char[]> buffer(new unsigned char[total_size]); buffer 112 gpu/command_buffer/service/program_cache.cc memcpy(buffer.get(), hashed_shader_0, shader0_size); buffer 113 gpu/command_buffer/service/program_cache.cc memcpy(&buffer[shader0_size], hashed_shader_1, shader1_size); buffer 122 gpu/command_buffer/service/program_cache.cc memcpy(&buffer.get()[current_pos], it->first.c_str(), name_size); buffer 125 gpu/command_buffer/service/program_cache.cc buffer[current_pos++] = value >> 24; buffer 126 gpu/command_buffer/service/program_cache.cc buffer[current_pos++] = value >> 16; buffer 127 gpu/command_buffer/service/program_cache.cc buffer[current_pos++] = value >> 8; buffer 128 gpu/command_buffer/service/program_cache.cc buffer[current_pos++] = value; buffer 131 gpu/command_buffer/service/program_cache.cc base::SHA1HashBytes(buffer.get(), buffer 39 gpu/command_buffer/service/query_manager.cc DCHECK(mem_params.buffer()); buffer 88 gpu/command_buffer/service/query_manager.cc scoped_refptr<Buffer> buffer = buffer 90 gpu/command_buffer/service/query_manager.cc if (!buffer) buffer 92 gpu/command_buffer/service/query_manager.cc AsyncMemoryParams mem_params(buffer, shm_offset(), sizeof(QuerySync)); buffer 581 gpu/command_buffer/service/test_helper.cc BufferManager* manager, Buffer* buffer, GLsizeiptr size, GLenum usage, buffer 588 gpu/command_buffer/service/test_helper.cc buffer->target(), 0, _, usage)) buffer 593 gpu/command_buffer/service/test_helper.cc buffer->target(), size, _, usage)) buffer 600 gpu/command_buffer/service/test_helper.cc manager->DoBufferData(error_state, buffer, size, usage, data); buffer 98 gpu/command_buffer/service/test_helper.h BufferManager* manager, Buffer* buffer, GLsizeiptr size, GLenum usage, buffer 24 gpu/command_buffer/service/texture_definition.cc const scoped_refptr<NativeImageBuffer>& buffer); buffer 47 gpu/command_buffer/service/texture_definition.cc GLImageSync::GLImageSync(const scoped_refptr<NativeImageBuffer>& buffer) buffer 48 gpu/command_buffer/service/texture_definition.cc : buffer_(buffer) { buffer 49 gpu/command_buffer/service/texture_definition.cc if (buffer) buffer 50 gpu/command_buffer/service/texture_definition.cc buffer->AddClient(this); buffer 56 gpu/command_buffer/service/transfer_buffer_manager.cc scoped_refptr<Buffer> buffer(new gpu::Buffer(buffer_backing.Pass())); buffer 59 gpu/command_buffer/service/transfer_buffer_manager.cc DCHECK(!(reinterpret_cast<uintptr_t>(buffer->memory()) & buffer 62 gpu/command_buffer/service/transfer_buffer_manager.cc shared_memory_bytes_allocated_ += buffer->size(); buffer 66 gpu/command_buffer/service/transfer_buffer_manager.cc registered_buffers_[id] = buffer; buffer 24 gpu/command_buffer/service/transfer_buffer_manager.h scoped_ptr<BufferBacking> buffer) = 0; buffer 46 gpu/command_buffer/service/vertex_attrib_manager.cc Buffer* buffer, buffer 54 gpu/command_buffer/service/vertex_attrib_manager.cc buffer_ = buffer; buffer 63 gpu/command_buffer/service/vertex_attrib_manager.cc void VertexAttrib::Unbind(Buffer* buffer) { buffer 64 gpu/command_buffer/service/vertex_attrib_manager.cc if (buffer_.get() == buffer) { buffer 135 gpu/command_buffer/service/vertex_attrib_manager.cc void VertexAttribManager::SetElementArrayBuffer(Buffer* buffer) { buffer 136 gpu/command_buffer/service/vertex_attrib_manager.cc element_array_buffer_ = buffer; buffer 151 gpu/command_buffer/service/vertex_attrib_manager.cc void VertexAttribManager::Unbind(Buffer* buffer) { buffer 152 gpu/command_buffer/service/vertex_attrib_manager.cc if (element_array_buffer_.get() == buffer) { buffer 156 gpu/command_buffer/service/vertex_attrib_manager.cc vertex_attribs_[vv].Unbind(buffer); buffer 196 gpu/command_buffer/service/vertex_attrib_manager.cc Buffer* buffer = attrib->buffer(); buffer 198 gpu/command_buffer/service/vertex_attrib_manager.cc if (buffer->IsClientSideArray()) { buffer 204 gpu/command_buffer/service/vertex_attrib_manager.cc const void* ptr = buffer->GetRange(attrib->offset(), 0); buffer 215 gpu/command_buffer/service/vertex_attrib_manager.cc GLuint new_buffer_id = buffer->service_id(); buffer 232 gpu/command_buffer/service/vertex_attrib_manager.cc if (!attrib->buffer()) { buffer 241 gpu/command_buffer/service/vertex_attrib_manager.cc Buffer* buffer = attrib->buffer(); buffer 244 gpu/command_buffer/service/vertex_attrib_manager.cc if (buffer->IsClientSideArray()) { buffer 38 gpu/command_buffer/service/vertex_attrib_manager.h Buffer* buffer() const { return buffer_.get(); } buffer 110 gpu/command_buffer/service/vertex_attrib_manager.h Buffer* buffer, buffer 122 gpu/command_buffer/service/vertex_attrib_manager.h void Unbind(Buffer* buffer); buffer 195 gpu/command_buffer/service/vertex_attrib_manager.h Buffer* buffer, buffer 211 gpu/command_buffer/service/vertex_attrib_manager.h buffer, size, type, normalized, gl_stride, real_stride, offset); buffer 222 gpu/command_buffer/service/vertex_attrib_manager.h void SetElementArrayBuffer(Buffer* buffer); buffer 230 gpu/command_buffer/service/vertex_attrib_manager.h void Unbind(Buffer* buffer); buffer 74 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_TRUE(attrib->buffer() == NULL); buffer 112 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc Buffer* buffer = buffer_manager.GetBuffer(1); buffer 113 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 117 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc manager_->SetAttribInfo(1, buffer, 3, GL_SHORT, GL_TRUE, 32, 32, 4); buffer 119 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_EQ(buffer, attrib->buffer()); buffer 148 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc Buffer* buffer = buffer_manager.GetBuffer(1); buffer 149 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc ASSERT_TRUE(buffer != NULL); buffer 157 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc manager_->SetAttribInfo(1, buffer, 4, GL_FLOAT, GL_FALSE, 0, 16, 0); buffer 160 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_TRUE(buffer_manager.SetTarget(buffer, GL_ARRAY_BUFFER)); buffer 162 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc gl_.get(), &error_state, &buffer_manager, buffer, 15, GL_STATIC_DRAW, buffer 167 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc gl_.get(), &error_state, &buffer_manager, buffer, 16, GL_STATIC_DRAW, buffer 172 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc manager_->SetAttribInfo(1, buffer, 4, GL_FLOAT, GL_FALSE, 0, 16, 1); buffer 176 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc gl_.get(), &error_state, &buffer_manager, buffer, 32, GL_STATIC_DRAW, buffer 180 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc manager_->SetAttribInfo(1, buffer, 4, GL_FLOAT, GL_FALSE, 0, 16, 0); buffer 182 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc manager_->SetAttribInfo(1, buffer, 4, GL_FLOAT, GL_FALSE, 0, 20, 0); buffer 208 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_EQ(buffer1, attrib1->buffer()); buffer 209 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_EQ(buffer1, attrib3->buffer()); buffer 213 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_EQ(buffer1, attrib1->buffer()); buffer 214 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_EQ(buffer1, attrib3->buffer()); buffer 218 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_TRUE(NULL == attrib1->buffer()); buffer 219 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_TRUE(NULL == attrib3->buffer()); buffer 45 gpu/command_buffer/tests/gl_test_utils.cc char buffer[1024]; buffer 47 gpu/command_buffer/tests/gl_test_utils.cc glGetShaderInfoLog(shader, sizeof(buffer), &length, buffer); buffer 48 gpu/command_buffer/tests/gl_test_utils.cc std::string log(buffer, length); buffer 68 gpu/command_buffer/tests/gl_test_utils.cc char buffer[1024]; buffer 70 gpu/command_buffer/tests/gl_test_utils.cc glGetProgramInfoLog(program, sizeof(buffer), &length, buffer); buffer 71 gpu/command_buffer/tests/gl_test_utils.cc std::string log(buffer, length); buffer 85 gpu/config/gpu_info_collector_x11.cc char* buffer = NULL; buffer 89 gpu/config/gpu_info_collector_x11.cc &buffer)) { buffer 90 gpu/config/gpu_info_collector_x11.cc std::string driver_version(buffer); buffer 91 gpu/config/gpu_info_collector_x11.cc XFree(buffer); buffer 267 gpu/gles2_conform_support/egl/egl.cc EGLClientBuffer buffer, buffer 282 gpu/gles2_conform_support/egl/egl.cc EGLint buffer) { buffer 288 gpu/gles2_conform_support/egl/egl.cc EGLint buffer) { buffer 99 ipc/file_descriptor_set_posix.cc void FileDescriptorSet::GetDescriptors(int* buffer) const { buffer 102 ipc/file_descriptor_set_posix.cc *(buffer++) = i->fd; buffer 139 ipc/file_descriptor_set_posix.cc void FileDescriptorSet::SetDescriptors(const int* buffer, unsigned count) { buffer 147 ipc/file_descriptor_set_posix.cc sd.fd = buffer[i]; buffer 72 ipc/file_descriptor_set_posix.h void GetDescriptors(int* buffer) const; buffer 93 ipc/file_descriptor_set_posix.h void SetDescriptors(const int* buffer, unsigned count); buffer 312 ipc/ipc_channel_nacl.cc char* buffer, buffer 325 ipc/ipc_channel_nacl.cc std::copy(vec->begin(), vec->end(), buffer + *bytes_read); buffer 334 ipc/ipc_channel_nacl.cc buffer + *bytes_read); buffer 60 ipc/ipc_channel_nacl.h virtual ReadState ReadData(char* buffer, buffer 783 ipc/ipc_channel_posix.cc char* buffer, buffer 791 ipc/ipc_channel_posix.cc struct iovec iov = {buffer, static_cast<size_t>(buffer_len)}; buffer 801 ipc/ipc_channel_posix.cc *bytes_read = HANDLE_EINTR(read(pipe_, buffer, buffer_len)); buffer 88 ipc/ipc_channel_posix.h virtual ReadState ReadData(char* buffer, buffer 70 ipc/ipc_channel_reader.h virtual ReadState ReadData(char* buffer, int buffer_len, int* bytes_read) = 0; buffer 117 ipc/ipc_channel_win.cc char* buffer, buffer 124 ipc/ipc_channel_win.cc BOOL ok = ReadFile(pipe_, buffer, buffer_len, buffer 39 ipc/ipc_channel_win.h virtual ReadState ReadData(char* buffer, buffer 58 ipc/ipc_logging.cc char buffer[6]; buffer 59 ipc/ipc_logging.cc getenv_s(&requiredSize, buffer, sizeof(buffer), "CHROME_IPC_LOGGING"); buffer 60 ipc/ipc_logging.cc if (requiredSize && !strncmp("color", buffer, 6)) buffer 163 ipc/unix_domain_socket_util_unittest.cc const char buffer[] = "Hello, server!"; buffer 164 ipc/unix_domain_socket_util_unittest.cc size_t buf_len = sizeof(buffer); buffer 166 ipc/unix_domain_socket_util_unittest.cc HANDLE_EINTR(send(connection.client_fd(), buffer, buf_len, 0)); buffer 168 ipc/unix_domain_socket_util_unittest.cc char recv_buf[sizeof(buffer)]; buffer 172 ipc/unix_domain_socket_util_unittest.cc ASSERT_EQ(0, memcmp(recv_buf, buffer, buf_len)); buffer 65 jingle/glue/channel_socket_adapter.cc net::IOBuffer* buffer, buffer 69 jingle/glue/channel_socket_adapter.cc DCHECK(buffer); buffer 81 jingle/glue/channel_socket_adapter.cc result = channel_->SendPacket(buffer->data(), buffer_size, options); buffer 95 jingle/glue/channel_socket_adapter.cc write_buffer_ = buffer; buffer 86 jingle/glue/channel_socket_adapter_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(kBufferSize)); buffer 88 jingle/glue/channel_socket_adapter_unittest.cc int result = target_->Read(buffer.get(), kBufferSize, callback_); buffer 98 jingle/glue/channel_socket_adapter_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(kBufferSize)); buffer 100 jingle/glue/channel_socket_adapter_unittest.cc int result = target_->Read(buffer.get(), kBufferSize, callback_); buffer 107 jingle/glue/channel_socket_adapter_unittest.cc EXPECT_EQ(kTestError, target_->Read(buffer.get(), kBufferSize, callback_)); buffer 112 jingle/glue/channel_socket_adapter_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(kTestDataSize)); buffer 114 jingle/glue/channel_socket_adapter_unittest.cc EXPECT_CALL(channel_, SendPacket(buffer->data(), kTestDataSize, _, 0)) buffer 117 jingle/glue/channel_socket_adapter_unittest.cc int result = target_->Write(buffer.get(), kTestDataSize, callback_); buffer 124 jingle/glue/channel_socket_adapter_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(kTestDataSize)); buffer 126 jingle/glue/channel_socket_adapter_unittest.cc EXPECT_CALL(channel_, SendPacket(buffer->data(), kTestDataSize, _, 0)) buffer 133 jingle/glue/channel_socket_adapter_unittest.cc int result = target_->Write(buffer.get(), kTestDataSize, callback_); buffer 31 jingle/glue/pseudotcp_adapter.cc int Read(net::IOBuffer* buffer, int buffer_size, buffer 33 jingle/glue/pseudotcp_adapter.cc int Write(net::IOBuffer* buffer, int buffer_size, buffer 48 jingle/glue/pseudotcp_adapter.cc const char* buffer, size_t len) OVERRIDE; buffer 126 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Core::Read(net::IOBuffer* buffer, int buffer_size, buffer 133 jingle/glue/pseudotcp_adapter.cc int result = pseudo_tcp_.Recv(buffer->data(), buffer_size); buffer 140 jingle/glue/pseudotcp_adapter.cc read_buffer_ = buffer; buffer 150 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Core::Write(net::IOBuffer* buffer, int buffer_size, buffer 157 jingle/glue/pseudotcp_adapter.cc int result = pseudo_tcp_.Send(buffer->data(), buffer_size); buffer 166 jingle/glue/pseudotcp_adapter.cc write_buffer_ = buffer; buffer 181 jingle/glue/pseudotcp_adapter.cc write_buffer_ = buffer; buffer 346 jingle/glue/pseudotcp_adapter.cc const char* buffer, buffer 357 jingle/glue/pseudotcp_adapter.cc memcpy(write_buffer->data(), buffer, len); buffer 475 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Read(net::IOBuffer* buffer, int buffer_size, buffer 478 jingle/glue/pseudotcp_adapter.cc return core_->Read(buffer, buffer_size, callback); buffer 481 jingle/glue/pseudotcp_adapter.cc int PseudoTcpAdapter::Write(net::IOBuffer* buffer, int buffer_size, buffer 484 jingle/glue/pseudotcp_adapter.cc return core_->Write(buffer, buffer_size, callback); buffer 33 jingle/glue/pseudotcp_adapter.h virtual int Read(net::IOBuffer* buffer, int buffer_size, buffer 35 jingle/glue/pseudotcp_adapter.h virtual int Write(net::IOBuffer* buffer, int buffer_size, buffer 116 jingle/glue/pseudotcp_adapter_unittest.cc scoped_refptr<net::IOBuffer> buffer(buf); buffer 119 jingle/glue/pseudotcp_adapter_unittest.cc memcpy(buffer->data(), &*incoming_packets_.front().begin(), size); buffer 49 media/audio/alsa/alsa_output_unittest.cc const void* buffer, buffer 52 media/audio/alsa/alsa_output_unittest.cc void* buffer, buffer 55 media/audio/alsa/alsa_wrapper.cc const void* buffer, buffer 57 media/audio/alsa/alsa_wrapper.cc return snd_pcm_writei(handle, buffer, size); buffer 61 media/audio/alsa/alsa_wrapper.cc void* buffer, buffer 63 media/audio/alsa/alsa_wrapper.cc return snd_pcm_readi(handle, buffer, size); buffer 36 media/audio/alsa/alsa_wrapper.h const void* buffer, buffer 39 media/audio/alsa/alsa_wrapper.h void* buffer, buffer 292 media/audio/audio_input_device.cc AudioInputBuffer* buffer = reinterpret_cast<AudioInputBuffer*>(ptr); buffer 295 media/audio/audio_input_device.cc DCHECK_GE(buffer->params.size, buffer 297 media/audio/audio_input_device.cc double volume = buffer->params.volume; buffer 298 media/audio/audio_input_device.cc bool key_pressed = buffer->params.key_pressed; buffer 301 media/audio/audio_input_device.cc int16* memory = reinterpret_cast<int16*>(&buffer->audio[0]); buffer 33 media/audio/audio_power_monitor.cc void AudioPowerMonitor::Scan(const AudioBus& buffer, int num_frames) { buffer 34 media/audio/audio_power_monitor.cc DCHECK_LE(num_frames, buffer.frames()); buffer 35 media/audio/audio_power_monitor.cc const int num_channels = buffer.channels(); buffer 45 media/audio/audio_power_monitor.cc average_power_, buffer.channel(i), num_frames, sample_weight_); buffer 52 media/audio/audio_power_monitor.h void Scan(const AudioBus& buffer, int frames); buffer 201 media/audio/cras/cras_input.cc uint8* buffer, buffer 226 media/audio/cras/cras_input.cc buffer, buffer 62 media/audio/cras/cras_input.h void ReadAudio(size_t frames, uint8* buffer, const timespec* sample_ts); buffer 371 media/audio/cras/cras_unified.cc uint8* buffer, buffer 385 media/audio/cras/cras_unified.cc frames_filled, bytes_per_frame_ / params_.channels(), buffer); buffer 78 media/audio/cras/cras_unified.h uint32 WriteAudio(size_t frames, uint8* buffer, const timespec* sample_ts); buffer 140 media/audio/mac/audio_input_mac.cc AudioQueueBufferRef buffer; buffer 143 media/audio/mac/audio_input_mac.cc &buffer); buffer 145 media/audio/mac/audio_input_mac.cc err = QueueNextBuffer(buffer); buffer 498 media/audio/mac/audio_low_latency_input_mac.cc AudioBuffer& buffer = io_data->mBuffers[0]; buffer 499 media/audio/mac/audio_low_latency_input_mac.cc uint8* audio_data = reinterpret_cast<uint8*>(buffer.mData); buffer 510 media/audio/mac/audio_low_latency_input_mac.cc fifo_->Append(audio_data, buffer.mDataByteSize); buffer 124 media/audio/pulse/pulse_output.cc void* buffer = NULL; buffer 126 media/audio/pulse/pulse_output.cc CHECK_GE(pa_stream_begin_write(pa_stream_, &buffer, &bytes_to_fill), 0); buffer 148 media/audio/pulse/pulse_output.cc audio_bus_->frames(), params_.bits_per_sample() / 8, buffer); buffer 150 media/audio/pulse/pulse_output.cc if (pa_stream_write(pa_stream_, buffer, bytes_to_fill, NULL, 0LL, buffer 123 media/audio/win/wavein_input_win.cc WAVEHDR* buffer = buffer_; buffer 125 media/audio/win/wavein_input_win.cc QueueNextPacket(buffer); buffer 126 media/audio/win/wavein_input_win.cc buffer = GetNextBuffer(buffer); buffer 128 media/audio/win/wavein_input_win.cc buffer = buffer_; buffer 230 media/audio/win/wavein_input_win.cc void PCMWaveInAudioInputStream::QueueNextPacket(WAVEHDR *buffer) { buffer 231 media/audio/win/wavein_input_win.cc MMRESULT res = ::waveInAddBuffer(wavein_, buffer, sizeof(WAVEHDR)); buffer 291 media/audio/win/wavein_input_win.cc WAVEHDR* buffer = reinterpret_cast<WAVEHDR*>(param1); buffer 293 media/audio/win/wavein_input_win.cc reinterpret_cast<const uint8*>(buffer->lpData), buffer 294 media/audio/win/wavein_input_win.cc buffer->dwBytesRecorded, buffer 295 media/audio/win/wavein_input_win.cc buffer->dwBytesRecorded, buffer 301 media/audio/win/wavein_input_win.cc obj->QueueNextPacket(buffer); buffer 77 media/audio/win/wavein_input_win.h void QueueNextPacket(WAVEHDR* buffer); buffer 153 media/audio/win/waveout_output_win.cc WAVEHDR* buffer = GetBuffer(ix); buffer 154 media/audio/win/waveout_output_win.cc buffer->lpData = reinterpret_cast<char*>(buffer) + sizeof(WAVEHDR); buffer 155 media/audio/win/waveout_output_win.cc buffer->dwBufferLength = buffer_size_; buffer 156 media/audio/win/waveout_output_win.cc buffer->dwBytesRecorded = 0; buffer 157 media/audio/win/waveout_output_win.cc buffer->dwFlags = WHDR_DONE; buffer 158 media/audio/win/waveout_output_win.cc buffer->dwLoops = 0; buffer 162 media/audio/win/waveout_output_win.cc ::waveOutPrepareHeader(waveout_, buffer, sizeof(WAVEHDR)); buffer 206 media/audio/win/waveout_output_win.cc WAVEHDR* buffer = GetBuffer(ix); buffer 207 media/audio/win/waveout_output_win.cc QueueNextPacket(buffer); // Read more data. buffer 208 media/audio/win/waveout_output_win.cc pending_bytes_ += buffer->dwBufferLength; buffer 322 media/audio/win/waveout_output_win.cc void PCMWaveOutAudioOutputStream::QueueNextPacket(WAVEHDR *buffer) { buffer 339 media/audio/win/waveout_output_win.cc frames_filled, format_.Format.wBitsPerSample / 8, buffer->lpData); buffer 341 media/audio/win/waveout_output_win.cc buffer->dwBufferLength = used * format_.Format.nChannels / channels_; buffer 346 media/audio/win/waveout_output_win.cc buffer->dwFlags = WHDR_PREPARED; buffer 372 media/audio/win/waveout_output_win.cc WAVEHDR* buffer = stream->GetBuffer(ix); buffer 373 media/audio/win/waveout_output_win.cc if (buffer->dwFlags & WHDR_DONE) { buffer 376 media/audio/win/waveout_output_win.cc stream->pending_bytes_ -= buffer->dwBufferLength; buffer 377 media/audio/win/waveout_output_win.cc stream->QueueNextPacket(buffer); buffer 387 media/audio/win/waveout_output_win.cc buffer, buffer 391 media/audio/win/waveout_output_win.cc stream->pending_bytes_ += buffer->dwBufferLength; buffer 52 media/audio/win/waveout_output_win.h void QueueNextPacket(WAVEHDR* buffer); buffer 247 media/base/android/java/src/org/chromium/media/AudioRecordInput.java ByteBuffer buffer); buffer 195 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java byte[] buffer = new byte[1024]; buffer 197 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java while ((len = decoder.read(buffer)) != -1) { buffer 198 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java fos.write(buffer, 0, len); buffer 116 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java ByteBuffer buffer = ByteBuffer.allocate(endpoint.getMaxPacketSize()); buffer 119 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java request.queue(buffer, buffer.remaining()); buffer 120 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java bufferForEndpoints.put(endpoint, buffer); buffer 140 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java ByteBuffer buffer = bufferForEndpoints.get(endpoint); buffer 141 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java int length = getInputDataLength(buffer); buffer 143 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java buffer.rewind(); buffer 145 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java buffer.get(bs, 0, length); buffer 148 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java buffer.rewind(); buffer 149 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java request.queue(buffer, buffer.capacity()); buffer 232 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java private static int getInputDataLength(ByteBuffer buffer) { buffer 233 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java int position = buffer.position(); buffer 237 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java if (buffer.get(i) == 0) { buffer 169 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java byte[] buffer = new byte[mExpectedFrameSize]; buffer 170 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java mCamera.addCallbackBuffer(buffer); buffer 602 media/base/android/media_codec_bridge.cc uint8* buffer = static_cast<uint8*>(env->GetDirectBufferAddress(buf.obj())); buffer 605 media/base/android/media_codec_bridge.cc base::android::ToJavaByteArray(env, buffer, numBytes); buffer 258 media/base/android/media_codec_bridge_unittest.cc scoped_refptr<DecoderBuffer> buffer = buffer 261 media/base/android/media_codec_bridge_unittest.cc buffer->data(), buffer 262 media/base/android/media_codec_bridge_unittest.cc buffer->data_size(), buffer 267 media/base/android/media_codec_bridge_unittest.cc std::vector<uint8> chunk(buffer->data(), buffer 268 media/base/android/media_codec_bridge_unittest.cc buffer->data() + buffer->data_size()); buffer 269 media/base/android/media_codec_bridge_unittest.cc chunk.insert(chunk.end(), buffer->data(), buffer 270 media/base/android/media_codec_bridge_unittest.cc buffer->data() + buffer->data_size()); buffer 258 media/base/android/media_source_player_unittest.cc scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile( buffer 261 media/base/android/media_source_player_unittest.cc buffer->data(), buffer 262 media/base/android/media_source_player_unittest.cc buffer->data() + buffer->data_size()); buffer 346 media/base/android/media_source_player_unittest.cc scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile( buffer 350 media/base/android/media_source_player_unittest.cc buffer->data(), buffer->data() + buffer->data_size()); buffer 159 media/base/android/webaudio_media_codec_bridge.cc int8_t* buffer = buffer 177 media/base/android/webaudio_media_codec_bridge.cc buffer = reinterpret_cast<int8_t*>(vector_as_array(&decoded_data)); buffer 178 media/base/android/webaudio_media_codec_bridge.cc DCHECK(buffer); buffer 186 media/base/android/webaudio_media_codec_bridge.cc buffer, buffer 191 media/base/android/webaudio_media_codec_bridge.cc buffer += bytes_written; buffer 22 media/base/audio_buffer_converter.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 23 media/base/audio_buffer_converter.cc return buffer->sample_rate() != params.sample_rate() || buffer 24 media/base/audio_buffer_converter.cc buffer->channel_count() != params.channels() || buffer 25 media/base/audio_buffer_converter.cc buffer->channel_layout() != params.channel_layout(); buffer 40 media/base/audio_buffer_converter.cc void AudioBufferConverter::AddInput(const scoped_refptr<AudioBuffer>& buffer) { buffer 42 media/base/audio_buffer_converter.cc if (buffer->end_of_stream()) { buffer 44 media/base/audio_buffer_converter.cc queued_outputs_.push_back(buffer); buffer 49 media/base/audio_buffer_converter.cc if (IsConfigChange(input_params_, buffer)) buffer 50 media/base/audio_buffer_converter.cc ResetConverter(buffer); buffer 54 media/base/audio_buffer_converter.cc queued_outputs_.push_back(buffer); buffer 59 media/base/audio_buffer_converter.cc timestamp_helper_.SetBaseTimestamp(buffer->timestamp()); buffer 61 media/base/audio_buffer_converter.cc queued_inputs_.push_back(buffer); buffer 62 media/base/audio_buffer_converter.cc input_frames_ += buffer->frame_count(); buffer 138 media/base/audio_buffer_converter.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 143 media/base/audio_buffer_converter.cc buffer->channel_layout(), buffer 144 media/base/audio_buffer_converter.cc buffer->channel_count(), buffer 146 media/base/audio_buffer_converter.cc buffer->sample_rate(), buffer 151 media/base/audio_buffer_converter.cc std::max(buffer->frame_count(), buffer 159 media/base/audio_buffer_converter.cc if (!IsConfigChange(output_params_, buffer)) buffer 30 media/base/audio_buffer_converter.h void AddInput(const scoped_refptr<AudioBuffer>& buffer); buffer 83 media/base/audio_buffer_queue.cc scoped_refptr<AudioBuffer> buffer = *current_buffer; buffer 86 media/base/audio_buffer_queue.cc buffer->frame_count() - current_buffer_offset; buffer 102 media/base/audio_buffer_queue.cc buffer->ReadFrames( buffer 116 media/base/audio_buffer_queue.cc if (current_buffer_offset == buffer->frame_count()) { buffer 152 media/base/audio_buffer_queue.cc void AudioBufferQueue::UpdateCurrentTime(BufferQueue::iterator buffer, buffer 154 media/base/audio_buffer_queue.cc if (buffer != buffers_.end() && (*buffer)->timestamp() != kNoTimestamp()) { buffer 155 media/base/audio_buffer_queue.cc double time_offset = ((*buffer)->duration().InMicroseconds() * offset) / buffer 156 media/base/audio_buffer_queue.cc static_cast<double>((*buffer)->frame_count()); buffer 158 media/base/audio_buffer_queue.cc (*buffer)->timestamp() + base::TimeDelta::FromMicroseconds( buffer 86 media/base/audio_buffer_queue.h void UpdateCurrentTime(BufferQueue::iterator buffer, int offset); buffer 53 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 54 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(0, buffer.frames()); buffer 55 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 57 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(8, buffer.frames()); buffer 58 media/base/audio_buffer_queue_unittest.cc buffer.Clear(); buffer 59 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(0, buffer.frames()); buffer 60 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 62 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(8, buffer.frames()); buffer 67 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 68 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 70 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(8, buffer.frames()); buffer 71 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 73 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(16, buffer.frames()); buffer 74 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 76 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(24, buffer.frames()); buffer 77 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 79 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(32, buffer.frames()); buffer 80 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 82 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(40, buffer.frames()); buffer 88 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 93 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 95 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(8, buffer.frames()); buffer 97 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); buffer 98 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(4, buffer.frames()); buffer 101 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 103 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(12, buffer.frames()); buffer 104 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 106 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(20, buffer.frames()); buffer 108 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(16); buffer 109 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); buffer 110 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(0, buffer.frames()); buffer 113 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 115 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(8, buffer.frames()); buffer 116 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 118 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(16, buffer.frames()); buffer 120 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); buffer 124 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(12, buffer.frames()); buffer 125 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(8); buffer 126 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(4, buffer.ReadFrames(100, 0, bus.get())); buffer 132 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 135 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 137 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(6, buffer.frames()); buffer 140 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(2); buffer 141 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(4, buffer.frames()); buffer 144 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(4); buffer 145 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(0, buffer.frames()); buffer 148 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(0); buffer 154 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 157 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 159 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 161 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 163 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(76, buffer.frames()); buffer 168 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(3, buffer.ReadFrames(3, 0, bus.get())); buffer 169 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(73, buffer.frames()); buffer 174 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(5, buffer.ReadFrames(5, 3, bus.get())); buffer 175 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(68, buffer.frames()); buffer 180 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(20); buffer 181 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(48, buffer.frames()); buffer 184 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(2, buffer.ReadFrames(2, 0, bus.get())); buffer 192 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 195 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 203 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); buffer 204 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(0, buffer.frames()); buffer 214 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 217 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 219 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 221 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(24, buffer.frames()); buffer 227 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(6, buffer.ReadFrames(6, 0, bus.get())); buffer 228 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(18, buffer.frames()); buffer 236 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 239 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 241 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 243 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(24, buffer.frames()); buffer 249 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(6, buffer.ReadFrames(6, 0, bus.get())); buffer 250 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(18, buffer.frames()); buffer 255 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(2, buffer.ReadFrames(2, 0, bus.get())); buffer 256 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(16, buffer.frames()); buffer 264 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 267 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 269 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 271 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(14, buffer.frames()); buffer 276 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(6, buffer.ReadFrames(6, 0, bus.get())); buffer 277 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(8, buffer.frames()); buffer 287 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 290 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 292 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<int16>( buffer 294 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(24, buffer.frames()); buffer 300 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(6, buffer.ReadFrames(6, 0, bus.get())); buffer 301 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(18, buffer.frames()); buffer 311 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 314 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 316 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 318 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeTestBuffer<float>( buffer 320 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(76, buffer.frames()); buffer 325 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(30, buffer.ReadFrames(30, 0, bus.get())); buffer 326 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(46, buffer.frames()); buffer 335 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 338 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 340 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(60, buffer.frames()); buffer 344 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(60, buffer.frames()); buffer 345 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(60, buffer.PeekFrames(100, 0, 0, bus1.get())); buffer 346 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(30, buffer.PeekFrames(30, 0, 0, bus1.get())); buffer 347 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(60, buffer.frames()); buffer 351 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(30, buffer.ReadFrames(30, 0, bus2.get())); buffer 364 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(5, buffer.PeekFrames(5, 10, 0, bus1.get())); buffer 373 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(30, buffer.frames()); buffer 374 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(30, buffer.PeekFrames(100, 0, 0, bus1.get())); buffer 375 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(30, buffer.PeekFrames(30, 0, 0, bus1.get())); buffer 384 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 390 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeAudioBuffer<int16>(kSampleFormatS16, buffer 399 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(10, buffer.frames()); buffer 402 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(start_time1, buffer.current_time()); buffer 405 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(2, buffer.ReadFrames(2, 0, bus.get())); buffer 407 media/base/audio_buffer_queue_unittest.cc buffer.current_time()); buffer 410 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(2); buffer 412 media/base/audio_buffer_queue_unittest.cc buffer.current_time()); buffer 415 media/base/audio_buffer_queue_unittest.cc buffer.Append(MakeAudioBuffer<int16>(kSampleFormatS16, buffer 424 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(16, buffer.frames()); buffer 427 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(5, buffer.ReadFrames(5, 0, bus.get())); buffer 429 media/base/audio_buffer_queue_unittest.cc buffer.current_time()); buffer 432 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(1, buffer.ReadFrames(1, 0, bus.get())); buffer 433 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(start_time2, buffer.current_time()); buffer 436 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(10, buffer.ReadFrames(10, 0, bus.get())); buffer 438 media/base/audio_buffer_queue_unittest.cc buffer.current_time()); buffer 441 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(0, buffer.ReadFrames(5, 0, bus.get())); buffer 443 media/base/audio_buffer_queue_unittest.cc buffer.current_time()); buffer 450 media/base/audio_buffer_queue_unittest.cc AudioBufferQueue buffer; buffer 454 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 456 media/base/audio_buffer_queue_unittest.cc buffer.Append( buffer 458 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(20, buffer.frames()); buffer 461 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(kNoTime, buffer.current_time()); buffer 464 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(2, buffer.ReadFrames(2, 0, bus.get())); buffer 465 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(kNoTime, buffer.current_time()); buffer 468 media/base/audio_buffer_queue_unittest.cc buffer.SeekFrames(2); buffer 469 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(kNoTime, buffer.current_time()); buffer 472 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(5, buffer.ReadFrames(5, 0, bus.get())); buffer 473 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(kNoTime, buffer.current_time()); buffer 476 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(1, buffer.ReadFrames(1, 0, bus.get())); buffer 477 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(kNoTime, buffer.current_time()); buffer 480 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(10, buffer.ReadFrames(10, 0, bus.get())); buffer 481 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(kNoTime, buffer.current_time()); buffer 484 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(0, buffer.ReadFrames(5, 0, bus.get())); buffer 485 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(kNoTime, buffer.current_time()); buffer 33 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = buffer 43 media/base/audio_buffer_unittest.cc EXPECT_EQ(frames, buffer->frame_count()); buffer 44 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time); buffer 45 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration().InSeconds(), frames); buffer 46 media/base/audio_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 50 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = AudioBuffer::CreateEOSBuffer(); buffer 51 media/base/audio_buffer_unittest.cc EXPECT_TRUE(buffer->end_of_stream()); buffer 62 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = buffer 71 media/base/audio_buffer_unittest.cc EXPECT_EQ(16, buffer->frame_count()); // 2 channels of 8-bit data buffer 73 media/base/audio_buffer_unittest.cc buffer = AudioBuffer::CopyFrom(kSampleFormatF32, buffer 81 media/base/audio_buffer_unittest.cc EXPECT_EQ(2, buffer->frame_count()); // now 4 channels of 32-bit data buffer 90 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = MakeAudioBuffer<uint8>(kSampleFormatU8, buffer 105 media/base/audio_buffer_unittest.cc buffer->ReadFrames(frames, 0, 0, bus.get()); buffer 118 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = MakeAudioBuffer<int16>(kSampleFormatS16, buffer 132 media/base/audio_buffer_unittest.cc buffer->ReadFrames(6, 0, 0, bus.get()); buffer 139 media/base/audio_buffer_unittest.cc buffer->ReadFrames(1, i, i, bus.get()); buffer 151 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = MakeAudioBuffer<int32>(kSampleFormatS32, buffer 165 media/base/audio_buffer_unittest.cc buffer->ReadFrames(frames, 0, 0, bus.get()); buffer 171 media/base/audio_buffer_unittest.cc buffer->ReadFrames(2, 3, 0, bus.get()); buffer 182 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = MakeAudioBuffer<float>(kSampleFormatF32, buffer 195 media/base/audio_buffer_unittest.cc buffer->ReadFrames(10, 0, 0, bus.get()); buffer 201 media/base/audio_buffer_unittest.cc buffer->ReadFrames(10, 10, 0, bus.get()); buffer 212 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = buffer 227 media/base/audio_buffer_unittest.cc buffer->ReadFrames(6, 0, 0, bus.get()); buffer 234 media/base/audio_buffer_unittest.cc buffer->ReadFrames(1, frames - i - 1, i, bus.get()); buffer 241 media/base/audio_buffer_unittest.cc buffer->ReadFrames(0, 0, 0, bus.get()); buffer 242 media/base/audio_buffer_unittest.cc buffer->ReadFrames(0, 0, 10, bus.get()); buffer 243 media/base/audio_buffer_unittest.cc buffer->ReadFrames(0, 10, 0, bus.get()); buffer 254 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = buffer 269 media/base/audio_buffer_unittest.cc buffer->ReadFrames(frames, 0, 0, bus.get()); buffer 277 media/base/audio_buffer_unittest.cc buffer->ReadFrames(20, 50, 0, bus.get()); buffer 290 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = AudioBuffer::CreateEmptyBuffer( buffer 292 media/base/audio_buffer_unittest.cc EXPECT_EQ(frames, buffer->frame_count()); buffer 293 media/base/audio_buffer_unittest.cc EXPECT_EQ(start_time, buffer->timestamp()); buffer 294 media/base/audio_buffer_unittest.cc EXPECT_EQ(frames, buffer->duration().InSeconds()); buffer 295 media/base/audio_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 299 media/base/audio_buffer_unittest.cc buffer->ReadFrames(frames, 0, 0, bus.get()); buffer 312 media/base/audio_buffer_unittest.cc scoped_refptr<AudioBuffer> buffer = buffer 322 media/base/audio_buffer_unittest.cc EXPECT_EQ(frames, buffer->frame_count()); buffer 323 media/base/audio_buffer_unittest.cc EXPECT_EQ(start_time, buffer->timestamp()); buffer 324 media/base/audio_buffer_unittest.cc EXPECT_EQ(frames, buffer->duration().InSeconds()); buffer 327 media/base/audio_buffer_unittest.cc buffer->ReadFrames(20, 0, 0, bus.get()); buffer 331 media/base/audio_buffer_unittest.cc buffer->TrimStart(10); buffer 332 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->frame_count(), frames - 10); buffer 333 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(10)); buffer 334 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(90)); buffer 335 media/base/audio_buffer_unittest.cc buffer->ReadFrames(20, 0, 0, bus.get()); buffer 339 media/base/audio_buffer_unittest.cc buffer->TrimEnd(10); buffer 340 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->frame_count(), frames - 20); buffer 341 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(10)); buffer 342 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(80)); buffer 343 media/base/audio_buffer_unittest.cc buffer->ReadFrames(20, 0, 0, bus.get()); buffer 347 media/base/audio_buffer_unittest.cc buffer->TrimStart(50); buffer 348 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->frame_count(), frames - 70); buffer 349 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(60)); buffer 350 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(30)); buffer 351 media/base/audio_buffer_unittest.cc buffer->ReadFrames(10, 0, 0, bus.get()); buffer 355 media/base/audio_buffer_unittest.cc buffer->TrimEnd(30); buffer 356 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->frame_count(), 0); buffer 357 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(60)); buffer 358 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(0)); buffer 54 media/base/audio_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 34 media/base/audio_splicer.cc const scoped_refptr<AudioBuffer> buffer, buffer 36 media/base/audio_splicer.cc buffer->TrimStart(frames_to_trim); buffer 37 media/base/audio_splicer.cc buffer->set_timestamp(timestamp_helper.GetTimestamp()); buffer 38 media/base/audio_splicer.cc buffer->set_duration( buffer 39 media/base/audio_splicer.cc timestamp_helper.GetFrameDuration(buffer->frame_count())); buffer 45 media/base/audio_splicer.cc const scoped_refptr<AudioBuffer> buffer, buffer 47 media/base/audio_splicer.cc DCHECK(buffer->timestamp() == timestamp_helper.GetTimestamp()); buffer 48 media/base/audio_splicer.cc buffer->TrimEnd(frames_to_trim); buffer 49 media/base/audio_splicer.cc buffer->set_duration( buffer 50 media/base/audio_splicer.cc timestamp_helper.GetFrameDuration(buffer->frame_count())); buffer 55 media/base/audio_splicer.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 57 media/base/audio_splicer.cc AudioBus::CreateWrapper(buffer->channel_count()); buffer 58 media/base/audio_splicer.cc wrapper->set_frames(buffer->frame_count()); buffer 59 media/base/audio_splicer.cc for (int ch = 0; ch < buffer->channel_count(); ++ch) { buffer 61 media/base/audio_splicer.cc ch, reinterpret_cast<float*>(buffer->channel_data()[ch])); buffer 106 media/base/audio_splicer.cc void AddOutputBuffer(const scoped_refptr<AudioBuffer>& buffer); buffer 232 media/base/audio_splicer.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 233 media/base/audio_splicer.cc output_timestamp_helper_.AddFrames(buffer->frame_count()); buffer 234 media/base/audio_splicer.cc output_buffers_.push_back(buffer); buffer 38 media/base/audio_splicer_unittest.cc scoped_refptr<AudioBuffer> buffer = MakeAudioBuffer<float>( buffer 49 media/base/audio_splicer_unittest.cc return buffer; buffer 52 media/base/audio_splicer_unittest.cc float GetValue(const scoped_refptr<AudioBuffer>& buffer) { buffer 53 media/base/audio_splicer_unittest.cc return reinterpret_cast<const float*>(buffer->channel_data()[0])[0]; buffer 56 media/base/audio_splicer_unittest.cc bool VerifyData(const scoped_refptr<AudioBuffer>& buffer, float value) { buffer 57 media/base/audio_splicer_unittest.cc int frames = buffer->frame_count(); buffer 59 media/base/audio_splicer_unittest.cc buffer->ReadFrames(frames, 0, 0, bus.get()); buffer 60 media/base/audio_splicer_unittest.cc for (int ch = 0; ch < buffer->channel_count(); ++ch) { buffer 15 media/base/bit_reader_unittest.cc uint8 buffer[] = {0x55, 0x99, 0x55, 0x99, 0x55, 0x99, 0x55, 0x99}; buffer 16 media/base/bit_reader_unittest.cc BitReader reader1(buffer, 6); // Initialize with 6 bytes only buffer 30 media/base/bit_reader_unittest.cc BitReader reader2(buffer, 8); buffer 39 media/base/bit_reader_unittest.cc uint8 buffer[] = {0x12}; buffer 40 media/base/bit_reader_unittest.cc BitReader reader1(buffer, sizeof(buffer)); buffer 50 media/base/bit_reader_unittest.cc uint8 buffer[] = { 0x0a, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; buffer 51 media/base/bit_reader_unittest.cc BitReader reader1(buffer, sizeof(buffer)); buffer 70 media/base/bit_reader_unittest.cc uint8 buffer[] = { 0x0a, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; buffer 71 media/base/bit_reader_unittest.cc BitReader reader1(buffer, sizeof(buffer)); buffer 52 media/base/container_names.cc static bool StartsWith(const uint8* buffer, buffer 57 media/base/container_names.cc memcmp(buffer, prefix, prefix_size) == 0); buffer 62 media/base/container_names.cc static bool StartsWith(const uint8* buffer, buffer 67 media/base/container_names.cc memcmp(buffer, prefix, prefix_size) == 0); buffer 94 media/base/container_names.cc static bool CheckAac(const uint8* buffer, int buffer_size) { buffer 101 media/base/container_names.cc BitReader reader(buffer + offset, 6); buffer 133 media/base/container_names.cc static bool CheckAc3(const uint8* buffer, int buffer_size) { buffer 143 media/base/container_names.cc BitReader reader(buffer + offset, 6); buffer 168 media/base/container_names.cc static bool CheckEac3(const uint8* buffer, int buffer_size) { buffer 178 media/base/container_names.cc BitReader reader(buffer + offset, 6); buffer 206 media/base/container_names.cc static bool CheckBink(const uint8* buffer, int buffer_size) { buffer 211 media/base/container_names.cc RCHECK(Read32LE(buffer + 8) > 0); buffer 214 media/base/container_names.cc int width = Read32LE(buffer + 20); buffer 218 media/base/container_names.cc int height = Read32LE(buffer + 24); buffer 222 media/base/container_names.cc RCHECK(Read32LE(buffer + 28) > 0); buffer 225 media/base/container_names.cc RCHECK(Read32LE(buffer + 32) > 0); buffer 228 media/base/container_names.cc return (Read32LE(buffer + 40) <= 256); buffer 232 media/base/container_names.cc static bool CheckCaf(const uint8* buffer, int buffer_size) { buffer 236 media/base/container_names.cc BitReader reader(buffer, buffer_size); buffer 273 media/base/container_names.cc static bool CheckDts(const uint8* buffer, int buffer_size) { buffer 280 media/base/container_names.cc BitReader reader(buffer + offset, 11); buffer 328 media/base/container_names.cc static bool CheckDV(const uint8* buffer, int buffer_size) { buffer 337 media/base/container_names.cc BitReader reader(buffer + offset, 11); buffer 391 media/base/container_names.cc static bool CheckGsm(const uint8* buffer, int buffer_size) { buffer 401 media/base/container_names.cc RCHECK((buffer[offset] & 0xf0) == 0xd0); buffer 412 media/base/container_names.cc static bool AdvanceToStartCode(const uint8* buffer, buffer 425 media/base/container_names.cc uint32 next = Read24(buffer + *offset); buffer 434 media/base/container_names.cc static bool CheckH261(const uint8* buffer, int buffer_size) { buffer 443 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 20, 0x10)) { buffer 451 media/base/container_names.cc BitReader reader(buffer + offset, buffer_size - offset); buffer 482 media/base/container_names.cc static bool CheckH263(const uint8* buffer, int buffer_size) { buffer 492 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 9, 22, 0x20)) { buffer 500 media/base/container_names.cc BitReader reader(buffer + offset, 9); buffer 550 media/base/container_names.cc static bool CheckH264(const uint8* buffer, int buffer_size) { buffer 560 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 24, 1)) { buffer 568 media/base/container_names.cc BitReader reader(buffer + offset, 4); buffer 606 media/base/container_names.cc static bool CheckHls(const uint8* buffer, int buffer_size) { buffer 611 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kHlsSignature)) { buffer 618 media/base/container_names.cc if (buffer[offset] == '#') { buffer 619 media/base/container_names.cc if (StartsWith(buffer + offset, buffer_size - offset, kHls1) || buffer 620 media/base/container_names.cc StartsWith(buffer + offset, buffer_size - offset, kHls2) || buffer 621 media/base/container_names.cc StartsWith(buffer + offset, buffer_size - offset, kHls3)) { buffer 632 media/base/container_names.cc static bool CheckMJpeg(const uint8* buffer, int buffer_size) { buffer 642 media/base/container_names.cc RCHECK(buffer[offset] == 0xff); buffer 643 media/base/container_names.cc uint8 code = buffer[offset + 1]; buffer 669 media/base/container_names.cc int length = Read16(buffer + offset + 2) + 2; buffer 675 media/base/container_names.cc int number_components = buffer[offset + 4]; buffer 681 media/base/container_names.cc if (buffer[offset] == 0xff && buffer[offset + 1] != 0) buffer 701 media/base/container_names.cc static bool CheckMpeg2ProgramStream(const uint8* buffer, int buffer_size) { buffer 707 media/base/container_names.cc BitReader reader(buffer + offset, 14); buffer 770 media/base/container_names.cc while (offset + 6 < buffer_size && Read24(buffer + offset) == 1) { buffer 772 media/base/container_names.cc int stream_id = buffer[offset + 3]; buffer 786 media/base/container_names.cc int pes_length = Read16(buffer + offset + 4); buffer 799 media/base/container_names.cc static bool CheckMpeg2TransportStream(const uint8* buffer, int buffer_size) { buffer 809 media/base/container_names.cc while (buffer[offset] != kMpeg2SyncWord && offset < 20) { buffer 815 media/base/container_names.cc BitReader reader(buffer + offset, 6); buffer 850 media/base/container_names.cc if (buffer[offset + 188] == kMpeg2SyncWord) buffer 852 media/base/container_names.cc else if (buffer[offset + 192] == kMpeg2SyncWord) buffer 854 media/base/container_names.cc else if (buffer[offset + 204] == kMpeg2SyncWord) buffer 872 media/base/container_names.cc static bool CheckMpeg4BitStream(const uint8* buffer, int buffer_size) { buffer 885 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 6, 24, 1)) { buffer 893 media/base/container_names.cc BitReader reader(buffer + offset, 6); buffer 948 media/base/container_names.cc static bool CheckMov(const uint8* buffer, int buffer_size) { buffer 955 media/base/container_names.cc int atomsize = Read32(buffer + offset); buffer 956 media/base/container_names.cc uint32 atomtype = Read32(buffer + offset + 4); buffer 982 media/base/container_names.cc if (Read32(buffer + offset + 8) != 0) buffer 984 media/base/container_names.cc atomsize = Read32(buffer + offset + 12); buffer 1083 media/base/container_names.cc static int GetMp3HeaderSize(const uint8* buffer, int buffer_size) { buffer 1085 media/base/container_names.cc int size = ((buffer[6] & 0x7f) << 21) + ((buffer[7] & 0x7f) << 14) + buffer 1086 media/base/container_names.cc ((buffer[8] & 0x7f) << 7) + (buffer[9] & 0x7f) + 10; buffer 1087 media/base/container_names.cc if (buffer[5] & 0x10) // Footer added? buffer 1093 media/base/container_names.cc static bool CheckMp3(const uint8* buffer, int buffer_size, bool seenHeader) { buffer 1100 media/base/container_names.cc offset = GetMp3HeaderSize(buffer, buffer_size); buffer 1103 media/base/container_names.cc while (offset < buffer_size && buffer[offset] == 0) buffer 1109 media/base/container_names.cc buffer + offset, buffer_size - offset, &framesize)); buffer 1124 media/base/container_names.cc static bool VerifyNumber(const uint8* buffer, buffer 1131 media/base/container_names.cc while (isspace(buffer[*offset])) { buffer 1138 media/base/container_names.cc while (--max_digits >= 0 && isdigit(buffer[*offset])) { buffer 1152 media/base/container_names.cc static inline bool VerifyCharacters(const uint8* buffer, buffer 1158 media/base/container_names.cc char c = static_cast<char>(buffer[(*offset)++]); buffer 1163 media/base/container_names.cc static bool CheckSrt(const uint8* buffer, int buffer_size) { buffer 1168 media/base/container_names.cc int offset = StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0; buffer 1169 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); buffer 1170 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r')); buffer 1173 media/base/container_names.cc while (VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r')) {} buffer 1179 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); buffer 1180 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); buffer 1181 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); buffer 1182 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); buffer 1183 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); buffer 1184 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.')); buffer 1185 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3)); buffer 1186 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0)); buffer 1187 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0)); buffer 1188 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0)); buffer 1189 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '>', 0)); buffer 1190 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0)); buffer 1191 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); buffer 1192 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); buffer 1193 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); buffer 1194 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); buffer 1195 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); buffer 1196 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.')); buffer 1197 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3)); buffer 1246 media/base/container_names.cc static bool CheckWebm(const uint8* buffer, int buffer_size) { buffer 1250 media/base/container_names.cc BitReader reader(buffer, buffer_size); buffer 1299 media/base/container_names.cc static bool CheckVC1(const uint8* buffer, int buffer_size) { buffer 1309 media/base/container_names.cc if (buffer[0] == 0xc5 && buffer 1310 media/base/container_names.cc Read32(buffer + 4) == 0x04 && buffer 1311 media/base/container_names.cc Read32(buffer + 20) == 0x0c) { buffer 1313 media/base/container_names.cc BitReader reader(buffer + 8, 12); buffer 1359 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 5, 24, 1)) { buffer 1368 media/base/container_names.cc BitReader reader(buffer + offset, 5); buffer 1421 media/base/container_names.cc static MediaContainerName LookupContainerByFirst4(const uint8* buffer, buffer 1427 media/base/container_names.cc uint32 first4 = Read32(buffer); buffer 1430 media/base/container_names.cc if (CheckWebm(buffer, buffer_size)) buffer 1435 media/base/container_names.cc if (StartsWith(buffer, buffer 1444 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kAmrSignature)) buffer 1449 media/base/container_names.cc if (CheckHls(buffer, buffer_size)) buffer 1454 media/base/container_names.cc if (buffer[4] == 0 && buffer[5] == 0) buffer 1467 media/base/container_names.cc if (CheckBink(buffer, buffer_size)) buffer 1472 media/base/container_names.cc if (CheckCaf(buffer, buffer_size)) buffer 1478 media/base/container_names.cc Read16(buffer + 11) <= 2048 && buffer 1479 media/base/container_names.cc Read16(buffer + 13) <= 2048) { buffer 1485 media/base/container_names.cc if (Read32(buffer + 4) == TAG('D','H','D','R')) buffer 1496 media/base/container_names.cc if (Read32(buffer + 4) != 0 && Read32(buffer + 8) != 0) buffer 1508 media/base/container_names.cc if (buffer[5] == 0 && Read32(buffer + 5) > 8) buffer 1513 media/base/container_names.cc switch (Read32(buffer + 8)) { buffer 1524 media/base/container_names.cc if (Read32(buffer + 8) == TAG('O','N','2','f')) buffer 1529 media/base/container_names.cc if (buffer[5] <= 7) buffer 1534 media/base/container_names.cc if (buffer_size > 16 && Read32(buffer + 12) == TAG('d','s','6','4')) buffer 1539 media/base/container_names.cc switch (Read32(buffer + 8)) { buffer 1551 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kAssSignature)) buffer 1556 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kAssBomSignature)) buffer 1564 media/base/container_names.cc if (CheckDts(buffer, buffer_size)) buffer 1569 media/base/container_names.cc if (StartsWith(buffer, buffer 1587 media/base/container_names.cc if (CheckMp3(buffer, buffer_size, true)) buffer 1593 media/base/container_names.cc uint32 first2 = Read16(buffer); buffer 1596 media/base/container_names.cc if (CheckAc3(buffer, buffer_size)) buffer 1598 media/base/container_names.cc if (CheckEac3(buffer, buffer_size)) buffer 1606 media/base/container_names.cc if (CheckAac(buffer, buffer_size)) buffer 1612 media/base/container_names.cc if (CheckMp3(buffer, buffer_size, false)) buffer 1619 media/base/container_names.cc MediaContainerName DetermineContainer(const uint8* buffer, int buffer_size) { buffer 1620 media/base/container_names.cc DCHECK(buffer); buffer 1623 media/base/container_names.cc if (CheckMov(buffer, buffer_size)) buffer 1628 media/base/container_names.cc MediaContainerName result = LookupContainerByFirst4(buffer, buffer_size); buffer 1633 media/base/container_names.cc if (CheckMpeg2ProgramStream(buffer, buffer_size)) buffer 1635 media/base/container_names.cc if (CheckMpeg2TransportStream(buffer, buffer_size)) buffer 1637 media/base/container_names.cc if (CheckMJpeg(buffer, buffer_size)) buffer 1639 media/base/container_names.cc if (CheckDV(buffer, buffer_size)) buffer 1641 media/base/container_names.cc if (CheckH261(buffer, buffer_size)) buffer 1643 media/base/container_names.cc if (CheckH263(buffer, buffer_size)) buffer 1645 media/base/container_names.cc if (CheckH264(buffer, buffer_size)) buffer 1647 media/base/container_names.cc if (CheckMpeg4BitStream(buffer, buffer_size)) buffer 1649 media/base/container_names.cc if (CheckVC1(buffer, buffer_size)) buffer 1651 media/base/container_names.cc if (CheckSrt(buffer, buffer_size)) buffer 1653 media/base/container_names.cc if (CheckGsm(buffer, buffer_size)) buffer 1659 media/base/container_names.cc if (AdvanceToStartCode(buffer, buffer_size, &offset, 4, 16, kAc3SyncWord)) { buffer 1660 media/base/container_names.cc if (CheckAc3(buffer + offset, buffer_size - offset)) buffer 1662 media/base/container_names.cc if (CheckEac3(buffer + offset, buffer_size - offset)) buffer 65 media/base/container_names.h MEDIA_EXPORT MediaContainerName DetermineContainer(const uint8* buffer, buffer 17 media/base/container_names_unittest.cc #define VERIFY(buffer, name) \ buffer 19 media/base/container_names_unittest.cc DetermineContainer(reinterpret_cast<const uint8*>(buffer), \ buffer 20 media/base/container_names_unittest.cc sizeof(buffer))) buffer 25 media/base/container_names_unittest.cc char buffer[1]; // ([0] not allowed on win) buffer 26 media/base/container_names_unittest.cc VERIFY(buffer, CONTAINER_UNKNOWN); buffer 106 media/base/container_names_unittest.cc char buffer[8192]; buffer 110 media/base/container_names_unittest.cc int read_size = sizeof(buffer); buffer 114 media/base/container_names_unittest.cc int read = base::ReadFile(filename, buffer, read_size); buffer 118 media/base/container_names_unittest.cc DetermineContainer(reinterpret_cast<const uint8*>(buffer), read)) buffer 18 media/base/data_buffer.cc DataBuffer::DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size) buffer 19 media/base/data_buffer.cc : data_(buffer.Pass()), buffer 29 media/base/data_buffer.h DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size); buffer 14 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = new DataBuffer(0); buffer 15 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->data()); buffer 16 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->writable_data()); buffer 17 media/base/data_buffer_unittest.cc EXPECT_EQ(0, buffer->data_size()); buffer 18 media/base/data_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 23 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = new DataBuffer(10); buffer 24 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->data()); buffer 25 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->writable_data()); buffer 26 media/base/data_buffer_unittest.cc EXPECT_EQ(0, buffer->data_size()); buffer 27 media/base/data_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 36 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = new DataBuffer(data.Pass(), kSize); buffer 37 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->data()); buffer 38 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->writable_data()); buffer 39 media/base/data_buffer_unittest.cc EXPECT_EQ(kData, buffer->data()); buffer 40 media/base/data_buffer_unittest.cc EXPECT_EQ(kSize, buffer->data_size()); buffer 41 media/base/data_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 48 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = buffer 50 media/base/data_buffer_unittest.cc EXPECT_EQ(kTestDataSize, buffer->data_size()); buffer 51 media/base/data_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 54 media/base/data_buffer_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), kTestData, kTestDataSize)); buffer 55 media/base/data_buffer_unittest.cc buffer->writable_data()[0] = 0xFF; buffer 56 media/base/data_buffer_unittest.cc EXPECT_NE(0, memcmp(buffer->data(), kTestData, kTestDataSize)); buffer 60 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = DataBuffer::CreateEOSBuffer(); buffer 61 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->end_of_stream()); buffer 69 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = new DataBuffer(0); buffer 70 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->timestamp() == kZero); buffer 72 media/base/data_buffer_unittest.cc buffer->set_timestamp(kTimestampA); buffer 73 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->timestamp() == kTimestampA); buffer 75 media/base/data_buffer_unittest.cc buffer->set_timestamp(kTimestampB); buffer 76 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->timestamp() == kTimestampB); buffer 84 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = new DataBuffer(0); buffer 85 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->duration() == kZero); buffer 87 media/base/data_buffer_unittest.cc buffer->set_duration(kDurationA); buffer 88 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->duration() == kDurationA); buffer 90 media/base/data_buffer_unittest.cc buffer->set_duration(kDurationB); buffer 91 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->duration() == kDurationB); buffer 101 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer(new DataBuffer(kDataSize)); buffer 102 media/base/data_buffer_unittest.cc ASSERT_TRUE(buffer.get()); buffer 104 media/base/data_buffer_unittest.cc uint8* data = buffer->writable_data(); buffer 107 media/base/data_buffer_unittest.cc buffer->set_data_size(kDataSize); buffer 108 media/base/data_buffer_unittest.cc const uint8* read_only_data = buffer->data(); buffer 111 media/base/data_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 21 media/base/decoder_buffer_queue.cc void DecoderBufferQueue::Push(const scoped_refptr<DecoderBuffer>& buffer) { buffer 22 media/base/decoder_buffer_queue.cc CHECK(!buffer->end_of_stream()); buffer 24 media/base/decoder_buffer_queue.cc queue_.push_back(buffer); buffer 28 media/base/decoder_buffer_queue.cc data_size_ += base::checked_cast<size_t, int>(buffer->data_size()); buffer 32 media/base/decoder_buffer_queue.cc if (buffer->timestamp() == kNoTimestamp()) { buffer 38 media/base/decoder_buffer_queue.cc earliest_valid_timestamp_ = buffer->timestamp(); buffer 41 media/base/decoder_buffer_queue.cc if (buffer->timestamp() < earliest_valid_timestamp_) { buffer 44 media/base/decoder_buffer_queue.cc << buffer->timestamp().InMicroseconds() buffer 50 media/base/decoder_buffer_queue.cc earliest_valid_timestamp_ = buffer->timestamp(); buffer 51 media/base/decoder_buffer_queue.cc in_order_queue_.push_back(buffer); buffer 55 media/base/decoder_buffer_queue.cc scoped_refptr<DecoderBuffer> buffer = queue_.front(); buffer 59 media/base/decoder_buffer_queue.cc base::checked_cast<size_t, int>(buffer->data_size()); buffer 64 media/base/decoder_buffer_queue.cc in_order_queue_.front().get() == buffer.get()) { buffer 68 media/base/decoder_buffer_queue.cc return buffer; buffer 34 media/base/decoder_buffer_queue.h void Push(const scoped_refptr<DecoderBuffer>& buffer); buffer 22 media/base/decoder_buffer_queue_unittest.cc scoped_refptr<DecoderBuffer> buffer = new DecoderBuffer(0); buffer 23 media/base/decoder_buffer_queue_unittest.cc buffer->set_timestamp(ToTimeDelta(timestamp)); buffer 24 media/base/decoder_buffer_queue_unittest.cc buffer->set_duration(ToTimeDelta(0)); buffer 25 media/base/decoder_buffer_queue_unittest.cc return buffer; buffer 29 media/base/decoder_buffer_queue_unittest.cc scoped_refptr<DecoderBuffer> buffer = new DecoderBuffer(size); buffer 30 media/base/decoder_buffer_queue_unittest.cc buffer->set_timestamp(ToTimeDelta(timestamp)); buffer 31 media/base/decoder_buffer_queue_unittest.cc buffer->set_duration(ToTimeDelta(0)); buffer 32 media/base/decoder_buffer_queue_unittest.cc return buffer; buffer 12 media/base/decoder_buffer_unittest.cc scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(0)); buffer 13 media/base/decoder_buffer_unittest.cc EXPECT_TRUE(buffer->data()); buffer 14 media/base/decoder_buffer_unittest.cc EXPECT_EQ(0, buffer->data_size()); buffer 15 media/base/decoder_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 24 media/base/decoder_buffer_unittest.cc scoped_refptr<DecoderBuffer> buffer(DecoderBuffer::CreateEOSBuffer()); buffer 25 media/base/decoder_buffer_unittest.cc EXPECT_TRUE(buffer->end_of_stream()); buffer 82 media/base/decoder_buffer_unittest.cc scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(kDataSize)); buffer 83 media/base/decoder_buffer_unittest.cc ASSERT_TRUE(buffer.get()); buffer 85 media/base/decoder_buffer_unittest.cc uint8* data = buffer->writable_data(); buffer 87 media/base/decoder_buffer_unittest.cc ASSERT_EQ(kDataSize, buffer->data_size()); buffer 89 media/base/decoder_buffer_unittest.cc const uint8* read_only_data = buffer->data(); buffer 92 media/base/decoder_buffer_unittest.cc EXPECT_FALSE(buffer->end_of_stream()); buffer 96 media/base/decoder_buffer_unittest.cc scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(0)); buffer 97 media/base/decoder_buffer_unittest.cc EXPECT_FALSE(buffer->decrypt_config()); buffer 75 media/base/demuxer_perftest.cc const scoped_refptr<media::DecoderBuffer>& buffer); buffer 140 media/base/demuxer_perftest.cc const scoped_refptr<media::DecoderBuffer>& buffer) { buffer 142 media/base/demuxer_perftest.cc CHECK(buffer.get()); buffer 143 media/base/demuxer_perftest.cc *end_of_stream = buffer->end_of_stream(); buffer 144 media/base/demuxer_perftest.cc *timestamp = *end_of_stream ? media::kNoTimestamp() : buffer->timestamp(); buffer 60 media/base/fake_text_track_stream.cc scoped_refptr<DecoderBuffer> buffer; buffer 61 media/base/fake_text_track_stream.cc buffer = DecoderBuffer::CopyFrom(data_buf, data_len, sd_buf, sd_len); buffer 63 media/base/fake_text_track_stream.cc buffer->set_timestamp(start); buffer 64 media/base/fake_text_track_stream.cc buffer->set_duration(duration); buffer 66 media/base/fake_text_track_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, buffer); buffer 79 media/base/mock_filters.h MOCK_METHOD2(Decode, void(const scoped_refptr<DecoderBuffer>& buffer, buffer 98 media/base/mock_filters.h void(const scoped_refptr<DecoderBuffer>& buffer, buffer 174 media/base/seekable_buffer.cc scoped_refptr<DataBuffer> buffer = *i; buffer 175 media/base/seekable_buffer.cc backward_bytes_ -= buffer->data_size(); buffer 198 media/base/seekable_buffer.cc scoped_refptr<DataBuffer> buffer = *current_buffer; buffer 201 media/base/seekable_buffer.cc buffer->data_size() - current_buffer_offset; buffer 211 media/base/seekable_buffer.cc memcpy(data + taken, buffer->data() + current_buffer_offset, copied); buffer 227 media/base/seekable_buffer.cc if (current_buffer_offset == buffer->data_size()) { buffer 264 media/base/seekable_buffer.cc void SeekableBuffer::UpdateCurrentTime(BufferQueue::iterator buffer, buffer 267 media/base/seekable_buffer.cc if (buffer != buffers_.end() && buffer 268 media/base/seekable_buffer.cc (*buffer)->timestamp() != kNoTimestamp()) { buffer 269 media/base/seekable_buffer.cc int64 time_offset = ((*buffer)->duration().InMicroseconds() * offset) / buffer 270 media/base/seekable_buffer.cc (*buffer)->data_size(); buffer 272 media/base/seekable_buffer.cc current_time_ = (*buffer)->timestamp() + buffer 163 media/base/seekable_buffer.h void UpdateCurrentTime(BufferQueue::iterator buffer, int offset); buffer 231 media/base/seekable_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = DataBuffer::CopyFrom(data_, kWriteSize); buffer 237 media/base/seekable_buffer_unittest.cc buffer_.Append(buffer.get()); buffer 239 media/base/seekable_buffer_unittest.cc EXPECT_EQ(data, buffer->data()); buffer 240 media/base/seekable_buffer_unittest.cc EXPECT_EQ(size, buffer->data_size()); buffer 244 media/base/seekable_buffer_unittest.cc EXPECT_EQ(data, buffer->data() + kSeekSize); buffer 245 media/base/seekable_buffer_unittest.cc EXPECT_EQ(size, buffer->data_size() - kSeekSize); buffer 334 media/base/seekable_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = DataBuffer::CopyFrom(data_, kWriteSize); buffer 337 media/base/seekable_buffer_unittest.cc buffer->set_timestamp(base::TimeDelta::FromMicroseconds( buffer 339 media/base/seekable_buffer_unittest.cc buffer->set_duration(base::TimeDelta::FromMicroseconds( buffer 341 media/base/seekable_buffer_unittest.cc buffer_.Append(buffer.get()); buffer 99 media/base/stream_parser.cc scoped_refptr<StreamParserBuffer> buffer = buffer 101 media/base/stream_parser.cc last_decode_timestamp = buffer->GetDecodeTimestamp(); buffer 102 media/base/stream_parser.cc merged_buffers->push_back(buffer); buffer 13 media/base/stream_parser_buffer.cc const StreamParserBuffer& buffer) { buffer 14 media/base/stream_parser_buffer.cc if (buffer.end_of_stream()) buffer 18 media/base/stream_parser_buffer.cc StreamParserBuffer::CopyFrom(buffer.data(), buffer 19 media/base/stream_parser_buffer.cc buffer.data_size(), buffer 20 media/base/stream_parser_buffer.cc buffer.side_data(), buffer 21 media/base/stream_parser_buffer.cc buffer.side_data_size(), buffer 22 media/base/stream_parser_buffer.cc buffer.IsKeyframe(), buffer 23 media/base/stream_parser_buffer.cc buffer.type(), buffer 24 media/base/stream_parser_buffer.cc buffer.track_id()); buffer 25 media/base/stream_parser_buffer.cc copied_buffer->SetDecodeTimestamp(buffer.GetDecodeTimestamp()); buffer 26 media/base/stream_parser_buffer.cc copied_buffer->SetConfigId(buffer.GetConfigId()); buffer 27 media/base/stream_parser_buffer.cc copied_buffer->set_timestamp(buffer.timestamp()); buffer 28 media/base/stream_parser_buffer.cc copied_buffer->set_duration(buffer.duration()); buffer 29 media/base/stream_parser_buffer.cc copied_buffer->set_discard_padding(buffer.discard_padding()); buffer 30 media/base/stream_parser_buffer.cc const DecryptConfig* decrypt_config = buffer.decrypt_config(); buffer 140 media/base/stream_parser_buffer.cc const scoped_refptr<StreamParserBuffer>& buffer = *it; buffer 141 media/base/stream_parser_buffer.cc DCHECK(!buffer->end_of_stream()); buffer 142 media/base/stream_parser_buffer.cc DCHECK(buffer->get_splice_buffers().empty()); buffer 143 media/base/stream_parser_buffer.cc buffer->set_splice_timestamp(splice_timestamp()); buffer 144 media/base/stream_parser_buffer.cc splice_buffers_.push_back(CopyBuffer(*buffer)); buffer 26 media/base/stream_parser_unittest.cc static bool IsAudio(scoped_refptr<StreamParserBuffer> buffer) { buffer 27 media/base/stream_parser_unittest.cc return buffer->type() == DemuxerStream::AUDIO; buffer 30 media/base/stream_parser_unittest.cc static bool IsVideo(scoped_refptr<StreamParserBuffer> buffer) { buffer 31 media/base/stream_parser_unittest.cc return buffer->type() == DemuxerStream::VIDEO; buffer 34 media/base/stream_parser_unittest.cc static bool IsText(scoped_refptr<StreamParserBuffer> buffer) { buffer 35 media/base/stream_parser_unittest.cc return buffer->type() == DemuxerStream::TEXT; buffer 52 media/base/stream_parser_unittest.cc scoped_refptr<StreamParserBuffer> buffer = buffer 55 media/base/stream_parser_unittest.cc buffer->SetDecodeTimestamp( buffer 57 media/base/stream_parser_unittest.cc queue->push_back(buffer); buffer 68 media/base/stream_parser_unittest.cc bool (*predicate)(scoped_refptr<StreamParserBuffer> buffer)) { buffer 132 media/base/stream_parser_unittest.cc const StreamParserBuffer& buffer = *(*itr); buffer 134 media/base/stream_parser_unittest.cc switch (buffer.type()) { buffer 148 media/base/stream_parser_unittest.cc results_stream << buffer.track_id() << ":"; buffer 150 media/base/stream_parser_unittest.cc results_stream << buffer.GetDecodeTimestamp().InMicroseconds(); buffer 34 media/base/test_data_util.cc scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(file_size)); buffer 37 media/base/test_data_util.cc file_path, reinterpret_cast<char*>(buffer->writable_data()), buffer 40 media/base/test_data_util.cc return buffer; buffer 187 media/base/test_helpers.cc T* buffer = reinterpret_cast<T*>(output->channel_data()[ch]); buffer 189 media/base/test_helpers.cc buffer[i] = start; buffer 225 media/base/test_helpers.cc scoped_refptr<DecoderBuffer> buffer = DecoderBuffer::CopyFrom( buffer 228 media/base/test_helpers.cc buffer->set_timestamp(timestamp); buffer 229 media/base/test_helpers.cc buffer->set_duration(duration); buffer 231 media/base/test_helpers.cc return buffer; buffer 235 media/base/test_helpers.cc const scoped_refptr<DecoderBuffer>& buffer, buffer 238 media/base/test_helpers.cc PickleIterator pickle(Pickle(reinterpret_cast<const char*>(buffer->data()), buffer 239 media/base/test_helpers.cc buffer->data_size())); buffer 134 media/base/test_helpers.h bool VerifyFakeVideoBufferForTest(const scoped_refptr<DecoderBuffer>& buffer, buffer 192 media/base/user_input_monitor_win.cc scoped_ptr<uint8[]> buffer(new uint8[size]); buffer 193 media/base/user_input_monitor_win.cc RAWINPUT* input = reinterpret_cast<RAWINPUT*>(buffer.get()); buffer 195 media/base/user_input_monitor_win.cc input_handle, RID_INPUT, buffer.get(), &size, sizeof(RAWINPUTHEADER)); buffer 61 media/base/video_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 76 media/cast/test/fake_video_encode_accelerator.cc const BitstreamBuffer& buffer) { buffer 77 media/cast/test/fake_video_encode_accelerator.cc available_buffer_ids_.push_back(buffer.id()); buffer 38 media/cast/test/fake_video_encode_accelerator.h virtual void UseOutputBitstreamBuffer(const BitstreamBuffer& buffer) OVERRIDE; buffer 690 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev buffer; buffer 700 media/cdm/ppapi/cdm_adapter.cc buffer = ppb_buffer->buffer_dev(); buffer 706 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DeliverBlock(buffer, decrypted_block_info); buffer 743 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev buffer; buffer 753 media/cdm/ppapi/cdm_adapter.cc buffer = ppb_buffer->buffer_dev(); buffer 775 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DeliverFrame(buffer, decrypted_frame_info); buffer 791 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev buffer; buffer 801 media/cdm/ppapi/cdm_adapter.cc buffer = ppb_buffer->buffer_dev(); buffer 809 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DeliverSamples(buffer, decrypted_sample_info); buffer 29 media/cdm/ppapi/cdm_helpers.cc pp::Buffer_Dev buffer; buffer 37 media/cdm/ppapi/cdm_helpers.cc buffer = AllocateNewBuffer(capacity); buffer 38 media/cdm/ppapi/cdm_helpers.cc if (buffer.is_null()) buffer 42 media/cdm/ppapi/cdm_helpers.cc buffer = found->second.second; buffer 47 media/cdm/ppapi/cdm_helpers.cc allocated_buffers_.insert(std::make_pair(buffer_id, buffer)); buffer 49 media/cdm/ppapi/cdm_helpers.cc return PpbBuffer::Create(buffer, buffer_id); buffer 60 media/cdm/ppapi/cdm_helpers.cc pp::Buffer_Dev& buffer = found->second; buffer 62 media/cdm/ppapi/cdm_helpers.cc std::make_pair(buffer.size(), std::make_pair(buffer_id, buffer))); buffer 30 media/cdm/ppapi/cdm_helpers.h static PpbBuffer* Create(const pp::Buffer_Dev& buffer, uint32_t buffer_id) { buffer 31 media/cdm/ppapi/cdm_helpers.h PP_DCHECK(buffer.data()); buffer 32 media/cdm/ppapi/cdm_helpers.h PP_DCHECK(buffer.size()); buffer 34 media/cdm/ppapi/cdm_helpers.h return new PpbBuffer(buffer, buffer_id); buffer 63 media/cdm/ppapi/cdm_helpers.h PpbBuffer(pp::Buffer_Dev buffer, uint32_t buffer_id) buffer 64 media/cdm/ppapi/cdm_helpers.h : buffer_(buffer), buffer 109 media/cdm/ppapi/cdm_helpers.h virtual void SetDecryptedBuffer(cdm::Buffer* buffer) OVERRIDE { buffer 110 media/cdm/ppapi/cdm_helpers.h buffer_ = static_cast<PpbBuffer*>(buffer); buffer 202 media/cdm/ppapi/cdm_helpers.h virtual void SetFrameBuffer(cdm::Buffer* buffer) OVERRIDE { buffer 203 media/cdm/ppapi/cdm_helpers.h buffer_ = static_cast<PpbBuffer*>(buffer); buffer 297 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc const scoped_refptr<media::DecoderBuffer>& buffer) { buffer 299 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc *buffer_copy = buffer; buffer 308 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc scoped_refptr<media::DecoderBuffer> buffer; buffer 309 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc cdm::Status status = DecryptToMediaDecoderBuffer(encrypted_buffer, &buffer); buffer 314 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc DCHECK(buffer->data()); buffer 316 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc host_->Allocate(buffer->data_size())); buffer 318 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc buffer->data(), buffer 319 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc buffer->data_size()); buffer 320 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc decrypted_block->DecryptedBuffer()->SetSize(buffer->data_size()); buffer 321 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc decrypted_block->SetTimestamp(buffer->timestamp().InMicroseconds()); buffer 414 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc scoped_refptr<media::DecoderBuffer> buffer; buffer 415 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc cdm::Status status = DecryptToMediaDecoderBuffer(encrypted_buffer, &buffer); buffer 423 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc if (!buffer->end_of_stream()) { buffer 424 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc data = buffer->data(); buffer 425 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc size = buffer->data_size(); buffer 441 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc scoped_refptr<media::DecoderBuffer> buffer; buffer 442 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc cdm::Status status = DecryptToMediaDecoderBuffer(encrypted_buffer, &buffer); buffer 451 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc if (!buffer->end_of_stream()) { buffer 452 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc data = buffer->data(); buffer 453 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc size = buffer->data_size(); buffer 460 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc if (!buffer->end_of_stream()) { buffer 461 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc timestamp_in_microseconds = buffer->GetTimestamp().InMicroseconds(); buffer 494 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc scoped_refptr<media::DecoderBuffer> buffer = buffer 497 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc if (buffer->end_of_stream()) { buffer 498 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc *decrypted_buffer = buffer; buffer 508 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc buffer, buffer 104 media/filters/audio_renderer_algorithm_unittest.cc scoped_refptr<AudioBuffer> buffer; buffer 108 media/filters/audio_renderer_algorithm_unittest.cc buffer = MakeAudioBuffer<uint8>( buffer 120 media/filters/audio_renderer_algorithm_unittest.cc buffer = MakeAudioBuffer<int16>( buffer 132 media/filters/audio_renderer_algorithm_unittest.cc buffer = MakeAudioBuffer<int32>( buffer 146 media/filters/audio_renderer_algorithm_unittest.cc algorithm_.EnqueueBuffer(buffer); buffer 365 media/filters/audio_renderer_impl.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 387 media/filters/audio_renderer_impl.cc DCHECK(buffer.get()); buffer 397 media/filters/audio_renderer_impl.cc buffer_converter_->AddInput(buffer); buffer 405 media/filters/audio_renderer_impl.cc if (!splicer_->AddInput(buffer)) { buffer 427 media/filters/audio_renderer_impl.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 428 media/filters/audio_renderer_impl.cc if (buffer->end_of_stream()) { buffer 437 media/filters/audio_renderer_impl.cc if (IsBeforePrerollTime(buffer)) buffer 442 media/filters/audio_renderer_impl.cc preroll_timestamp_ - buffer->timestamp(); buffer 444 media/filters/audio_renderer_impl.cc buffer->TrimStart(buffer->frame_count() * buffer 446 media/filters/audio_renderer_impl.cc buffer->duration().InMicroseconds())); buffer 449 media/filters/audio_renderer_impl.cc if (!buffer->frame_count()) buffer 454 media/filters/audio_renderer_impl.cc algorithm_->EnqueueBuffer(buffer); buffer 469 media/filters/audio_renderer_impl.cc if (!buffer->end_of_stream() && !algorithm_->IsQueueFull()) buffer 551 media/filters/audio_renderer_impl.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 553 media/filters/audio_renderer_impl.cc return buffer && !buffer->end_of_stream() && buffer 554 media/filters/audio_renderer_impl.cc (buffer->timestamp() + buffer->duration()) < preroll_timestamp_; buffer 115 media/filters/audio_renderer_impl.h const scoped_refptr<AudioBuffer>& buffer); buffer 119 media/filters/audio_renderer_impl.h bool HandleSplicerBuffer(const scoped_refptr<AudioBuffer>& buffer); buffer 168 media/filters/audio_renderer_impl.h bool IsBeforePrerollTime(const scoped_refptr<AudioBuffer>& buffer); buffer 276 media/filters/audio_renderer_impl_unittest.cc scoped_refptr<AudioBuffer> buffer = buffer 288 media/filters/audio_renderer_impl_unittest.cc DeliverBuffer(AudioDecoder::kOk, buffer); buffer 434 media/filters/audio_renderer_impl_unittest.cc void DecodeDecoder(const scoped_refptr<DecoderBuffer>& buffer, buffer 443 media/filters/audio_renderer_impl_unittest.cc base::Unretained(this), buffer, decode_cb)); buffer 463 media/filters/audio_renderer_impl_unittest.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 465 media/filters/audio_renderer_impl_unittest.cc base::ResetAndReturn(&decode_cb_).Run(status, buffer); buffer 51 media/filters/blocking_url_protocol_unittest.cc uint8 buffer[32]; buffer 52 media/filters/blocking_url_protocol_unittest.cc EXPECT_EQ(32, url_protocol_.Read(32, buffer)); buffer 57 media/filters/blocking_url_protocol_unittest.cc EXPECT_EQ(32, url_protocol_.Read(32, buffer)); buffer 65 media/filters/blocking_url_protocol_unittest.cc EXPECT_EQ(32, url_protocol_.Read(32, buffer)); buffer 69 media/filters/blocking_url_protocol_unittest.cc EXPECT_EQ(16, url_protocol_.Read(32, buffer)); buffer 73 media/filters/blocking_url_protocol_unittest.cc EXPECT_EQ(0, url_protocol_.Read(32, buffer)); buffer 81 media/filters/blocking_url_protocol_unittest.cc uint8 buffer[32]; buffer 83 media/filters/blocking_url_protocol_unittest.cc EXPECT_EQ(AVERROR(EIO), url_protocol_.Read(32, buffer)); buffer 931 media/filters/chunk_demuxer.cc scoped_refptr<StreamParserBuffer> buffer; buffer 938 media/filters/chunk_demuxer.cc switch (stream_->GetNextBuffer(&buffer)) { buffer 948 media/filters/chunk_demuxer.cc buffer = StreamParserBuffer::CreateEOSBuffer(); buffer 953 media/filters/chunk_demuxer.cc buffer = NULL; buffer 962 media/filters/chunk_demuxer.cc buffer = NULL; buffer 966 media/filters/chunk_demuxer.cc buffer = StreamParserBuffer::CreateEOSBuffer(); buffer 970 media/filters/chunk_demuxer.cc base::ResetAndReturn(&read_cb_).Run(status, buffer); buffer 87 media/filters/chunk_demuxer_unittest.cc static void WriteInt64(uint8* buffer, int64 number) { buffer 89 media/filters/chunk_demuxer_unittest.cc buffer[0] = 0x01; buffer 92 media/filters/chunk_demuxer_unittest.cc buffer[i] = tmp & 0xff; buffer 107 media/filters/chunk_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 109 media/filters/chunk_demuxer_unittest.cc EXPECT_EQ(expected_time, buffer->timestamp()); buffer 115 media/filters/chunk_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 117 media/filters/chunk_demuxer_unittest.cc EXPECT_EQ(NULL, buffer.get()); buffer 123 media/filters/chunk_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 125 media/filters/chunk_demuxer_unittest.cc EXPECT_TRUE(buffer->end_of_stream()); buffer 184 media/filters/chunk_demuxer_unittest.cc scoped_ptr<uint8[]>* buffer, buffer 245 media/filters/chunk_demuxer_unittest.cc buffer->reset(new uint8[*size]); buffer 247 media/filters/chunk_demuxer_unittest.cc uint8* buf = buffer->get(); buffer 814 media/filters/chunk_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 816 media/filters/chunk_demuxer_unittest.cc *buffer_out = buffer; buffer 823 media/filters/chunk_demuxer_unittest.cc scoped_refptr<DecoderBuffer> buffer; buffer 828 media/filters/chunk_demuxer_unittest.cc base::Unretained(this), status, &buffer)); buffer 830 media/filters/chunk_demuxer_unittest.cc if (*status == DemuxerStream::kOk && !buffer->end_of_stream()) buffer 831 media/filters/chunk_demuxer_unittest.cc *last_timestamp = buffer->timestamp(); buffer 832 media/filters/chunk_demuxer_unittest.cc } while (*status == DemuxerStream::kOk && !buffer->end_of_stream()); buffer 864 media/filters/chunk_demuxer_unittest.cc scoped_refptr<DecoderBuffer> buffer; buffer 866 media/filters/chunk_demuxer_unittest.cc base::Unretained(this), &status, &buffer)); buffer 868 media/filters/chunk_demuxer_unittest.cc if (status != DemuxerStream::kOk || buffer->end_of_stream()) buffer 873 media/filters/chunk_demuxer_unittest.cc ss << buffer->timestamp().InMilliseconds(); buffer 910 media/filters/chunk_demuxer_unittest.cc scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile(filename); buffer 911 media/filters/chunk_demuxer_unittest.cc AppendDataInPieces(buffer->data(), buffer->data_size(), 512); buffer 1470 media/filters/chunk_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 1472 media/filters/chunk_demuxer_unittest.cc EXPECT_TRUE(buffer->end_of_stream()); buffer 1645 media/filters/chunk_demuxer_unittest.cc scoped_ptr<uint8[]> buffer(new uint8[buffer_size]); buffer 1646 media/filters/chunk_demuxer_unittest.cc uint8* dst = buffer.get(); buffer 1656 media/filters/chunk_demuxer_unittest.cc AppendDataInPieces(buffer.get(), buffer_size); buffer 267 media/filters/decoder_stream.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 273 media/filters/decoder_stream.cc DCHECK(buffer); buffer 275 media/filters/decoder_stream.cc int buffer_size = buffer->end_of_stream() ? 0 : buffer->data_size(); buffer 278 media/filters/decoder_stream.cc decoder_->Decode(buffer, buffer 366 media/filters/decoder_stream.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 370 media/filters/decoder_stream.cc DCHECK_EQ(buffer.get() != NULL, status == DemuxerStream::kOk) << status; buffer 411 media/filters/decoder_stream.cc if (!splice_observer_cb_.is_null() && !buffer->end_of_stream() && buffer 412 media/filters/decoder_stream.cc buffer->splice_timestamp() != kNoTimestamp()) { buffer 413 media/filters/decoder_stream.cc splice_observer_cb_.Run(buffer->splice_timestamp()); buffer 417 media/filters/decoder_stream.cc Decode(buffer); buffer 133 media/filters/decoder_stream.h void Decode(const scoped_refptr<DecoderBuffer>& buffer); buffer 149 media/filters/decoder_stream.h const scoped_refptr<DecoderBuffer>& buffer); buffer 83 media/filters/decrypting_audio_decoder.cc void DecryptingAudioDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 100 media/filters/decrypting_audio_decoder.cc DCHECK(!buffer); buffer 109 media/filters/decrypting_audio_decoder.cc !buffer->end_of_stream()) { buffer 110 media/filters/decrypting_audio_decoder.cc timestamp_helper_->SetBaseTimestamp(buffer->timestamp()); buffer 113 media/filters/decrypting_audio_decoder.cc pending_buffer_to_decode_ = buffer; buffer 48 media/filters/decrypting_audio_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 40 media/filters/decrypting_audio_decoder_unittest.cc scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(buffer_size)); buffer 41 media/filters/decrypting_audio_decoder_unittest.cc buffer->set_decrypt_config(scoped_ptr<DecryptConfig>(new DecryptConfig( buffer 46 media/filters/decrypting_audio_decoder_unittest.cc return buffer; buffer 53 media/filters/decrypting_audio_decoder_unittest.cc ACTION_P(ReturnBuffer, buffer) { buffer 54 media/filters/decrypting_audio_decoder_unittest.cc return buffer; buffer 64 media/filters/decrypting_audio_decoder_unittest.cc ACTION_P2(CallExpectFrameReadyMoreData, test, buffer) { buffer 66 media/filters/decrypting_audio_decoder_unittest.cc CreateFakeEncryptedBuffer(), AudioDecoder::kNotEnoughData, buffer); buffer 148 media/filters/decrypting_audio_decoder_unittest.cc const scoped_refptr<AudioBuffer>& buffer = decoder_->GetDecodeOutput(); buffer 150 media/filters/decrypting_audio_decoder_unittest.cc if (buffer) { buffer 151 media/filters/decrypting_audio_decoder_unittest.cc EXPECT_EQ(audio_frame, buffer); buffer 200 media/filters/decrypting_demuxer_stream.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 205 media/filters/decrypting_demuxer_stream.cc DCHECK_EQ(buffer.get() != NULL, status == kOk) << status; buffer 237 media/filters/decrypting_demuxer_stream.cc if (buffer->end_of_stream()) { buffer 240 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(status, buffer); buffer 244 media/filters/decrypting_demuxer_stream.cc DCHECK(buffer->decrypt_config()); buffer 246 media/filters/decrypting_demuxer_stream.cc if (buffer->decrypt_config()->iv().empty()) { buffer 249 media/filters/decrypting_demuxer_stream.cc buffer->data(), buffer->data_size()); buffer 250 media/filters/decrypting_demuxer_stream.cc decrypted->set_timestamp(buffer->timestamp()); buffer 251 media/filters/decrypting_demuxer_stream.cc decrypted->set_duration(buffer->duration()); buffer 257 media/filters/decrypting_demuxer_stream.cc pending_buffer_to_decrypt_ = buffer; buffer 80 media/filters/decrypting_demuxer_stream.h const scoped_refptr<DecoderBuffer>& buffer); buffer 35 media/filters/decrypting_demuxer_stream_unittest.cc scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(kFakeBufferSize)); buffer 38 media/filters/decrypting_demuxer_stream_unittest.cc buffer->set_decrypt_config(scoped_ptr<DecryptConfig>(new DecryptConfig( buffer 42 media/filters/decrypting_demuxer_stream_unittest.cc return buffer; buffer 49 media/filters/decrypting_demuxer_stream_unittest.cc ACTION_P(ReturnBuffer, buffer) { buffer 50 media/filters/decrypting_demuxer_stream_unittest.cc arg0.Run(buffer.get() ? DemuxerStream::kOk : DemuxerStream::kAborted, buffer); buffer 224 media/filters/decrypting_demuxer_stream_unittest.cc scoped_refptr<DecoderBuffer> buffer = buffer 226 media/filters/decrypting_demuxer_stream_unittest.cc base::ResetAndReturn(&pending_demuxer_read_cb_).Run(status, buffer); buffer 63 media/filters/decrypting_video_decoder.cc void DecryptingVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 86 media/filters/decrypting_video_decoder.cc pending_buffer_to_decode_ = buffer; buffer 37 media/filters/decrypting_video_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 35 media/filters/decrypting_video_decoder_unittest.cc scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(buffer_size)); buffer 36 media/filters/decrypting_video_decoder_unittest.cc buffer->set_decrypt_config(scoped_ptr<DecryptConfig>(new DecryptConfig( buffer 41 media/filters/decrypting_video_decoder_unittest.cc return buffer; buffer 115 media/filters/decrypting_video_decoder_unittest.cc const scoped_refptr<DecoderBuffer>& buffer, buffer 125 media/filters/decrypting_video_decoder_unittest.cc decoder_->Decode(buffer, buffer 151 media/filters/fake_demuxer_stream.cc scoped_refptr<DecoderBuffer> buffer = CreateFakeVideoBufferForTest( buffer 156 media/filters/fake_demuxer_stream.cc buffer->set_decrypt_config(scoped_ptr<DecryptConfig>( buffer 161 media/filters/fake_demuxer_stream.cc buffer->set_timestamp(current_timestamp_); buffer 162 media/filters/fake_demuxer_stream.cc buffer->set_duration(duration_); buffer 170 media/filters/fake_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, buffer); buffer 31 media/filters/fake_demuxer_stream_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 35 media/filters/fake_demuxer_stream_unittest.cc buffer_ = buffer; buffer 50 media/filters/fake_video_decoder.cc void FakeVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 57 media/filters/fake_video_decoder.cc int buffer_size = buffer->end_of_stream() ? 0 : buffer->data_size(); buffer 64 media/filters/fake_video_decoder.cc if (buffer->end_of_stream() && decoded_frames_.empty()) { buffer 69 media/filters/fake_video_decoder.cc if (!buffer->end_of_stream()) { buffer 70 media/filters/fake_video_decoder.cc DCHECK(VerifyFakeVideoBufferForTest(buffer, current_config_)); buffer 72 media/filters/fake_video_decoder.cc current_config_.coded_size(), 0, 0, 0, buffer->timestamp()); buffer 40 media/filters/fake_video_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 109 media/filters/fake_video_decoder_unittest.cc scoped_refptr<DecoderBuffer> buffer; buffer 112 media/filters/fake_video_decoder_unittest.cc buffer = CreateFakeVideoBufferForTest( buffer 118 media/filters/fake_video_decoder_unittest.cc buffer = DecoderBuffer::CreateEOSBuffer(); buffer 126 media/filters/fake_video_decoder_unittest.cc buffer, buffer 46 media/filters/ffmpeg_audio_decoder.cc scoped_refptr<AudioBuffer> buffer; buffer 47 media/filters/ffmpeg_audio_decoder.cc buffer.swap(reinterpret_cast<AudioBuffer**>(&opaque)); buffer 92 media/filters/ffmpeg_audio_decoder.cc scoped_refptr<AudioBuffer> buffer = AudioBuffer::CreateBuffer( buffer 102 media/filters/ffmpeg_audio_decoder.cc int number_of_planes = buffer->channel_data().size(); buffer 106 media/filters/ffmpeg_audio_decoder.cc frame->data[i] = buffer->channel_data()[i]; buffer 114 media/filters/ffmpeg_audio_decoder.cc frame->extended_data[i] = frame->data[i] = buffer->channel_data()[i]; buffer 116 media/filters/ffmpeg_audio_decoder.cc frame->extended_data[i] = buffer->channel_data()[i]; buffer 122 media/filters/ffmpeg_audio_decoder.cc buffer.swap(reinterpret_cast<AudioBuffer**>(&opaque)); buffer 162 media/filters/ffmpeg_audio_decoder.cc void FFmpegAudioDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 180 media/filters/ffmpeg_audio_decoder.cc if (!buffer) { buffer 185 media/filters/ffmpeg_audio_decoder.cc DecodeBuffer(buffer, decode_cb_bound); buffer 218 media/filters/ffmpeg_audio_decoder.cc const scoped_refptr<DecoderBuffer>& buffer, buffer 225 media/filters/ffmpeg_audio_decoder.cc DCHECK(buffer); buffer 257 media/filters/ffmpeg_audio_decoder.cc if (!buffer->end_of_stream() && buffer->timestamp() == kNoTimestamp() && buffer 264 media/filters/ffmpeg_audio_decoder.cc if (!buffer->end_of_stream()) { buffer 267 media/filters/ffmpeg_audio_decoder.cc buffer->timestamp() < base::TimeDelta()) { buffer 270 media/filters/ffmpeg_audio_decoder.cc output_frames_to_drop_ = floor(0.5 + -buffer->timestamp().InSecondsF() * buffer 274 media/filters/ffmpeg_audio_decoder.cc buffer->timestamp() < last_input_timestamp_) { buffer 276 media/filters/ffmpeg_audio_decoder.cc buffer->timestamp() - last_input_timestamp_; buffer 279 media/filters/ffmpeg_audio_decoder.cc << " ts " << buffer->timestamp().InMicroseconds() << " us" buffer 283 media/filters/ffmpeg_audio_decoder.cc last_input_timestamp_ = buffer->timestamp(); buffer 288 media/filters/ffmpeg_audio_decoder.cc if (state_ == kNormal && buffer->end_of_stream()) { buffer 292 media/filters/ffmpeg_audio_decoder.cc if (!FFmpegDecode(buffer)) { buffer 300 media/filters/ffmpeg_audio_decoder.cc DCHECK(buffer->end_of_stream()); buffer 315 media/filters/ffmpeg_audio_decoder.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 321 media/filters/ffmpeg_audio_decoder.cc if (buffer->end_of_stream()) { buffer 325 media/filters/ffmpeg_audio_decoder.cc packet.data = const_cast<uint8*>(buffer->data()); buffer 326 media/filters/ffmpeg_audio_decoder.cc packet.size = buffer->data_size(); buffer 339 media/filters/ffmpeg_audio_decoder.cc DCHECK(!buffer->end_of_stream()) buffer 346 media/filters/ffmpeg_audio_decoder.cc << buffer->timestamp().InMicroseconds() << " us, duration: " buffer 347 media/filters/ffmpeg_audio_decoder.cc << buffer->duration().InMicroseconds() << " us, packet size: " buffer 348 media/filters/ffmpeg_audio_decoder.cc << buffer->data_size() << " bytes"; buffer 359 media/filters/ffmpeg_audio_decoder.cc !buffer->end_of_stream()) { buffer 360 media/filters/ffmpeg_audio_decoder.cc DCHECK(buffer->timestamp() != kNoTimestamp()); buffer 367 media/filters/ffmpeg_audio_decoder.cc output_timestamp_helper_->SetBaseTimestamp(buffer->timestamp()); buffer 426 media/filters/ffmpeg_audio_decoder.cc } else if (IsEndOfStream(result, original_frames, buffer)) { buffer 39 media/filters/ffmpeg_audio_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 58 media/filters/ffmpeg_audio_decoder.h void DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer, buffer 60 media/filters/ffmpeg_audio_decoder.h bool FFmpegDecode(const scoped_refptr<DecoderBuffer>& buffer); buffer 38 media/filters/ffmpeg_audio_decoder_unittest.cc scoped_refptr<DecoderBuffer> buffer = buffer 42 media/filters/ffmpeg_audio_decoder_unittest.cc buffer->set_timestamp(base::TimeDelta()); buffer 44 media/filters/ffmpeg_audio_decoder_unittest.cc buffer->set_timestamp(base::TimeDelta::FromMicroseconds(2902)); buffer 47 media/filters/ffmpeg_audio_decoder_unittest.cc buffer->set_duration(base::TimeDelta()); buffer 48 media/filters/ffmpeg_audio_decoder_unittest.cc encoded_audio_.push_back(buffer); buffer 81 media/filters/ffmpeg_audio_decoder_unittest.cc scoped_refptr<DecoderBuffer> buffer(encoded_audio_.front()); buffer 83 media/filters/ffmpeg_audio_decoder_unittest.cc decoder_->Decode(buffer, buffer 102 media/filters/ffmpeg_audio_decoder_unittest.cc const scoped_refptr<AudioBuffer>& buffer) { buffer 107 media/filters/ffmpeg_audio_decoder_unittest.cc EXPECT_TRUE(buffer.get() == NULL); buffer 112 media/filters/ffmpeg_audio_decoder_unittest.cc decoded_audio_.push_back(buffer); buffer 115 media/filters/ffmpeg_audio_decoder_unittest.cc if (buffer.get() == NULL || pending_reset_) { buffer 116 media/filters/ffmpeg_audio_decoder_unittest.cc EXPECT_TRUE(buffer.get() == NULL); buffer 120 media/filters/ffmpeg_demuxer.cc scoped_refptr<DecoderBuffer> buffer; buffer 140 media/filters/ffmpeg_demuxer.cc buffer = DecoderBuffer::CopyFrom(packet.get()->data, packet.get()->size, buffer 167 media/filters/ffmpeg_demuxer.cc buffer = DecoderBuffer::CopyFrom(packet.get()->data + data_offset, buffer 171 media/filters/ffmpeg_demuxer.cc buffer = DecoderBuffer::CopyFrom(packet.get()->data + data_offset, buffer 187 media/filters/ffmpeg_demuxer.cc buffer->set_discard_padding(base::TimeDelta::FromMicroseconds( buffer 193 media/filters/ffmpeg_demuxer.cc buffer->set_decrypt_config(decrypt_config.Pass()); buffer 196 media/filters/ffmpeg_demuxer.cc buffer->set_timestamp(ConvertStreamTimestamp( buffer 198 media/filters/ffmpeg_demuxer.cc buffer->set_duration(ConvertStreamTimestamp( buffer 200 media/filters/ffmpeg_demuxer.cc if (buffer->timestamp() != kNoTimestamp() && buffer 202 media/filters/ffmpeg_demuxer.cc last_packet_timestamp_ < buffer->timestamp()) { buffer 203 media/filters/ffmpeg_demuxer.cc buffered_ranges_.Add(last_packet_timestamp_, buffer->timestamp()); buffer 206 media/filters/ffmpeg_demuxer.cc last_packet_timestamp_ = buffer->timestamp(); buffer 208 media/filters/ffmpeg_demuxer.cc buffer_queue_.Push(buffer); buffer 45 media/filters/ffmpeg_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 50 media/filters/ffmpeg_demuxer_unittest.cc if (buffer->end_of_stream()) { buffer 55 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_TRUE(buffer->data()); buffer 56 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_GT(buffer->data_size(), 0); buffer 112 media/filters/ffmpeg_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 119 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_TRUE(buffer.get() != NULL); buffer 120 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_EQ(size, buffer->data_size()); buffer 122 media/filters/ffmpeg_demuxer_unittest.cc buffer->timestamp()); buffer 570 media/filters/ffmpeg_demuxer_unittest.cc const scoped_refptr<DecoderBuffer>& buffer)); buffer 162 media/filters/ffmpeg_glue.cc scoped_ptr<std::vector<uint8> > buffer(new std::vector<uint8>(8192)); buffer 167 media/filters/ffmpeg_glue.cc avio_context_.get()->opaque, buffer.get()->data(), buffer.get()->size()); buffer 172 media/filters/ffmpeg_glue.cc container_names::DetermineContainer(buffer.get()->data(), numRead); buffer 186 media/filters/ffmpeg_glue.cc av_free(avio_context_->buffer); buffer 194 media/filters/ffmpeg_glue.cc av_free(avio_context_->buffer); buffer 219 media/filters/ffmpeg_glue.cc av_free(avio_context_->buffer); buffer 119 media/filters/ffmpeg_glue_unittest.cc uint8 buffer[kBufferSize]; buffer 123 media/filters/ffmpeg_glue_unittest.cc EXPECT_CALL(*protocol_, Read(0, buffer)) buffer 125 media/filters/ffmpeg_glue_unittest.cc EXPECT_CALL(*protocol_, Read(kBufferSize, buffer)) buffer 127 media/filters/ffmpeg_glue_unittest.cc EXPECT_CALL(*protocol_, Read(kBufferSize, buffer)) buffer 130 media/filters/ffmpeg_glue_unittest.cc EXPECT_EQ(0, ReadPacket(0, buffer)); buffer 131 media/filters/ffmpeg_glue_unittest.cc EXPECT_EQ(kBufferSize, ReadPacket(kBufferSize, buffer)); buffer 132 media/filters/ffmpeg_glue_unittest.cc EXPECT_EQ(AVERROR(EIO), ReadPacket(kBufferSize, buffer)); buffer 147 media/filters/ffmpeg_video_decoder.cc void FFmpegVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 166 media/filters/ffmpeg_video_decoder.cc DecodeBuffer(buffer); buffer 195 media/filters/ffmpeg_video_decoder.cc const scoped_refptr<DecoderBuffer>& buffer) { buffer 201 media/filters/ffmpeg_video_decoder.cc DCHECK(buffer); buffer 232 media/filters/ffmpeg_video_decoder.cc if (state_ == kNormal && buffer->end_of_stream()) { buffer 237 media/filters/ffmpeg_video_decoder.cc if (!FFmpegDecode(buffer, &video_frame)) { buffer 245 media/filters/ffmpeg_video_decoder.cc DCHECK(buffer->end_of_stream()); buffer 260 media/filters/ffmpeg_video_decoder.cc const scoped_refptr<DecoderBuffer>& buffer, buffer 271 media/filters/ffmpeg_video_decoder.cc if (buffer->end_of_stream()) { buffer 275 media/filters/ffmpeg_video_decoder.cc packet.data = const_cast<uint8*>(buffer->data()); buffer 276 media/filters/ffmpeg_video_decoder.cc packet.size = buffer->data_size(); buffer 279 media/filters/ffmpeg_video_decoder.cc codec_context_->reordered_opaque = buffer->timestamp().InMicroseconds(); buffer 293 media/filters/ffmpeg_video_decoder.cc LOG(ERROR) << "Error decoding video: " << buffer->AsHumanReadableString(); buffer 37 media/filters/ffmpeg_video_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 57 media/filters/ffmpeg_video_decoder.h void DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer); buffer 58 media/filters/ffmpeg_video_decoder.h bool FFmpegDecode(const scoped_refptr<DecoderBuffer>& buffer, buffer 42 media/filters/ffmpeg_video_decoder_unittest.cc ACTION_P(ReturnBuffer, buffer) { buffer 43 media/filters/ffmpeg_video_decoder_unittest.cc arg0.Run(buffer.get() ? DemuxerStream::kOk : DemuxerStream::kAborted, buffer); buffer 128 media/filters/ffmpeg_video_decoder_unittest.cc scoped_refptr<DecoderBuffer> buffer; buffer 130 media/filters/ffmpeg_video_decoder_unittest.cc buffer = *input_iter; buffer 133 media/filters/ffmpeg_video_decoder_unittest.cc buffer = end_of_stream_buffer_; buffer 138 media/filters/ffmpeg_video_decoder_unittest.cc Decode(buffer, &status, &frame); buffer 166 media/filters/ffmpeg_video_decoder_unittest.cc void DecodeSingleFrame(const scoped_refptr<DecoderBuffer>& buffer, buffer 170 media/filters/ffmpeg_video_decoder_unittest.cc input_buffers.push_back(buffer); buffer 192 media/filters/ffmpeg_video_decoder_unittest.cc scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile(test_file_name); buffer 196 media/filters/ffmpeg_video_decoder_unittest.cc input_buffers.push_back(buffer); buffer 216 media/filters/ffmpeg_video_decoder_unittest.cc void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 222 media/filters/ffmpeg_video_decoder_unittest.cc decoder_->Decode(buffer, decode_cb_); buffer 221 media/filters/gpu_video_decoder.cc void GpuVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 245 media/filters/gpu_video_decoder.cc DCHECK(buffer->end_of_stream()); buffer 254 media/filters/gpu_video_decoder.cc if (buffer->end_of_stream()) { buffer 267 media/filters/gpu_video_decoder.cc size_t size = buffer->data_size(); buffer 274 media/filters/gpu_video_decoder.cc memcpy(shm_buffer->shm->memory(), buffer->data(), size); buffer 280 media/filters/gpu_video_decoder.cc bitstream_buffer.id(), BufferPair(shm_buffer, buffer))).second; buffer 282 media/filters/gpu_video_decoder.cc RecordBufferData(bitstream_buffer, *buffer.get()); buffer 300 media/filters/gpu_video_decoder.cc const DecoderBuffer& buffer) { buffer 302 media/filters/gpu_video_decoder.cc buffer.timestamp(), buffer 47 media/filters/gpu_video_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 90 media/filters/gpu_video_decoder.h scoped_refptr<DecoderBuffer> buffer; buffer 117 media/filters/gpu_video_decoder.h const BitstreamBuffer& bitstream_buffer, const DecoderBuffer& buffer); buffer 274 media/filters/opus_audio_decoder.cc void OpusAudioDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 279 media/filters/opus_audio_decoder.cc DecodeBuffer(buffer, BindToCurrentLoop(decode_cb)); buffer 36 media/filters/opus_audio_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 37 media/filters/source_buffer_stream.cc static int GetConfigId(StreamParserBuffer* buffer, size_t index) { buffer 38 media/filters/source_buffer_stream.cc return index < buffer->get_splice_buffers().size() buffer 39 media/filters/source_buffer_stream.cc ? buffer->get_splice_buffers()[index]->GetConfigId() buffer 40 media/filters/source_buffer_stream.cc : buffer->GetConfigId(); buffer 306 media/filters/source_buffer_stream.cc const scoped_refptr<media::StreamParserBuffer>& buffer) { buffer 307 media/filters/source_buffer_stream.cc return decode_timestamp < buffer->GetDecodeTimestamp(); buffer 310 media/filters/source_buffer_stream.cc const scoped_refptr<media::StreamParserBuffer>& buffer, buffer 312 media/filters/source_buffer_stream.cc return buffer->GetDecodeTimestamp() < decode_timestamp; buffer 1644 media/filters/source_buffer_stream.cc const scoped_refptr<StreamParserBuffer>& buffer = *it; buffer 1645 media/filters/source_buffer_stream.cc if (buffer->timestamp() <= max_splice_end_timestamp && buffer 1646 media/filters/source_buffer_stream.cc (buffer->timestamp() < overlapping_buffer->timestamp() || buffer 1647 media/filters/source_buffer_stream.cc buffer == overlapping_buffer)) { buffer 1649 media/filters/source_buffer_stream.cc pre_splice_buffers.insert(pre_splice_buffers.begin() + ++i, buffer); buffer 2169 media/filters/source_buffer_stream.cc const scoped_refptr<StreamParserBuffer>& buffer = *it; buffer 2171 media/filters/source_buffer_stream.cc if (buffer->duration() == kNoTimestamp() || buffer 2172 media/filters/source_buffer_stream.cc buffer->duration() <= base::TimeDelta()) { buffer 2175 media/filters/source_buffer_stream.cc if (buffer->end_of_stream() || buffer->timestamp() >= end) buffer 2177 media/filters/source_buffer_stream.cc if (buffer->timestamp() + buffer->duration() <= start) buffer 2179 media/filters/source_buffer_stream.cc buffers->push_back(buffer); buffer 226 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer; buffer 227 media/filters/source_buffer_stream_unittest.cc SourceBufferStream::Status status = stream_->GetNextBuffer(&buffer); buffer 234 media/filters/source_buffer_stream_unittest.cc EXPECT_TRUE(buffer->IsKeyframe()); buffer 237 media/filters/source_buffer_stream_unittest.cc const uint8* actual_data = buffer->data(); buffer 238 media/filters/source_buffer_stream_unittest.cc const int actual_size = buffer->data_size(); buffer 245 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(buffer->GetDecodeTimestamp() / frame_duration_, buffer 258 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer; buffer 259 media/filters/source_buffer_stream_unittest.cc SourceBufferStream::Status status = stream_->GetNextBuffer(&buffer); buffer 288 media/filters/source_buffer_stream_unittest.cc ss << buffer->GetDecodeTimestamp().InMilliseconds(); buffer 289 media/filters/source_buffer_stream_unittest.cc if (buffer->IsKeyframe()) buffer 296 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer; buffer 297 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(SourceBufferStream::kNeedBuffer, stream_->GetNextBuffer(&buffer)); buffer 340 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer = buffer 347 media/filters/source_buffer_stream_unittest.cc buffer->SetDecodeTimestamp(timestamp); buffer 362 media/filters/source_buffer_stream_unittest.cc buffer->set_timestamp(presentation_timestamp); buffer 364 media/filters/source_buffer_stream_unittest.cc buffer->set_duration(frame_duration_); buffer 366 media/filters/source_buffer_stream_unittest.cc queue.push_back(buffer); buffer 431 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer = buffer 436 media/filters/source_buffer_stream_unittest.cc buffer->set_timestamp(timestamp); buffer 438 media/filters/source_buffer_stream_unittest.cc buffer->set_duration(frame_duration_); buffer 439 media/filters/source_buffer_stream_unittest.cc buffer->SetDecodeTimestamp(timestamp); buffer 448 media/filters/source_buffer_stream_unittest.cc buffer->SetConfigId(splice_config_id); buffer 449 media/filters/source_buffer_stream_unittest.cc pre_splice_buffers.push_back(buffer); buffer 456 media/filters/source_buffer_stream_unittest.cc buffer->ConvertToSpliceBuffer(pre_splice_buffers); buffer 460 media/filters/source_buffer_stream_unittest.cc buffers.push_back(buffer); buffer 1795 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer; buffer 1798 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kSuccess); buffer 1799 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(buffer->GetDecodeTimestamp(), 5 * frame_duration() + bump); buffer 1812 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kSuccess); buffer 1813 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(buffer->GetDecodeTimestamp(), 15 * frame_duration() + bump); buffer 2169 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer; buffer 2170 media/filters/source_buffer_stream_unittest.cc ASSERT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kSuccess); buffer 2172 media/filters/source_buffer_stream_unittest.cc if (buffer->IsKeyframe()) { buffer 2173 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(buffer->timestamp(), buffer->GetDecodeTimestamp()); buffer 2175 media/filters/source_buffer_stream_unittest.cc last_keyframe_presentation_timestamp = buffer->timestamp(); buffer 2178 media/filters/source_buffer_stream_unittest.cc last_p_frame_presentation_timestamp = buffer->timestamp(); buffer 2182 media/filters/source_buffer_stream_unittest.cc EXPECT_GT(buffer->timestamp(), last_keyframe_presentation_timestamp); buffer 2183 media/filters/source_buffer_stream_unittest.cc EXPECT_LT(buffer->timestamp(), last_p_frame_presentation_timestamp); buffer 2184 media/filters/source_buffer_stream_unittest.cc EXPECT_LT(buffer->timestamp(), buffer->GetDecodeTimestamp()); buffer 2858 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer; buffer 2860 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kSuccess); buffer 2866 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kConfigChange); buffer 2874 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kSuccess); buffer 2879 media/filters/source_buffer_stream_unittest.cc scoped_refptr<StreamParserBuffer> buffer; buffer 2892 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kConfigChange); buffer 2910 media/filters/source_buffer_stream_unittest.cc EXPECT_EQ(stream_->GetNextBuffer(&buffer), SourceBufferStream::kConfigChange); buffer 309 media/filters/video_renderer_impl_unittest.cc void FrameRequested(const scoped_refptr<DecoderBuffer>& buffer, buffer 306 media/filters/vpx_video_decoder.cc void VpxVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 326 media/filters/vpx_video_decoder.cc DecodeBuffer(buffer); buffer 347 media/filters/vpx_video_decoder.cc void VpxVideoDecoder::DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer) { buffer 353 media/filters/vpx_video_decoder.cc DCHECK(buffer); buffer 356 media/filters/vpx_video_decoder.cc if (state_ == kNormal && buffer->end_of_stream()) { buffer 363 media/filters/vpx_video_decoder.cc if (!VpxDecode(buffer, &video_frame)) { buffer 378 media/filters/vpx_video_decoder.cc bool VpxVideoDecoder::VpxDecode(const scoped_refptr<DecoderBuffer>& buffer, buffer 381 media/filters/vpx_video_decoder.cc DCHECK(!buffer->end_of_stream()); buffer 384 media/filters/vpx_video_decoder.cc int64 timestamp = buffer->timestamp().InMicroseconds(); buffer 387 media/filters/vpx_video_decoder.cc buffer->data(), buffer 388 media/filters/vpx_video_decoder.cc buffer->data_size(), buffer 410 media/filters/vpx_video_decoder.cc if (vpx_codec_alpha_ && buffer->side_data_size() >= 8) { buffer 412 media/filters/vpx_video_decoder.cc int64 timestamp_alpha = buffer->timestamp().InMicroseconds(); buffer 417 media/filters/vpx_video_decoder.cc *(reinterpret_cast<const uint64*>(buffer->side_data()))); buffer 420 media/filters/vpx_video_decoder.cc buffer->side_data() + 8, buffer 421 media/filters/vpx_video_decoder.cc buffer->side_data_size() - 8, buffer 37 media/filters/vpx_video_decoder.h virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, buffer 58 media/filters/vpx_video_decoder.h void DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer); buffer 59 media/filters/vpx_video_decoder.h bool VpxDecode(const scoped_refptr<DecoderBuffer>& buffer, buffer 41 media/formats/common/stream_parser_test_base.cc scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile(filename); buffer 43 media/formats/common/stream_parser_test_base.cc AppendDataInPieces(buffer->data(), buffer->data_size(), append_bytes)); buffer 143 media/formats/mp2t/es_parser_h264_unittest.cc void EmitBuffer(scoped_refptr<StreamParserBuffer> buffer); buffer 219 media/formats/mp2t/es_parser_h264_unittest.cc void EsParserH264Test::EmitBuffer(scoped_refptr<StreamParserBuffer> buffer) { buffer 221 media/formats/mp2t/es_parser_h264_unittest.cc EXPECT_EQ(buffer->timestamp(), access_units_[buffer_count_].pts); buffer 151 media/formats/mp2t/mp2t_stream_parser_unittest.cc scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile(filename); buffer 152 media/formats/mp2t/mp2t_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), buffer 153 media/formats/mp2t/mp2t_stream_parser_unittest.cc buffer->data_size(), buffer 141 media/formats/mp4/aac.cc bool AAC::ConvertEsdsToADTS(std::vector<uint8>* buffer) const { buffer 142 media/formats/mp4/aac.cc size_t size = buffer->size() + kADTSHeaderMinSize; buffer 151 media/formats/mp4/aac.cc std::vector<uint8>& adts = *buffer; buffer 153 media/formats/mp4/aac.cc adts.insert(buffer->begin(), kADTSHeaderMinSize, 0); buffer 53 media/formats/mp4/aac.h bool ConvertEsdsToADTS(std::vector<uint8>* buffer) const; buffer 15 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x12, 0x10}; buffer 18 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 27 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x13, 0x08, 0x56, 0xe5, 0x9d, 0x48, 0x80}; buffer 30 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 44 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x13, 0x08}; buffer 47 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 63 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x13, 0x10}; buffer 66 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 81 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x11, 0xb0}; buffer 84 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 103 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x0, 0x08}; buffer 106 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 119 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x0f, 0x88}; buffer 122 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 133 media/formats/mp4/aac_unittest.cc uint8 buffer[] = {0x0e, 0x00}; buffer 136 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 35 media/formats/mp4/avc.cc bool AVC::ConvertFrameToAnnexB(int length_size, std::vector<uint8>* buffer) { buffer 39 media/formats/mp4/avc.cc return ConvertAVCToAnnexBInPlaceForLengthSize4(buffer); buffer 42 media/formats/mp4/avc.cc temp.swap(*buffer); buffer 43 media/formats/mp4/avc.cc buffer->reserve(temp.size() + 32); buffer 52 media/formats/mp4/avc.cc buffer->insert(buffer->end(), kAnnexBStartCode, buffer 54 media/formats/mp4/avc.cc buffer->insert(buffer->end(), temp.begin() + pos, buffer 64 media/formats/mp4/avc.cc std::vector<uint8>* buffer) { buffer 65 media/formats/mp4/avc.cc DCHECK(buffer->empty()); buffer 66 media/formats/mp4/avc.cc buffer->clear(); buffer 72 media/formats/mp4/avc.cc buffer->reserve(total_size); buffer 75 media/formats/mp4/avc.cc buffer->insert(buffer->end(), kAnnexBStartCode, buffer 77 media/formats/mp4/avc.cc buffer->insert(buffer->end(), avc_config.sps_list[i].begin(), buffer 82 media/formats/mp4/avc.cc buffer->insert(buffer->end(), kAnnexBStartCode, buffer 84 media/formats/mp4/avc.cc buffer->insert(buffer->end(), avc_config.pps_list[i].begin(), buffer 20 media/formats/mp4/avc.h static bool ConvertFrameToAnnexB(int length_size, std::vector<uint8>* buffer); buffer 24 media/formats/mp4/avc.h std::vector<uint8>* buffer); buffer 15 media/formats/mp4/es_descriptor_unittest.cc uint8 buffer[] = { buffer 23 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 35 media/formats/mp4/es_descriptor_unittest.cc uint8 buffer[] = { buffer 43 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 54 media/formats/mp4/es_descriptor_unittest.cc uint8 buffer[] = { buffer 63 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 74 media/formats/mp4/es_descriptor_unittest.cc uint8 buffer[] = { buffer 83 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); buffer 134 media/formats/mp4/mp4_stream_parser_unittest.cc scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile(filename); buffer 135 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), buffer 136 media/formats/mp4/mp4_stream_parser_unittest.cc buffer->data_size(), buffer 163 media/formats/mp4/mp4_stream_parser_unittest.cc scoped_refptr<DecoderBuffer> buffer = buffer 165 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), 65536, 512)); buffer 167 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), buffer 168 media/formats/mp4/mp4_stream_parser_unittest.cc buffer->data_size(), buffer 175 media/formats/mp4/mp4_stream_parser_unittest.cc scoped_refptr<DecoderBuffer> buffer = buffer 177 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), buffer 178 media/formats/mp4/mp4_stream_parser_unittest.cc buffer->data_size(), buffer 180 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), buffer 181 media/formats/mp4/mp4_stream_parser_unittest.cc buffer->data_size(), buffer 196 media/formats/mp4/mp4_stream_parser_unittest.cc scoped_refptr<DecoderBuffer> buffer = buffer 198 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), buffer 199 media/formats/mp4/mp4_stream_parser_unittest.cc buffer->data_size(), buffer 204 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data() + kFirstMoofOffset, buffer 205 media/formats/mp4/mp4_stream_parser_unittest.cc buffer->data_size() - kFirstMoofOffset, buffer 220 media/formats/mpeg/mpeg_audio_stream_parser_base.cc scoped_refptr<StreamParserBuffer> buffer = buffer 223 media/formats/mpeg/mpeg_audio_stream_parser_base.cc buffer->set_timestamp(timestamp_helper_->GetTimestamp()); buffer 224 media/formats/mpeg/mpeg_audio_stream_parser_base.cc buffer->set_duration(timestamp_helper_->GetFrameDuration(sample_count)); buffer 225 media/formats/mpeg/mpeg_audio_stream_parser_base.cc buffers->push_back(buffer); buffer 21 media/formats/webm/chromeos/ebml_writer.cc const void* buffer, buffer 23 media/formats/webm/chromeos/ebml_writer.cc glob->write_cb.Run(buffer, len); buffer 27 media/formats/webm/chromeos/ebml_writer.cc const void* buffer, buffer 30 media/formats/webm/chromeos/ebml_writer.cc glob->serialize_cb.Run(buffer, buffer_size, len); buffer 16 media/formats/webm/chromeos/ebml_writer.h base::Callback<void(const void* buffer, unsigned long len)> write_cb; buffer 17 media/formats/webm/chromeos/ebml_writer.h base::Callback<void(const void* buffer, int buffer_size, unsigned long len)> buffer 286 media/formats/webm/chromeos/webm_encoder.cc void WebmEncoder::EbmlWrite(const void* buffer, buffer 288 media/formats/webm/chromeos/webm_encoder.cc if (fwrite(buffer, 1, len, output_) != len) { buffer 295 media/formats/webm/chromeos/webm_encoder.cc void WebmEncoder::EbmlSerializeHelper(const T* buffer, unsigned long len) { buffer 297 media/formats/webm/chromeos/webm_encoder.cc uint8 c = *buffer >> (i * CHAR_BIT); buffer 302 media/formats/webm/chromeos/webm_encoder.cc void WebmEncoder::EbmlSerialize(const void* buffer, buffer 307 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int8_t*>(buffer), len); buffer 309 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int16_t*>(buffer), len); buffer 311 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int32_t*>(buffer), len); buffer 313 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int64_t*>(buffer), len); buffer 66 media/formats/webm/chromeos/webm_encoder.h void EbmlWrite(const void* buffer, unsigned long len); buffer 67 media/formats/webm/chromeos/webm_encoder.h void EbmlSerialize(const void* buffer, int buffer_size, unsigned long len); buffer 70 media/formats/webm/chromeos/webm_encoder.h void EbmlSerializeHelper(const T* buffer, unsigned long len); buffer 186 media/formats/webm/tracks_builder.cc std::vector<uint8> buffer; buffer 187 media/formats/webm/tracks_builder.cc buffer.resize(GetTracksSize()); buffer 190 media/formats/webm/tracks_builder.cc WriteTracks(&buffer[0], buffer.size()); buffer 192 media/formats/webm/tracks_builder.cc return buffer; buffer 51 media/formats/webm/tracks_builder.h void WriteTracks(uint8* buffer, int buffer_size) const; buffer 350 media/formats/webm/webm_cluster_parser.cc scoped_refptr<StreamParserBuffer> buffer; buffer 376 media/formats/webm/webm_cluster_parser.cc buffer = StreamParserBuffer::CopyFrom( buffer 382 media/formats/webm/webm_cluster_parser.cc buffer->set_decrypt_config(decrypt_config.Pass()); buffer 395 media/formats/webm/webm_cluster_parser.cc buffer = StreamParserBuffer::CopyFrom( buffer 403 media/formats/webm/webm_cluster_parser.cc buffer->set_timestamp(timestamp); buffer 408 media/formats/webm/webm_cluster_parser.cc buffer->set_duration(base::TimeDelta::FromMicroseconds( buffer 413 media/formats/webm/webm_cluster_parser.cc buffer->set_discard_padding(base::TimeDelta::FromMicroseconds( buffer 417 media/formats/webm/webm_cluster_parser.cc return track->AddBuffer(buffer); buffer 433 media/formats/webm/webm_cluster_parser.cc const scoped_refptr<StreamParserBuffer>& buffer) { buffer 435 media/formats/webm/webm_cluster_parser.cc << " ts " << buffer->timestamp().InSecondsF() buffer 436 media/formats/webm/webm_cluster_parser.cc << " dur " << buffer->duration().InSecondsF() buffer 437 media/formats/webm/webm_cluster_parser.cc << " kf " << buffer->IsKeyframe() buffer 438 media/formats/webm/webm_cluster_parser.cc << " size " << buffer->data_size(); buffer 442 media/formats/webm/webm_cluster_parser.cc buffer->timestamp() - last_added_buffer_missing_duration_->timestamp(); buffer 459 media/formats/webm/webm_cluster_parser.cc if (buffer->duration() == kNoTimestamp()) { buffer 460 media/formats/webm/webm_cluster_parser.cc last_added_buffer_missing_duration_ = buffer; buffer 465 media/formats/webm/webm_cluster_parser.cc return QueueBuffer(buffer); buffer 524 media/formats/webm/webm_cluster_parser.cc const scoped_refptr<StreamParserBuffer>& buffer) { buffer 526 media/formats/webm/webm_cluster_parser.cc base::TimeDelta duration = buffer->duration(); buffer 535 media/formats/webm/webm_cluster_parser.cc buffers_.push_back(buffer); buffer 44 media/formats/webm/webm_cluster_parser.h bool AddBuffer(const scoped_refptr<StreamParserBuffer>& buffer); buffer 73 media/formats/webm/webm_cluster_parser.h bool QueueBuffer(const scoped_refptr<StreamParserBuffer>& buffer); buffer 121 media/formats/webm/webm_cluster_parser_unittest.cc scoped_refptr<StreamParserBuffer> buffer = (*buffers)[(*offset)++]; buffer 123 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(block_info[i].timestamp, buffer->timestamp().InMilliseconds()); buffer 124 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(block_info[i].duration, buffer->duration().InMilliseconds()); buffer 125 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(expected_type, buffer->type()); buffer 126 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(block_info[i].track_num, buffer->track_id()); buffer 172 media/formats/webm/webm_cluster_parser_unittest.cc const scoped_refptr<StreamParserBuffer> buffer = *buffer_iter++; buffer 173 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(block_info.timestamp, buffer->timestamp().InMilliseconds()); buffer 174 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(block_info.duration, buffer->duration().InMilliseconds()); buffer 175 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(DemuxerStream::TEXT, buffer->type()); buffer 176 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_EQ(text_track_num, buffer->track_id()); buffer 184 media/formats/webm/webm_cluster_parser_unittest.cc scoped_refptr<StreamParserBuffer> buffer) { buffer 185 media/formats/webm/webm_cluster_parser_unittest.cc EXPECT_TRUE(buffer->decrypt_config()); buffer 187 media/formats/webm/webm_cluster_parser_unittest.cc buffer->decrypt_config()->iv().length()); buffer 516 media/formats/webm/webm_cluster_parser_unittest.cc scoped_refptr<StreamParserBuffer> buffer = parser_->GetVideoBuffers()[0]; buffer 517 media/formats/webm/webm_cluster_parser_unittest.cc VerifyEncryptedBuffer(buffer); buffer 26 media/formats/webm/webm_tracks_parser_unittest.cc static void VerifyTextTrackInfo(const uint8* buffer, buffer 33 media/formats/webm/webm_tracks_parser_unittest.cc int result = parser->Parse(buffer, buffer_size); buffer 284 media/midi/midi_manager_alsa.cc uint8 buffer[kReceiveBufferSize]; buffer 299 media/midi/midi_manager_alsa.cc size_t read_size = in_devices_[i]->Receive(buffer, kReceiveBufferSize); buffer 300 media/midi/midi_manager_alsa.cc ReceiveMidiData(i, buffer, read_size, timestamp); buffer 176 media/video/capture/android/video_capture_device_android.cc jbyte* buffer = env->GetByteArrayElements(data, NULL); buffer 177 media/video/capture/android/video_capture_device_android.cc if (!buffer) { buffer 194 media/video/capture/android/video_capture_device_android.cc client_->OnIncomingCapturedData(reinterpret_cast<uint8*>(buffer), buffer 201 media/video/capture/android/video_capture_device_android.cc env->ReleaseByteArrayElements(data, buffer, JNI_ABORT); buffer 501 media/video/capture/linux/video_capture_device_linux.cc v4l2_buffer buffer; buffer 502 media/video/capture/linux/video_capture_device_linux.cc memset(&buffer, 0, sizeof(buffer)); buffer 503 media/video/capture/linux/video_capture_device_linux.cc buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; buffer 504 media/video/capture/linux/video_capture_device_linux.cc buffer.memory = V4L2_MEMORY_MMAP; buffer 506 media/video/capture/linux/video_capture_device_linux.cc if (HANDLE_EINTR(ioctl(device_fd_.get(), VIDIOC_DQBUF, &buffer)) == 0) { buffer 508 media/video/capture/linux/video_capture_device_linux.cc static_cast<uint8*>(buffer_pool_[buffer.index].start), buffer 509 media/video/capture/linux/video_capture_device_linux.cc buffer.bytesused, buffer 515 media/video/capture/linux/video_capture_device_linux.cc if (HANDLE_EINTR(ioctl(device_fd_.get(), VIDIOC_QBUF, &buffer)) == -1) { buffer 553 media/video/capture/linux/video_capture_device_linux.cc v4l2_buffer buffer; buffer 554 media/video/capture/linux/video_capture_device_linux.cc memset(&buffer, 0, sizeof(buffer)); buffer 555 media/video/capture/linux/video_capture_device_linux.cc buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; buffer 556 media/video/capture/linux/video_capture_device_linux.cc buffer.memory = V4L2_MEMORY_MMAP; buffer 557 media/video/capture/linux/video_capture_device_linux.cc buffer.index = i; buffer 559 media/video/capture/linux/video_capture_device_linux.cc if (HANDLE_EINTR(ioctl(device_fd_.get(), VIDIOC_QUERYBUF, &buffer)) < 0) { buffer 565 media/video/capture/linux/video_capture_device_linux.cc buffer_pool_[i].start = mmap(NULL, buffer.length, PROT_READ | PROT_WRITE, buffer 566 media/video/capture/linux/video_capture_device_linux.cc MAP_SHARED, device_fd_.get(), buffer.m.offset); buffer 570 media/video/capture/linux/video_capture_device_linux.cc buffer_pool_[i].length = buffer.length; buffer 572 media/video/capture/linux/video_capture_device_linux.cc if (HANDLE_EINTR(ioctl(device_fd_.get(), VIDIOC_QBUF, &buffer)) < 0) { buffer 54 media/video/capture/mac/coremedia_glue.h CMSampleBufferRef buffer); buffer 172 media/video/capture/video_capture_device.h const scoped_refptr<Buffer>& buffer, buffer 85 media/video/capture/video_capture_device_unittest.cc const scoped_refptr<Buffer>& buffer, buffer 17 media/video/capture/win/sink_filter_observer_win.h virtual void FrameReceived(const uint8* buffer, int length) = 0; buffer 131 media/video/capture/win/sink_input_pin_win.cc uint8* buffer = NULL; buffer 132 media/video/capture/win/sink_input_pin_win.cc if (FAILED(sample->GetPointer(&buffer))) buffer 135 media/video/capture/win/sink_input_pin_win.cc observer_->FrameReceived(buffer, length); buffer 218 media/video/capture/win/video_capture_device_mf_win.cc ScopedComPtr<IMFMediaBuffer> buffer; buffer 219 media/video/capture/win/video_capture_device_mf_win.cc sample->GetBufferByIndex(i, buffer.Receive()); buffer 220 media/video/capture/win/video_capture_device_mf_win.cc if (buffer) { buffer 223 media/video/capture/win/video_capture_device_mf_win.cc buffer->Lock(&data, &max_length, &length); buffer 225 media/video/capture/win/video_capture_device_mf_win.cc buffer->Unlock(); buffer 661 media/video/capture/win/video_capture_device_win.cc void VideoCaptureDeviceWin::FrameReceived(const uint8* buffer, buffer 664 media/video/capture/win/video_capture_device_win.cc buffer, length, capture_format_, 0, base::TimeTicks::Now()); buffer 61 media/video/capture/win/video_capture_device_win.h virtual void FrameReceived(const uint8* buffer, int length); buffer 130 media/video/video_encode_accelerator.h virtual void UseOutputBitstreamBuffer(const BitstreamBuffer& buffer) = 0; buffer 43 mojo/apps/js/bindings/gl/context.cc void Context::BufferData(GLenum target, const gin::ArrayBufferView& buffer, buffer 45 mojo/apps/js/bindings/gl/context.cc glBufferData(target, static_cast<GLsizeiptr>(buffer.num_bytes()), buffer 46 mojo/apps/js/bindings/gl/context.cc buffer.bytes(), usage); buffer 102 mojo/apps/js/bindings/gl/context.cc const gin::ArrayBufferView& buffer) { buffer 104 mojo/apps/js/bindings/gl/context.cc static_cast<float*>(buffer.bytes())); buffer 39 mojo/apps/js/bindings/gl/context.h static void BufferData(GLenum target, const gin::ArrayBufferView& buffer, buffer 51 mojo/apps/js/bindings/gl/context.h const gin::ArrayBufferView& buffer); buffer 60 mojo/bindings/js/core.cc const gin::ArrayBufferView& buffer, buffer 67 mojo/bindings/js/core.cc buffer.bytes(), buffer 68 mojo/bindings/js/core.cc static_cast<uint32_t>(buffer.num_bytes()), buffer 98 mojo/bindings/js/core.cc gin::ArrayBuffer buffer; buffer 99 mojo/bindings/js/core.cc ConvertFromV8(args.isolate(), array_buffer, &buffer); buffer 100 mojo/bindings/js/core.cc CHECK(buffer.num_bytes() == num_bytes); buffer 103 mojo/bindings/js/core.cc buffer.bytes(), buffer 110 mojo/bindings/js/core.cc CHECK(buffer.num_bytes() == num_bytes); buffer 160 mojo/bindings/js/core.cc const gin::ArrayBufferView& buffer, buffer 162 mojo/bindings/js/core.cc uint32_t num_bytes = static_cast<uint32_t>(buffer.num_bytes()); buffer 164 mojo/bindings/js/core.cc MojoWriteData(handle.value(), buffer.bytes(), &num_bytes, flags); buffer 185 mojo/bindings/js/core.cc gin::ArrayBuffer buffer; buffer 186 mojo/bindings/js/core.cc ConvertFromV8(args.isolate(), array_buffer, &buffer); buffer 187 mojo/bindings/js/core.cc CHECK_EQ(num_bytes, buffer.num_bytes()); buffer 189 mojo/bindings/js/core.cc result = MojoReadData(handle.value(), buffer.bytes(), &num_bytes, flags); buffer 190 mojo/bindings/js/core.cc CHECK_EQ(num_bytes, buffer.num_bytes()); buffer 21 mojo/common/test/test_utils.h const void* buffer, buffer 28 mojo/common/test/test_utils.h void* buffer, buffer 37 mojo/common/test/test_utils.h void* buffer, buffer 17 mojo/common/test/test_utils_posix.cc const void* buffer, buffer 26 mojo/common/test/test_utils_posix.cc ssize_t result = HANDLE_EINTR(write(handle.fd, buffer, bytes_to_write)); buffer 38 mojo/common/test/test_utils_posix.cc void* buffer, buffer 47 mojo/common/test/test_utils_posix.cc ssize_t result = HANDLE_EINTR(read(handle.fd, buffer, buffer_size)); buffer 59 mojo/common/test/test_utils_posix.cc void* buffer, buffer 62 mojo/common/test/test_utils_posix.cc ssize_t result = HANDLE_EINTR(read(handle.fd, buffer, buffer_size)); buffer 15 mojo/common/test/test_utils_win.cc const void* buffer, buffer 21 mojo/common/test/test_utils_win.cc if (!WriteFile(handle.handle, buffer, static_cast<DWORD>(bytes_to_write), buffer 35 mojo/common/test/test_utils_win.cc void* buffer, buffer 41 mojo/common/test/test_utils_win.cc if (!ReadFile(handle.handle, buffer, static_cast<DWORD>(buffer_size), buffer 55 mojo/common/test/test_utils_win.cc void* buffer, buffer 61 mojo/common/test/test_utils_win.cc if (!ReadFile(handle.handle, buffer, static_cast<DWORD>(buffer_size), buffer 139 mojo/embedder/embedder_unittest.cc char buffer[1000] = {}; buffer 140 mojo/embedder/embedder_unittest.cc uint32_t num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 142 mojo/embedder/embedder_unittest.cc MojoReadMessage(client_mp, buffer, &num_bytes, NULL, NULL, buffer 145 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 207 mojo/embedder/embedder_unittest.cc char buffer[1000] = {}; buffer 208 mojo/embedder/embedder_unittest.cc uint32_t num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 212 mojo/embedder/embedder_unittest.cc MojoReadMessage(client_mp, buffer, &num_bytes, handles, buffer 215 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kWorld, buffer); buffer 225 mojo/embedder/embedder_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 226 mojo/embedder/embedder_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 230 mojo/embedder/embedder_unittest.cc MojoReadMessage(h1, buffer, &num_bytes, handles, &num_handles, buffer 233 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 241 mojo/embedder/embedder_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 242 mojo/embedder/embedder_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 244 mojo/embedder/embedder_unittest.cc MojoReadMessage(h1, buffer, &num_bytes, NULL, NULL, buffer 247 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kFoo, buffer); buffer 261 mojo/embedder/embedder_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 262 mojo/embedder/embedder_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 264 mojo/embedder/embedder_unittest.cc MojoReadMessage(h0, buffer, &num_bytes, NULL, NULL, buffer 267 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kBarBaz, buffer); buffer 325 mojo/embedder/embedder_unittest.cc char buffer[1000] = {}; buffer 326 mojo/embedder/embedder_unittest.cc uint32_t num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 328 mojo/embedder/embedder_unittest.cc MojoReadMessage(server_mp, buffer, &num_bytes, NULL, NULL, buffer 332 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kWorld, buffer); buffer 359 mojo/embedder/embedder_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 360 mojo/embedder/embedder_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 364 mojo/embedder/embedder_unittest.cc MojoReadMessage(mp0, buffer, &num_bytes, &mp2, &num_handles, buffer 368 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kQuux, buffer); buffer 375 mojo/embedder/embedder_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 376 mojo/embedder/embedder_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 378 mojo/embedder/embedder_unittest.cc MojoReadMessage(mp2, buffer, &num_bytes, NULL, NULL, buffer 382 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kBaz, buffer); buffer 421 mojo/embedder/embedder_unittest.cc char buffer[1000] = {}; buffer 422 mojo/embedder/embedder_unittest.cc uint32_t num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 424 mojo/embedder/embedder_unittest.cc MojoReadMessage(client_mp, buffer, &num_bytes, NULL, NULL, buffer 428 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 443 mojo/embedder/embedder_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 444 mojo/embedder/embedder_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 448 mojo/embedder/embedder_unittest.cc MojoReadMessage(client_mp, buffer, &num_bytes, &mp1, &num_handles, buffer 452 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kBar, buffer); buffer 487 mojo/embedder/embedder_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 488 mojo/embedder/embedder_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 490 mojo/embedder/embedder_unittest.cc MojoReadMessage(mp1, buffer, &num_bytes, NULL, NULL, buffer 494 mojo/embedder/embedder_unittest.cc EXPECT_STREQ(kFoo, buffer); buffer 61 mojo/embedder/platform_channel_pair_posix_unittest.cc char buffer[100] = {}; buffer 63 mojo/embedder/platform_channel_pair_posix_unittest.cc read(server_handle.get().fd, buffer, sizeof(buffer))); buffer 64 mojo/embedder/platform_channel_pair_posix_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 67 mojo/embedder/platform_channel_pair_posix_unittest.cc ssize_t result = read(server_handle.get().fd, buffer, sizeof(buffer)); buffer 16 mojo/environment/buffer_tls_impl.h MOJO_ENVIRONMENT_IMPL_EXPORT Buffer* SetCurrentBufferImpl(Buffer* buffer); buffer 48 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void BindBuffer(PP_Resource context_id, GLenum target, GLuint buffer) { buffer 51 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glBindBuffer(target, buffer); buffer 779 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLboolean IsBuffer(PP_Resource context_id, GLuint buffer) { buffer 782 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc return glIsBuffer(buffer); buffer 154 mojo/gles2/command_buffer_client_impl.cc scoped_refptr<gpu::Buffer> buffer(new gpu::Buffer(backing.Pass())); buffer 155 mojo/gles2/command_buffer_client_impl.cc return buffer; buffer 22 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLenum target, GLuint buffer), buffer 23 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, buffer)) buffer 298 mojo/public/c/gles2/gles2_call_visitor_autogen.h VISIT_GL_CALL(IsBuffer, GLboolean, (GLuint buffer), (buffer)) buffer 627 mojo/public/c/system/core.h void** buffer, // Out. buffer 744 mojo/public/c/system/core.h const void** buffer, // Out. buffer 809 mojo/public/c/system/core.h void** buffer, // Out. buffer 814 mojo/public/c/system/core.h MOJO_SYSTEM_EXPORT MojoResult MojoUnmapBuffer(void* buffer); // In. buffer 37 mojo/public/c/system/tests/core_perftest.cc char buffer[10000]; buffer 38 mojo/public/c/system/tests/core_perftest.cc assert(num_bytes_ <= sizeof(buffer)); buffer 42 mojo/public/c/system/tests/core_perftest.cc MojoResult result = MojoWriteMessage(handle_, buffer, num_bytes_, NULL, 0, buffer 77 mojo/public/c/system/tests/core_perftest.cc char buffer[10000]; buffer 80 mojo/public/c/system/tests/core_perftest.cc uint32_t num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 81 mojo/public/c/system/tests/core_perftest.cc MojoResult result = MojoReadMessage(handle_, buffer, &num_bytes, NULL, buffer 278 mojo/public/c/system/tests/core_perftest.cc char buffer[10000] = { 0 }; buffer 279 mojo/public/c/system/tests/core_perftest.cc buffer_ = buffer; buffer 27 mojo/public/c/system/tests/core_unittest.cc char buffer[10] = { 0 }; buffer 45 mojo/public/c/system/tests/core_unittest.cc MojoWriteMessage(h0, buffer, 3, NULL, 0, buffer 47 mojo/public/c/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 49 mojo/public/c/system/tests/core_unittest.cc MojoReadMessage(h0, buffer, &buffer_size, NULL, NULL, buffer 53 mojo/public/c/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 55 mojo/public/c/system/tests/core_unittest.cc MojoWriteData(h0, buffer, &buffer_size, MOJO_WRITE_DATA_FLAG_NONE)); buffer 61 mojo/public/c/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 63 mojo/public/c/system/tests/core_unittest.cc MojoReadData(h0, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE)); buffer 81 mojo/public/c/system/tests/core_unittest.cc char buffer[10] = { 0 }; buffer 98 mojo/public/c/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 100 mojo/public/c/system/tests/core_unittest.cc MojoReadMessage(h0, buffer, &buffer_size, NULL, NULL, buffer 116 mojo/public/c/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 118 mojo/public/c/system/tests/core_unittest.cc MojoReadMessage(h0, buffer, &buffer_size, NULL, NULL, buffer 121 mojo/public/c/system/tests/core_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 141 mojo/public/c/system/tests/core_unittest.cc char buffer[20] = { 0 }; buffer 160 mojo/public/c/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 162 mojo/public/c/system/tests/core_unittest.cc MojoReadData(hc, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE)); buffer 195 mojo/public/c/system/tests/core_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 198 mojo/public/c/system/tests/core_unittest.cc MojoReadData(hc, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE)); buffer 211 mojo/public/c/system/tests/core_unittest.cc ASSERT_LE(buffer_size, sizeof(buffer) - 1); buffer 212 mojo/public/c/system/tests/core_unittest.cc memcpy(&buffer[1], read_pointer, buffer_size); buffer 214 mojo/public/c/system/tests/core_unittest.cc EXPECT_STREQ("hello world", buffer); buffer 47 mojo/public/c/system/tests/core_unittest_pure_c.c char buffer[200] = { 0 }; buffer 75 mojo/public/c/system/tests/core_unittest_pure_c.c num_bytes = (uint32_t) sizeof(buffer); buffer 77 mojo/public/c/system/tests/core_unittest_pure_c.c MojoReadMessage(handle1, buffer, &num_bytes, NULL, NULL, buffer 80 mojo/public/c/system/tests/core_unittest_pure_c.c EXPECT_EQ(0, memcmp(buffer, kHello, sizeof(kHello))); buffer 33 mojo/public/cpp/bindings/allocation_scope.h Buffer* buffer() { return &buffer_; } buffer 23 mojo/public/cpp/bindings/lib/message_builder.h Buffer* buffer() { return &buf_; } buffer 62 mojo/public/cpp/bindings/tests/connector_unittest.cc memcpy(builder.buffer()->Allocate(payload_size), text, payload_size); buffer 23 mojo/public/cpp/bindings/tests/router_unittest.cc memcpy(builder.buffer()->Allocate(payload_size), text, payload_size); buffer 31 mojo/public/cpp/bindings/tests/router_unittest.cc memcpy(builder.buffer()->Allocate(payload_size), text, payload_size); buffer 15 mojo/public/cpp/environment/buffer_tls.h Buffer* SetCurrentBuffer(Buffer* buffer); buffer 383 mojo/public/cpp/system/core.h void** buffer, buffer 386 mojo/public/cpp/system/core.h return MojoBeginWriteData(data_pipe_producer.value(), buffer, buffer 403 mojo/public/cpp/system/core.h const void** buffer, buffer 406 mojo/public/cpp/system/core.h return MojoBeginReadData(data_pipe_consumer.value(), buffer, buffer_num_bytes, buffer 482 mojo/public/cpp/system/core.h BufferHandleType buffer, buffer 488 mojo/public/cpp/system/core.h buffer.value(), options, handle.mutable_value()); buffer 496 mojo/public/cpp/system/core.h inline MojoResult MapBuffer(BufferHandleType buffer, buffer 501 mojo/public/cpp/system/core.h assert(buffer.is_valid()); buffer 502 mojo/public/cpp/system/core.h return MojoMapBuffer(buffer.value(), offset, num_bytes, pointer, flags); buffer 130 mojo/public/cpp/system/tests/core_unittest.cc char buffer[10] = { 0 }; buffer 133 mojo/public/cpp/system/tests/core_unittest.cc buffer, sizeof(buffer), buffer 141 mojo/public/cpp/system/tests/core_unittest.cc uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 144 mojo/public/cpp/system/tests/core_unittest.cc buffer, &buffer_size, buffer 208 mojo/public/cpp/system/tests/core_unittest.cc char buffer[10] = { 0 }; buffer 209 mojo/public/cpp/system/tests/core_unittest.cc uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 212 mojo/public/cpp/system/tests/core_unittest.cc buffer, &buffer_size, buffer 216 mojo/public/cpp/system/tests/core_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 250 mojo/public/cpp/system/tests/core_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 251 mojo/public/cpp/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 257 mojo/public/cpp/system/tests/core_unittest.cc buffer, &buffer_size, buffer 261 mojo/public/cpp/system/tests/core_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 272 mojo/public/cpp/system/tests/core_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 273 mojo/public/cpp/system/tests/core_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 279 mojo/public/cpp/system/tests/core_unittest.cc buffer, &buffer_size, buffer 283 mojo/public/cpp/system/tests/core_unittest.cc EXPECT_STREQ(kWorld, buffer); buffer 85 mojo/public/system/core_private.cc void** buffer, buffer 89 mojo/public/system/core_private.cc return g_core->BeginWriteData(data_pipe_producer_handle, buffer, buffer 109 mojo/public/system/core_private.cc const void** buffer, buffer 113 mojo/public/system/core_private.cc return g_core->BeginReadData(data_pipe_consumer_handle, buffer, buffer 143 mojo/public/system/core_private.cc void** buffer, buffer 146 mojo/public/system/core_private.cc return g_core->MapBuffer(buffer_handle, offset, num_bytes, buffer, flags); buffer 149 mojo/public/system/core_private.cc MojoResult MojoUnmapBuffer(void* buffer) { buffer 151 mojo/public/system/core_private.cc return g_core->UnmapBuffer(buffer); buffer 54 mojo/public/system/core_private.h void** buffer, buffer 64 mojo/public/system/core_private.h const void** buffer, buffer 80 mojo/public/system/core_private.h void** buffer, buffer 82 mojo/public/system/core_private.h virtual MojoResult UnmapBuffer(void* buffer) = 0; buffer 140 mojo/services/gles2/command_buffer_impl.cc void CommandBufferImpl::SetGetBuffer(int32_t buffer) { buffer 141 mojo/services/gles2/command_buffer_impl.cc command_buffer_->SetGetBuffer(buffer); buffer 37 mojo/services/gles2/command_buffer_impl.h virtual void SetGetBuffer(int32_t buffer) OVERRIDE; buffer 14 mojo/services/gles2/command_buffer_type_conversions.cc Buffer* buffer) { buffer 15 mojo/services/gles2/command_buffer_type_conversions.cc CommandBufferState::Builder result(buffer); buffer 20 mojo/services/gles2/command_buffer_type_conversions.h Buffer* buffer); buffer 364 mojo/system/core_impl.cc void** buffer, buffer 372 mojo/system/core_impl.cc return dispatcher->BeginWriteData(buffer, buffer_num_bytes, flags); buffer 398 mojo/system/core_impl.cc const void** buffer, buffer 406 mojo/system/core_impl.cc return dispatcher->BeginReadData(buffer, buffer_num_bytes, flags); buffer 491 mojo/system/core_impl.cc void** buffer, buffer 497 mojo/system/core_impl.cc if (!VerifyUserPointer<void*>(buffer, 1)) buffer 514 mojo/system/core_impl.cc *buffer = address; buffer 518 mojo/system/core_impl.cc MojoResult CoreImpl::UnmapBuffer(void* buffer) { buffer 520 mojo/system/core_impl.cc return mapping_table_.RemoveMapping(buffer); buffer 65 mojo/system/core_impl.h void** buffer, buffer 75 mojo/system/core_impl.h const void** buffer, buffer 91 mojo/system/core_impl.h void** buffer, buffer 93 mojo/system/core_impl.h virtual MojoResult UnmapBuffer(void* buffer) OVERRIDE; buffer 340 mojo/system/core_impl_unittest.cc char buffer[1] = { 'a' }; buffer 343 mojo/system/core_impl_unittest.cc core()->ReadMessage(h[0], buffer, &buffer_size, NULL, NULL, buffer 346 mojo/system/core_impl_unittest.cc EXPECT_EQ('a', buffer[0]); buffer 361 mojo/system/core_impl_unittest.cc buffer[0] = 'b'; buffer 363 mojo/system/core_impl_unittest.cc core()->WriteMessage(h[1], buffer, 1, NULL, 0, buffer 379 mojo/system/core_impl_unittest.cc buffer[0] = 'c'; buffer 382 mojo/system/core_impl_unittest.cc core()->ReadMessage(h[0], buffer, &buffer_size, NULL, NULL, buffer 384 mojo/system/core_impl_unittest.cc EXPECT_EQ('b', buffer[0]); buffer 392 mojo/system/core_impl_unittest.cc buffer[0] = 'd'; buffer 394 mojo/system/core_impl_unittest.cc core()->WriteMessage(h[0], buffer, 1, NULL, 0, buffer 418 mojo/system/core_impl_unittest.cc buffer[0] = 'e'; buffer 420 mojo/system/core_impl_unittest.cc core()->WriteMessage(h[1], buffer, 1, NULL, 0, buffer 432 mojo/system/core_impl_unittest.cc char buffer[100]; buffer 433 mojo/system/core_impl_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 455 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 459 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 491 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 495 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 510 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 514 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kWorld, buffer); buffer 541 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 545 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 681 mojo/system/core_impl_unittest.cc char buffer[100]; buffer 682 mojo/system/core_impl_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 707 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 711 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 735 mojo/system/core_impl_unittest.cc core()->ReadData(ch_received, buffer, &num_bytes, buffer 738 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kWorld, buffer); buffer 752 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 756 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kWorld, buffer); buffer 780 mojo/system/core_impl_unittest.cc core()->ReadData(ch_received, buffer, &num_bytes, buffer 783 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 816 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 820 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kHello, buffer); buffer 858 mojo/system/core_impl_unittest.cc buffer, &num_bytes, buffer 862 mojo/system/core_impl_unittest.cc EXPECT_STREQ(kWorld, buffer); buffer 110 mojo/system/data_pipe.cc MojoResult DataPipe::ProducerBeginWriteData(void** buffer, buffer 124 mojo/system/data_pipe.cc MojoResult rv = ProducerBeginWriteDataImplNoLock(buffer, buffer_num_bytes, buffer 265 mojo/system/data_pipe.cc MojoResult DataPipe::ConsumerBeginReadData(const void** buffer, buffer 277 mojo/system/data_pipe.cc MojoResult rv = ConsumerBeginReadDataImplNoLock(buffer, buffer_num_bytes, buffer 47 mojo/system/data_pipe.h MojoResult ProducerBeginWriteData(void** buffer, buffer 70 mojo/system/data_pipe.h MojoResult ConsumerBeginReadData(const void** buffer, buffer 94 mojo/system/data_pipe.h void** buffer, buffer 112 mojo/system/data_pipe.h virtual MojoResult ConsumerBeginReadDataImplNoLock(const void** buffer, buffer 86 mojo/system/data_pipe_consumer_dispatcher.cc const void** buffer, buffer 91 mojo/system/data_pipe_consumer_dispatcher.cc if (!VerifyUserPointer<const void*>(buffer, 1)) buffer 101 mojo/system/data_pipe_consumer_dispatcher.cc buffer, buffer_num_bytes, (flags & MOJO_READ_DATA_FLAG_ALL_OR_NONE)); buffer 43 mojo/system/data_pipe_consumer_dispatcher.h virtual MojoResult BeginReadDataImplNoLock(const void** buffer, buffer 69 mojo/system/data_pipe_producer_dispatcher.cc void** buffer, buffer 74 mojo/system/data_pipe_producer_dispatcher.cc if (!VerifyUserPointer<void*>(buffer, 1)) buffer 80 mojo/system/data_pipe_producer_dispatcher.cc buffer, buffer_num_bytes, (flags & MOJO_WRITE_DATA_FLAG_ALL_OR_NONE)); buffer 44 mojo/system/data_pipe_producer_dispatcher.h void** buffer, buffer 134 mojo/system/dispatcher.cc MojoResult Dispatcher::BeginWriteData(void** buffer, buffer 141 mojo/system/dispatcher.cc return BeginWriteDataImplNoLock(buffer, buffer_num_bytes, flags); buffer 162 mojo/system/dispatcher.cc MojoResult Dispatcher::BeginReadData(const void** buffer, buffer 169 mojo/system/dispatcher.cc return BeginReadDataImplNoLock(buffer, buffer_num_bytes, flags); buffer 88 mojo/system/dispatcher.h MojoResult BeginWriteData(void** buffer, buffer 95 mojo/system/dispatcher.h MojoResult BeginReadData(const void** buffer, buffer 212 mojo/system/dispatcher.h virtual MojoResult BeginWriteDataImplNoLock(void** buffer, buffer 219 mojo/system/dispatcher.h virtual MojoResult BeginReadDataImplNoLock(const void** buffer, buffer 104 mojo/system/local_data_pipe.cc void** buffer, buffer 137 mojo/system/local_data_pipe.cc *buffer = buffer_.get() + write_index; buffer 248 mojo/system/local_data_pipe.cc const void** buffer, buffer 265 mojo/system/local_data_pipe.cc *buffer = buffer_.get() + start_index_; buffer 38 mojo/system/local_data_pipe.h void** buffer, buffer 52 mojo/system/local_data_pipe.h virtual MojoResult ConsumerBeginReadDataImplNoLock(const void** buffer, buffer 248 mojo/system/local_data_pipe_unittest.cc void* buffer = NULL; buffer 251 mojo/system/local_data_pipe_unittest.cc dp->ProducerBeginWriteData(&buffer, &num_bytes, false)); buffer 252 mojo/system/local_data_pipe_unittest.cc EXPECT_TRUE(buffer != NULL); buffer 255 mojo/system/local_data_pipe_unittest.cc static_cast<int32_t*>(buffer)[0] = 789; buffer 411 mojo/system/local_data_pipe_unittest.cc void* buffer = NULL; buffer 415 mojo/system/local_data_pipe_unittest.cc dp->ProducerBeginWriteData(&buffer, &num_bytes, true)); buffer 416 mojo/system/local_data_pipe_unittest.cc EXPECT_TRUE(buffer != NULL); buffer 418 mojo/system/local_data_pipe_unittest.cc elements = static_cast<int32_t*>(buffer); buffer 686 mojo/system/local_data_pipe_unittest.cc int32_t buffer[100] = { 0 }; buffer 690 mojo/system/local_data_pipe_unittest.cc Seq(0, arraysize(buffer), buffer); buffer 693 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, false)); buffer 698 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 699 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, false)); buffer 704 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 710 mojo/system/local_data_pipe_unittest.cc Seq(100, arraysize(buffer), buffer); buffer 711 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, false)); buffer 718 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 719 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, false)); buffer 727 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 733 mojo/system/local_data_pipe_unittest.cc Seq(200, arraysize(buffer), buffer); buffer 734 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, false)); buffer 741 mojo/system/local_data_pipe_unittest.cc Seq(300, arraysize(buffer), buffer); buffer 742 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, false)); buffer 748 mojo/system/local_data_pipe_unittest.cc num_bytes = sizeof(buffer); buffer 749 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 750 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, false)); buffer 763 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 826 mojo/system/local_data_pipe_unittest.cc num_bytes = sizeof(buffer); buffer 827 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 828 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, false)); buffer 839 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 860 mojo/system/local_data_pipe_unittest.cc int32_t buffer[100]; buffer 861 mojo/system/local_data_pipe_unittest.cc Seq(0, arraysize(buffer), buffer); buffer 863 mojo/system/local_data_pipe_unittest.cc dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 872 mojo/system/local_data_pipe_unittest.cc Seq(100, arraysize(buffer), buffer); buffer 873 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 883 mojo/system/local_data_pipe_unittest.cc Seq(200, arraysize(buffer), buffer); buffer 885 mojo/system/local_data_pipe_unittest.cc dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 889 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 891 mojo/system/local_data_pipe_unittest.cc dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 894 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 903 mojo/system/local_data_pipe_unittest.cc Seq(300, arraysize(buffer), buffer); buffer 904 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 909 mojo/system/local_data_pipe_unittest.cc Seq(400, arraysize(buffer), buffer); buffer 910 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 920 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 921 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 925 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 929 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 931 mojo/system/local_data_pipe_unittest.cc dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 933 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 955 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 957 mojo/system/local_data_pipe_unittest.cc dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 959 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 968 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 969 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 973 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 1003 mojo/system/local_data_pipe_unittest.cc int32_t buffer[100]; buffer 1004 mojo/system/local_data_pipe_unittest.cc Seq(0, arraysize(buffer), buffer); buffer 1006 mojo/system/local_data_pipe_unittest.cc dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 1010 mojo/system/local_data_pipe_unittest.cc Seq(100, arraysize(buffer), buffer); buffer 1011 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 1016 mojo/system/local_data_pipe_unittest.cc Seq(200, arraysize(buffer), buffer); buffer 1017 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 1022 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 1023 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 1028 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 1032 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 1034 mojo/system/local_data_pipe_unittest.cc dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 1036 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 1054 mojo/system/local_data_pipe_unittest.cc Seq(300, arraysize(buffer), buffer); buffer 1055 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 1060 mojo/system/local_data_pipe_unittest.cc memset(buffer, 0xab, sizeof(buffer)); buffer 1061 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerReadData(buffer, &num_bytes, true)); buffer 1065 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); buffer 1148 mojo/system/local_data_pipe_unittest.cc int32_t buffer[100]; buffer 1149 mojo/system/local_data_pipe_unittest.cc Seq(100, 6, buffer); buffer 1150 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(MOJO_RESULT_OK, dp->ProducerWriteData(buffer, &num_bytes, true)); buffer 1422 mojo/system/local_data_pipe_unittest.cc char buffer[1000]; buffer 1423 mojo/system/local_data_pipe_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 1425 mojo/system/local_data_pipe_unittest.cc dp->ConsumerReadData(buffer, &num_bytes, false)); buffer 1427 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(buffer, kTestData, kTestDataSize)); buffer 1430 mojo/system/local_data_pipe_unittest.cc num_bytes = static_cast<uint32_t>(sizeof(buffer)); buffer 1432 mojo/system/local_data_pipe_unittest.cc dp->ConsumerReadData(buffer, &num_bytes, false)); buffer 68 mojo/system/message_in_transit.cc MessageInTransit::View::View(size_t message_size, const void* buffer) buffer 69 mojo/system/message_in_transit.cc : buffer_(buffer) { buffer 178 mojo/system/message_in_transit.cc bool MessageInTransit::GetNextMessageSize(const void* buffer, buffer 184 mojo/system/message_in_transit.cc DCHECK(buffer); buffer 185 mojo/system/message_in_transit.cc DCHECK_EQ(reinterpret_cast<uintptr_t>(buffer) % buffer 191 mojo/system/message_in_transit.cc const Header* header = static_cast<const Header*>(buffer); buffer 84 mojo/system/message_in_transit.h View(size_t message_size, const void* buffer); buffer 151 mojo/system/message_in_transit.h static bool GetNextMessageSize(const void* buffer, buffer 36 mojo/system/message_pipe_dispatcher_unittest.cc int32_t buffer[1]; buffer 37 mojo/system/message_pipe_dispatcher_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 63 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 123456789; buffer 65 mojo/system/message_pipe_dispatcher_unittest.cc d1->WriteMessage(buffer, kBufferSize, buffer 81 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 0; buffer 84 mojo/system/message_pipe_dispatcher_unittest.cc d0->ReadMessage(buffer, &buffer_size, buffer 88 mojo/system/message_pipe_dispatcher_unittest.cc EXPECT_EQ(123456789, buffer[0]); buffer 117 mojo/system/message_pipe_dispatcher_unittest.cc char buffer[1]; buffer 135 mojo/system/message_pipe_dispatcher_unittest.cc d0->WriteMessage(buffer, std::numeric_limits<uint32_t>::max(), buffer 153 mojo/system/message_pipe_dispatcher_unittest.cc int32_t buffer[1]; buffer 154 mojo/system/message_pipe_dispatcher_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 169 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 123456789; buffer 171 mojo/system/message_pipe_dispatcher_unittest.cc d1->WriteMessage(buffer, kBufferSize, buffer 174 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 234567890; buffer 176 mojo/system/message_pipe_dispatcher_unittest.cc d1->WriteMessage(buffer, kBufferSize, buffer 186 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 0; buffer 189 mojo/system/message_pipe_dispatcher_unittest.cc d1->ReadMessage(buffer, &buffer_size, buffer 202 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 0; buffer 205 mojo/system/message_pipe_dispatcher_unittest.cc d0->ReadMessage(buffer, &buffer_size, buffer 209 mojo/system/message_pipe_dispatcher_unittest.cc EXPECT_EQ(123456789, buffer[0]); buffer 217 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 0; buffer 220 mojo/system/message_pipe_dispatcher_unittest.cc d0->ReadMessage(buffer, &buffer_size, buffer 224 mojo/system/message_pipe_dispatcher_unittest.cc EXPECT_EQ(234567890, buffer[0]); buffer 238 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 0; buffer 241 mojo/system/message_pipe_dispatcher_unittest.cc d0->ReadMessage(buffer, &buffer_size, buffer 246 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 345678901; buffer 248 mojo/system/message_pipe_dispatcher_unittest.cc d0->WriteMessage(buffer, kBufferSize, buffer 258 mojo/system/message_pipe_dispatcher_unittest.cc int32_t buffer[1]; buffer 259 mojo/system/message_pipe_dispatcher_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 287 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 123456789; buffer 289 mojo/system/message_pipe_dispatcher_unittest.cc d0->WriteMessage(buffer, kBufferSize, buffer 315 mojo/system/message_pipe_dispatcher_unittest.cc buffer[0] = 0; buffer 318 mojo/system/message_pipe_dispatcher_unittest.cc d1->ReadMessage(buffer, &buffer_size, buffer 322 mojo/system/message_pipe_dispatcher_unittest.cc EXPECT_EQ(123456789, buffer[0]); buffer 405 mojo/system/message_pipe_dispatcher_unittest.cc unsigned char buffer[kMaxMessageSize]; buffer 407 mojo/system/message_pipe_dispatcher_unittest.cc buffer[i] = static_cast<unsigned char>(i); buffer 417 mojo/system/message_pipe_dispatcher_unittest.cc write_dispatcher_->WriteMessage(buffer, bytes_to_write, buffer 456 mojo/system/message_pipe_dispatcher_unittest.cc unsigned char buffer[kMaxMessageSize]; buffer 475 mojo/system/message_pipe_dispatcher_unittest.cc memset(buffer, 0, sizeof(buffer)); buffer 476 mojo/system/message_pipe_dispatcher_unittest.cc uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 477 mojo/system/message_pipe_dispatcher_unittest.cc result = read_dispatcher_->ReadMessage(buffer, &buffer_size, buffer 486 mojo/system/message_pipe_dispatcher_unittest.cc if (buffer_size == 4 && memcmp("quit", buffer, 4) == 0) buffer 490 mojo/system/message_pipe_dispatcher_unittest.cc EXPECT_TRUE(IsValidMessage(buffer, buffer_size)); buffer 497 mojo/system/message_pipe_dispatcher_unittest.cc static bool IsValidMessage(const unsigned char* buffer, buffer 501 mojo/system/message_pipe_dispatcher_unittest.cc if (buffer[i] != static_cast<unsigned char>(i)) buffer 506 mojo/system/message_pipe_dispatcher_unittest.cc if (buffer[i] != 0) buffer 33 mojo/system/message_pipe_unittest.cc int32_t buffer[2]; buffer 34 mojo/system/message_pipe_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 38 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 39 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 43 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 47 mojo/system/message_pipe_unittest.cc EXPECT_EQ(123, buffer[0]); buffer 48 mojo/system/message_pipe_unittest.cc EXPECT_EQ(456, buffer[1]); buffer 51 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 52 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 56 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 61 mojo/system/message_pipe_unittest.cc buffer[0] = 789012345; buffer 62 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 65 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 70 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 71 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 75 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 78 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 79 mojo/system/message_pipe_unittest.cc EXPECT_EQ(789012345, buffer[0]); buffer 80 mojo/system/message_pipe_unittest.cc EXPECT_EQ(456, buffer[1]); buffer 86 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 91 mojo/system/message_pipe_unittest.cc buffer[0] = 123456789; buffer 92 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 95 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 98 mojo/system/message_pipe_unittest.cc buffer[0] = 234567890; buffer 99 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 102 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 114 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 118 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 119 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 123 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 126 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 127 mojo/system/message_pipe_unittest.cc EXPECT_EQ(123, buffer[0]); buffer 128 mojo/system/message_pipe_unittest.cc EXPECT_EQ(456, buffer[1]); buffer 131 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 132 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 136 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 139 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 140 mojo/system/message_pipe_unittest.cc EXPECT_EQ(123456789, buffer[0]); buffer 141 mojo/system/message_pipe_unittest.cc EXPECT_EQ(456, buffer[1]); buffer 144 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 145 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 149 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 152 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 153 mojo/system/message_pipe_unittest.cc EXPECT_EQ(234567890, buffer[0]); buffer 154 mojo/system/message_pipe_unittest.cc EXPECT_EQ(456, buffer[1]); buffer 160 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 165 mojo/system/message_pipe_unittest.cc buffer[0] = 345678901; buffer 166 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 169 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 177 mojo/system/message_pipe_unittest.cc buffer[0] = 456789012; buffer 178 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 181 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 186 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 187 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 191 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 194 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 195 mojo/system/message_pipe_unittest.cc EXPECT_EQ(345678901, buffer[0]); buffer 196 mojo/system/message_pipe_unittest.cc EXPECT_EQ(456, buffer[1]); buffer 202 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 212 mojo/system/message_pipe_unittest.cc int32_t buffer[1]; buffer 213 mojo/system/message_pipe_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 218 mojo/system/message_pipe_unittest.cc buffer[0] = i; buffer 221 mojo/system/message_pipe_unittest.cc buffer, kBufferSize, buffer 243 mojo/system/message_pipe_unittest.cc int32_t buffer[2]; buffer 244 mojo/system/message_pipe_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 248 mojo/system/message_pipe_unittest.cc buffer[0] = 789012345; buffer 249 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 252 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 263 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 269 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 274 mojo/system/message_pipe_unittest.cc buffer[0] = 890123456; buffer 275 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 278 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 283 mojo/system/message_pipe_unittest.cc buffer[0] = 123; buffer 284 mojo/system/message_pipe_unittest.cc buffer[1] = 456; buffer 288 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 291 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 292 mojo/system/message_pipe_unittest.cc EXPECT_EQ(890123456, buffer[0]); buffer 293 mojo/system/message_pipe_unittest.cc EXPECT_EQ(456, buffer[1]); buffer 299 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 304 mojo/system/message_pipe_unittest.cc buffer[0] = 901234567; buffer 305 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 308 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 316 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 319 mojo/system/message_pipe_unittest.cc EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size); buffer 325 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 330 mojo/system/message_pipe_unittest.cc buffer[0] = 123456789; buffer 331 mojo/system/message_pipe_unittest.cc buffer[1] = 0; buffer 334 mojo/system/message_pipe_unittest.cc buffer, static_cast<uint32_t>(sizeof(buffer[0])), buffer 350 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 362 mojo/system/message_pipe_unittest.cc int32_t buffer[1]; buffer 363 mojo/system/message_pipe_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 385 mojo/system/message_pipe_unittest.cc buffer[0] = 123456789; buffer 388 mojo/system/message_pipe_unittest.cc buffer, kBufferSize, buffer 421 mojo/system/message_pipe_unittest.cc buffer[0] = 0; buffer 425 mojo/system/message_pipe_unittest.cc buffer, &buffer_size, buffer 428 mojo/system/message_pipe_unittest.cc EXPECT_EQ(123456789, buffer[0]); buffer 439 mojo/system/message_pipe_unittest.cc int32_t buffer[1]; buffer 440 mojo/system/message_pipe_unittest.cc const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); buffer 454 mojo/system/message_pipe_unittest.cc buffer[0] = 123456789; buffer 458 mojo/system/message_pipe_unittest.cc buffer, kBufferSize, buffer 52 mojo/system/raw_channel.cc Buffer buffer = { buffer 55 mojo/system/raw_channel.cc buffers->push_back(buffer); buffer 64 mojo/system/raw_channel.cc Buffer buffer = { buffer 68 mojo/system/raw_channel.cc buffers->push_back(buffer); buffer 103 mojo/system/raw_channel_posix.cc char* buffer = NULL; buffer 105 mojo/system/raw_channel_posix.cc read_buffer()->GetBuffer(&buffer, &bytes_to_read); buffer 107 mojo/system/raw_channel_posix.cc ssize_t read_result = HANDLE_EINTR(read(fd_.get().fd, buffer, bytes_to_read)); buffer 131 mojo/system/raw_channel_unittest.cc unsigned char buffer[4096]; buffer 135 mojo/system/raw_channel_unittest.cc CHECK(mojo::test::NonBlockingRead(handle_, buffer, sizeof(buffer), buffer 139 mojo/system/raw_channel_unittest.cc bytes_.insert(bytes_.end(), buffer, buffer + read_size); buffer 171 mojo/system/raw_channel_unittest.cc if (static_cast<size_t>(read_size) < sizeof(buffer)) { buffer 342 mojo/system/raw_channel_win.cc char* buffer = NULL; buffer 344 mojo/system/raw_channel_win.cc read_buffer()->GetBuffer(&buffer, &bytes_to_read); buffer 348 mojo/system/raw_channel_win.cc buffer, buffer 25 mojo/system/raw_shared_buffer_unittest.cc scoped_refptr<RawSharedBuffer> buffer(RawSharedBuffer::Create(kNumBytes)); buffer 26 mojo/system/raw_shared_buffer_unittest.cc ASSERT_TRUE(buffer); buffer 30 mojo/system/raw_shared_buffer_unittest.cc EXPECT_TRUE(buffer->IsValidMap(0, kNumBytes)); buffer 31 mojo/system/raw_shared_buffer_unittest.cc scoped_ptr<RawSharedBufferMapping> mapping(buffer->Map(0, kNumBytes)); buffer 44 mojo/system/raw_shared_buffer_unittest.cc ASSERT_TRUE(buffer->IsValidMap(0, kNumBytes)); buffer 47 mojo/system/raw_shared_buffer_unittest.cc buffer->MapNoCheck(0, kNumBytes)); buffer 55 mojo/system/raw_shared_buffer_unittest.cc buffer->Map((kNumInts / 2) * sizeof(int), 2 * sizeof(int))); buffer 77 mojo/system/raw_shared_buffer_unittest.cc EXPECT_TRUE(buffer->IsValidMap(sizeof(int), kNumBytes - sizeof(int))); buffer 79 mojo/system/raw_shared_buffer_unittest.cc buffer->Map(sizeof(int), kNumBytes - sizeof(int))); buffer 100 mojo/system/raw_shared_buffer_unittest.cc scoped_refptr<RawSharedBuffer> buffer(RawSharedBuffer::Create(100)); buffer 101 mojo/system/raw_shared_buffer_unittest.cc ASSERT_TRUE(buffer); buffer 104 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->Map(0, 0)); buffer 105 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->IsValidMap(0, 0)); buffer 108 mojo/system/raw_shared_buffer_unittest.cc EXPECT_TRUE(buffer->Map(0, 100)); buffer 109 mojo/system/raw_shared_buffer_unittest.cc EXPECT_TRUE(buffer->IsValidMap(0, 100)); buffer 111 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->Map(0, 101)); buffer 112 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->IsValidMap(0, 101)); buffer 113 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->Map(1, 100)); buffer 114 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->IsValidMap(1, 100)); buffer 117 mojo/system/raw_shared_buffer_unittest.cc EXPECT_TRUE(buffer->Map(50, 50)); buffer 118 mojo/system/raw_shared_buffer_unittest.cc EXPECT_TRUE(buffer->IsValidMap(50, 50)); buffer 120 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->Map(50, 51)); buffer 121 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->IsValidMap(50, 51)); buffer 122 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->Map(51, 50)); buffer 123 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->IsValidMap(51, 50)); buffer 130 mojo/system/raw_shared_buffer_unittest.cc scoped_refptr<RawSharedBuffer> buffer(RawSharedBuffer::Create(kMaxSizeT)); buffer 133 mojo/system/raw_shared_buffer_unittest.cc if (buffer) buffer 134 mojo/system/raw_shared_buffer_unittest.cc EXPECT_FALSE(buffer->Map(0, kMaxSizeT)); buffer 142 mojo/system/raw_shared_buffer_unittest.cc scoped_refptr<RawSharedBuffer> buffer(RawSharedBuffer::Create(100)); buffer 143 mojo/system/raw_shared_buffer_unittest.cc scoped_ptr<RawSharedBufferMapping> mapping1(buffer->Map(0, 100)); buffer 144 mojo/system/raw_shared_buffer_unittest.cc scoped_ptr<RawSharedBufferMapping> mapping2(buffer->Map(0, 100)); buffer 151 mojo/system/raw_shared_buffer_unittest.cc scoped_refptr<RawSharedBuffer> buffer(RawSharedBuffer::Create(kSizes[i])); buffer 152 mojo/system/raw_shared_buffer_unittest.cc scoped_ptr<RawSharedBufferMapping> mapping(buffer->Map(0, kSizes[i])); buffer 167 mojo/system/raw_shared_buffer_unittest.cc scoped_refptr<RawSharedBuffer> buffer(RawSharedBuffer::Create(100)); buffer 168 mojo/system/raw_shared_buffer_unittest.cc mapping1 = buffer->Map(0, 100).Pass(); buffer 169 mojo/system/raw_shared_buffer_unittest.cc mapping2 = buffer->Map(50, 50).Pass(); buffer 166 mojo/system/remote_message_pipe_unittest.cc char buffer[100] = { 0 }; buffer 167 mojo/system/remote_message_pipe_unittest.cc uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 204 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 208 mojo/system/remote_message_pipe_unittest.cc EXPECT_STREQ(hello, buffer); buffer 225 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 228 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 232 mojo/system/remote_message_pipe_unittest.cc EXPECT_STREQ(world, buffer); buffer 257 mojo/system/remote_message_pipe_unittest.cc char buffer[100] = { 0 }; buffer 258 mojo/system/remote_message_pipe_unittest.cc uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 297 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 300 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 303 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 306 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 309 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 312 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 317 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 320 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 324 mojo/system/remote_message_pipe_unittest.cc EXPECT_STREQ(hello, buffer); buffer 342 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 345 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 348 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 351 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 354 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 357 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 361 mojo/system/remote_message_pipe_unittest.cc buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 364 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 368 mojo/system/remote_message_pipe_unittest.cc EXPECT_STREQ(world, buffer); buffer 373 mojo/system/remote_message_pipe_unittest.cc char buffer[100] = { 0 }; buffer 374 mojo/system/remote_message_pipe_unittest.cc uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); buffer 417 mojo/system/remote_message_pipe_unittest.cc buffer, &buffer_size, buffer 421 mojo/system/remote_message_pipe_unittest.cc EXPECT_STREQ(hello, buffer); buffer 44 mojo/tools/message_generator.cc char* data = static_cast<char*>(builder.buffer()->Allocate(4)); buffer 118 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc char buffer[1024]; buffer 120 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc glGetShaderInfoLog(shader, sizeof(buffer), &length, &buffer[0]); buffer 121 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc fprintf(stderr, "Shader failed to compile: %s\n", buffer); buffer 138 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc char buffer[1024]; buffer 140 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc glGetProgramInfoLog(program, sizeof(buffer), &length, &buffer[0]); buffer 141 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc fprintf(stderr, "Program failed to link: %s\n", buffer); buffer 162 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc void OnGetBuffer(int32_t result, pp::AudioBuffer buffer) { buffer 166 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc assert(buffer.GetSampleSize() == PP_AUDIOBUFFER_SAMPLESIZE_16_BITS); buffer 167 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc const char* data = static_cast<const char*>(buffer.GetDataBuffer()); buffer 168 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc uint32_t channels = buffer.GetNumberOfChannels(); buffer 169 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc uint32_t samples = buffer.GetNumberOfSamples() / channels; buffer 178 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc timer_interval_ = (sample_count_ * 1000) / buffer.GetSampleRate() + 5; buffer 189 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc audio_track_.RecycleBuffer(buffer); buffer 82 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc void URLLoaderHandler::AppendDataBytes(const char* buffer, int32_t num_bytes) { buffer 91 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc url_response_body_.end(), buffer, buffer + num_bytes); buffer 64 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h void AppendDataBytes(const char* buffer, int32_t num_bytes); buffer 56 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::VarArrayBuffer buffer(var_message); buffer 57 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc ComputeHistogram(buffer); buffer 127 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc void ComputeHistogram(pp::VarArrayBuffer& buffer) { buffer 129 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc uint32_t buffer_size = buffer.ByteLength(); buffer 132 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc uint8_t* buffer_data = static_cast<uint8_t*>(buffer.Map()); buffer 53 native_client_sdk/src/examples/demo/drive/drive.cc char buffer[32]; buffer 54 native_client_sdk/src/examples/demo/drive/drive.cc snprintf(&buffer[0], 32, "%d", x); buffer 55 native_client_sdk/src/examples/demo/drive/drive.cc return &buffer[0]; buffer 376 native_client_sdk/src/examples/demo/drive/drive.cc char buffer[kBufferSize]; buffer 379 native_client_sdk/src/examples/demo/drive/drive.cc vsnprintf(&buffer[0], kBufferSize, format, args); buffer 381 native_client_sdk/src/examples/demo/drive/drive.cc PostMessage(buffer); buffer 101 native_client_sdk/src/examples/demo/flock/flock.cc uint32_t* buffer; buffer 113 native_client_sdk/src/examples/demo/flock/flock.cc buffer = new uint32_t[len]; buffer 114 native_client_sdk/src/examples/demo/flock/flock.cc fread(buffer, 1, len, fp); buffer 117 native_client_sdk/src/examples/demo/flock/flock.cc g_goose_sprite = new Sprite(buffer, pp::Size(fmt.width, fmt.height), 0); buffer 295 native_client_sdk/src/examples/demo/nacl_io/handlers.c char* buffer; buffer 314 native_client_sdk/src/examples/demo/nacl_io/handlers.c buffer = (char*)malloc(data_len + 1); buffer 315 native_client_sdk/src/examples/demo/nacl_io/handlers.c bytes_read = fread(buffer, 1, data_len, file); buffer 316 native_client_sdk/src/examples/demo/nacl_io/handlers.c buffer[bytes_read] = 0; buffer 324 native_client_sdk/src/examples/demo/nacl_io/handlers.c *output = PrintfToNewString("fread\1%s\1%s", file_index_string, buffer); buffer 325 native_client_sdk/src/examples/demo/nacl_io/handlers.c free(buffer); buffer 1015 native_client_sdk/src/examples/demo/nacl_io/handlers.c const char* buffer = params[1]; buffer 1016 native_client_sdk/src/examples/demo/nacl_io/handlers.c int result = send(sock, buffer, strlen(buffer), 0); buffer 1051 native_client_sdk/src/examples/demo/nacl_io/handlers.c char* buffer = alloca(buffersize); buffer 1052 native_client_sdk/src/examples/demo/nacl_io/handlers.c memset(buffer, 0, buffersize); buffer 1053 native_client_sdk/src/examples/demo/nacl_io/handlers.c int result = recv(sock, buffer, buffersize, 0); buffer 1059 native_client_sdk/src/examples/demo/nacl_io/handlers.c *output = PrintfToNewString("recv\1%d\1%s", result, buffer); buffer 92 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c char* buffer; buffer 97 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c buffer = (char*)malloc(length + 1); /* +1 for NULL-terminator. */ buffer 98 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c result = vsnprintf(&buffer[0], length + 1, format, args_copy); buffer 103 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c return buffer; buffer 153 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c uint32_t VarToCStr(struct PP_Var var, char* buffer, uint32_t length) { buffer 159 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c memcpy(buffer, str, min_length); buffer 160 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c buffer[min_length] = 0; buffer 347 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c char buffer[1024]; buffer 348 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c VarToCStr(message, &buffer[0], 1024); buffer 349 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c if (!EnqueueMessage(strdup(buffer))) { buffer 15 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.h uint32_t VarToCStr(struct PP_Var var, char* buffer, uint32_t length); buffer 119 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc char buffer[1024]; buffer 121 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc glGetShaderInfoLog(shader, sizeof(buffer), &length, &buffer[0]); buffer 122 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc fprintf(stderr, "Shader failed to compile: %s\n", buffer); buffer 139 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc char buffer[1024]; buffer 141 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc glGetProgramInfoLog(program, sizeof(buffer), &length, &buffer[0]); buffer 142 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc fprintf(stderr, "Program failed to link: %s\n", buffer); buffer 39 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc PP_Var buffer = buffer_iface->Create(count); buffer 40 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc memcpy(buffer_iface->Map(buffer), buf, count); buffer 41 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc buffer_iface->Unmap(buffer); buffer 49 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc array_iface->Set(array, 1, buffer); buffer 53 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc var_iface->Release(buffer); buffer 84 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc const char* buffer = message->buffer; buffer 90 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc int error = PipeNode::Write(data, buffer, num_bytes, &wrote); buffer 169 native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc const char* buffer = message->buffer; buffer 173 native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc char c = buffer[i]; buffer 419 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc char buffer[100]; buffer 421 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc snprintf(&buffer[0], buffer 422 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc sizeof(buffer), buffer 426 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc headers["Range"] = buffer; buffer 42 native_client_sdk/src/libraries/nacl_io/ioctl.h const char* buffer; buffer 22 native_client_sdk/src/libraries/nacl_io/socket/packet.cc void Packet::Take(const void* buffer, size_t len, PP_Resource addr) { buffer 25 native_client_sdk/src/libraries/nacl_io/socket/packet.cc buffer_ = static_cast<char*>(const_cast<void*>(buffer)); buffer 28 native_client_sdk/src/libraries/nacl_io/socket/packet.cc void Packet::Copy(const void* buffer, size_t len, PP_Resource addr) { buffer 33 native_client_sdk/src/libraries/nacl_io/socket/packet.cc memcpy(buffer_, buffer, len); buffer 25 native_client_sdk/src/libraries/nacl_io/socket/packet.h void Copy(const void* buffer, size_t len, PP_Resource addr); buffer 28 native_client_sdk/src/libraries/nacl_io/socket/packet.h void Take(const void* buffer, size_t len, PP_Resource addr); buffer 30 native_client_sdk/src/libraries/nacl_io/socket/packet.h char* buffer() { return buffer_; } buffer 131 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h virtual Error Recv_Locked(void* buffer, buffer 136 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h virtual Error Send_Locked(const void* buffer, buffer 27 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t ReadIn_Locked(char* buffer, uint32_t len); buffer 28 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t WriteIn_Locked(const char* buffer, uint32_t len); buffer 30 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t ReadOut_Locked(char* buffer, uint32_t len); buffer 31 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t WriteOut_Locked(const char* buffer, uint32_t len); buffer 60 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc packet_->buffer(), buffer 257 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc memcpy(buf, packet->buffer(), capped_len); buffer 406 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc std::string buffer = message.AsString(); buffer 409 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc ioctl_message.length = buffer.size(); buffer 410 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc ioctl_message.buffer = buffer.c_str(); buffer 133 native_client_sdk/src/libraries/xray/symtable.c char buffer[XRAY_LINE_SIZE]; buffer 134 native_client_sdk/src/libraries/xray/symtable.c const char* demangled_name = XRayDemangle(buffer, XRAY_LINE_SIZE, name); buffer 98 native_client_sdk/src/libraries/xray/xray.c struct XRayTraceBufferEntry* buffer; buffer 165 native_client_sdk/src/libraries/xray/xray.c struct XRayTraceBufferEntry* be = &capture->buffer[index]; buffer 190 native_client_sdk/src/libraries/xray/xray.c char* str = (char*) &capture->buffer[index]; buffer 191 native_client_sdk/src/libraries/xray/xray.c const int num = sizeof(capture->buffer[index]); buffer 207 native_client_sdk/src/libraries/xray/xray.c return &capture->buffer[index]; buffer 258 native_client_sdk/src/libraries/xray/xray.c char* dst = (char*)&capture->buffer[index]; buffer 259 native_client_sdk/src/libraries/xray/xray.c const int num = sizeof(capture->buffer[index]); buffer 272 native_client_sdk/src/libraries/xray/xray.c dst = (char*)&capture->buffer[index]; buffer 287 native_client_sdk/src/libraries/xray/xray.c char* src = (char*) &capture->buffer[index]; buffer 288 native_client_sdk/src/libraries/xray/xray.c const int num = sizeof(capture->buffer[index]); buffer 367 native_client_sdk/src/libraries/xray/xray.c struct XRayTraceBufferEntry* be = &capture->buffer[buffer_index]; buffer 423 native_client_sdk/src/libraries/xray/xray.c char buffer[1024]; buffer 426 native_client_sdk/src/libraries/xray/xray.c r = vsnprintf(buffer, sizeof(buffer), fmt, args); buffer 437 native_client_sdk/src/libraries/xray/xray.c strcpy(dst, buffer); buffer 455 native_client_sdk/src/libraries/xray/xray.c char buffer[XRAY_TRACE_ANNOTATION_LENGTH]; buffer 458 native_client_sdk/src/libraries/xray/xray.c r = vsnprintf(buffer, sizeof(buffer), fmt, args); buffer 469 native_client_sdk/src/libraries/xray/xray.c strcpy(dst, buffer); buffer 603 native_client_sdk/src/libraries/xray/xray.c struct XRayTraceBufferEntry* be = &capture->buffer[capture->buffer_index]; buffer 654 native_client_sdk/src/libraries/xray/xray.c struct XRayTraceBufferEntry* be = &capture->buffer[marker]; buffer 728 native_client_sdk/src/libraries/xray/xray.c sizeof(capture->buffer[0]) * buffer_size; buffer 731 native_client_sdk/src/libraries/xray/xray.c capture->buffer = buffer 775 native_client_sdk/src/libraries/xray/xray.c XRayFree(capture->buffer); buffer 767 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc char buffer[10]; buffer 768 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_recv(client_sock, buffer, sizeof(buffer), 0)); buffer 769 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(-1, ki_send(client_sock, buffer, sizeof(buffer), 0)); buffer 797 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc void* buffer = alloca(SEND_BYTES); buffer 798 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(SEND_BYTES, ki_send(client_sock, buffer, SEND_BYTES, 0)); buffer 807 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int rtn = ki_recv(new_sock, buffer, remainder, 0); buffer 87 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc char* buffer, buffer 94 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(buffer, contents_.data() + offset, bytes_to_read); buffer 99 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc const char* buffer, buffer 108 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(contents_.data() + offset, buffer, bytes_to_write); buffer 113 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int32_t FakeHtml5FsNode::Append(const char* buffer, int32_t bytes_to_write) { buffer 114 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc return Write(contents_.size(), buffer, bytes_to_write); buffer 362 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc char* buffer, buffer 381 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int32_t result = file_io_resource->node->Read(offset, buffer, bytes_to_read); buffer 387 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc const char* buffer, buffer 406 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc result = file_io_resource->node->Append(buffer, bytes_to_write); buffer 408 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc result = file_io_resource->node->Write(offset, buffer, bytes_to_write); buffer 41 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int32_t Read(int64_t offset, char* buffer, int32_t bytes_to_read); buffer 42 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int32_t Write(int64_t offset, const char* buffer, int32_t bytes_to_write); buffer 43 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int32_t Append(const char* buffer, int32_t bytes_to_write); buffer 114 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h char* buffer, buffer 119 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h const char* buffer, buffer 337 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc void* buffer, buffer 361 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc memcpy(buffer, &body.data()[offset], bytes_to_read); buffer 80 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.h void* buffer, buffer 310 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc char buffer[kBufferLength]; buffer 311 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, dev_null->Read(attrs, &buffer[0], kBufferLength, &result_bytes)); buffer 333 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc char buffer[kBufferLength]; buffer 335 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc memset(&buffer[0], 0x1, kBufferLength); buffer 336 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, dev_zero->Read(attrs, &buffer[0], kBufferLength, &result_bytes)); buffer 341 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, memcmp(&buffer[0], &zero_buffer[0], kBufferLength)); buffer 368 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc unsigned char buffer[kSampleBatchSize]; buffer 372 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc 0, dev_urandom->Read(attrs, &buffer[0], kSampleBatchSize, &bytes_read)); buffer 376 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc byte_count[buffer[i]]++; buffer 221 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc char buffer[15] = {0}; buffer 224 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 226 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(sizeof(buffer), bytes_read); buffer 227 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_STREQ(hello_world, buffer); buffer 241 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc char buffer[40] = {0}; buffer 243 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 245 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(sizeof(buffer), bytes_read); buffer 246 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_STREQ(message, buffer); buffer 350 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc char buffer[30]; buffer 351 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memset(buffer, 0, sizeof(buffer)); buffer 352 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(sizeof(buffer), ki_read(fd, buffer, sizeof(buffer))); buffer 353 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc EXPECT_STREQ(hello_world, buffer); buffer 255 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc char buffer[10] = {0}; buffer 258 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 260 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_STREQ(contents, buffer); buffer 264 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 269 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 271 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; buffer 272 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_STREQ("ents", buffer); buffer 278 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc node->Write(attr, &buffer[0], sizeof(buffer), &bytes_written)); buffer 283 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(EISDIR, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 299 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc char buffer[10]; buffer 302 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(EACCES, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 314 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 316 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; buffer 317 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_STREQ("construct", buffer); buffer 321 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(EISDIR, node->Write(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 401 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc char buffer[10] = {0}; buffer 406 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 408 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; buffer 409 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_STREQ("cont", buffer); buffer 413 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); buffer 415 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; buffer 416 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_STREQ("cont\0\0\0\0", buffer); buffer 58 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc packaged_message.buffer = message.data(); buffer 66 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc char buffer[100]; buffer 68 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc memset(buffer, 'a', sizeof(buffer)); buffer 74 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc ASSERT_EQ(0, pipe_dev_->Read(attrs, buffer, 5, &bytes_read)); buffer 76 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, 5)); buffer 77 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(0, memcmp(buffer + 5, backup_buffer + 5, sizeof(buffer)-5)); buffer 81 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc ASSERT_EQ(0, pipe_dev_->Read(attrs, buffer + 5, sizeof(buffer)-5, buffer 84 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, message.size())); buffer 85 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(0, memcmp(buffer + message.size(), buffer 178 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc input.buffer = string; buffer 179 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc input.length = strlen(input.buffer); buffer 462 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc char buffer[4]; buffer 463 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc memset(&buffer[0], 0xfe, 4); buffer 466 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc ASSERT_EQ(4, ki_read(fd, &buffer[0], 4)); buffer 467 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc ASSERT_EQ(0, memcmp("\0\0\0\0", buffer, 4)); buffer 214 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc char buffer[] = "fcntl"; buffer 217 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt3, fcntl(kDummyInt, kDummyInt2, buffer)); buffer 255 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc char buffer[] = "getcwd"; buffer 256 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getcwd(buffer, kDummySizeT)).WillOnce(Return(result)); buffer 257 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(result, getcwd(buffer, kDummySizeT)); buffer 280 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc char buffer[] = "getwd"; buffer 281 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getwd(buffer)).WillOnce(Return(result)); buffer 282 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(result, getwd(buffer)); buffer 289 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc char buffer[] = "ioctl"; buffer 292 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt3, ioctl(kDummyInt, kDummyInt2, buffer)); buffer 127 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc char buffer[1024]; buffer 132 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc memset(buffer, 0, sizeof(buffer)); buffer 146 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buffer, sizeof(buffer), &result_bytes)); buffer 147 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(sizeof(buffer), result_bytes); buffer 148 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, memcmp(buffer, data, sizeof(buffer))); buffer 152 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buffer, sizeof(buffer), &result_bytes)); buffer 153 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(sizeof(buffer), result_bytes); buffer 154 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, memcmp(buffer, zero, sizeof(buffer))); buffer 163 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.Read(attr, buffer, sizeof(buffer), &result_bytes)); buffer 165 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, memcmp(buffer, data, 100)); buffer 57 native_client_sdk/src/tests/nacl_io_test/tty_test.cc packaged_message.buffer = message.data(); buffer 64 native_client_sdk/src/tests/nacl_io_test/tty_test.cc char buffer[100]; buffer 66 native_client_sdk/src/tests/nacl_io_test/tty_test.cc memset(buffer, 'a', 100); buffer 75 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, dev_tty_->Read(attrs, buffer, 5, &bytes_read)); buffer 77 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, 5)); buffer 78 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, memcmp(buffer + 5, backup_buffer + 5, 95)); buffer 82 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, dev_tty_->Read(attrs, buffer + 5, 95, &bytes_read)); buffer 84 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, message.size())); buffer 85 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, memcmp(buffer + message.size(), buffer 137 native_client_sdk/src/tests/nacl_io_test/tty_test.cc input.buffer = string; buffer 138 native_client_sdk/src/tests/nacl_io_test/tty_test.cc input.length = strlen(input.buffer); buffer 237 net/base/address_tracker_linux.cc char buffer[4096]; buffer 241 net/base/address_tracker_linux.cc buffer, buffer 242 net/base/address_tracker_linux.cc sizeof(buffer), buffer 256 net/base/address_tracker_linux.cc HandleMessage(buffer, rv, address_changed, link_changed, tunnel_changed); buffer 264 net/base/address_tracker_linux.cc void AddressTrackerLinux::HandleMessage(char* buffer, buffer 269 net/base/address_tracker_linux.cc DCHECK(buffer); buffer 270 net/base/address_tracker_linux.cc for (struct nlmsghdr* header = reinterpret_cast<struct nlmsghdr*>(buffer); buffer 73 net/base/address_tracker_linux.h void HandleMessage(char* buffer, buffer 199 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 201 net/base/address_tracker_linux_unittest.cc &buffer); buffer 202 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 208 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 210 net/base/address_tracker_linux_unittest.cc &buffer); buffer 211 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 218 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 219 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_NEWADDR, 0, AF_INET6, kEmpty, kAddr3, &buffer); buffer 220 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 230 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 232 net/base/address_tracker_linux_unittest.cc &buffer); buffer 233 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 239 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 241 net/base/address_tracker_linux_unittest.cc &buffer); buffer 242 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 249 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 251 net/base/address_tracker_linux_unittest.cc &buffer); buffer 253 net/base/address_tracker_linux_unittest.cc &buffer); buffer 254 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 263 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 265 net/base/address_tracker_linux_unittest.cc &buffer); buffer 266 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 272 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleAddressMessage(buffer)); buffer 284 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 285 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_NEWADDR, 0, AF_INET, kAddr0, kEmpty, &buffer); buffer 286 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_NEWADDR, 0, AF_INET, kAddr1, kAddr2, &buffer); buffer 287 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 291 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 292 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_DELADDR, 0, AF_INET, kEmpty, kAddr0, &buffer); buffer 293 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 299 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 300 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_DELADDR, 0, AF_INET, kAddr2, kAddr1, &buffer); buffer 302 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleAddressMessage(buffer)); buffer 306 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 307 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_DELADDR, 0, AF_INET, kAddr2, kEmpty, &buffer); buffer 308 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 317 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 318 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_NEWADDR, 0, AF_INET6, kEmpty, kAddr3, &buffer); buffer 319 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 326 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 328 net/base/address_tracker_linux_unittest.cc &buffer); buffer 329 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 335 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 337 net/base/address_tracker_linux_unittest.cc kAddr3, 0, &buffer); buffer 338 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleAddressMessage(buffer)); buffer 344 net/base/address_tracker_linux_unittest.cc buffer.clear(); buffer 346 net/base/address_tracker_linux_unittest.cc &buffer); buffer 347 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleAddressMessage(buffer)); buffer 358 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 360 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_NEWADDR, 0, AF_UNSPEC, kAddr3, kAddr0, &buffer); buffer 362 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_NEWADDR, 0, AF_INET, kEmpty, kEmpty, &buffer); buffer 364 net/base/address_tracker_linux_unittest.cc MakeAddrMessage(RTM_DELROUTE, 0, AF_INET6, kAddr3, kEmpty, &buffer); buffer 365 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleAddressMessage(buffer)); buffer 377 net/base/address_tracker_linux_unittest.cc nlmsg.AppendTo(&buffer); buffer 379 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleAddressMessage(buffer)); buffer 384 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 389 net/base/address_tracker_linux_unittest.cc 0, &buffer); buffer 390 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleLinkMessage(buffer)); buffer 394 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_RUNNING, 0, &buffer); buffer 395 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleLinkMessage(buffer)); buffer 399 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_DELLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); buffer 400 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleLinkMessage(buffer)); buffer 404 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); buffer 405 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleLinkMessage(buffer)); buffer 410 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); buffer 411 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleLinkMessage(buffer)); buffer 416 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 1, &buffer); buffer 417 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleLinkMessage(buffer)); buffer 424 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 427 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); buffer 428 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleLinkMessage(buffer)); buffer 430 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_RUNNING, 0, &buffer); buffer 431 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleLinkMessage(buffer)); buffer 435 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_RUNNING, 0, &buffer); buffer 436 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleLinkMessage(buffer)); buffer 440 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_DELLINK, IFF_UP | IFF_RUNNING, 0, &buffer); buffer 441 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleLinkMessage(buffer)); buffer 445 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); buffer 446 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleLinkMessage(buffer)); buffer 448 net/base/address_tracker_linux_unittest.cc MakeLinkMessage(RTM_DELLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); buffer 449 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleLinkMessage(buffer)); buffer 454 net/base/address_tracker_linux_unittest.cc Buffer buffer; buffer 459 net/base/address_tracker_linux_unittest.cc 0, &buffer); buffer 460 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleTunnelMessage(buffer)); buffer 465 net/base/address_tracker_linux_unittest.cc kTestInterfaceTun, &buffer); buffer 466 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleTunnelMessage(buffer)); buffer 471 net/base/address_tracker_linux_unittest.cc kTestInterfaceTun, &buffer); buffer 472 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleTunnelMessage(buffer)); buffer 477 net/base/address_tracker_linux_unittest.cc 0, &buffer); buffer 478 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleTunnelMessage(buffer)); buffer 483 net/base/address_tracker_linux_unittest.cc kTestInterfaceTun, &buffer); buffer 484 net/base/address_tracker_linux_unittest.cc EXPECT_TRUE(HandleTunnelMessage(buffer)); buffer 489 net/base/address_tracker_linux_unittest.cc kTestInterfaceTun, &buffer); buffer 490 net/base/address_tracker_linux_unittest.cc EXPECT_FALSE(HandleTunnelMessage(buffer)); buffer 131 net/base/file_stream_unittest.cc char buffer[kTestDataSize]; buffer 133 net/base/file_stream_unittest.cc read_stream->ReadSync(buffer, kTestDataSize)); buffer 134 net/base/file_stream_unittest.cc ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize)); buffer 151 net/base/file_stream_unittest.cc base::ReadFile(temp_file_path(), buffer, kTestDataSize)); buffer 152 net/base/file_stream_unittest.cc ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize)); buffer 1678 net/base/net_util.cc char buffer[256]; buffer 1679 net/base/net_util.cc int result = gethostname(buffer, sizeof(buffer)); buffer 1682 net/base/net_util.cc buffer[0] = '\0'; buffer 1684 net/base/net_util.cc return std::string(buffer); buffer 57 net/base/test_completion_callback.cc IOBuffer* buffer) : buffer_(buffer) { buffer 116 net/base/test_completion_callback.h explicit ReleaseBufferCompletionCallback(IOBuffer* buffer); buffer 14 net/base/test_data_stream.cc void TestDataStream::GetBytes(char* buffer, int length) { buffer 18 net/base/test_data_stream.cc memcpy(buffer, buffer_ptr_, bytes_to_copy); buffer 19 net/base/test_data_stream.cc buffer += bytes_to_copy; buffer 25 net/base/test_data_stream.cc bool TestDataStream::VerifyBytes(const char *buffer, int length) { buffer 29 net/base/test_data_stream.cc if (memcmp(buffer, buffer_ptr_, bytes_to_compare)) buffer 33 net/base/test_data_stream.cc buffer += bytes_to_compare; buffer 22 net/base/test_data_stream.h void GetBytes(char* buffer, int length); buffer 26 net/base/test_data_stream.h bool VerifyBytes(const char *buffer, int length); buffer 278 net/cert/x509_certificate_openssl.cc unsigned char* buffer = reinterpret_cast<unsigned char*>( buffer 280 net/cert/x509_certificate_openssl.cc int bytes_written = i2c_ASN1_INTEGER(serial_num, &buffer); buffer 118 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java protected void onBytesRead(ByteBuffer buffer) { buffer 123 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java int size = buffer.remaining(); buffer 130 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java buffer.position((int)(mOffset - (mSize - size))); buffer 135 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java buffer.limit(size - (int)(mSize - mContentLengthLimit)); buffer 136 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java super.onBytesRead(buffer); buffer 141 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java super.onBytesRead(buffer); buffer 40 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java public int write(ByteBuffer buffer) throws IOException { buffer 45 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java int size = buffer.remaining(); buffer 50 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java mInitialBuffer.put(buffer); buffer 64 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java tmpBuf.put(buffer).rewind(); buffer 104 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java ByteBuffer buffer = mBuffers.get(i); buffer 105 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java int bufferSize = buffer.remaining(); buffer 106 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java buffer.get(bytes, offset, bufferSize); buffer 107 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java buffer.rewind(); buffer 326 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java byte[] buffer = new byte[MAX_CHUNK_SIZE]; buffer 328 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java while (!isCanceled() && (size = mResponseStream.read(buffer)) != -1) { buffer 345 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java mSink.write(ByteBuffer.wrap(buffer, start, count)); buffer 351 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java mSink.write(ByteBuffer.wrap(buffer, start, count)); buffer 182 net/cronet/android/java/src/org/chromium/net/UrlRequest.java ByteBuffer buffer = ByteBuffer.allocateDirect(UPLOAD_BYTE_BUFFER_SIZE); buffer 196 net/cronet/android/java/src/org/chromium/net/UrlRequest.java buffer.clear(); buffer 197 net/cronet/android/java/src/org/chromium/net/UrlRequest.java buffer.put(checkForEnd); buffer 200 net/cronet/android/java/src/org/chromium/net/UrlRequest.java channel.read(buffer); buffer 202 net/cronet/android/java/src/org/chromium/net/UrlRequest.java buffer.flip(); buffer 203 net/cronet/android/java/src/org/chromium/net/UrlRequest.java nativeAppendChunk(mUrlRequestPeer, buffer, buffer.limit(), buffer 260 net/cronet/android/org_chromium_net_UrlRequest.cc char buffer[200]; buffer 261 net/cronet/android/org_chromium_net_UrlRequest.cc snprintf(buffer, buffer 262 net/cronet/android/org_chromium_net_UrlRequest.cc sizeof(buffer), buffer 266 net/cronet/android/org_chromium_net_UrlRequest.cc return env->NewStringUTF(buffer); buffer 144 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 145 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 153 net/disk_cache/backend_unittest.cc 0, i, buffer.get(), kSize, cb->callback(), false); buffer 155 net/disk_cache/backend_unittest.cc rv = entry->WriteData(0, i, buffer.get(), kSize, cb->callback(), false); buffer 186 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 187 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 190 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, WriteSparseData(entry0, 0, buffer.get(), kSize)); buffer 192 net/disk_cache/backend_unittest.cc WriteSparseData(entry0, kOffset + kSize, buffer.get(), kSize)); buffer 203 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, WriteSparseData(entry1, 0, buffer.get(), kSize)); buffer 205 net/disk_cache/backend_unittest.cc WriteSparseData(entry1, kOffset + kSize, buffer.get(), kSize)); buffer 209 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, WriteSparseData(entry2, 0, buffer.get(), kSize)); buffer 211 net/disk_cache/backend_unittest.cc WriteSparseData(entry2, kOffset + kSize, buffer.get(), kSize)); buffer 224 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, WriteSparseData(entry3, 0, buffer.get(), kSize)); buffer 226 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, WriteSparseData(entry4, 0, buffer.get(), kSize)); buffer 228 net/disk_cache/backend_unittest.cc WriteSparseData(entry3, kOffset + kSize, buffer.get(), kSize)); buffer 230 net/disk_cache/backend_unittest.cc WriteSparseData(entry4, kOffset + kSize, buffer.get(), kSize)); buffer 359 net/disk_cache/backend_unittest.cc char buffer[30]; buffer 360 net/disk_cache/backend_unittest.cc base::strlcpy(buffer, kName1, arraysize(buffer)); buffer 361 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(buffer, &entry2)); buffer 365 net/disk_cache/backend_unittest.cc base::strlcpy(buffer + 1, kName1, arraysize(buffer) - 1); buffer 366 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(buffer + 1, &entry2)); buffer 370 net/disk_cache/backend_unittest.cc base::strlcpy(buffer + 3, kName1, arraysize(buffer) - 3); buffer 371 net/disk_cache/backend_unittest.cc ASSERT_EQ(net::OK, OpenEntry(buffer + 3, &entry2)); buffer 711 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(cache_size)); buffer 712 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, cache_size); buffer 714 net/disk_cache/backend_unittest.cc WriteData(entry, 0, 0, buffer.get(), cache_size / 10, false)) buffer 718 net/disk_cache/backend_unittest.cc WriteData(entry, 1, 0, buffer.get(), cache_size / 5, false)) buffer 724 net/disk_cache/backend_unittest.cc WriteData(entry, 1, 0, buffer.get(), cache_size / 5, false)); buffer 729 net/disk_cache/backend_unittest.cc WriteData(entry, 0, 0, buffer.get(), cache_size * 3 / 4, false)); buffer 739 net/disk_cache/backend_unittest.cc WriteData(entry, 0, 0, buffer.get(), cache_size / 10, false)); buffer 744 net/disk_cache/backend_unittest.cc WriteData(entry2, 0, 0, buffer.get(), cache_size / 10, false)); buffer 948 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 949 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); buffer 950 net/disk_cache/backend_unittest.cc base::strlcpy(buffer->data(), "And the data to save", kSize); buffer 951 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 992 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 993 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); buffer 994 net/disk_cache/backend_unittest.cc base::strlcpy(buffer->data(), "And the data to save", kSize); buffer 995 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 998 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, ReadData(entry, 0, 0, buffer.get(), kSize)); buffer 1119 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 1120 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); buffer 1121 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 1127 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 1168 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 1169 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); buffer 1176 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 1186 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 3004 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3005 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, true); buffer 3010 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, true)); buffer 3011 net/disk_cache/backend_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 1, 0, buffer.get(), kSize, true)); buffer 3013 net/disk_cache/backend_unittest.cc WriteData(entry, 0, 1024 * 1024, buffer.get(), kSize, false)); buffer 3015 net/disk_cache/backend_unittest.cc WriteData(entry, 1, 1024 * 1024, buffer.get(), kSize, false)); buffer 3018 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, WriteData(entry, 0, 0, buffer.get(), 0, true)); buffer 3019 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, WriteData(entry, 1, 10, buffer.get(), 0, true)); buffer 3344 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3345 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 3347 net/disk_cache/backend_unittest.cc ASSERT_EQ(0, WriteData(entry, 0, 0, buffer.get(), 0, false)); buffer 3376 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3377 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 3379 net/disk_cache/backend_unittest.cc ASSERT_EQ(0, WriteData(entry, 0, 0, buffer.get(), 0, false)); buffer 3486 net/disk_cache/backend_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3487 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 3489 net/disk_cache/backend_unittest.cc WriteData(corrupted_entry, 0, 0, buffer.get(), kSize, false)); buffer 3490 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, ReadData(corrupted_entry, 0, 0, buffer.get(), kSize)); buffer 54 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc uint8* buffer = reinterpret_cast<uint8*>(&headers[2].allocation_map); buffer 57 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc EXPECT_EQ(0xff, buffer[i]); buffer 68 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc EXPECT_EQ(0, buffer[i]); buffer 47 net/disk_cache/blockfile/block_files.cc : header_(reinterpret_cast<BlockFileHeader*>(file->buffer())) { buffer 433 net/disk_cache/blockfile/block_files.cc scoped_ptr<char[]> buffer; buffer 434 net/disk_cache/blockfile/block_files.cc buffer.reset(new char[Addr::BlockSizeForFileType(BLOCK_4K) * 4]); buffer 438 net/disk_cache/blockfile/block_files.cc bool ok = file->Read(buffer.get(), size, offset); buffer 575 net/disk_cache/blockfile/block_files.cc BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); buffer 609 net/disk_cache/blockfile/block_files.cc BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); buffer 619 net/disk_cache/blockfile/block_files.cc reinterpret_cast<BlockFileHeader*>(next_file->buffer()); buffer 705 net/disk_cache/blockfile/block_files.cc reinterpret_cast<BlockFileHeader*>(block_files_[index]->buffer()); buffer 121 net/disk_cache/blockfile/block_files_unittest.cc reinterpret_cast<BlockFileHeader*>(file->buffer()); buffer 145 net/disk_cache/blockfile/block_files_unittest.cc header = reinterpret_cast<BlockFileHeader*>(file->buffer()); buffer 216 net/disk_cache/blockfile/block_files_unittest.cc BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); buffer 227 net/disk_cache/blockfile/block_files_unittest.cc header = reinterpret_cast<BlockFileHeader*>(file->buffer()); buffer 241 net/disk_cache/blockfile/block_files_unittest.cc header = reinterpret_cast<BlockFileHeader*>(file->buffer()); buffer 331 net/disk_cache/blockfile/block_files_unittest.cc reinterpret_cast<BlockFileHeader*>(files.GetFile(address[0])->buffer()); buffer 332 net/disk_cache/blockfile/block_files_unittest.cc uint8* buffer = reinterpret_cast<uint8*>(&header->allocation_map); buffer 335 net/disk_cache/blockfile/block_files_unittest.cc EXPECT_EQ(0xff, buffer[i]); buffer 346 net/disk_cache/blockfile/block_files_unittest.cc EXPECT_EQ(0, buffer[i]); buffer 39 net/disk_cache/blockfile/entry_impl.cc SyncCallback(disk_cache::EntryImpl* entry, net::IOBuffer* buffer, buffer 42 net/disk_cache/blockfile/entry_impl.cc : entry_(entry), callback_(callback), buf_(buffer), buffer 193 net/disk_cache/blockfile/entry_impl.cc char* buffer = buf->data(); buffer 197 net/disk_cache/blockfile/entry_impl.cc memcpy(&buffer_[offset], buffer, copy_len); buffer 199 net/disk_cache/blockfile/entry_impl.cc buffer += copy_len; buffer 204 net/disk_cache/blockfile/entry_impl.cc buffer_.insert(buffer_.end(), buffer, buffer + len); buffer 1511 net/disk_cache/blockfile/entry_impl.cc void EntryImpl::GetData(int index, char** buffer, Addr* address) { buffer 1519 net/disk_cache/blockfile/entry_impl.cc *buffer = new char[data_len]; buffer 1520 net/disk_cache/blockfile/entry_impl.cc memcpy(*buffer, user_buffers_[index]->Data(), data_len); buffer 1527 net/disk_cache/blockfile/entry_impl.cc *buffer = NULL; buffer 252 net/disk_cache/blockfile/entry_impl.h void GetData(int index, char** buffer, Addr* address); buffer 142 net/disk_cache/blockfile/entry_impl_v3.cc char* buffer = buf->data(); buffer 146 net/disk_cache/blockfile/entry_impl_v3.cc memcpy(&buffer_[offset], buffer, copy_len); buffer 148 net/disk_cache/blockfile/entry_impl_v3.cc buffer += copy_len; buffer 153 net/disk_cache/blockfile/entry_impl_v3.cc buffer_.insert(buffer_.end(), buffer, buffer + len); buffer 1333 net/disk_cache/blockfile/entry_impl_v3.cc void EntryImpl::GetData(int index, char** buffer, Addr* address) { buffer 1341 net/disk_cache/blockfile/entry_impl_v3.cc *buffer = new char[data_len]; buffer 1342 net/disk_cache/blockfile/entry_impl_v3.cc memcpy(*buffer, user_buffers_[index]->Data(), data_len); buffer 1349 net/disk_cache/blockfile/entry_impl_v3.cc *buffer = NULL; buffer 180 net/disk_cache/blockfile/entry_impl_v3.h void GetData(int index, char** buffer, Addr* address); buffer 52 net/disk_cache/blockfile/file.h bool Read(void* buffer, size_t buffer_len, size_t offset); buffer 53 net/disk_cache/blockfile/file.h bool Write(const void* buffer, size_t buffer_len, size_t offset); buffer 57 net/disk_cache/blockfile/file.h bool Read(void* buffer, size_t buffer_len, size_t offset, buffer 59 net/disk_cache/blockfile/file.h bool Write(const void* buffer, size_t buffer_len, size_t offset, buffer 82 net/disk_cache/blockfile/file.h bool AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, buffer 86 net/disk_cache/blockfile/file.h int DoRead(void* buffer, size_t buffer_len, size_t offset); buffer 87 net/disk_cache/blockfile/file.h int DoWrite(const void* buffer, size_t buffer_len, size_t offset); buffer 20 net/disk_cache/blockfile/file_block.h virtual void* buffer() const = 0; buffer 189 net/disk_cache/blockfile/file_ios.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { buffer 196 net/disk_cache/blockfile/file_ios.cc int ret = base_file_.Read(offset, static_cast<char*>(buffer), buffer_len); buffer 200 net/disk_cache/blockfile/file_ios.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { buffer 207 net/disk_cache/blockfile/file_ios.cc int ret = base_file_.Write(offset, static_cast<const char*>(buffer), buffer 215 net/disk_cache/blockfile/file_ios.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, buffer 221 net/disk_cache/blockfile/file_ios.cc return Read(buffer, buffer_len, offset); buffer 227 net/disk_cache/blockfile/file_ios.cc GetFileInFlightIO()->PostRead(this, buffer, buffer_len, offset, callback); buffer 233 net/disk_cache/blockfile/file_ios.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, buffer 239 net/disk_cache/blockfile/file_ios.cc return Write(buffer, buffer_len, offset); buffer 242 net/disk_cache/blockfile/file_ios.cc return AsyncWrite(buffer, buffer_len, offset, callback, completed); buffer 284 net/disk_cache/blockfile/file_ios.cc bool File::AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, buffer 290 net/disk_cache/blockfile/file_ios.cc GetFileInFlightIO()->PostWrite(this, buffer, buffer_len, offset, callback); buffer 57 net/disk_cache/blockfile/file_posix.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { buffer 64 net/disk_cache/blockfile/file_posix.cc int ret = base_file_.Read(offset, static_cast<char*>(buffer), buffer_len); buffer 68 net/disk_cache/blockfile/file_posix.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { buffer 75 net/disk_cache/blockfile/file_posix.cc int ret = base_file_.Write(offset, static_cast<const char*>(buffer), buffer 80 net/disk_cache/blockfile/file_posix.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, buffer 86 net/disk_cache/blockfile/file_posix.cc return Read(buffer, buffer_len, offset); buffer 96 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoRead, this, buffer, buffer_len, offset), buffer 103 net/disk_cache/blockfile/file_posix.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, buffer 109 net/disk_cache/blockfile/file_posix.cc return Write(buffer, buffer_len, offset); buffer 119 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoWrite, this, buffer, buffer_len, offset), buffer 166 net/disk_cache/blockfile/file_posix.cc int File::DoRead(void* buffer, size_t buffer_len, size_t offset) { buffer 167 net/disk_cache/blockfile/file_posix.cc if (Read(const_cast<void*>(buffer), buffer_len, offset)) buffer 174 net/disk_cache/blockfile/file_posix.cc int File::DoWrite(const void* buffer, size_t buffer_len, size_t offset) { buffer 175 net/disk_cache/blockfile/file_posix.cc if (Write(const_cast<void*>(buffer), buffer_len, offset)) buffer 112 net/disk_cache/blockfile/file_win.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { buffer 117 net/disk_cache/blockfile/file_win.cc int ret = sync_base_file_.Read(offset, static_cast<char*>(buffer), buffer 122 net/disk_cache/blockfile/file_win.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { buffer 127 net/disk_cache/blockfile/file_win.cc int ret = sync_base_file_.Write(offset, static_cast<const char*>(buffer), buffer 135 net/disk_cache/blockfile/file_win.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, buffer 141 net/disk_cache/blockfile/file_win.cc return Read(buffer, buffer_len, offset); buffer 151 net/disk_cache/blockfile/file_win.cc if (!ReadFile(base_file_.GetPlatformFile(), buffer, size, &actual, buffer 168 net/disk_cache/blockfile/file_win.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, buffer 174 net/disk_cache/blockfile/file_win.cc return Write(buffer, buffer_len, offset); buffer 177 net/disk_cache/blockfile/file_win.cc return AsyncWrite(buffer, buffer_len, offset, callback, completed); buffer 189 net/disk_cache/blockfile/file_win.cc bool File::AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, buffer 201 net/disk_cache/blockfile/file_win.cc if (!WriteFile(base_file_.GetPlatformFile(), buffer, size, &actual, buffer 785 net/disk_cache/blockfile/index_table_v3.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(num_bytes)); buffer 786 net/disk_cache/blockfile/index_table_v3.cc memcpy(buffer->data(), header_, sizeof(*header_)); buffer 787 net/disk_cache/blockfile/index_table_v3.cc memcpy(buffer->data() + sizeof(*header_), backup_bitmap_storage_.get(), buffer 789 net/disk_cache/blockfile/index_table_v3.cc backend_->SaveIndex(buffer, num_bytes); buffer 146 net/disk_cache/blockfile/index_table_v3.h virtual void SaveIndex(net::IOBuffer* buffer, int buffer_len) = 0; buffer 39 net/disk_cache/blockfile/index_table_v3_unittest.cc virtual void SaveIndex(net::IOBuffer* buffer, int buffer_len) OVERRIDE { buffer 17 net/disk_cache/blockfile/mapped_file.cc return Read(block->buffer(), block->size(), offset); buffer 22 net/disk_cache/blockfile/mapped_file.cc return Write(block->buffer(), block->size(), offset); buffer 29 net/disk_cache/blockfile/mapped_file.cc return Read(block->buffer(), block->size(), offset, callback, completed); buffer 36 net/disk_cache/blockfile/mapped_file.cc return Write(block->buffer(), block->size(), offset, callback, completed); buffer 33 net/disk_cache/blockfile/mapped_file.h void* buffer() const { buffer 122 net/disk_cache/blockfile/mapped_file_unittest.cc base::strlcpy(static_cast<char*>(file_block1.buffer()), "the data", buffer 139 net/disk_cache/blockfile/mapped_file_unittest.cc EXPECT_STREQ(static_cast<char*>(file_block1.buffer()), buffer 140 net/disk_cache/blockfile/mapped_file_unittest.cc static_cast<char*>(file_block2.buffer())); buffer 63 net/disk_cache/blockfile/sparse_control.cc void Start(char* buffer, int len); buffer 82 net/disk_cache/blockfile/sparse_control.cc char* buffer = buffer_.release(); buffer 83 net/disk_cache/blockfile/sparse_control.cc Start(buffer, bytes_copied); buffer 86 net/disk_cache/blockfile/sparse_control.cc void ChildrenDeleter::Start(char* buffer, int len) { buffer 87 net/disk_cache/blockfile/sparse_control.cc buffer_.reset(buffer); buffer 94 net/disk_cache/blockfile/sparse_control.cc reinterpret_cast<disk_cache::SparseData*>(buffer); buffer 347 net/disk_cache/blockfile/sparse_control.cc char* buffer; buffer 349 net/disk_cache/blockfile/sparse_control.cc entry->GetData(kSparseIndex, &buffer, &address); buffer 350 net/disk_cache/blockfile/sparse_control.cc if (!buffer && !address.is_initialized()) buffer 361 net/disk_cache/blockfile/sparse_control.cc if (buffer) { buffer 364 net/disk_cache/blockfile/sparse_control.cc base::Bind(&ChildrenDeleter::Start, deleter, buffer, data_len)); buffer 63 net/disk_cache/blockfile/sparse_control_v3.cc void Start(char* buffer, int len); buffer 82 net/disk_cache/blockfile/sparse_control_v3.cc char* buffer = buffer_.release(); buffer 83 net/disk_cache/blockfile/sparse_control_v3.cc Start(buffer, bytes_copied); buffer 86 net/disk_cache/blockfile/sparse_control_v3.cc void ChildrenDeleter::Start(char* buffer, int len) { buffer 87 net/disk_cache/blockfile/sparse_control_v3.cc buffer_.reset(buffer); buffer 94 net/disk_cache/blockfile/sparse_control_v3.cc reinterpret_cast<disk_cache::SparseData*>(buffer); buffer 326 net/disk_cache/blockfile/sparse_control_v3.cc char* buffer; buffer 328 net/disk_cache/blockfile/sparse_control_v3.cc entry->GetData(kSparseIndex, &buffer, &address); buffer 329 net/disk_cache/blockfile/sparse_control_v3.cc if (!buffer && !address.is_initialized()) buffer 340 net/disk_cache/blockfile/sparse_control_v3.cc if (buffer) { buffer 343 net/disk_cache/blockfile/sparse_control_v3.cc base::Bind(&ChildrenDeleter::Start, deleter, buffer, data_len)); buffer 31 net/disk_cache/blockfile/storage_block-inl.h template<typename T> void* StorageBlock<T>::buffer() const { buffer 181 net/disk_cache/blockfile/storage_block-inl.h void* buffer = new char[address_.num_blocks() * sizeof(*data_)]; buffer 182 net/disk_cache/blockfile/storage_block-inl.h data_ = new(buffer) T; buffer 37 net/disk_cache/blockfile/storage_block.h virtual void* buffer() const; buffer 152 net/disk_cache/blockfile/stress_cache.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 153 net/disk_cache/blockfile/stress_cache.cc memset(buffer->data(), 'k', kSize); buffer 171 net/disk_cache/blockfile/stress_cache.cc base::snprintf(buffer->data(), kSize, buffer 174 net/disk_cache/blockfile/stress_cache.cc rv = entries[slot]->WriteData(0, 0, buffer.get(), size, cb.callback(), buffer 41 net/disk_cache/blockfile/trace.cc char buffer[kNumberOfEntries][kEntrySize]; buffer 134 net/disk_cache/blockfile/trace.cc memcpy(s_trace_buffer->buffer[s_trace_buffer->current], line, kEntrySize); buffer 159 net/disk_cache/blockfile/trace.cc memcpy(line, s_trace_buffer->buffer[current], kEntrySize); buffer 28 net/disk_cache/disk_cache_test_util.cc void CacheTestFillBuffer(char* buffer, size_t len, bool no_nulls) { buffer 37 net/disk_cache/disk_cache_test_util.cc buffer[i] = static_cast<char>(rand()); buffer 38 net/disk_cache/disk_cache_test_util.cc if (!buffer[i] && no_nulls) buffer 39 net/disk_cache/disk_cache_test_util.cc buffer[i] = 'g'; buffer 41 net/disk_cache/disk_cache_test_util.cc if (len && !buffer[0]) buffer 42 net/disk_cache/disk_cache_test_util.cc buffer[0] = 'g'; buffer 23 net/disk_cache/disk_cache_test_util.h void CacheTestFillBuffer(char* buffer, size_t len, bool no_nulls); buffer 621 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 622 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kBufferSize, false); buffer 624 net/disk_cache/entry_unittest.cc net::ReleaseBufferCompletionCallback cb(buffer.get()); buffer 626 net/disk_cache/entry_unittest.cc stream_index, 0, buffer.get(), kBufferSize, cb.callback(), false); buffer 786 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 787 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, ReadData(entry, stream_index, 0, buffer.get(), kSize)); buffer 1014 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 1016 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 1017 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, ReadData(entry, stream_index, 500, buffer.get(), kSize)); buffer 1018 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer->data(), zeros, kSize)); buffer 1020 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 1021 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, ReadData(entry, stream_index, 5000, buffer.get(), kSize)); buffer 1022 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer->data(), zeros, kSize)); buffer 1024 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 1025 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, ReadData(entry, stream_index, 50000, buffer.get(), kSize)); buffer 1026 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer->data(), zeros, kSize)); buffer 1278 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(size)); buffer 1279 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), size, false); buffer 1282 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, WriteData(entry, stream_index, 0, buffer.get(), 0, true)); buffer 1284 net/disk_cache/entry_unittest.cc WriteData(entry, stream_index, 0, buffer.get(), size, false)); buffer 1416 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 1417 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 1422 net/disk_cache/entry_unittest.cc stream_index, 0, buffer.get(), kSize, cb.callback(), false)); buffer 1425 net/disk_cache/entry_unittest.cc buffer = NULL; buffer 1429 net/disk_cache/entry_unittest.cc buffer = new net::IOBuffer(kSize); buffer 1430 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 1434 net/disk_cache/entry_unittest.cc entry->ReadData(stream_index, 0, buffer.get(), kSize, cb.callback())); buffer 1435 net/disk_cache/entry_unittest.cc buffer = NULL; buffer 1454 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 1455 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, true); buffer 1456 net/disk_cache/entry_unittest.cc buffer->data()[19999] = '\0'; buffer 1458 net/disk_cache/entry_unittest.cc key = buffer->data(); buffer 1460 net/disk_cache/entry_unittest.cc EXPECT_EQ(20000, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 1461 net/disk_cache/entry_unittest.cc EXPECT_EQ(20000, WriteData(entry, 1, 0, buffer.get(), kSize, false)); buffer 1573 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 1574 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 1575 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 1586 net/disk_cache/entry_unittest.cc ReadData(entry, 0, 0, buffer.get(), kSize)); buffer 1654 net/disk_cache/entry_unittest.cc void VerifyContentSparseIO(disk_cache::Entry* entry, int64 offset, char* buffer, buffer 1662 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buf_1->data(), buffer, size)); buffer 2502 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kDataSize)); buffer 2503 net/disk_cache/entry_unittest.cc base::strlcpy(buffer->data(), data, kDataSize); buffer 2505 net/disk_cache/entry_unittest.cc EXPECT_EQ(kDataSize, WriteData(entry, 1, 0, buffer.get(), kDataSize, false)); buffer 3223 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kWriteSize)); buffer 3224 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kWriteSize, false); buffer 3226 net/disk_cache/entry_unittest.cc WriteData(entry, 1, 0, buffer.get(), kWriteSize, false)); buffer 3235 net/disk_cache/entry_unittest.cc WriteData(entry, 1, 0, buffer.get(), kWriteSize, false)); buffer 3559 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3561 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 3567 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer.get(), kSize, false)); buffer 3569 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), buffer_read->data(), kSize)); buffer 3575 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, WriteData(entry, 1, stream1_size, buffer.get(), 0, false)); buffer 3606 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), buffer_read->data(), kSize)); buffer 3610 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, WriteData(entry, 1, stream1_size, buffer.get(), 0, true)); buffer 3618 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), buffer_read->data(), kSize)); buffer 3716 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3717 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kHalfSize, false); buffer 3725 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, WriteData(entry, 2, 0, buffer, 0, true)); buffer 3811 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3812 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kHalfSize, false); buffer 3821 net/disk_cache/entry_unittest.cc WriteData(entry, 2, 0, buffer, kHalfSize, true); buffer 3933 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kSize)); buffer 3934 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); buffer 3939 net/disk_cache/entry_unittest.cc ret = entry->ReadSparseData(0, buffer, kSize, callback.callback()); buffer 3942 net/disk_cache/entry_unittest.cc ret = entry->ReadSparseData(kSize, buffer, kSize, callback.callback()); buffer 3946 net/disk_cache/entry_unittest.cc ret = entry->WriteSparseData(0, buffer, kSize, callback.callback()); buffer 3949 net/disk_cache/entry_unittest.cc ret = entry->ReadSparseData(0, buffer, kSize, callback.callback()); buffer 3953 net/disk_cache/entry_unittest.cc ret = entry->WriteSparseData(kSize, buffer, kSize, callback.callback()); buffer 3956 net/disk_cache/entry_unittest.cc ret = entry->ReadSparseData(kSize, buffer, kSize, callback.callback()); buffer 3960 net/disk_cache/entry_unittest.cc ret = entry->ReadSparseData(0, buffer, kSize, callback.callback()); buffer 1504 net/disk_cache/simple/simple_entry_impl.cc void SimpleEntryImpl::AdvanceCrc(net::IOBuffer* buffer, buffer 1518 net/disk_cache/simple/simple_entry_impl.cc initial_crc, reinterpret_cast<const Bytef*>(buffer->data()), length); buffer 295 net/disk_cache/simple/simple_entry_impl.h void AdvanceCrc(net::IOBuffer* buffer, buffer 236 net/dns/dns_config_service_win.cc WCHAR buffer[MAX_PATH]; buffer 239 net/dns/dns_config_service_win.cc if (!GetComputerNameExW(ComputerNameDnsHostname, buffer, &size) || buffer 240 net/dns/dns_config_service_win.cc !ParseDomainASCII(buffer, &localname)) { buffer 350 net/dns/dns_config_service_win.cc TCHAR buffer[MAX_PATH]; buffer 351 net/dns/dns_config_service_win.cc UINT rc = GetSystemDirectory(buffer, MAX_PATH); buffer 353 net/dns/dns_config_service_win.cc return base::FilePath(buffer).Append( buffer 99 net/dns/dns_test_util.cc char* buffer = response.io_buffer()->data(); buffer 101 net/dns/dns_test_util.cc memcpy(buffer, query.io_buffer()->data(), nbytes); buffer 103 net/dns/dns_test_util.cc reinterpret_cast<dns_protocol::Header*>(buffer); buffer 122 net/dns/dns_test_util.cc base::BigEndianWriter writer(buffer + nbytes, answer_size); buffer 101 net/dns/mdns_client_impl.cc int MDnsConnection::SocketHandler::Send(IOBuffer* buffer, unsigned size) { buffer 102 net/dns/mdns_client_impl.cc return socket_->SendTo(buffer, size, multicast_addr_, buffer 144 net/dns/mdns_client_impl.cc bool MDnsConnection::Send(IOBuffer* buffer, unsigned size) { buffer 147 net/dns/mdns_client_impl.cc int rv = socket_handlers_[i]->Send(buffer, size); buffer 55 net/dns/mdns_client_impl.h bool Send(IOBuffer* buffer, unsigned size); buffer 65 net/dns/mdns_client_impl.h int Send(IOBuffer* buffer, unsigned size); buffer 41 net/dns/mock_mdns_socket_factory.cc IOBuffer* buffer, int size, IPEndPoint* address, buffer 45 net/dns/mock_mdns_socket_factory.cc memcpy(buffer->data(), response_packet_.data(), size_returned); buffer 50 net/dns/mock_mdns_socket_factory.cc IOBuffer* buffer, int size, IPEndPoint* address, buffer 52 net/dns/mock_mdns_socket_factory.cc int rv = HandleRecvNow(buffer, size, address, callback); buffer 100 net/dns/mock_mdns_socket_factory.cc IOBuffer* buffer, int size, buffer 103 net/dns/mock_mdns_socket_factory.cc recv_buffer_ = buffer; buffer 25 net/dns/mock_mdns_socket_factory.h MOCK_METHOD4(RecvFrom, int(IOBuffer* buffer, int size, buffer 61 net/dns/mock_mdns_socket_factory.h int HandleRecvNow(IOBuffer* buffer, int size, IPEndPoint* address, buffer 64 net/dns/mock_mdns_socket_factory.h int HandleRecvLater(IOBuffer* buffer, int size, IPEndPoint* address, buffer 90 net/dns/mock_mdns_socket_factory.h int RecvFromInternal(IOBuffer* buffer, int size, buffer 182 net/http/http_auth_gssapi_posix.cc ScopedBuffer(gss_buffer_t buffer, buffer 184 net/http/http_auth_gssapi_posix.cc : buffer_(buffer), buffer 524 net/http/http_auth_gssapi_posix.cc gss_buffer_t buffer) { buffer 526 net/http/http_auth_gssapi_posix.cc return release_buffer_(minor_status, buffer); buffer 54 net/http/http_auth_gssapi_posix.h gss_buffer_t buffer) = 0; buffer 125 net/http/http_auth_gssapi_posix.h gss_buffer_t buffer) OVERRIDE; buffer 638 net/http/http_cache_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); buffer 639 net/http/http_cache_unittest.cc net::ReleaseBufferCompletionCallback cb(buffer.get()); buffer 644 net/http/http_cache_unittest.cc rv = trans->Read(buffer.get(), kBufferSize, cb.callback()); buffer 144 net/http/http_pipelined_connection_impl_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(expected.size())); buffer 148 net/http/http_pipelined_connection_impl_unittest.cc stream->ReadResponseBody(buffer.get(), expected.size(), buffer 154 net/http/http_pipelined_connection_impl_unittest.cc stream->ReadResponseBody(buffer.get(), expected.size(), buffer 157 net/http/http_pipelined_connection_impl_unittest.cc std::string actual(buffer->data(), expected.size()); buffer 484 net/http/http_pipelined_connection_impl_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(expected.size())); buffer 486 net/http/http_pipelined_connection_impl_unittest.cc stream1->ReadResponseBody(buffer.get(), expected.size(), buffer 501 net/http/http_pipelined_connection_impl_unittest.cc std::string actual(buffer->data(), expected.size()); buffer 131 net/http/http_pipelined_network_transaction_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(expected.size())); buffer 133 net/http/http_pipelined_network_transaction_unittest.cc EXPECT_EQ(ERR_IO_PENDING, transaction.Read(buffer.get(), expected.size(), buffer 139 net/http/http_pipelined_network_transaction_unittest.cc transaction.Read(buffer.get(), expected.size(), buffer 142 net/http/http_pipelined_network_transaction_unittest.cc std::string actual(buffer->data(), expected.size()); buffer 144 net/http/http_pipelined_network_transaction_unittest.cc EXPECT_EQ(OK, transaction.Read(buffer.get(), expected.size(), buffer 164 net/http/http_pipelined_network_transaction_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(8)); buffer 166 net/http/http_pipelined_network_transaction_unittest.cc one_transaction->Read(buffer.get(), 8, buffer 173 net/http/http_pipelined_network_transaction_unittest.cc std::string actual(buffer->data(), 8); buffer 175 net/http/http_pipelined_network_transaction_unittest.cc EXPECT_EQ(OK, one_transaction->Read(buffer.get(), 8, buffer 476 net/http/http_pipelined_network_transaction_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(1)); buffer 478 net/http/http_pipelined_network_transaction_unittest.cc one_transaction.Read(buffer.get(), 1, callback_.callback())); buffer 554 net/http/http_stream_parser_unittest.cc scoped_refptr<IOBuffer> buffer = new IOBuffer(user_buf_len); buffer 558 net/http/http_stream_parser_unittest.cc rv = parser_->ReadResponseBody(buffer, user_buf_len, callback.callback()); buffer 707 net/http/http_stream_parser_unittest.cc std::string buffer = "HTTP/1.1 200 OK\r\n"; buffer 709 net/http/http_stream_parser_unittest.cc int64 headers_size = buffer.size() + remaining_headers.size(); buffer 714 net/http/http_stream_parser_unittest.cc get_runner.AddInitialData(buffer); buffer 304 net/http/mock_gssapi_library_posix.cc gss_buffer_t buffer) { buffer 307 net/http/mock_gssapi_library_posix.cc if (!buffer) buffer 309 net/http/mock_gssapi_library_posix.cc ClearBuffer(buffer); buffer 136 net/http/mock_gssapi_library_posix.h gss_buffer_t buffer) OVERRIDE; buffer 525 net/http/mock_http_cache.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(size)); buffer 526 net/http/mock_http_cache.cc int rv = disk_entry->ReadData(0, 0, buffer.get(), size, cb.callback()); buffer 530 net/http/mock_http_cache.cc return net::HttpCache::ParseResponseInfo(buffer->data(), size, buffer 37 net/quic/crypto/null_decrypter.cc string buffer = associated_data.as_string(); buffer 38 net/quic/crypto/null_decrypter.cc plaintext.AppendToString(&buffer); buffer 39 net/quic/crypto/null_decrypter.cc if (hash != ComputeHash(buffer)) { buffer 62 net/quic/crypto/null_decrypter.cc string buffer = associated_data.as_string(); buffer 63 net/quic/crypto/null_decrypter.cc plaintext.AppendToString(&buffer); buffer 65 net/quic/crypto/null_decrypter.cc if (hash != ComputeHash(buffer)) { buffer 29 net/quic/crypto/null_encrypter.cc string buffer = associated_data.as_string(); buffer 30 net/quic/crypto/null_encrypter.cc plaintext.AppendToString(&buffer); buffer 31 net/quic/crypto/null_encrypter.cc uint128 hash = QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length()); buffer 42 net/quic/crypto/null_encrypter.cc uint8* buffer = new uint8[len]; buffer 43 net/quic/crypto/null_encrypter.cc Encrypt(StringPiece(), associated_data, plaintext, buffer); buffer 44 net/quic/crypto/null_encrypter.cc return new QuicData(reinterpret_cast<char*>(buffer), len, true); buffer 92 net/quic/iovector.h void Append(char* buffer, size_t length) { buffer 93 net/quic/iovector.h if (buffer != NULL && length > 0) { buffer 97 net/quic/iovector.h if (static_cast<char*>(last.iov_base) + last.iov_len == buffer) { buffer 102 net/quic/iovector.h struct iovec tmp = {buffer, length}; buffer 109 net/quic/iovector.h void AppendNoCoalesce(char* buffer, size_t length) { buffer 110 net/quic/iovector.h if (buffer != NULL && length > 0) { buffer 111 net/quic/iovector.h struct iovec tmp = {buffer, length}; buffer 672 net/quic/quic_client_session.cc scoped_refptr<IOBufferWithSize> buffer(read_buffer_); buffer 674 net/quic/quic_client_session.cc QuicEncryptedPacket packet(buffer->data(), result); buffer 40 net/quic/quic_client_session_test.cc const char* buffer, size_t buf_len, buffer 46 net/quic/quic_client_session_test.cc QuicEncryptedPacket packet(buffer, buf_len); buffer 119 net/quic/quic_connection_test.cc uint8* buffer = new uint8[len]; buffer 120 net/quic/quic_connection_test.cc Encrypt(StringPiece(), associated_data, plaintext, buffer); buffer 121 net/quic/quic_connection_test.cc return new QuicData(reinterpret_cast<char*>(buffer), len, true); buffer 291 net/quic/quic_connection_test.cc const char* buffer, size_t buf_len, buffer 294 net/quic/quic_connection_test.cc QuicEncryptedPacket packet(buffer, buf_len); buffer 214 net/quic/quic_data_stream_test.cc char buffer[2048]; buffer 215 net/quic/quic_data_stream_test.cc ASSERT_LT(headers.length() + body.length(), arraysize(buffer)); buffer 217 net/quic/quic_data_stream_test.cc vec.iov_base = buffer; buffer 218 net/quic/quic_data_stream_test.cc vec.iov_len = arraysize(buffer); buffer 222 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, string(buffer, bytes_read)); buffer 226 net/quic/quic_data_stream_test.cc EXPECT_EQ(body, string(buffer, bytes_read)); buffer 241 net/quic/quic_data_stream_test.cc char buffer[1]; buffer 243 net/quic/quic_data_stream_test.cc vec.iov_base = buffer; buffer 244 net/quic/quic_data_stream_test.cc vec.iov_len = arraysize(buffer); buffer 250 net/quic/quic_data_stream_test.cc EXPECT_EQ(data.data()[i], buffer[0]); buffer 27 net/quic/quic_default_packet_writer.cc const char* buffer, size_t buf_len, buffer 31 net/quic/quic_default_packet_writer.cc new StringIOBuffer(std::string(buffer, buf_len))); buffer 30 net/quic/quic_default_packet_writer.h const char* buffer, size_t buf_len, buffer 1780 net/quic/quic_framer.cc char* buffer = new char[len]; buffer 1782 net/quic/quic_framer.cc memcpy(buffer, header_data.data(), header_data.length()); buffer 1783 net/quic/quic_framer.cc memcpy(buffer + header_data.length(), out->data(), out->length()); buffer 1784 net/quic/quic_framer.cc return new QuicEncryptedPacket(buffer, len, true); buffer 27 net/quic/quic_packet_writer.h const char* buffer, size_t buf_len, buffer 536 net/quic/quic_protocol.cc QuicData::QuicData(const char* buffer, buffer 538 net/quic/quic_protocol.cc : buffer_(buffer), buffer 543 net/quic/quic_protocol.cc QuicData::QuicData(char* buffer, buffer 546 net/quic/quic_protocol.cc : buffer_(buffer), buffer 565 net/quic/quic_protocol.cc QuicPacket::QuicPacket(char* buffer, buffer 572 net/quic/quic_protocol.cc : QuicData(buffer, length, owns_buffer), buffer 573 net/quic/quic_protocol.cc buffer_(buffer), buffer 580 net/quic/quic_protocol.cc QuicEncryptedPacket::QuicEncryptedPacket(const char* buffer, buffer 582 net/quic/quic_protocol.cc : QuicData(buffer, length) { buffer 585 net/quic/quic_protocol.cc QuicEncryptedPacket::QuicEncryptedPacket(char* buffer, buffer 588 net/quic/quic_protocol.cc : QuicData(buffer, length, owns_buffer) { buffer 712 net/quic/quic_protocol.cc char* buffer = new char[this->length()]; buffer 713 net/quic/quic_protocol.cc memcpy(buffer, this->data(), this->length()); buffer 714 net/quic/quic_protocol.cc return new QuicEncryptedPacket(buffer, this->length(), true); buffer 858 net/quic/quic_protocol.h QuicData(const char* buffer, size_t length); buffer 859 net/quic/quic_protocol.h QuicData(char* buffer, size_t length, bool owns_buffer); buffer 880 net/quic/quic_protocol.h char* buffer, buffer 886 net/quic/quic_protocol.h return new QuicPacket(buffer, length, owns_buffer, connection_id_length, buffer 891 net/quic/quic_protocol.h char* buffer, buffer 897 net/quic/quic_protocol.h return new QuicPacket(buffer, length, owns_buffer, connection_id_length, buffer 911 net/quic/quic_protocol.h QuicPacket(char* buffer, buffer 930 net/quic/quic_protocol.h QuicEncryptedPacket(const char* buffer, size_t length); buffer 931 net/quic/quic_protocol.h QuicEncryptedPacket(char* buffer, size_t length, bool owns_buffer); buffer 327 net/quic/quic_stream_sequencer_test.cc char buffer[20]; buffer 329 net/quic/quic_stream_sequencer_test.cc iov[0].iov_base = &buffer[0]; buffer 331 net/quic/quic_stream_sequencer_test.cc iov[1].iov_base = &buffer[1]; buffer 360 net/quic/quic_stream_sequencer_test.cc EXPECT_EQ(0, strncmp(buffer, "def", 3)); buffer 370 net/quic/quic_stream_sequencer_test.cc EXPECT_EQ(0, strncmp(buffer, "ghijklmno", 9)); buffer 397 net/quic/quic_stream_sequencer_test.cc char buffer[9]; buffer 398 net/quic/quic_stream_sequencer_test.cc iovec read_iov = { &buffer[0], 3 }; buffer 449 net/quic/quic_stream_sequencer_test.cc char buffer[3]; buffer 459 net/quic/quic_stream_sequencer_test.cc iovec iov = { &buffer[0], 3 }; buffer 441 net/quic/test_tools/quic_test_utils.h WriteResult(const char* buffer, buffer 257 net/server/http_server.cc std::string buffer; buffer 270 net/server/http_server.cc info->method = buffer; buffer 271 net/server/http_server.cc buffer.clear(); buffer 274 net/server/http_server.cc info->path = buffer; buffer 275 net/server/http_server.cc buffer.clear(); buffer 279 net/server/http_server.cc DCHECK(buffer == "HTTP/1.1"); buffer 280 net/server/http_server.cc buffer.clear(); buffer 283 net/server/http_server.cc header_name = StringToLowerASCII(buffer); buffer 284 net/server/http_server.cc buffer.clear(); buffer 287 net/server/http_server.cc base::TrimWhitespaceASCII(buffer, base::TRIM_LEADING, &header_value); buffer 291 net/server/http_server.cc buffer.clear(); buffer 305 net/server/http_server.cc buffer.append(&ch, 1); buffer 94 net/server/web_socket.cc std::string buffer(data.begin() + 1, data.begin() + pos); buffer 95 net/server/web_socket.cc message->swap(buffer); buffer 352 net/server/web_socket.cc std::string buffer(p, p + payload_length); buffer 353 net/server/web_socket.cc output->swap(buffer); buffer 163 net/socket/socks5_client_socket_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(payload_write.size())); buffer 164 net/socket/socks5_client_socket_unittest.cc memcpy(buffer->data(), payload_write.data(), payload_write.size()); buffer 166 net/socket/socks5_client_socket_unittest.cc buffer.get(), payload_write.size(), callback_.callback()); buffer 171 net/socket/socks5_client_socket_unittest.cc buffer = new IOBuffer(payload_read.size()); buffer 173 net/socket/socks5_client_socket_unittest.cc user_sock_->Read(buffer.get(), payload_read.size(), callback_.callback()); buffer 177 net/socket/socks5_client_socket_unittest.cc EXPECT_EQ(payload_read, std::string(buffer->data(), payload_read.size())); buffer 174 net/socket/socks_client_socket_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(payload_write.size())); buffer 175 net/socket/socks_client_socket_unittest.cc memcpy(buffer->data(), payload_write.data(), payload_write.size()); buffer 177 net/socket/socks_client_socket_unittest.cc buffer.get(), payload_write.size(), callback_.callback()); buffer 182 net/socket/socks_client_socket_unittest.cc buffer = new IOBuffer(payload_read.size()); buffer 184 net/socket/socks_client_socket_unittest.cc user_sock_->Read(buffer.get(), payload_read.size(), callback_.callback()); buffer 188 net/socket/socks_client_socket_unittest.cc EXPECT_EQ(payload_read, std::string(buffer->data(), payload_read.size())); buffer 305 net/socket/ssl_client_socket_nss.cc int len, IOBuffer* buffer) { buffer 308 net/socket/ssl_client_socket_nss.cc net_log->AddByteTransferEvent(event_type, len, buffer->data()); buffer 782 net/socket/ssl_client_socket_nss.cc int DoBufferRecv(IOBuffer* buffer, int len); buffer 783 net/socket/ssl_client_socket_nss.cc int DoBufferSend(IOBuffer* buffer, int len); buffer 801 net/socket/ssl_client_socket_nss.cc void BufferRecvComplete(IOBuffer* buffer, int result); buffer 1423 net/socket/ssl_client_socket_unittest.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(8192)); buffer 1424 net/socket/ssl_client_socket_unittest.cc rv = callback.GetResult(sock->Read(buffer.get(), 8192, callback.callback())); buffer 214 net/socket/tcp_server_socket_unittest.cc std::vector<char> buffer(message.size()); buffer 241 net/socket/tcp_server_socket_unittest.cc memmove(&buffer[bytes_read], read_buffer->data(), read_result); buffer 245 net/socket/tcp_server_socket_unittest.cc std::string received_message(buffer.begin(), buffer.end()); buffer 226 net/socket/tcp_socket_unittest.cc std::vector<char> buffer(message.size()); buffer 254 net/socket/tcp_socket_unittest.cc memmove(&buffer[bytes_read], read_buffer->data(), read_result); buffer 258 net/socket/tcp_socket_unittest.cc std::string received_message(buffer.begin(), buffer.end()); buffer 213 net/spdy/hpack_decoder.cc string* buffer = is_key ? &huffman_key_buffer_ : &huffman_value_buffer_; buffer 214 net/spdy/hpack_decoder.cc bool result = input_stream->DecodeNextHuffmanString(huffman_table_, buffer); buffer 215 net/spdy/hpack_decoder.cc *output = StringPiece(*buffer); buffer 329 net/spdy/hpack_huffman_table_test.cc string buffer; buffer 337 net/spdy/hpack_huffman_table_test.cc EXPECT_TRUE(table.DecodeString(&input_stream, capacity, &buffer)); buffer 338 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(buffer, "\x02\x03\x02\x06"); buffer 347 net/spdy/hpack_huffman_table_test.cc EXPECT_FALSE(table.DecodeString(&input_stream, capacity, &buffer)); buffer 348 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(buffer, "\x02\x03\x02"); buffer 356 net/spdy/hpack_huffman_table_test.cc EXPECT_FALSE(table.DecodeString(&input_stream, capacity, &buffer)); buffer 359 net/spdy/hpack_huffman_table_test.cc EXPECT_THAT(buffer, ElementsAreArray(expected)); buffer 360 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(capacity, buffer.size()); buffer 369 net/spdy/hpack_huffman_table_test.cc EXPECT_FALSE(table.DecodeString(&input_stream, 4, &buffer)); buffer 370 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(buffer, "\x06"); buffer 377 net/spdy/hpack_huffman_table_test.cc string buffer; buffer 395 net/spdy/hpack_huffman_table_test.cc buffer.reserve(decoded.size()); buffer 396 net/spdy/hpack_huffman_table_test.cc EXPECT_TRUE(table.DecodeString(&input_stream, decoded.size(), &buffer)); buffer 397 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(decoded, buffer); buffer 399 net/spdy/hpack_huffman_table_test.cc output_stream.TakeString(&buffer); buffer 400 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(encoded, buffer); buffer 407 net/spdy/hpack_huffman_table_test.cc string buffer; buffer 431 net/spdy/hpack_huffman_table_test.cc buffer.reserve(decoded.size()); buffer 432 net/spdy/hpack_huffman_table_test.cc EXPECT_TRUE(table.DecodeString(&input_stream, decoded.size(), &buffer)); buffer 433 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(decoded, buffer); buffer 435 net/spdy/hpack_huffman_table_test.cc output_stream.TakeString(&buffer); buffer 436 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(encoded, buffer); buffer 18 net/spdy/hpack_input_stream.cc StringPiece buffer) buffer 20 net/spdy/hpack_input_stream.cc buffer_(buffer), buffer 28 net/spdy/hpack_input_stream.h HpackInputStream(uint32 max_string_literal_size, base::StringPiece buffer); buffer 17 net/spdy/spdy_buffer_producer.cc SimpleBufferProducer::SimpleBufferProducer(scoped_ptr<SpdyBuffer> buffer) buffer 18 net/spdy/spdy_buffer_producer.cc : buffer_(buffer.Pass()) {} buffer 36 net/spdy/spdy_buffer_producer.h explicit SimpleBufferProducer(scoped_ptr<SpdyBuffer> buffer); buffer 29 net/spdy/spdy_buffer_unittest.cc std::string BufferToString(const SpdyBuffer& buffer) { buffer 30 net/spdy/spdy_buffer_unittest.cc return std::string(buffer.GetRemainingData(), buffer.GetRemainingSize()); buffer 36 net/spdy/spdy_buffer_unittest.cc SpdyBuffer buffer( buffer 41 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(kData, buffer.GetRemainingData()); buffer 42 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(kDataSize, buffer.GetRemainingSize()); buffer 49 net/spdy/spdy_buffer_unittest.cc SpdyBuffer buffer(data.data(), data.size()); buffer 53 net/spdy/spdy_buffer_unittest.cc EXPECT_NE(kData, buffer.GetRemainingData()); buffer 54 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(kDataSize, buffer.GetRemainingSize()); buffer 55 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(std::string(kData, kDataSize), BufferToString(buffer)); buffer 70 net/spdy/spdy_buffer_unittest.cc SpdyBuffer buffer(kData, kDataSize); buffer 74 net/spdy/spdy_buffer_unittest.cc buffer.AddConsumeCallback( buffer 76 net/spdy/spdy_buffer_unittest.cc buffer.AddConsumeCallback( buffer 79 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(std::string(kData, kDataSize), BufferToString(buffer)); buffer 81 net/spdy/spdy_buffer_unittest.cc buffer.Consume(5); buffer 82 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(std::string(kData + 5, kDataSize - 5), BufferToString(buffer)); buffer 86 net/spdy/spdy_buffer_unittest.cc buffer.Consume(kDataSize - 5); buffer 87 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(0u, buffer.GetRemainingSize()); buffer 98 net/spdy/spdy_buffer_unittest.cc SpdyBuffer buffer(kData, kDataSize); buffer 99 net/spdy/spdy_buffer_unittest.cc buffer.AddConsumeCallback( buffer 110 net/spdy/spdy_buffer_unittest.cc SpdyBuffer buffer(kData, kDataSize); buffer 112 net/spdy/spdy_buffer_unittest.cc buffer.Consume(5); buffer 113 net/spdy/spdy_buffer_unittest.cc scoped_refptr<IOBuffer> io_buffer = buffer.GetIOBufferForRemainingData(); buffer 114 net/spdy/spdy_buffer_unittest.cc size_t io_buffer_size = buffer.GetRemainingSize(); buffer 118 net/spdy/spdy_buffer_unittest.cc buffer.Consume(kDataSize - 5); buffer 125 net/spdy/spdy_buffer_unittest.cc scoped_ptr<SpdyBuffer> buffer(new SpdyBuffer(kData, kDataSize)); buffer 127 net/spdy/spdy_buffer_unittest.cc scoped_refptr<IOBuffer> io_buffer = buffer->GetIOBufferForRemainingData(); buffer 128 net/spdy/spdy_buffer_unittest.cc buffer.reset(); buffer 2682 net/spdy/spdy_framer.cc char buffer[kHeaderDataChunkMaxSize]; buffer 2691 net/spdy/spdy_framer.cc decomp->next_out = reinterpret_cast<Bytef*>(buffer); buffer 2692 net/spdy/spdy_framer.cc decomp->avail_out = arraysize(buffer); buffer 2719 net/spdy/spdy_framer.cc size_t decompressed_len = arraysize(buffer) - decomp->avail_out; buffer 2722 net/spdy/spdy_framer.cc stream_id, buffer, decompressed_len); buffer 63 net/spdy/spdy_framer_test.cc char* buffer = visitor.ReleaseBuffer(); buffer 64 net/spdy/spdy_framer_test.cc CHECK(buffer != NULL); buffer 65 net/spdy/spdy_framer_test.cc SpdyFrame* decompressed_frame = new SpdyFrame(buffer, visitor.size(), true); buffer 795 net/spdy/spdy_framer_test.cc string buffer; buffer 796 net/spdy/spdy_framer_test.cc output_stream.TakeString(&buffer); buffer 797 net/spdy/spdy_framer_test.cc frame.WriteBytes(&buffer[0], buffer.size()); buffer 51 net/spdy/spdy_headers_block_parser.cc Reader reader(prefix.buffer(), prefix.length(), buffer 142 net/spdy/spdy_headers_block_parser.cc char buffer[] = {0, 0, 0, 0}; buffer 143 net/spdy/spdy_headers_block_parser.cc if (!reader->ReadN(length_field_size_, buffer)) { buffer 149 net/spdy/spdy_headers_block_parser.cc *parsed_length = ntohl(*reinterpret_cast<const uint32_t *>(buffer)); buffer 151 net/spdy/spdy_headers_block_parser.cc *parsed_length = ntohs(*reinterpret_cast<const uint16_t *>(buffer)); buffer 84 net/spdy/spdy_headers_block_parser_test.cc char buffer[4]; buffer 87 net/spdy/spdy_headers_block_parser_test.cc memcpy(buffer, &net_order_len, length_field_size_); buffer 90 net/spdy/spdy_headers_block_parser_test.cc memcpy(buffer, &net_order_len, length_field_size_); buffer 94 net/spdy/spdy_headers_block_parser_test.cc return string(buffer, length_field_size_); buffer 345 net/spdy/spdy_http_stream.cc void SpdyHttpStream::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) { buffer 353 net/spdy/spdy_http_stream.cc if (buffer) { buffer 354 net/spdy/spdy_http_stream.cc response_body_queue_.Enqueue(buffer.Pass()); buffer 83 net/spdy/spdy_http_stream.h virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; buffer 27 net/spdy/spdy_pinnable_buffer_piece.cc const char* buffer = buffer_; buffer 29 net/spdy/spdy_pinnable_buffer_piece.cc other->buffer_ = buffer; buffer 27 net/spdy/spdy_pinnable_buffer_piece.h const char * buffer() const { buffer 35 net/spdy/spdy_pinnable_buffer_piece_test.cc EXPECT_EQ(prefix_.data(), piece.buffer()); buffer 42 net/spdy/spdy_pinnable_buffer_piece_test.cc EXPECT_NE(prefix_.data(), piece.buffer()); buffer 45 net/spdy/spdy_pinnable_buffer_piece_test.cc const char* buffer = piece.buffer(); buffer 47 net/spdy/spdy_pinnable_buffer_piece_test.cc EXPECT_EQ(buffer, piece.buffer()); buffer 32 net/spdy/spdy_prefixed_buffer_reader_test.cc char buffer[] = "123456"; buffer 33 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_FALSE(reader.ReadN(10, buffer)); // Not enough buffer. buffer 34 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_TRUE(reader.ReadN(6, buffer)); buffer 35 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_THAT(buffer, ElementsAreArray("foobar")); buffer 55 net/spdy/spdy_prefixed_buffer_reader_test.cc char buffer[] = "123456"; buffer 56 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_FALSE(reader.ReadN(10, buffer)); // Not enough buffer. buffer 57 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_TRUE(reader.ReadN(6, buffer)); buffer 58 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_THAT(buffer, ElementsAreArray("foobar")); buffer 78 net/spdy/spdy_prefixed_buffer_reader_test.cc char buffer[] = "123456"; buffer 79 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_FALSE(reader.ReadN(10, buffer)); // Not enough buffer. buffer 80 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_TRUE(reader.ReadN(6, buffer)); buffer 81 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_THAT(buffer, ElementsAreArray("foobar")); buffer 101 net/spdy/spdy_prefixed_buffer_reader_test.cc char buffer[] = "1234"; buffer 104 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_TRUE(reader.ReadN(3, buffer)); buffer 105 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_THAT(buffer, ElementsAreArray("abc4")); buffer 108 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_TRUE(reader.ReadN(2, buffer)); buffer 109 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_THAT(buffer, ElementsAreArray("dec4")); buffer 122 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_TRUE(reader.ReadN(1, buffer)); buffer 123 net/spdy/spdy_prefixed_buffer_reader_test.cc EXPECT_THAT(buffer, ElementsAreArray("lec4")); buffer 460 net/spdy/spdy_proxy_client_socket.cc void SpdyProxyClientSocket::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) { buffer 461 net/spdy/spdy_proxy_client_socket.cc if (buffer) { buffer 463 net/spdy/spdy_proxy_client_socket.cc buffer->GetRemainingSize(), buffer 464 net/spdy/spdy_proxy_client_socket.cc buffer->GetRemainingData()); buffer 465 net/spdy/spdy_proxy_client_socket.cc read_buffer_queue_.Enqueue(buffer.Pass()); buffer 98 net/spdy/spdy_proxy_client_socket.h virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; buffer 28 net/spdy/spdy_read_queue.cc void SpdyReadQueue::Enqueue(scoped_ptr<SpdyBuffer> buffer) { buffer 29 net/spdy/spdy_read_queue.cc DCHECK_GT(buffer->GetRemainingSize(), 0u); buffer 30 net/spdy/spdy_read_queue.cc total_size_ += buffer->GetRemainingSize(); buffer 31 net/spdy/spdy_read_queue.cc queue_.push_back(buffer.release()); buffer 38 net/spdy/spdy_read_queue.cc SpdyBuffer* buffer = queue_.front(); buffer 40 net/spdy/spdy_read_queue.cc std::min(len - bytes_copied, buffer->GetRemainingSize()); buffer 41 net/spdy/spdy_read_queue.cc memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy); buffer 43 net/spdy/spdy_read_queue.cc if (bytes_to_copy == buffer->GetRemainingSize()) { buffer 47 net/spdy/spdy_read_queue.cc buffer->Consume(bytes_to_copy); buffer 33 net/spdy/spdy_read_queue.h void Enqueue(scoped_ptr<SpdyBuffer> buffer); buffer 49 net/spdy/spdy_read_queue_unittest.cc scoped_ptr<char[]> buffer(new char[buffer_size_with_padding]); buffer 50 net/spdy/spdy_read_queue_unittest.cc std::memset(buffer.get(), 0, buffer_size_with_padding); buffer 51 net/spdy/spdy_read_queue_unittest.cc char* buffer_data = buffer.get() + padding; buffer 1934 net/spdy/spdy_session.cc scoped_ptr<SpdyBuffer> buffer; buffer 1938 net/spdy/spdy_session.cc buffer.reset(new SpdyBuffer(data, len)); buffer 1942 net/spdy/spdy_session.cc buffer->AddConsumeCallback( buffer 1968 net/spdy/spdy_session.cc stream->OnDataReceived(buffer.Pass()); buffer 74 net/spdy/spdy_session_pool_unittest.cc virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE {} buffer 3246 net/spdy/spdy_session_unittest.cc virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE {} buffer 173 net/spdy/spdy_stream.cc scoped_ptr<SpdyBuffer> buffer(pending_recv_data_.front()); buffer 176 net/spdy/spdy_stream.cc bool eof = (buffer == NULL); buffer 179 net/spdy/spdy_stream.cc delegate_->OnDataReceived(buffer.Pass()); buffer 454 net/spdy/spdy_stream.cc void SpdyStream::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) { buffer 464 net/spdy/spdy_stream.cc if (buffer) { buffer 465 net/spdy/spdy_stream.cc pending_recv_data_.push_back(buffer.release()); buffer 486 net/spdy/spdy_stream.cc if (!buffer) { buffer 500 net/spdy/spdy_stream.cc size_t length = buffer->GetRemainingSize(); buffer 504 net/spdy/spdy_stream.cc buffer->AddConsumeCallback( buffer 514 net/spdy/spdy_stream.cc delegate_->OnDataReceived(buffer.Pass()); buffer 139 net/spdy/spdy_stream.h virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) = 0; buffer 314 net/spdy/spdy_stream.h void OnDataReceived(scoped_ptr<SpdyBuffer> buffer); buffer 32 net/spdy/spdy_stream_test_util.cc void ClosingDelegate::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) {} buffer 65 net/spdy/spdy_stream_test_util.cc void StreamDelegateBase::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) { buffer 66 net/spdy/spdy_stream_test_util.cc if (buffer) buffer 67 net/spdy/spdy_stream_test_util.cc received_data_queue_.Enqueue(buffer.Pass()); buffer 32 net/spdy/spdy_stream_test_util.h virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; buffer 53 net/spdy/spdy_stream_test_util.h virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; buffer 97 net/spdy/spdy_websocket_stream.cc void SpdyWebSocketStream::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) { buffer 99 net/spdy/spdy_websocket_stream.cc delegate_->OnReceivedSpdyData(buffer.Pass()); buffer 52 net/spdy/spdy_websocket_stream.h virtual void OnReceivedSpdyData(scoped_ptr<SpdyBuffer> buffer) = 0; buffer 81 net/spdy/spdy_websocket_stream.h virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; buffer 116 net/spdy/spdy_websocket_stream_unittest.cc virtual void OnReceivedSpdyData(scoped_ptr<SpdyBuffer> buffer) OVERRIDE { buffer 119 net/spdy/spdy_websocket_stream_unittest.cc if (buffer) { buffer 120 net/spdy/spdy_websocket_stream_unittest.cc buffer_len = buffer->GetRemainingSize(); buffer 121 net/spdy/spdy_websocket_stream_unittest.cc buffer_data.append(buffer->GetRemainingData(), buffer_len); buffer 50 net/spdy/spdy_write_queue_unittest.cc scoped_ptr<SpdyBuffer> buffer = producer->ProduceBuffer(); buffer 51 net/spdy/spdy_write_queue_unittest.cc return std::string(buffer->GetRemainingData(), buffer->GetRemainingSize()); buffer 245 net/test/openssl_helper.cc unsigned char buffer[6]; buffer 247 net/test/openssl_helper.cc int ret = SSL_read(server, buffer, sizeof(buffer)); buffer 253 net/test/openssl_helper.cc if (memcmp(buffer, "hello!", sizeof(buffer)) == 0) { buffer 63 net/test/spawned_test_server/local_test_server_posix.cc bool ReadData(int fd, ssize_t bytes_max, uint8* buffer, buffer 91 net/test/spawned_test_server/local_test_server_posix.cc ssize_t num_bytes = HANDLE_EINTR(read(fd, buffer + bytes_read, buffer 49 net/test/spawned_test_server/local_test_server_win.cc DWORD bytes_max, uint8* buffer) { buffer 63 net/test/spawned_test_server/local_test_server_win.cc if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read, buffer 8793 net/third_party/nss/ssl/ssl3con.c ssl3_HandleV2ClientHello(sslSocket *ss, unsigned char *buffer, int length) buffer 8833 net/third_party/nss/ssl/ssl3con.c version = (buffer[1] << 8) | buffer[2]; buffer 8834 net/third_party/nss/ssl/ssl3con.c suite_length = (buffer[3] << 8) | buffer[4]; buffer 8835 net/third_party/nss/ssl/ssl3con.c sid_length = (buffer[5] << 8) | buffer[6]; buffer 8836 net/third_party/nss/ssl/ssl3con.c rand_length = (buffer[7] << 8) | buffer[8]; buffer 8864 net/third_party/nss/ssl/ssl3con.c suites = buffer + SSL_HL_CLIENT_HELLO_HBYTES; buffer 8953 net/third_party/nss/ssl/ssl3con.c rv = ssl3_UpdateHandshakeHashes(ss, buffer, length); buffer 1381 net/third_party/nss/ssl/ssl3ext.c unsigned char *buffer; buffer 1550 net/third_party/nss/ssl/ssl3ext.c buffer = decrypted_state->data; buffer 1560 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 2, &buffer, &buffer_len); buffer 1565 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 2, &buffer, &buffer_len); buffer 1570 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 2, &buffer, &buffer_len); buffer 1575 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 1, &buffer, &buffer_len); buffer 1580 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 1, &buffer, &buffer_len); buffer 1583 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 4, &buffer, &buffer_len); buffer 1586 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 1, &buffer, &buffer_len); buffer 1589 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 4, &buffer, &buffer_len); buffer 1594 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 1, &buffer, &buffer_len); buffer 1598 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 1, &buffer, &buffer_len); buffer 1602 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 4, &buffer, &buffer_len); buffer 1606 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 2, &buffer, &buffer_len); buffer 1617 net/third_party/nss/ssl/ssl3ext.c PORT_Memcpy(parsed_session_ticket->master_secret, buffer, buffer 1619 net/third_party/nss/ssl/ssl3ext.c buffer += parsed_session_ticket->ms_length; buffer 1623 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 1, &buffer, &buffer_len); buffer 1633 net/third_party/nss/ssl/ssl3ext.c &buffer, &buffer_len); buffer 1643 net/third_party/nss/ssl/ssl3ext.c temp = ssl3_ConsumeHandshakeNumber(ss, 4, &buffer, &buffer_len); buffer 1650 net/third_party/nss/ssl/ssl3ext.c ssl3_ConsumeHandshakeNumber(ss, 1, &buffer, &buffer_len); buffer 1653 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ConsumeHandshakeVariable(ss, &name_item, 2, &buffer, buffer 1656 net/third_party/nss/ssl/sslimpl.h sslSocket *ss, unsigned char *buffer, int length); buffer 110 net/tools/balsa/balsa_headers.cc if (blocks_[0].buffer == NULL && sp.size() <= blocksize_) { buffer 118 net/tools/balsa/balsa_headers.cc char* old_storage = blocks_[0].buffer; buffer 123 net/tools/balsa/balsa_headers.cc blocks_[0].buffer = new_storage; buffer 223 net/tools/balsa/balsa_headers.cc if (b.buffer == NULL) { buffer 227 net/tools/balsa/balsa_headers.cc block.buffer = new char[b.buffer_size]; buffer 228 net/tools/balsa/balsa_headers.cc memcpy(block.buffer, b.buffer, b.bytes_used()); buffer 234 net/tools/balsa/balsa_headers.cc delete[] blocks_[i].buffer; buffer 817 net/tools/balsa/balsa_headers.cc char buffer[kFastToBufferSize]; buffer 818 net/tools/balsa/balsa_headers.cc int len_converted = snprintf(buffer, sizeof(buffer), "%zd", length); buffer 820 net/tools/balsa/balsa_headers.cc const base::StringPiece length_str(buffer, len_converted); buffer 925 net/tools/balsa/balsa_headers.cc char buffer[kFastToBufferSize]; buffer 926 net/tools/balsa/balsa_headers.cc int len_converted = snprintf(buffer, sizeof(buffer), buffer 929 net/tools/balsa/balsa_headers.cc SetResponseCode(base::StringPiece(buffer, len_converted)); buffer 75 net/tools/balsa/balsa_headers.h char* buffer; buffer 83 net/tools/balsa/balsa_headers.h return buffer + bytes_used(); buffer 86 net/tools/balsa/balsa_headers.h BufferBlock() : buffer(NULL), buffer_size(0), bytes_free(0) {} buffer 90 net/tools/balsa/balsa_headers.h buffer(buf), buffer_size(size), bytes_free(free) {} buffer 107 net/tools/balsa/balsa_headers.h return blocks_[block_idx].buffer; buffer 113 net/tools/balsa/balsa_headers.h return blocks_[block_idx].buffer; buffer 166 net/tools/balsa/balsa_headers.h return blocks_[0].buffer; buffer 170 net/tools/balsa/balsa_headers.h return blocks_[0].buffer + blocks_[0].bytes_used(); buffer 758 net/tools/balsa/balsa_headers.h void WriteHeaderAndEndingToBuffer(Buffer* buffer) const { buffer 759 net/tools/balsa/balsa_headers.h WriteToBuffer(buffer); buffer 760 net/tools/balsa/balsa_headers.h WriteHeaderEndingToBuffer(buffer); buffer 767 net/tools/balsa/balsa_headers.h static void WriteHeaderEndingToBuffer(Buffer* buffer) { buffer 768 net/tools/balsa/balsa_headers.h buffer->Write("\r\n", 2); buffer 777 net/tools/balsa/balsa_headers.h void WriteToBuffer(Buffer* buffer) const { buffer 781 net/tools/balsa/balsa_headers.h buffer->Write(stream_begin + non_whitespace_1_idx_, firstline_len); buffer 782 net/tools/balsa/balsa_headers.h buffer->Write("\r\n", 2); buffer 791 net/tools/balsa/balsa_headers.h buffer, buffer 806 net/tools/balsa/balsa_headers.h static void WriteHeaderLineToBuffer(Buffer* buffer, buffer 812 net/tools/balsa/balsa_headers.h buffer->Write(key.data(), key.size()); buffer 813 net/tools/balsa/balsa_headers.h buffer->Write(": ", 2); buffer 814 net/tools/balsa/balsa_headers.h buffer->Write(value.data(), value.size()); buffer 815 net/tools/balsa/balsa_headers.h buffer->Write("\r\n", 2); buffer 351 net/tools/balsa/balsa_headers_test.cc StringBuffer buffer; buffer 352 net/tools/balsa/balsa_headers_test.cc headers_->WriteHeaderAndEndingToBuffer(&buffer); buffer 353 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(expected, buffer.string()); buffer 367 net/tools/balsa/balsa_headers_test.cc StringBuffer buffer; buffer 368 net/tools/balsa/balsa_headers_test.cc headers_->WriteHeaderAndEndingToBuffer(&buffer); buffer 369 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(expected, buffer.string()); buffer 78 net/tools/dump_cache/dump_files.cc scoped_ptr<int32[]> buffer(new int32[length]); buffer 79 net/tools/dump_cache/dump_files.cc if (!file->Read(buffer.get(), length, offset)) buffer 82 net/tools/dump_cache/dump_files.cc printf("Stats:\nSignatrure: 0x%x\n", buffer[0]); buffer 83 net/tools/dump_cache/dump_files.cc printf("Total size: %d\n", buffer[1]); buffer 85 net/tools/dump_cache/dump_files.cc printf("Size(%d): %d\n", i, buffer[i + 2]); buffer 88 net/tools/dump_cache/dump_files.cc buffer.get() + 2 + disk_cache::Stats::kDataSizesLength); buffer 78 net/tools/dump_cache/upgrade_win.cc char buffer[kBufferSize]; buffer 390 net/tools/dump_cache/upgrade_win.cc std::string key(input_->buffer); buffer 402 net/tools/dump_cache/upgrade_win.cc std::string key(input_->buffer); buffer 506 net/tools/dump_cache/upgrade_win.cc new net::WrappedIOBuffer(input_->buffer); buffer 781 net/tools/dump_cache/upgrade_win.cc memcpy(output_->buffer, key.c_str(), msg.buffer_bytes); buffer 836 net/tools/dump_cache/upgrade_win.cc new net::WrappedIOBuffer(output_->buffer); buffer 249 net/tools/flip_server/http_interface.cc char* buffer = new char[df->size]; buffer 250 net/tools/flip_server/http_interface.cc df->data = buffer; buffer 252 net/tools/flip_server/http_interface.cc sb.Read(buffer, df->size); buffer 266 net/tools/flip_server/http_interface.cc char* buffer = new char[df->size]; buffer 267 net/tools/flip_server/http_interface.cc df->data = buffer; buffer 269 net/tools/flip_server/http_interface.cc sb.Read(buffer, df->size); buffer 287 net/tools/flip_server/http_interface.cc char* buffer = new char[df->size]; buffer 288 net/tools/flip_server/http_interface.cc df->data = buffer; buffer 290 net/tools/flip_server/http_interface.cc memcpy(buffer, chunk_description.data(), chunk_description.size()); buffer 291 net/tools/flip_server/http_interface.cc memcpy(buffer + chunk_description.size(), data, len); buffer 292 net/tools/flip_server/http_interface.cc memcpy(buffer + chunk_description.size() + len, "\r\n", 2); buffer 48 net/tools/flip_server/loadtime_measurement.h char buffer[16]; buffer 49 net/tools/flip_server/loadtime_measurement.h snprintf(buffer, sizeof(buffer), "%d", num_urls_); buffer 50 net/tools/flip_server/loadtime_measurement.h output.append(buffer, strlen(buffer)); buffer 94 net/tools/flip_server/loadtime_measurement.h char buffer[4096]; buffer 95 net/tools/flip_server/loadtime_measurement.h ssize_t read_status = read(fd, buffer, sizeof(buffer)); buffer 97 net/tools/flip_server/loadtime_measurement.h output->append(buffer, static_cast<size_t>(read_status)); buffer 99 net/tools/flip_server/loadtime_measurement.h read_status = read(fd, buffer, sizeof(buffer)); buffer 126 net/tools/flip_server/mem_cache.cc char buffer[4096]; buffer 127 net/tools/flip_server/mem_cache.cc ssize_t read_status = read(fd, buffer, sizeof(buffer)); buffer 129 net/tools/flip_server/mem_cache.cc output->append(buffer, static_cast<size_t>(read_status)); buffer 131 net/tools/flip_server/mem_cache.cc read_status = read(fd, buffer, sizeof(buffer)); buffer 94 net/tools/flip_server/ring_buffer.h const char* buffer() const { return buffer_.get(); } buffer 183 net/tools/flip_server/streamer_interface.cc char* buffer; buffer 186 net/tools/flip_server/streamer_interface.cc sb.GetReadablePtr(&buffer, &size); buffer 187 net/tools/flip_server/streamer_interface.cc sm_other_interface_->ProcessWriteInput(buffer, size); buffer 872 net/tools/quic/end_to_end_test.cc const char* buffer, buffer 878 net/tools/quic/end_to_end_test.cc buffer, buf_len, self_address_.address(), peer_address); buffer 322 net/tools/quic/quic_client.cc int QuicClient::ReadPacket(char* buffer, buffer 327 net/tools/quic/quic_client.cc fd_, buffer, buffer_len, overflow_supported_ ? &packets_dropped_ : NULL, buffer 177 net/tools/quic/quic_client.h virtual int ReadPacket(char* buffer, buffer 19 net/tools/quic/quic_default_packet_writer.cc const char* buffer, size_t buf_len, buffer 24 net/tools/quic/quic_default_packet_writer.cc fd_, buffer, buf_len, self_address, peer_address); buffer 26 net/tools/quic/quic_default_packet_writer.h const char* buffer, size_t buf_len, buffer 313 net/tools/quic/quic_dispatcher_test.cc const char* buffer, buffer 321 net/tools/quic/quic_dispatcher_test.cc buffer, buf_len, self_client_address, peer_client_address); buffer 20 net/tools/quic/quic_packet_writer_wrapper.cc const char* buffer, buffer 24 net/tools/quic/quic_packet_writer_wrapper.cc return writer_->WritePacket(buffer, buf_len, self_address, peer_address); buffer 27 net/tools/quic/quic_packet_writer_wrapper.h const char* buffer, buffer 83 net/tools/quic/quic_socket_utils.cc int QuicSocketUtils::ReadPacket(int fd, char* buffer, size_t buf_len, buffer 93 net/tools/quic/quic_socket_utils.cc iovec iov = {buffer, buf_len}; buffer 141 net/tools/quic/quic_socket_utils.cc const char* buffer, buffer 150 net/tools/quic/quic_socket_utils.cc iovec iov = {const_cast<char*>(buffer), buf_len}; buffer 46 net/tools/quic/quic_socket_utils.h char* buffer, buffer 56 net/tools/quic/quic_socket_utils.h static WriteResult WritePacket(int fd, const char* buffer, size_t buf_len, buffer 78 net/tools/quic/test_tools/packet_dropping_test_writer.cc const char* buffer, buffer 121 net/tools/quic/test_tools/packet_dropping_test_writer.cc delayed_packets_.push_back(DelayedWrite(buffer, buf_len, self_address, buffer 134 net/tools/quic/test_tools/packet_dropping_test_writer.cc buffer, buf_len, self_address, peer_address); buffer 171 net/tools/quic/test_tools/packet_dropping_test_writer.cc iter->buffer.data(), iter->buffer.length(), buffer 173 net/tools/quic/test_tools/packet_dropping_test_writer.cc DCHECK_GE(cur_buffer_size_, iter->buffer.length()); buffer 174 net/tools/quic/test_tools/packet_dropping_test_writer.cc cur_buffer_size_ -= iter->buffer.length(); buffer 200 net/tools/quic/test_tools/packet_dropping_test_writer.cc const char* buffer, buffer 205 net/tools/quic/test_tools/packet_dropping_test_writer.cc : buffer(buffer, buf_len), buffer 47 net/tools/quic/test_tools/packet_dropping_test_writer.h const char* buffer, buffer 118 net/tools/quic/test_tools/packet_dropping_test_writer.h DelayedWrite(const char* buffer, buffer 125 net/tools/quic/test_tools/packet_dropping_test_writer.h string buffer; buffer 451 net/tools/quic/test_tools/quic_test_client.cc ssize_t QuicTestClient::Send(const void *buffer, size_t size) { buffer 452 net/tools/quic/test_tools/quic_test_client.cc return SendData(string(static_cast<const char*>(buffer), size), false); buffer 512 net/tools/quic/test_tools/quic_test_client.cc ssize_t QuicTestClient::SendAndWaitForResponse(const void *buffer, buffer 103 net/tools/quic/test_tools/quic_test_client.h virtual ssize_t Send(const void *buffer, size_t size) OVERRIDE; buffer 119 net/tools/quic/test_tools/quic_test_client.h virtual ssize_t SendAndWaitForResponse(const void *buffer, buffer 128 net/tools/quic/test_tools/quic_test_utils.h WriteResult(const char* buffer, buffer 28 net/tools/quic/test_tools/simple_client.h virtual ssize_t Send(const void *buffer, size_t size) = 0; buffer 35 net/tools/quic/test_tools/simple_client.h virtual ssize_t SendAndWaitForResponse(const void *buffer, size_t size) = 0; buffer 61 net/udp/udp_socket_unittest.cc scoped_refptr<DrainableIOBuffer> buffer( buffer 65 net/udp/udp_socket_unittest.cc while (buffer->BytesRemaining()) { buffer 67 net/udp/udp_socket_unittest.cc buffer.get(), buffer->BytesRemaining(), address, callback.callback()); buffer 73 net/udp/udp_socket_unittest.cc buffer->DidConsume(rv); buffer 96 net/udp/udp_socket_unittest.cc scoped_refptr<DrainableIOBuffer> buffer( buffer 100 net/udp/udp_socket_unittest.cc while (buffer->BytesRemaining()) { buffer 102 net/udp/udp_socket_unittest.cc buffer.get(), buffer->BytesRemaining(), callback.callback()); buffer 108 net/udp/udp_socket_unittest.cc buffer->DidConsume(rv); buffer 160 net/url_request/test_url_fetcher_factory.cc scoped_refptr<IOBuffer> buffer(new StringIOBuffer(fake_response_string_)); buffer 161 net/url_request/test_url_fetcher_factory.cc response = response_writer_->Write(buffer.get(), buffer 36 net/url_request/url_fetcher_response_writer.cc int URLFetcherStringWriter::Write(IOBuffer* buffer, buffer 39 net/url_request/url_fetcher_response_writer.cc data_.append(buffer->data(), num_bytes); buffer 93 net/url_request/url_fetcher_response_writer.cc int URLFetcherFileWriter::Write(IOBuffer* buffer, buffer 99 net/url_request/url_fetcher_response_writer.cc int result = file_stream_->Write(buffer, num_bytes, buffer 42 net/url_request/url_fetcher_response_writer.h virtual int Write(IOBuffer* buffer, buffer 67 net/url_request/url_fetcher_response_writer.h virtual int Write(IOBuffer* buffer, buffer 93 net/url_request/url_fetcher_response_writer.h virtual int Write(IOBuffer* buffer, buffer 172 net/url_request/url_request_unittest.cc void FillBuffer(char* buffer, size_t len) { buffer 181 net/url_request/url_request_unittest.cc buffer[i] = static_cast<char>(rand()); buffer 182 net/url_request/url_request_unittest.cc if (!buffer[i]) buffer 183 net/url_request/url_request_unittest.cc buffer[i] = 'g'; buffer 740 net/url_request/url_request_unittest.cc scoped_ptr<char[]> buffer(new char[buffer_size]); buffer 741 net/url_request/url_request_unittest.cc FillBuffer(buffer.get(), buffer_size); buffer 746 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size)); buffer 754 net/url_request/url_request_unittest.cc std::string partial_buffer_string(buffer.get() + first_byte_position, buffer 755 net/url_request/url_request_unittest.cc buffer.get() + last_byte_position + 1); buffer 784 net/url_request/url_request_unittest.cc scoped_ptr<char[]> buffer(new char[buffer_size]); buffer 785 net/url_request/url_request_unittest.cc FillBuffer(buffer.get(), buffer_size); buffer 790 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size)); buffer 798 net/url_request/url_request_unittest.cc std::string partial_buffer_string(buffer.get() + first_byte_position, buffer 799 net/url_request/url_request_unittest.cc buffer.get() + last_byte_position + 1); buffer 827 net/url_request/url_request_unittest.cc scoped_ptr<char[]> buffer(new char[buffer_size]); buffer 828 net/url_request/url_request_unittest.cc FillBuffer(buffer.get(), buffer_size); buffer 833 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size)); buffer 946 net/url_request/url_request_unittest.cc scoped_ptr<char[]> buffer(new char[data.nFileSizeLow]); buffer 949 net/url_request/url_request_unittest.cc result = ReadFile(file, buffer.get(), data.nFileSizeLow, buffer 951 net/url_request/url_request_unittest.cc std::string content(buffer.get(), read_size); buffer 200 net/websockets/websocket_basic_stream.cc const scoped_refptr<DrainableIOBuffer>& buffer, buffer 202 net/websockets/websocket_basic_stream.cc while (buffer->BytesRemaining() > 0) { buffer 206 net/websockets/websocket_basic_stream.cc buffer.get(), buffer 207 net/websockets/websocket_basic_stream.cc buffer->BytesRemaining(), buffer 210 net/websockets/websocket_basic_stream.cc buffer, buffer 213 net/websockets/websocket_basic_stream.cc buffer->DidConsume(result); buffer 222 net/websockets/websocket_basic_stream.cc const scoped_refptr<DrainableIOBuffer>& buffer, buffer 232 net/websockets/websocket_basic_stream.cc buffer->DidConsume(result); buffer 233 net/websockets/websocket_basic_stream.cc result = WriteEverything(buffer, callback); buffer 71 net/websockets/websocket_basic_stream.h int WriteEverything(const scoped_refptr<DrainableIOBuffer>& buffer, buffer 75 net/websockets/websocket_basic_stream.h void OnWriteComplete(const scoped_refptr<DrainableIOBuffer>& buffer, buffer 388 net/websockets/websocket_channel.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(data.size())); buffer 389 net/websockets/websocket_channel.cc std::copy(data.begin(), data.end(), buffer->data()); buffer 390 net/websockets/websocket_channel.cc AllowUnused(SendFrameFromIOBuffer(fin, op_code, buffer, data.size())); buffer 913 net/websockets/websocket_channel.cc const scoped_refptr<IOBuffer>& buffer, buffer 923 net/websockets/websocket_channel.cc frame->data = buffer; buffer 995 net/websockets/websocket_channel.cc bool WebSocketChannel::ParseClose(const scoped_refptr<IOBuffer>& buffer, buffer 1009 net/websockets/websocket_channel.cc << static_cast<int>(buffer->data()[0]) << ")"; buffer 1016 net/websockets/websocket_channel.cc const char* data = buffer->data(); buffer 267 net/websockets/websocket_channel.h const scoped_refptr<IOBuffer>& buffer, buffer 296 net/websockets/websocket_channel.h bool ParseClose(const scoped_refptr<IOBuffer>& buffer, buffer 49 net/websockets/websocket_deflate_stream_test.cc scoped_refptr<IOBuffer> buffer = new IOBuffer(s.size()); buffer 50 net/websockets/websocket_deflate_stream_test.cc memcpy(buffer->data(), s.data(), s.size()); buffer 51 net/websockets/websocket_deflate_stream_test.cc return buffer; buffer 54 net/websockets/websocket_deflate_stream_test.cc std::string ToString(IOBufferWithSize* buffer) { buffer 55 net/websockets/websocket_deflate_stream_test.cc return std::string(buffer->data(), buffer->size()); buffer 58 net/websockets/websocket_deflate_stream_test.cc std::string ToString(const scoped_refptr<IOBufferWithSize>& buffer) { buffer 59 net/websockets/websocket_deflate_stream_test.cc return ToString(buffer.get()); buffer 62 net/websockets/websocket_deflate_stream_test.cc std::string ToString(IOBuffer* buffer, size_t size) { buffer 63 net/websockets/websocket_deflate_stream_test.cc return std::string(buffer->data(), size); buffer 66 net/websockets/websocket_deflate_stream_test.cc std::string ToString(const scoped_refptr<IOBuffer>& buffer, size_t size) { buffer 67 net/websockets/websocket_deflate_stream_test.cc return ToString(buffer.get(), size); buffer 17 net/websockets/websocket_deflater_test.cc std::string ToString(IOBufferWithSize* buffer) { buffer 18 net/websockets/websocket_deflater_test.cc return std::string(buffer->data(), buffer->size()); buffer 84 net/websockets/websocket_frame.cc char* buffer, buffer 115 net/websockets/websocket_frame.cc buffer[buffer_index++] = first_byte; buffer 129 net/websockets/websocket_frame.cc buffer[buffer_index++] = second_byte; buffer 134 net/websockets/websocket_frame.cc base::WriteBigEndian(buffer + buffer_index, payload_length_16); buffer 137 net/websockets/websocket_frame.cc base::WriteBigEndian(buffer + buffer_index, header.payload_length); buffer 146 net/websockets/websocket_frame.cc buffer + buffer_index); buffer 169 net/websockets/websocket_frame.h char* buffer, buffer 90 net/websockets/websocket_inflater.cc scoped_refptr<ShrinkableIOBufferWithSize> buffer = buffer 97 net/websockets/websocket_inflater.cc output_buffer_.Read(&buffer->data()[num_bytes_copied], num_bytes_to_copy); buffer 103 net/websockets/websocket_inflater.cc buffer->Shrink(num_bytes_copied); buffer 104 net/websockets/websocket_inflater.cc return buffer; buffer 277 net/websockets/websocket_inflater.cc IOBufferWithSize* buffer = buffers_.back().get(); buffer 278 net/websockets/websocket_inflater.cc memcpy(&buffer->data()[tail_of_last_buffer_], data, num_bytes_to_copy); buffer 21 net/websockets/websocket_inflater_test.cc std::string ToString(IOBufferWithSize* buffer) { buffer 22 net/websockets/websocket_inflater_test.cc return std::string(buffer->data(), buffer->size()); buffer 61 net/websockets/websocket_inflater_test.cc scoped_refptr<IOBufferWithSize> buffer = inflater.GetOutput(1); buffer 62 net/websockets/websocket_inflater_test.cc ASSERT_TRUE(buffer); buffer 63 net/websockets/websocket_inflater_test.cc ASSERT_EQ(1, buffer->size()); buffer 64 net/websockets/websocket_inflater_test.cc actual += ToString(buffer.get()); buffer 113 net/websockets/websocket_job.cc scoped_refptr<IOBufferWithSize> buffer = new IOBufferWithSize(len); buffer 114 net/websockets/websocket_job.cc memcpy(buffer->data(), data, len); buffer 116 net/websockets/websocket_job.cc send_buffer_queue_.push_back(buffer); buffer 119 net/websockets/websocket_job.cc current_send_buffer_ = new DrainableIOBuffer(buffer.get(), len); buffer 336 net/websockets/websocket_job.cc void WebSocketJob::OnReceivedSpdyData(scoped_ptr<SpdyBuffer> buffer) { buffer 343 net/websockets/websocket_job.cc if (buffer) { buffer 345 net/websockets/websocket_job.cc socket_.get(), buffer->GetRemainingData(), buffer->GetRemainingSize()); buffer 86 net/websockets/websocket_job.h virtual void OnReceivedSpdyData(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; buffer 32 ppapi/c/dev/ppb_crypto_dev.h void (*GetRandomBytes)(char* buffer, uint32_t num_bytes); buffer 144 ppapi/c/dev/ppb_video_capture_dev.h int32_t (*ReuseBuffer)(PP_Resource video_capture, uint32_t buffer); buffer 76 ppapi/c/dev/ppp_video_capture_dev.h uint32_t buffer); buffer 81 ppapi/c/ppb_audio_buffer.h PP_TimeDelta (*GetTimestamp)(PP_Resource buffer); buffer 91 ppapi/c/ppb_audio_buffer.h void (*SetTimestamp)(PP_Resource buffer, PP_TimeDelta timestamp); buffer 100 ppapi/c/ppb_audio_buffer.h PP_AudioBuffer_SampleRate (*GetSampleRate)(PP_Resource buffer); buffer 109 ppapi/c/ppb_audio_buffer.h PP_AudioBuffer_SampleSize (*GetSampleSize)(PP_Resource buffer); buffer 118 ppapi/c/ppb_audio_buffer.h uint32_t (*GetNumberOfChannels)(PP_Resource buffer); buffer 129 ppapi/c/ppb_audio_buffer.h uint32_t (*GetNumberOfSamples)(PP_Resource buffer); buffer 138 ppapi/c/ppb_audio_buffer.h void* (*GetDataBuffer)(PP_Resource buffer); buffer 147 ppapi/c/ppb_audio_buffer.h uint32_t (*GetDataBufferSize)(PP_Resource buffer); buffer 198 ppapi/c/ppb_file_io.h char* buffer, buffer 222 ppapi/c/ppb_file_io.h const char* buffer, buffer 318 ppapi/c/ppb_file_io.h char* buffer, buffer 323 ppapi/c/ppb_file_io.h const char* buffer, buffer 181 ppapi/c/ppb_media_stream_audio_track.h PP_Resource* buffer, buffer 196 ppapi/c/ppb_media_stream_audio_track.h int32_t (*RecycleBuffer)(PP_Resource audio_track, PP_Resource buffer); buffer 52 ppapi/c/ppb_opengles2.h void (*BindBuffer)(PP_Resource context, GLenum target, GLuint buffer); buffer 292 ppapi/c/ppb_opengles2.h GLboolean (*IsBuffer)(PP_Resource context, GLuint buffer); buffer 184 ppapi/c/ppb_tcp_socket.h char* buffer, buffer 202 ppapi/c/ppb_tcp_socket.h const char* buffer, buffer 287 ppapi/c/ppb_tcp_socket.h char* buffer, buffer 291 ppapi/c/ppb_tcp_socket.h const char* buffer, buffer 151 ppapi/c/ppb_udp_socket.h char* buffer, buffer 173 ppapi/c/ppb_udp_socket.h const char* buffer, buffer 182 ppapi/c/ppb_url_loader.h void* buffer, buffer 138 ppapi/c/private/ppb_tcp_socket_private.h char* buffer, buffer 149 ppapi/c/private/ppb_tcp_socket_private.h const char* buffer, buffer 194 ppapi/c/private/ppb_tcp_socket_private.h char* buffer, buffer 198 ppapi/c/private/ppb_tcp_socket_private.h const char* buffer, buffer 227 ppapi/c/private/ppb_tcp_socket_private.h char* buffer, buffer 231 ppapi/c/private/ppb_tcp_socket_private.h const char* buffer, buffer 93 ppapi/c/private/ppb_udp_socket_private.h char* buffer, buffer 106 ppapi/c/private/ppb_udp_socket_private.h const char* buffer, buffer 123 ppapi/c/private/ppb_udp_socket_private.h char* buffer, buffer 129 ppapi/c/private/ppb_udp_socket_private.h const char* buffer, buffer 145 ppapi/c/private/ppb_udp_socket_private.h char* buffer, buffer 151 ppapi/c/private/ppb_udp_socket_private.h const char* buffer, buffer 21 ppapi/cpp/dev/crypto_dev.cc bool Crypto_Dev::GetRandomBytes(char* buffer, uint32_t num_bytes) { buffer 23 ppapi/cpp/dev/crypto_dev.cc get_interface<PPB_Crypto_Dev_0_1>()->GetRandomBytes(buffer, num_bytes); buffer 26 ppapi/cpp/dev/crypto_dev.h bool GetRandomBytes(char* buffer, uint32_t num_bytes); buffer 52 ppapi/cpp/dev/video_capture_client_dev.cc uint32_t buffer) { buffer 56 ppapi/cpp/dev/video_capture_client_dev.cc client->OnBufferReady(resource, buffer); buffer 29 ppapi/cpp/dev/video_capture_client_dev.h virtual void OnBufferReady(PP_Resource video_capture, uint32_t buffer) = 0; buffer 85 ppapi/cpp/dev/video_capture_dev.cc int32_t VideoCapture_Dev::ReuseBuffer(uint32_t buffer) { buffer 88 ppapi/cpp/dev/video_capture_dev.cc buffer); buffer 39 ppapi/cpp/dev/video_capture_dev.h int32_t ReuseBuffer(uint32_t buffer); buffer 91 ppapi/cpp/file_io.cc char* buffer, buffer 96 ppapi/cpp/file_io.cc offset, buffer, bytes_to_read, cc.pp_completion_callback()); buffer 99 ppapi/cpp/file_io.cc offset, buffer, bytes_to_read, cc.pp_completion_callback()); buffer 132 ppapi/cpp/file_io.cc const char* buffer, buffer 137 ppapi/cpp/file_io.cc pp_resource(), offset, buffer, bytes_to_write, buffer 141 ppapi/cpp/file_io.cc pp_resource(), offset, buffer, bytes_to_write, buffer 183 ppapi/cpp/file_io.cc char* buffer = static_cast<char*>(data->output.GetDataBuffer( buffer 185 ppapi/cpp/file_io.cc memcpy(buffer, data->temp_buffer, result); buffer 152 ppapi/cpp/file_io.h char* buffer, buffer 193 ppapi/cpp/file_io.h const char* buffer, buffer 89 ppapi/cpp/media_stream_audio_track.cc int32_t MediaStreamAudioTrack::RecycleBuffer(const AudioBuffer& buffer) { buffer 92 ppapi/cpp/media_stream_audio_track.cc pp_resource(), buffer.pp_resource()); buffer 124 ppapi/cpp/media_stream_audio_track.h int32_t RecycleBuffer(const AudioBuffer& buffer); buffer 181 ppapi/cpp/private/tcp_socket_private.cc int32_t TCPSocketPrivate::Read(char* buffer, buffer 186 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), buffer, bytes_to_read, buffer 191 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), buffer, bytes_to_read, buffer 196 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), buffer, bytes_to_read, buffer 202 ppapi/cpp/private/tcp_socket_private.cc int32_t TCPSocketPrivate::Write(const char* buffer, buffer 207 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), buffer, bytes_to_write, buffer 212 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), buffer, bytes_to_write, buffer 217 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), buffer, bytes_to_write, buffer 42 ppapi/cpp/private/tcp_socket_private.h int32_t Read(char* buffer, buffer 45 ppapi/cpp/private/tcp_socket_private.h int32_t Write(const char* buffer, buffer 83 ppapi/cpp/private/udp_socket_private.cc int32_t UDPSocketPrivate::RecvFrom(char* buffer, buffer 88 ppapi/cpp/private/udp_socket_private.cc pp_resource(), buffer, num_bytes, callback.pp_completion_callback()); buffer 92 ppapi/cpp/private/udp_socket_private.cc pp_resource(), buffer, num_bytes, callback.pp_completion_callback()); buffer 113 ppapi/cpp/private/udp_socket_private.cc int32_t UDPSocketPrivate::SendTo(const char* buffer, buffer 119 ppapi/cpp/private/udp_socket_private.cc pp_resource(), buffer, num_bytes, addr, buffer 124 ppapi/cpp/private/udp_socket_private.cc pp_resource(), buffer, num_bytes, addr, buffer 29 ppapi/cpp/private/udp_socket_private.h int32_t RecvFrom(char* buffer, buffer 33 ppapi/cpp/private/udp_socket_private.h int32_t SendTo(const char* buffer, buffer 110 ppapi/cpp/tcp_socket.cc int32_t TCPSocket::Read(char* buffer, buffer 115 ppapi/cpp/tcp_socket.cc pp_resource(), buffer, bytes_to_read, buffer 120 ppapi/cpp/tcp_socket.cc pp_resource(), buffer, bytes_to_read, buffer 126 ppapi/cpp/tcp_socket.cc int32_t TCPSocket::Write(const char* buffer, buffer 131 ppapi/cpp/tcp_socket.cc pp_resource(), buffer, bytes_to_write, buffer 136 ppapi/cpp/tcp_socket.cc pp_resource(), buffer, bytes_to_write, buffer 140 ppapi/cpp/tcp_socket.h int32_t Read(char* buffer, buffer 154 ppapi/cpp/tcp_socket.h int32_t Write(const char* buffer, buffer 72 ppapi/cpp/udp_socket.cc char* buffer, buffer 77 ppapi/cpp/udp_socket.cc pp_resource(), buffer, num_bytes, callback.output(), buffer 83 ppapi/cpp/udp_socket.cc int32_t UDPSocket::SendTo(const char* buffer, buffer 89 ppapi/cpp/udp_socket.cc pp_resource(), buffer, num_bytes, addr.pp_resource(), buffer 111 ppapi/cpp/udp_socket.h char* buffer, buffer 128 ppapi/cpp/udp_socket.h int32_t SendTo(const char* buffer, buffer 81 ppapi/cpp/url_loader.cc int32_t URLLoader::ReadResponseBody(void* buffer, buffer 87 ppapi/cpp/url_loader.cc pp_resource(), buffer, bytes_to_read, cc.pp_completion_callback()); buffer 136 ppapi/cpp/url_loader.h int32_t ReadResponseBody(void* buffer, buffer 42 ppapi/cpp/var_array_buffer.h VarArrayBuffer(const VarArrayBuffer& buffer) : Var(buffer) {} buffer 54 ppapi/examples/enumerate_devices/enumerate_devices.cc virtual void OnBufferReady(PP_Resource resource, uint32_t buffer) {} buffer 159 ppapi/examples/media_stream_audio/media_stream_audio.cc void OnGetBuffer(int32_t result, pp::AudioBuffer buffer) { buffer 163 ppapi/examples/media_stream_audio/media_stream_audio.cc PP_DCHECK(buffer.GetSampleSize() == PP_AUDIOBUFFER_SAMPLESIZE_16_BITS); buffer 164 ppapi/examples/media_stream_audio/media_stream_audio.cc const char* data = static_cast<const char*>(buffer.GetDataBuffer()); buffer 165 ppapi/examples/media_stream_audio/media_stream_audio.cc uint32_t channels = buffer.GetNumberOfChannels(); buffer 166 ppapi/examples/media_stream_audio/media_stream_audio.cc uint32_t samples = buffer.GetNumberOfSamples() / channels; buffer 173 ppapi/examples/media_stream_audio/media_stream_audio.cc timer_interval_ = (sample_count_ * 1000) / buffer.GetSampleRate() + 5; buffer 184 ppapi/examples/media_stream_audio/media_stream_audio.cc audio_track_.RecycleBuffer(buffer); buffer 70 ppapi/examples/printing/printing.cc pp::Buffer_Dev buffer(this, pdf_len); buffer 72 ppapi/examples/printing/printing.cc memcpy(buffer.data(), pdf_data, pdf_len); buffer 73 ppapi/examples/printing/printing.cc return buffer; buffer 86 ppapi/examples/video_capture/video_capture.cc virtual void OnBufferReady(PP_Resource resource, uint32_t buffer) { buffer 87 ppapi/examples/video_capture/video_capture.cc const char* data = static_cast<const char*>(buffers_[buffer].data()); buffer 110 ppapi/examples/video_capture/video_capture.cc video_capture_.ReuseBuffer(buffer); buffer 385 ppapi/examples/video_capture/video_capture.cc GLuint buffer; buffer 386 ppapi/examples/video_capture/video_capture.cc gles2_if_->GenBuffers(context, 1, &buffer); buffer 387 ppapi/examples/video_capture/video_capture.cc gles2_if_->BindBuffer(context, GL_ARRAY_BUFFER, buffer); buffer 44 ppapi/examples/video_decode/video_decode.cc PP_PictureBuffer_Dev buffer; buffer 215 ppapi/examples/video_decode/video_decode.cc gles2_->DeleteTexture(it->second.buffer.texture_id); buffer 341 ppapi/examples/video_decode/video_decode.cc pp::Buffer_Dev* buffer = new pp::Buffer_Dev(gles2_, end_pos - start_pos); buffer 346 ppapi/examples/video_decode/video_decode.cc bitstream_buffer.data = buffer->pp_resource(); buffer 347 ppapi/examples/video_decode/video_decode.cc memcpy(buffer->data(), kData + start_pos, end_pos - start_pos); buffer 348 ppapi/examples/video_decode/video_decode.cc assert(bitstream_buffers_by_id_.insert(std::make_pair(id, buffer)).second); buffer 374 ppapi/examples/video_decode/video_decode.cc info.buffer.size = dimensions; buffer 376 ppapi/examples/video_decode/video_decode.cc info.buffer.texture_id = gles2_->CreateTexture( buffer 379 ppapi/examples/video_decode/video_decode.cc info.buffer.id = id; buffer 380 ppapi/examples/video_decode/video_decode.cc buffers.push_back(info.buffer); buffer 404 ppapi/examples/video_decode/video_decode.cc picture_buffer_id).buffer.texture_id); buffer 441 ppapi/examples/video_decode/video_decode.cc info.buffer.size.width, buffer 442 ppapi/examples/video_decode/video_decode.cc info.buffer.size.height); buffer 450 ppapi/examples/video_decode/video_decode.cc context_->pp_resource(), info.texture_target, info.buffer.texture_id); buffer 457 ppapi/examples/video_decode/video_decode.cc &VideoDecodeDemoInstance::PaintFinished, decoder, info.buffer.id); buffer 579 ppapi/examples/video_decode/video_decode.cc GLuint buffer; buffer 580 ppapi/examples/video_decode/video_decode.cc gles2_if_->GenBuffers(context_->pp_resource(), 1, &buffer); buffer 581 ppapi/examples/video_decode/video_decode.cc gles2_if_->BindBuffer(context_->pp_resource(), GL_ARRAY_BUFFER, buffer); buffer 33 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer) { buffer 34 ppapi/lib/gl/gles2/gles2.c glGetInterfacePPAPI()->BindBuffer(glGetCurrentContextPPAPI(), target, buffer); buffer 527 ppapi/lib/gl/gles2/gles2.c GLboolean GL_APIENTRY glIsBuffer(GLuint buffer) { buffer 528 ppapi/lib/gl/gles2/gles2.c return glGetInterfacePPAPI()->IsBuffer(glGetCurrentContextPPAPI(), buffer); buffer 285 ppapi/lib/gl/include/EGL/egl.h EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, buffer 290 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); buffer 291 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); buffer 84 ppapi/lib/gl/include/EGL/eglext.h EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); buffer 87 ppapi/lib/gl/include/EGL/eglext.h typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); buffer 642 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); buffer 720 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); buffer 165 ppapi/native_client/src/trusted/plugin/file_downloader.h const std::deque<char>& buffer() const { return buffer_; } buffer 48 ppapi/native_client/src/trusted/plugin/file_utils.cc nacl::scoped_array<char> buffer(new char[bytes_to_read + 1]); buffer 49 ppapi/native_client/src/trusted/plugin/file_utils.cc if (buffer == NULL) { buffer 56 ppapi/native_client/src/trusted/plugin/file_utils.cc size_t bytes_this_read = fread(&buffer[total_bytes_read], buffer 70 ppapi/native_client/src/trusted/plugin/file_utils.cc buffer[total_bytes_read] = '\0'; buffer 71 ppapi/native_client/src/trusted/plugin/file_utils.cc out_buf = buffer.get(); buffer 792 ppapi/native_client/src/trusted/plugin/plugin.cc const std::deque<char>& buffer = nexe_downloader_.buffer(); buffer 793 ppapi/native_client/src/trusted/plugin/plugin.cc size_t buffer_size = buffer.size(); buffer 807 ppapi/native_client/src/trusted/plugin/plugin.cc std::copy(buffer.begin(), buffer.begin() + buffer_size, &json_buffer[0]); buffer 288 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 290 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); buffer 293 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { buffer 295 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); buffer 342 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M25_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 344 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); buffer 347 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M25_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { buffer 349 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); buffer 1020 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffer(PP_Resource audio_track, PP_Resource* buffer, struct PP_CompletionCallback* callback) { buffer 1022 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->GetBuffer(audio_track, buffer, *callback); buffer 1025 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer(PP_Resource audio_track, PP_Resource buffer) { buffer 1027 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->RecycleBuffer(audio_track, buffer); buffer 1283 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_TCPSocket_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 1285 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); buffer 1288 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_TCPSocket_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { buffer 1290 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); buffer 1337 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M31_PPB_TCPSocket_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 1339 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); buffer 1342 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M31_PPB_TCPSocket_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { buffer 1344 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); buffer 1415 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_UDPSocket_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback* callback) { buffer 1417 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->RecvFrom(udp_socket, buffer, num_bytes, addr, *callback); buffer 1420 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_UDPSocket_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback* callback) { buffer 1422 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); buffer 1474 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_URLLoader_ReadResponseBody(PP_Resource loader, void* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 1476 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->ReadResponseBody(loader, buffer, bytes_to_read, *callback); buffer 2330 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer(PP_Resource video_capture, uint32_t buffer) { buffer 2332 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->ReuseBuffer(video_capture, buffer); buffer 3555 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M17_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 3557 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); buffer 3560 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M17_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { buffer 3562 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); buffer 3619 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M20_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 3621 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); buffer 3624 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M20_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { buffer 3626 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); buffer 3683 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M27_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { buffer 3685 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); buffer 3688 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M27_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { buffer 3690 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); buffer 3771 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M17_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { buffer 3773 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); buffer 3781 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M17_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { buffer 3783 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); buffer 3815 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M19_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { buffer 3817 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); buffer 3825 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M19_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { buffer 3827 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); buffer 3864 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M23_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { buffer 3866 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); buffer 3874 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M23_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { buffer 3876 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); buffer 4307 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Read, buffer 4308 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Write, buffer 4320 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Read, buffer 4321 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Write, buffer 4501 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .GetBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource* buffer, struct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffer, buffer 4502 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .RecycleBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource buffer))&Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer, buffer 4575 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Read, buffer 4576 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Write, buffer 4588 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Read, buffer 4589 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Write, buffer 4608 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_RecvFrom, buffer 4609 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_SendTo, buffer 4622 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .ReadResponseBody = (int32_t (*)(PP_Resource loader, void* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_ReadResponseBody, buffer 4884 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer, buffer 5229 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Read, buffer 5230 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Write, buffer 5244 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Read, buffer 5245 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Write, buffer 5259 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Read, buffer 5260 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Write, buffer 5281 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_RecvFrom, buffer 5283 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_SendTo, buffer 5292 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_RecvFrom, buffer 5294 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_SendTo, buffer 5304 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_RecvFrom, buffer 5306 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_SendTo, buffer 78 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc char buffer[1024]; buffer 79 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc uint32_t nbytes = sizeof buffer; buffer 83 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc &nbytes, buffer)) { buffer 88 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc if (nbytes == sizeof buffer) { buffer 94 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc for (char *p = buffer; buffer 95 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc static_cast<size_t>(p - buffer) < nbytes; buffer 17 ppapi/proxy/audio_buffer_resource.cc MediaStreamBuffer* buffer) buffer 20 ppapi/proxy/audio_buffer_resource.cc buffer_(buffer) { buffer 26 ppapi/proxy/audio_buffer_resource.h MediaStreamBuffer* buffer); buffer 227 ppapi/proxy/audio_input_resource.cc media::AudioInputBuffer* buffer = buffer 238 ppapi/proxy/audio_input_resource.cc CHECK_LE(buffer->params.size, data_buffer_size); buffer 239 ppapi/proxy/audio_input_resource.cc if (buffer->params.size > 0) { buffer 243 ppapi/proxy/audio_input_resource.cc audio_input_callback_(&buffer->audio[0], buffer->params.size, latency, buffer 246 ppapi/proxy/audio_input_resource.cc audio_input_callback_0_3_(&buffer->audio[0], buffer->params.size, buffer 88 ppapi/proxy/file_io_resource.cc const char* buffer, buffer 93 ppapi/proxy/file_io_resource.cc buffer_(buffer), buffer 250 ppapi/proxy/file_io_resource.cc char* buffer, buffer 260 ppapi/proxy/file_io_resource.cc output_adapter.user_data = buffer; buffer 278 ppapi/proxy/file_io_resource.cc const char* buffer, buffer 281 ppapi/proxy/file_io_resource.cc if (!buffer) buffer 314 ppapi/proxy/file_io_resource.cc offset, buffer, bytes_to_write, callback)); buffer 325 ppapi/proxy/file_io_resource.cc return WriteValidated(offset, buffer, bytes_to_write, callback); buffer 460 ppapi/proxy/file_io_resource.cc char* buffer = static_cast<char*>( buffer 466 ppapi/proxy/file_io_resource.cc if (buffer) { buffer 470 ppapi/proxy/file_io_resource.cc file_handle_->raw_handle(), offset, buffer, bytes_to_read); buffer 494 ppapi/proxy/file_io_resource.cc const char* buffer, buffer 505 ppapi/proxy/file_io_resource.cc file_handle_->raw_handle(), buffer, bytes_to_write); buffer 508 ppapi/proxy/file_io_resource.cc file_handle_->raw_handle(), offset, buffer, bytes_to_write); buffer 520 ppapi/proxy/file_io_resource.cc new WriteOp(file_handle_, offset, buffer, bytes_to_write, append)); buffer 572 ppapi/proxy/file_io_resource.cc output.StoreArray(read_op->buffer(), result); buffer 585 ppapi/proxy/file_io_resource.cc const char* buffer, buffer 605 ppapi/proxy/file_io_resource.cc int32_t result = WriteValidated(offset, buffer, bytes_to_write, callback); buffer 48 ppapi/proxy/file_io_resource.h char* buffer, buffer 56 ppapi/proxy/file_io_resource.h const char* buffer, buffer 139 ppapi/proxy/file_io_resource.h char* buffer() const { return buffer_.get(); } buffer 156 ppapi/proxy/file_io_resource.h const char* buffer, buffer 176 ppapi/proxy/file_io_resource.h const char* buffer, buffer 189 ppapi/proxy/file_io_resource.h const char* buffer, buffer 89 ppapi/proxy/gamepad_resource.cc memcpy(&read_into, &buffer_->buffer, sizeof(read_into)); buffer 56 ppapi/proxy/media_stream_audio_track_resource.cc PP_Resource* buffer, buffer 64 ppapi/proxy/media_stream_audio_track_resource.cc *buffer = GetAudioBuffer(); buffer 65 ppapi/proxy/media_stream_audio_track_resource.cc if (*buffer) buffer 71 ppapi/proxy/media_stream_audio_track_resource.cc get_buffer_output_ = buffer; buffer 76 ppapi/proxy/media_stream_audio_track_resource.cc int32_t MediaStreamAudioTrackResource::RecycleBuffer(PP_Resource buffer) { buffer 77 ppapi/proxy/media_stream_audio_track_resource.cc BufferMap::iterator it = buffers_.find(buffer); buffer 126 ppapi/proxy/media_stream_audio_track_resource.cc MediaStreamBuffer* buffer = buffer_manager()->GetBufferPointer(index); buffer 127 ppapi/proxy/media_stream_audio_track_resource.cc DCHECK(buffer); buffer 129 ppapi/proxy/media_stream_audio_track_resource.cc new AudioBufferResource(pp_instance(), index, buffer); buffer 43 ppapi/proxy/media_stream_audio_track_resource.h PP_Resource* buffer, buffer 45 ppapi/proxy/media_stream_audio_track_resource.h virtual int32_t RecycleBuffer(PP_Resource buffer) OVERRIDE; buffer 170 ppapi/proxy/media_stream_video_track_resource.cc MediaStreamBuffer* buffer = buffer_manager()->GetBufferPointer(index); buffer 171 ppapi/proxy/media_stream_video_track_resource.cc DCHECK(buffer); buffer 173 ppapi/proxy/media_stream_video_track_resource.cc new VideoFrameResource(pp_instance(), index, buffer); buffer 296 ppapi/proxy/ppb_graphics_3d_proxy.cc scoped_refptr<gpu::Buffer> buffer = buffer 298 ppapi/proxy/ppb_graphics_3d_proxy.cc if (!buffer) buffer 301 ppapi/proxy/ppb_graphics_3d_proxy.cc static_cast<gpu::SharedMemoryBufferBacking*>(buffer->backing()); buffer 305 ppapi/proxy/ppb_graphics_3d_proxy.cc buffer->size()); buffer 234 ppapi/proxy/ppb_video_decoder_proxy.cc const HostResource& buffer, int32 id, uint32 size) { buffer 240 ppapi/proxy/ppb_video_decoder_proxy.cc PP_VideoBitstreamBuffer_Dev bitstream = { id, buffer.host_resource(), size }; buffer 43 ppapi/proxy/ppb_video_decoder_proxy.h const ppapi::HostResource& buffer, int32 id, uint32 size); buffer 80 ppapi/proxy/ppp_content_decryptor_private_proxy.cc PPPDecryptor_Buffer* buffer) { buffer 81 ppapi/proxy/ppp_content_decryptor_private_proxy.cc if (!buffer) { buffer 87 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer->resource = HostResource(); buffer 88 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer->handle = base::SharedMemoryHandle(); buffer 89 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer->size = 0; buffer 106 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer->resource = host_resource; buffer 107 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer->handle = handle; buffer 108 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer->size = size; buffer 195 ppapi/proxy/ppp_content_decryptor_private_proxy.cc PPPDecryptor_Buffer buffer; buffer 199 ppapi/proxy/ppp_content_decryptor_private_proxy.cc &buffer)) { buffer 219 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer, buffer 239 ppapi/proxy/ppp_content_decryptor_private_proxy.cc PPPDecryptor_Buffer buffer; buffer 243 ppapi/proxy/ppp_content_decryptor_private_proxy.cc &buffer)) { buffer 258 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer)); buffer 277 ppapi/proxy/ppp_content_decryptor_private_proxy.cc PPPDecryptor_Buffer buffer; buffer 281 ppapi/proxy/ppp_content_decryptor_private_proxy.cc &buffer)) { buffer 296 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer)); buffer 344 ppapi/proxy/ppp_content_decryptor_private_proxy.cc PPPDecryptor_Buffer buffer; buffer 348 ppapi/proxy/ppp_content_decryptor_private_proxy.cc &buffer)) { buffer 369 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer, buffer 79 ppapi/proxy/tcp_socket_private_resource.cc char* buffer, buffer 82 ppapi/proxy/tcp_socket_private_resource.cc return ReadImpl(buffer, bytes_to_read, callback); buffer 86 ppapi/proxy/tcp_socket_private_resource.cc const char* buffer, buffer 89 ppapi/proxy/tcp_socket_private_resource.cc return WriteImpl(buffer, bytes_to_write, callback); buffer 51 ppapi/proxy/tcp_socket_private_resource.h virtual int32_t Read(char* buffer, buffer 54 ppapi/proxy/tcp_socket_private_resource.h virtual int32_t Write(const char* buffer, buffer 92 ppapi/proxy/tcp_socket_resource.cc int32_t TCPSocketResource::Read(char* buffer, buffer 95 ppapi/proxy/tcp_socket_resource.cc return ReadImpl(buffer, bytes_to_read, callback); buffer 98 ppapi/proxy/tcp_socket_resource.cc int32_t TCPSocketResource::Write(const char* buffer, buffer 101 ppapi/proxy/tcp_socket_resource.cc return WriteImpl(buffer, bytes_to_write, callback); buffer 39 ppapi/proxy/tcp_socket_resource.h virtual int32_t Read(char* buffer, buffer 42 ppapi/proxy/tcp_socket_resource.h virtual int32_t Write(const char* buffer, buffer 202 ppapi/proxy/tcp_socket_resource_base.cc char* buffer, buffer 205 ppapi/proxy/tcp_socket_resource_base.cc if (!buffer || bytes_to_read <= 0) buffer 213 ppapi/proxy/tcp_socket_resource_base.cc read_buffer_ = buffer; buffer 227 ppapi/proxy/tcp_socket_resource_base.cc const char* buffer, buffer 230 ppapi/proxy/tcp_socket_resource_base.cc if (!buffer || bytes_to_write <= 0) buffer 246 ppapi/proxy/tcp_socket_resource_base.cc PpapiHostMsg_TCPSocket_Write(std::string(buffer, bytes_to_write)), buffer 86 ppapi/proxy/tcp_socket_resource_base.h int32_t ReadImpl(char* buffer, buffer 89 ppapi/proxy/tcp_socket_resource_base.h int32_t WriteImpl(const char* buffer, buffer 59 ppapi/proxy/udp_socket_private_resource.cc char* buffer, buffer 62 ppapi/proxy/udp_socket_private_resource.cc return RecvFromImpl(buffer, num_bytes, NULL, callback); buffer 71 ppapi/proxy/udp_socket_private_resource.cc const char* buffer, buffer 75 ppapi/proxy/udp_socket_private_resource.cc return SendToImpl(buffer, num_bytes, addr, callback); buffer 34 ppapi/proxy/udp_socket_private_resource.h virtual int32_t RecvFrom(char* buffer, buffer 38 ppapi/proxy/udp_socket_private_resource.h virtual int32_t SendTo(const char* buffer, buffer 55 ppapi/proxy/udp_socket_resource.cc int32_t UDPSocketResource::RecvFrom(char* buffer, buffer 59 ppapi/proxy/udp_socket_resource.cc return RecvFromImpl(buffer, num_bytes, addr, callback); buffer 62 ppapi/proxy/udp_socket_resource.cc int32_t UDPSocketResource::SendTo(const char* buffer, buffer 70 ppapi/proxy/udp_socket_resource.cc return SendToImpl(buffer, num_bytes, &enter.object()->GetNetAddressPrivate(), buffer 30 ppapi/proxy/udp_socket_resource.h virtual int32_t RecvFrom(char* buffer, buffer 34 ppapi/proxy/udp_socket_resource.h virtual int32_t SendTo(const char* buffer, buffer 131 ppapi/proxy/udp_socket_resource_base.cc char* buffer, buffer 135 ppapi/proxy/udp_socket_resource_base.cc if (!buffer || num_bytes <= 0) buffer 142 ppapi/proxy/udp_socket_resource_base.cc read_buffer_ = buffer; buffer 165 ppapi/proxy/udp_socket_resource_base.cc const char* buffer, buffer 169 ppapi/proxy/udp_socket_resource_base.cc if (!buffer || num_bytes <= 0 || !addr) buffer 184 ppapi/proxy/udp_socket_resource_base.cc PpapiHostMsg_UDPSocket_SendTo(std::string(buffer, num_bytes), *addr), buffer 57 ppapi/proxy/udp_socket_resource_base.h int32_t RecvFromImpl(char* buffer, buffer 62 ppapi/proxy/udp_socket_resource_base.h int32_t SendToImpl(const char* buffer, buffer 155 ppapi/proxy/url_loader_resource.cc void* buffer, buffer 169 ppapi/proxy/url_loader_resource.cc if (bytes_to_read <= 0 || !buffer) buffer 172 ppapi/proxy/url_loader_resource.cc user_buffer_ = static_cast<char*>(buffer); buffer 59 ppapi/proxy/url_loader_resource.h void* buffer, buffer 105 ppapi/proxy/video_capture_resource.cc int32_t VideoCaptureResource::ReuseBuffer(uint32_t buffer) { buffer 106 ppapi/proxy/video_capture_resource.cc if (buffer >= buffer_in_use_.size() || !buffer_in_use_[buffer]) buffer 108 ppapi/proxy/video_capture_resource.cc Post(RENDERER, PpapiHostMsg_VideoCapture_ReuseBuffer(buffer)); buffer 208 ppapi/proxy/video_capture_resource.cc uint32_t buffer) { buffer 209 ppapi/proxy/video_capture_resource.cc SetBufferInUse(buffer); buffer 214 ppapi/proxy/video_capture_resource.cc buffer); buffer 43 ppapi/proxy/video_capture_resource.h virtual int32_t ReuseBuffer(uint32_t buffer) OVERRIDE; buffer 72 ppapi/proxy/video_capture_resource.h uint32_t buffer); buffer 16 ppapi/proxy/video_frame_resource.cc MediaStreamBuffer* buffer) buffer 19 ppapi/proxy/video_frame_resource.cc buffer_(buffer) { buffer 23 ppapi/proxy/video_frame_resource.h MediaStreamBuffer* buffer); buffer 57 ppapi/shared_impl/media_stream_buffer_manager.cc int32_t buffer = buffer_queue_.front(); buffer 59 ppapi/shared_impl/media_stream_buffer_manager.cc return buffer; buffer 18 ppapi/shared_impl/ppb_crypto_shared.cc void GetRandomBytes(char* buffer, uint32_t num_bytes) { buffer 19 ppapi/shared_impl/ppb_crypto_shared.cc base::RandBytes(buffer, num_bytes); buffer 76 ppapi/shared_impl/ppb_gamepad_shared.h WebKitGamepads buffer; buffer 54 ppapi/shared_impl/ppb_opengles2_shared.cc void BindBuffer(PP_Resource context_id, GLenum target, GLuint buffer) { buffer 57 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->BindBuffer(target, buffer); buffer 791 ppapi/shared_impl/ppb_opengles2_shared.cc GLboolean IsBuffer(PP_Resource context_id, GLuint buffer) { buffer 794 ppapi/shared_impl/ppb_opengles2_shared.cc return ToGles2Impl(&enter)->IsBuffer(buffer); buffer 91 ppapi/shared_impl/ppb_var_shared.cc ArrayBufferVar* buffer = ArrayBufferVar::FromPPVar(array); buffer 92 ppapi/shared_impl/ppb_var_shared.cc if (!buffer) buffer 94 ppapi/shared_impl/ppb_var_shared.cc *byte_length = buffer->ByteLength(); buffer 100 ppapi/shared_impl/ppb_var_shared.cc ArrayBufferVar* buffer = ArrayBufferVar::FromPPVar(array); buffer 101 ppapi/shared_impl/ppb_var_shared.cc if (!buffer) buffer 103 ppapi/shared_impl/ppb_var_shared.cc return buffer->Map(); buffer 108 ppapi/shared_impl/ppb_var_shared.cc ArrayBufferVar* buffer = ArrayBufferVar::FromPPVar(array); buffer 109 ppapi/shared_impl/ppb_var_shared.cc if (buffer) buffer 110 ppapi/shared_impl/ppb_var_shared.cc buffer->Unmap(); buffer 68 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc const char* buffer = binary->GetBuffer(); buffer 71 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc buffer); buffer 38 ppapi/tests/test_buffer.cc pp::Buffer_Dev buffer(instance_, 100); buffer 39 ppapi/tests/test_buffer.cc if (buffer.is_null()) buffer 42 ppapi/tests/test_buffer.cc if (buffer.size() != 100) buffer 46 ppapi/tests/test_buffer.cc unsigned char* bytes = static_cast<unsigned char *>(buffer.data()); buffer 47 ppapi/tests/test_buffer.cc for (uint32_t index = 0; index < buffer.size(); index++) { buffer 70 ppapi/tests/test_buffer.cc pp::Buffer_Dev buffer(instance_, 100); buffer 71 ppapi/tests/test_buffer.cc if (buffer.is_null()) buffer 73 ppapi/tests/test_buffer.cc if (!buffer_interface_->IsBuffer(buffer.pp_resource())) buffer 82 ppapi/tests/test_buffer.cc pp::Buffer_Dev *buffer = new pp::Buffer_Dev(instance_, kBufferSize); buffer 83 ppapi/tests/test_buffer.cc if (buffer->is_null() || buffer 84 ppapi/tests/test_buffer.cc !buffer_interface_->IsBuffer(buffer->pp_resource()) || buffer 85 ppapi/tests/test_buffer.cc buffer->size() != kBufferSize) { buffer 90 ppapi/tests/test_buffer.cc if (buffer->data() == NULL) buffer 94 ppapi/tests/test_buffer.cc char* data = static_cast<char*>(buffer->data()); buffer 100 ppapi/tests/test_buffer.cc pp::Buffer_Dev* copy = new pp::Buffer_Dev(*buffer); buffer 104 ppapi/tests/test_buffer.cc delete buffer; buffer 697 ppapi/tests/test_file_ref.cc std::ostringstream buffer; buffer 698 ppapi/tests/test_file_ref.cc buffer << test_dir_name << '/' << file_prefix << i; buffer 699 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, buffer.str().c_str()); buffer 707 ppapi/tests/test_file_ref.cc expected_file_names.insert(buffer.str()); buffer 713 ppapi/tests/test_file_ref.cc std::ostringstream buffer; buffer 714 ppapi/tests/test_file_ref.cc buffer << test_dir_name << '/' << dir_prefix << i; buffer 715 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, buffer.str().c_str()); buffer 722 ppapi/tests/test_file_ref.cc expected_dir_names.insert(buffer.str()); buffer 53 ppapi/tests/test_flash_file.cc char* buffer = new char[kBufferSize]; buffer 61 ppapi/tests/test_flash_file.cc result = !!::ReadFile(file_handle, buffer, kBufferSize, &bytes_read, NULL); buffer 63 ppapi/tests/test_flash_file.cc contents->append(buffer, bytes_read); buffer 70 ppapi/tests/test_flash_file.cc bytes_read = read(file_handle, buffer, kBufferSize); buffer 74 ppapi/tests/test_flash_file.cc contents->append(buffer, bytes_read); buffer 78 ppapi/tests/test_flash_file.cc delete[] buffer; buffer 58 ppapi/tests/test_host_resolver.cc char* buffer, buffer 63 ppapi/tests/test_host_resolver.cc socket->Read(buffer, num_bytes, callback.GetCallback())); buffer 71 ppapi/tests/test_host_resolver.cc const char* buffer, buffer 76 ppapi/tests/test_host_resolver.cc socket->Write(buffer, num_bytes, callback.GetCallback())); buffer 31 ppapi/tests/test_host_resolver.h char* buffer, buffer 35 ppapi/tests/test_host_resolver.h const char* buffer, buffer 72 ppapi/tests/test_host_resolver_private.cc char* buffer, buffer 77 ppapi/tests/test_host_resolver_private.cc socket->Read(buffer, num_bytes, callback.GetCallback())); buffer 85 ppapi/tests/test_host_resolver_private.cc const char* buffer, buffer 90 ppapi/tests/test_host_resolver_private.cc socket->Write(buffer, num_bytes, callback.GetCallback())); buffer 37 ppapi/tests/test_host_resolver_private.h char* buffer, buffer 41 ppapi/tests/test_host_resolver_private.h const char* buffer, buffer 117 ppapi/tests/test_media_stream_audio_track.cc pp::AudioBuffer buffer = cc.output(); buffer 118 ppapi/tests/test_media_stream_audio_track.cc ASSERT_FALSE(buffer.is_null()); buffer 119 ppapi/tests/test_media_stream_audio_track.cc ASSERT_TRUE(IsSampleRateValid(buffer.GetSampleRate())); buffer 120 ppapi/tests/test_media_stream_audio_track.cc ASSERT_EQ(buffer.GetSampleSize(), PP_AUDIOBUFFER_SAMPLESIZE_16_BITS); buffer 122 ppapi/tests/test_media_stream_audio_track.cc ASSERT_GE(buffer.GetTimestamp(), timestamp); buffer 123 ppapi/tests/test_media_stream_audio_track.cc timestamp = buffer.GetTimestamp(); buffer 125 ppapi/tests/test_media_stream_audio_track.cc ASSERT_GT(buffer.GetDataBufferSize(), 0U); buffer 126 ppapi/tests/test_media_stream_audio_track.cc ASSERT_TRUE(buffer.GetDataBuffer() != NULL); buffer 128 ppapi/tests/test_media_stream_audio_track.cc audio_track_.RecycleBuffer(buffer); buffer 131 ppapi/tests/test_media_stream_audio_track.cc ASSERT_EQ(buffer.GetSampleRate(), PP_AUDIOBUFFER_SAMPLERATE_UNKNOWN); buffer 132 ppapi/tests/test_media_stream_audio_track.cc ASSERT_EQ(buffer.GetSampleSize(), PP_AUDIOBUFFER_SAMPLESIZE_UNKNOWN); buffer 133 ppapi/tests/test_media_stream_audio_track.cc ASSERT_EQ(buffer.GetDataBufferSize(), 0U); buffer 134 ppapi/tests/test_media_stream_audio_track.cc ASSERT_TRUE(buffer.GetDataBuffer() == NULL); buffer 32 ppapi/tests/test_memory.cc char* buffer = static_cast<char*>( buffer 35 ppapi/tests/test_memory.cc buffer[0] = '1'; buffer 36 ppapi/tests/test_memory.cc buffer[kTestBufferSize - 1] = '1'; buffer 37 ppapi/tests/test_memory.cc memory_dev_interface_->MemFree(buffer); buffer 198 ppapi/tests/test_net_address_private_untrusted.cc char buffer[buffer_size]; buffer 199 ppapi/tests/test_net_address_private_untrusted.cc ASSERT_TRUE(NetAddressPrivate::GetAddress(remote_address, buffer, buffer 665 ppapi/tests/test_post_message.cc char* buffer = &buffer_vector[0]; // Note: Not null-terminated! buffer 667 ppapi/tests/test_post_message.cc file_io.Read(0, buffer, content_length, callback.GetCallback())); buffer 670 ppapi/tests/test_post_message.cc ASSERT_EQ(0, memcmp(buffer, kTestString, content_length)); buffer 75 ppapi/tests/test_tcp_server_socket_private.cc char* buffer, buffer 80 ppapi/tests/test_tcp_server_socket_private.cc socket->Read(buffer, num_bytes, callback.GetCallback())); buffer 83 ppapi/tests/test_tcp_server_socket_private.cc buffer += callback.result(); buffer 90 ppapi/tests/test_tcp_server_socket_private.cc const char* buffer, buffer 95 ppapi/tests/test_tcp_server_socket_private.cc socket->Write(buffer, num_bytes, callback.GetCallback())); buffer 98 ppapi/tests/test_tcp_server_socket_private.cc buffer += callback.result(); buffer 34 ppapi/tests/test_tcp_server_socket_private.h char* buffer, buffer 37 ppapi/tests/test_tcp_server_socket_private.h const char* buffer, buffer 339 ppapi/tests/test_tcp_socket.cc char buffer[1000]; buffer 345 ppapi/tests/test_tcp_socket.cc cb.WaitForResult(socket->Read(buffer, sizeof(buffer), cb.GetCallback())); buffer 350 ppapi/tests/test_tcp_socket.cc s->push_back(buffer[i]); buffer 351 ppapi/tests/test_tcp_socket.cc if (buffer[i] == '\n') buffer 360 ppapi/tests/test_tcp_socket.cc char buffer[1000]; buffer 367 ppapi/tests/test_tcp_socket.cc socket, buffer, sizeof(buffer), buffer 373 ppapi/tests/test_tcp_socket.cc s->push_back(buffer[i]); buffer 374 ppapi/tests/test_tcp_socket.cc if (buffer[i] == '\n') buffer 382 ppapi/tests/test_tcp_socket.cc char* buffer, buffer 387 ppapi/tests/test_tcp_socket.cc socket->Read(buffer, num_bytes, callback.GetCallback())); buffer 390 ppapi/tests/test_tcp_socket.cc buffer += callback.result(); buffer 399 ppapi/tests/test_tcp_socket.cc const char* buffer = s.data(); buffer 404 ppapi/tests/test_tcp_socket.cc socket->Write(buffer + written, s.size() - written, cb.GetCallback())); buffer 416 ppapi/tests/test_tcp_socket.cc const char* buffer = s.data(); buffer 421 ppapi/tests/test_tcp_socket.cc socket, buffer + written, s.size() - written, buffer 39 ppapi/tests/test_tcp_socket.h char* buffer, buffer 202 ppapi/tests/test_tcp_socket_private.cc char* buffer = new (std::nothrow) char[kReadSize]; buffer 203 ppapi/tests/test_tcp_socket_private.cc ASSERT_TRUE(buffer != NULL); buffer 206 ppapi/tests/test_tcp_socket_private.cc cb.WaitForResult(socket.Read(buffer, kReadSize * sizeof(*buffer), buffer 211 ppapi/tests/test_tcp_socket_private.cc delete [] buffer; buffer 219 ppapi/tests/test_tcp_socket_private.cc char buffer[10000]; buffer 225 ppapi/tests/test_tcp_socket_private.cc int32_t rv = socket->Read(buffer, sizeof(buffer), cb.GetCallback()); buffer 235 ppapi/tests/test_tcp_socket_private.cc s->push_back(buffer[i]); buffer 236 ppapi/tests/test_tcp_socket_private.cc if (buffer[i] == '\n') buffer 245 ppapi/tests/test_tcp_socket_private.cc const char* buffer = s.data(); buffer 249 ppapi/tests/test_tcp_socket_private.cc int32_t rv = socket->Write(buffer + written, s.size() - written, buffer 154 ppapi/tests/test_udp_socket.cc std::vector<char> buffer(size); buffer 158 ppapi/tests/test_udp_socket.cc socket->RecvFrom(&buffer[0], size, callback.GetCallback())); buffer 163 ppapi/tests/test_udp_socket.cc message->assign(buffer.begin(), buffer.end()); buffer 138 ppapi/tests/test_udp_socket_private.cc std::vector<char> buffer(size); buffer 141 ppapi/tests/test_udp_socket_private.cc socket->RecvFrom(&buffer[0], size, callback.GetCallback())); buffer 145 ppapi/tests/test_udp_socket_private.cc message->assign(buffer.begin(), buffer.end()); buffer 251 ppapi/tests/test_websocket.cc char buffer[10]; buffer 252 ppapi/tests/test_websocket.cc sprintf(buffer, ":%d", instance_->websocket_port()); buffer 253 ppapi/tests/test_websocket.cc rv += std::string(buffer); buffer 25 ppapi/thunk/ppb_audio_buffer_thunk.cc PP_TimeDelta GetTimestamp(PP_Resource buffer) { buffer 27 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 33 ppapi/thunk/ppb_audio_buffer_thunk.cc void SetTimestamp(PP_Resource buffer, PP_TimeDelta timestamp) { buffer 35 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 41 ppapi/thunk/ppb_audio_buffer_thunk.cc PP_AudioBuffer_SampleRate GetSampleRate(PP_Resource buffer) { buffer 43 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 49 ppapi/thunk/ppb_audio_buffer_thunk.cc PP_AudioBuffer_SampleSize GetSampleSize(PP_Resource buffer) { buffer 51 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 57 ppapi/thunk/ppb_audio_buffer_thunk.cc uint32_t GetNumberOfChannels(PP_Resource buffer) { buffer 59 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 65 ppapi/thunk/ppb_audio_buffer_thunk.cc uint32_t GetNumberOfSamples(PP_Resource buffer) { buffer 67 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 73 ppapi/thunk/ppb_audio_buffer_thunk.cc void* GetDataBuffer(PP_Resource buffer) { buffer 75 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 81 ppapi/thunk/ppb_audio_buffer_thunk.cc uint32_t GetDataBufferSize(PP_Resource buffer) { buffer 83 ppapi/thunk/ppb_audio_buffer_thunk.cc EnterResource<PPB_AudioBuffer_API> enter(buffer, true); buffer 32 ppapi/thunk/ppb_file_io_api.h char* buffer, buffer 37 ppapi/thunk/ppb_file_io_api.h PP_ArrayOutput* buffer, buffer 40 ppapi/thunk/ppb_file_io_api.h const char* buffer, buffer 72 ppapi/thunk/ppb_file_io_thunk.cc char* buffer, buffer 80 ppapi/thunk/ppb_file_io_thunk.cc buffer, buffer 87 ppapi/thunk/ppb_file_io_thunk.cc const char* buffer, buffer 95 ppapi/thunk/ppb_file_io_thunk.cc buffer, buffer 22 ppapi/thunk/ppb_media_stream_audio_track_api.h virtual int32_t GetBuffer(PP_Resource* buffer, buffer 24 ppapi/thunk/ppb_media_stream_audio_track_api.h virtual int32_t RecycleBuffer(PP_Resource buffer) = 0; buffer 66 ppapi/thunk/ppb_media_stream_audio_track_thunk.cc PP_Resource* buffer, buffer 74 ppapi/thunk/ppb_media_stream_audio_track_thunk.cc return enter.SetResult(enter.object()->GetBuffer(buffer, enter.callback())); buffer 77 ppapi/thunk/ppb_media_stream_audio_track_thunk.cc int32_t RecycleBuffer(PP_Resource audio_track, PP_Resource buffer) { buffer 82 ppapi/thunk/ppb_media_stream_audio_track_thunk.cc return enter.object()->RecycleBuffer(buffer); buffer 28 ppapi/thunk/ppb_tcp_socket_api.h virtual int32_t Read(char* buffer, buffer 31 ppapi/thunk/ppb_tcp_socket_api.h virtual int32_t Write(const char* buffer, buffer 36 ppapi/thunk/ppb_tcp_socket_private_api.h virtual int32_t Read(char* buffer, buffer 39 ppapi/thunk/ppb_tcp_socket_private_api.h virtual int32_t Write(const char* buffer, buffer 97 ppapi/thunk/ppb_tcp_socket_private_thunk.cc char* buffer, buffer 103 ppapi/thunk/ppb_tcp_socket_private_thunk.cc return enter.SetResult(enter.object()->Read(buffer, bytes_to_read, buffer 108 ppapi/thunk/ppb_tcp_socket_private_thunk.cc const char* buffer, buffer 114 ppapi/thunk/ppb_tcp_socket_private_thunk.cc return enter.SetResult(enter.object()->Write(buffer, bytes_to_write, buffer 81 ppapi/thunk/ppb_tcp_socket_thunk.cc char* buffer, buffer 88 ppapi/thunk/ppb_tcp_socket_thunk.cc return enter.SetResult(enter.object()->Read(buffer, buffer 94 ppapi/thunk/ppb_tcp_socket_thunk.cc const char* buffer, buffer 101 ppapi/thunk/ppb_tcp_socket_thunk.cc return enter.SetResult(enter.object()->Write(buffer, buffer 25 ppapi/thunk/ppb_udp_socket_api.h virtual int32_t RecvFrom(char* buffer, buffer 29 ppapi/thunk/ppb_udp_socket_api.h virtual int32_t SendTo(const char* buffer, buffer 27 ppapi/thunk/ppb_udp_socket_private_api.h virtual int32_t RecvFrom(char* buffer, buffer 31 ppapi/thunk/ppb_udp_socket_private_api.h virtual int32_t SendTo(const char* buffer, buffer 60 ppapi/thunk/ppb_udp_socket_private_thunk.cc char* buffer, buffer 70 ppapi/thunk/ppb_udp_socket_private_thunk.cc return enter.SetResult(enter.object()->RecvFrom(buffer, num_bytes, buffer 83 ppapi/thunk/ppb_udp_socket_private_thunk.cc const char* buffer, buffer 90 ppapi/thunk/ppb_udp_socket_private_thunk.cc return enter.SetResult(enter.object()->SendTo(buffer, num_bytes, addr, buffer 53 ppapi/thunk/ppb_udp_socket_thunk.cc char* buffer, buffer 61 ppapi/thunk/ppb_udp_socket_thunk.cc return enter.SetResult(enter.object()->RecvFrom(buffer, buffer 68 ppapi/thunk/ppb_udp_socket_thunk.cc const char* buffer, buffer 76 ppapi/thunk/ppb_udp_socket_thunk.cc return enter.SetResult(enter.object()->SendTo(buffer, buffer 41 ppapi/thunk/ppb_url_loader_api.h virtual int32_t ReadResponseBody(void* buffer, buffer 91 ppapi/thunk/ppb_url_loader_thunk.cc void* buffer, buffer 98 ppapi/thunk/ppb_url_loader_thunk.cc return enter.SetResult(enter.object()->ReadResponseBody(buffer, buffer 35 ppapi/thunk/ppb_video_capture_api.h virtual int32_t ReuseBuffer(uint32_t buffer) = 0; buffer 84 ppapi/thunk/ppb_video_capture_thunk.cc uint32_t buffer) { buffer 88 ppapi/thunk/ppb_video_capture_thunk.cc return enter.object()->ReuseBuffer(buffer); buffer 19 printing/backend/printing_info_win.cc scoped_ptr<uint8[]> buffer(new uint8[size]); buffer 20 printing/backend/printing_info_win.cc memset(buffer.get(), 0, size); buffer 21 printing/backend/printing_info_win.cc if (!::GetPrinterDriver(printer, NULL, level, buffer.get(), size, &size)) { buffer 24 printing/backend/printing_info_win.cc return buffer.release(); buffer 35 printing/backend/printing_info_win.cc scoped_ptr<uint8[]> buffer(new uint8[size]); buffer 36 printing/backend/printing_info_win.cc memset(buffer.get(), 0, size); buffer 37 printing/backend/printing_info_win.cc if (!::GetPrinter(printer, level, buffer.get(), size, &size)) { buffer 42 printing/backend/printing_info_win.cc return buffer.release(); buffer 57 printing/backend/win_helper.cc typedef HRESULT (WINAPI* PTReleaseMemoryProc)(PVOID buffer); buffer 241 printing/backend/win_helper.cc HRESULT XPSModule::ReleaseMemory(PVOID buffer) { buffer 242 printing/backend/win_helper.cc return g_release_memory_proc(buffer); buffer 124 printing/backend/win_helper.h static HRESULT ReleaseMemory(PVOID buffer); buffer 262 printing/emf_win.cc bool Emf::GetData(void* buffer, uint32 size) const { buffer 264 printing/emf_win.cc DCHECK(buffer && size); buffer 266 printing/emf_win.cc GetEnhMetaFileBits(emf_, size, reinterpret_cast<BYTE*>(buffer)); buffer 271 printing/emf_win.cc bool Emf::GetDataAsVector(std::vector<uint8>* buffer) const { buffer 276 printing/emf_win.cc buffer->resize(size); buffer 277 printing/emf_win.cc if (!GetData(&buffer->front(), size)) buffer 290 printing/emf_win.cc std::vector<uint8> buffer; buffer 291 printing/emf_win.cc if (GetDataAsVector(&buffer)) { buffer 293 printing/emf_win.cc if (WriteFile(file, &*buffer.begin(), static_cast<DWORD>(buffer.size()), buffer 295 printing/emf_win.cc written == buffer.size()) { buffer 71 printing/emf_win.h virtual bool GetData(void* buffer, uint32 size) const OVERRIDE; buffer 113 printing/emf_win.h bool GetDataAsVector(std::vector<uint8>* buffer) const; buffer 42 printing/pdf_metafile_cg_mac_unittest.cc std::vector<char> buffer(size, 0); buffer 43 printing/pdf_metafile_cg_mac_unittest.cc pdf.GetData(&buffer.front(), size); buffer 47 printing/pdf_metafile_cg_mac_unittest.cc EXPECT_TRUE(pdf2.InitFromData(&buffer.front(), size)); buffer 61 printing/printing_context_win_unittest.cc scoped_ptr<uint8[]> buffer; buffer 422 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java ByteBuffer buffer) { buffer 426 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java buffer.order(ByteOrder.LITTLE_ENDIAN); buffer 427 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java buffer.asIntBuffer().get(data, 0, data.length); buffer 15 remoting/base/compound_buffer.cc : buffer(buffer_value), buffer 36 remoting/base/compound_buffer.cc void CompoundBuffer::Append(net::IOBuffer* buffer, buffer 39 remoting/base/compound_buffer.cc DCHECK_GE(start, buffer->data()); buffer 44 remoting/base/compound_buffer.cc chunks_.push_back(DataChunk(buffer, start, size)); buffer 48 remoting/base/compound_buffer.cc void CompoundBuffer::Append(net::IOBuffer* buffer, int size) { buffer 49 remoting/base/compound_buffer.cc Append(buffer, buffer->data(), size); buffer 52 remoting/base/compound_buffer.cc void CompoundBuffer::Append(const CompoundBuffer& buffer) { buffer 53 remoting/base/compound_buffer.cc for (DataChunkList::const_iterator it = buffer.chunks_.begin(); buffer 54 remoting/base/compound_buffer.cc it != buffer.chunks_.end(); ++it) { buffer 55 remoting/base/compound_buffer.cc Append(it->buffer.get(), it->start, it->size); buffer 59 remoting/base/compound_buffer.cc void CompoundBuffer::Prepend(net::IOBuffer* buffer, buffer 62 remoting/base/compound_buffer.cc DCHECK_GE(start, buffer->data()); buffer 67 remoting/base/compound_buffer.cc chunks_.push_front(DataChunk(buffer, start, size)); buffer 71 remoting/base/compound_buffer.cc void CompoundBuffer::Prepend(net::IOBuffer* buffer, int size) { buffer 72 remoting/base/compound_buffer.cc Prepend(buffer, buffer->data(), size); buffer 75 remoting/base/compound_buffer.cc void CompoundBuffer::Prepend(const CompoundBuffer& buffer) { buffer 76 remoting/base/compound_buffer.cc for (DataChunkList::const_iterator it = buffer.chunks_.begin(); buffer 77 remoting/base/compound_buffer.cc it != buffer.chunks_.end(); ++it) { buffer 78 remoting/base/compound_buffer.cc Prepend(it->buffer.get(), it->start, it->size); buffer 82 remoting/base/compound_buffer.cc net::IOBuffer* buffer = new net::IOBuffer(size); buffer 83 remoting/base/compound_buffer.cc memcpy(buffer->data(), data, size); buffer 84 remoting/base/compound_buffer.cc Append(buffer, size); buffer 88 remoting/base/compound_buffer.cc net::IOBuffer* buffer = new net::IOBuffer(size); buffer 89 remoting/base/compound_buffer.cc memcpy(buffer->data(), data, size); buffer 90 remoting/base/compound_buffer.cc Prepend(buffer, size); buffer 181 remoting/base/compound_buffer.cc Append(it->buffer.get(), it->start + relative_start, buffer 196 remoting/base/compound_buffer.cc const CompoundBuffer* buffer) buffer 197 remoting/base/compound_buffer.cc : buffer_(buffer), buffer 44 remoting/base/compound_buffer.h void Append(net::IOBuffer* buffer, int size); buffer 45 remoting/base/compound_buffer.h void Append(net::IOBuffer* buffer, const char* start, int size); buffer 46 remoting/base/compound_buffer.h void Append(const CompoundBuffer& buffer); buffer 47 remoting/base/compound_buffer.h void Prepend(net::IOBuffer* buffer, int size); buffer 48 remoting/base/compound_buffer.h void Prepend(net::IOBuffer* buffer, const char* start, int size); buffer 49 remoting/base/compound_buffer.h void Prepend(const CompoundBuffer& buffer); buffer 85 remoting/base/compound_buffer.h DataChunk(net::IOBuffer* buffer, const char* start, int size); buffer 88 remoting/base/compound_buffer.h scoped_refptr<net::IOBuffer> buffer; buffer 105 remoting/base/compound_buffer.h explicit CompoundBufferInputStream(const CompoundBuffer* buffer); buffer 103 remoting/base/compound_buffer_unittest.cc bool CompareData(const CompoundBuffer& buffer, char* data, int size) { buffer 104 remoting/base/compound_buffer_unittest.cc scoped_refptr<IOBuffer> buffer_data = buffer.ToIOBufferWithSize(); buffer 105 remoting/base/compound_buffer_unittest.cc return buffer.total_bytes() == size && buffer 140 remoting/base/compound_buffer_unittest.cc scoped_ptr<char[]> buffer(new char[str.size() + 1]); buffer 141 remoting/base/compound_buffer_unittest.cc buffer[str.size()] = '\0'; buffer 142 remoting/base/compound_buffer_unittest.cc EXPECT_EQ(ReadFromInput(input, buffer.get(), str.size()), str.size()); buffer 143 remoting/base/compound_buffer_unittest.cc EXPECT_STREQ(str.data(), buffer.get()); buffer 147 remoting/base/compound_buffer_unittest.cc static void PrepareData(scoped_ptr<CompoundBuffer>* buffer) { buffer 173 remoting/base/compound_buffer_unittest.cc buffer->reset(result); buffer 261 remoting/base/compound_buffer_unittest.cc scoped_ptr<CompoundBuffer> buffer; buffer 262 remoting/base/compound_buffer_unittest.cc PrepareData(&buffer); buffer 263 remoting/base/compound_buffer_unittest.cc CompoundBufferInputStream stream(buffer.get()); buffer 21 remoting/base/typed_buffer_unittest.cc TypedBuffer<Data> buffer; buffer 22 remoting/base/typed_buffer_unittest.cc EXPECT_FALSE(buffer.get()); buffer 23 remoting/base/typed_buffer_unittest.cc EXPECT_FALSE(buffer); buffer 24 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(buffer.length(), 0u); buffer 29 remoting/base/typed_buffer_unittest.cc TypedBuffer<Data> buffer(0); buffer 30 remoting/base/typed_buffer_unittest.cc EXPECT_FALSE(buffer.get()); buffer 31 remoting/base/typed_buffer_unittest.cc EXPECT_FALSE(buffer); buffer 32 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(buffer.length(), 0u); buffer 37 remoting/base/typed_buffer_unittest.cc TypedBuffer<Data> buffer(sizeof(int) * 10); buffer 38 remoting/base/typed_buffer_unittest.cc EXPECT_TRUE(buffer.get()); buffer 39 remoting/base/typed_buffer_unittest.cc EXPECT_TRUE(buffer); buffer 40 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(buffer.length(), sizeof(int) * 10); buffer 43 remoting/base/typed_buffer_unittest.cc (*buffer).data[9] = 0x12345678; buffer 46 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(buffer->data[9], 0x12345678); buffer 95 remoting/base/typed_buffer_unittest.cc TypedBuffer<Data> buffer(sizeof(int) * 10); buffer 96 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(buffer.get(), buffer.GetAtOffset(0)); buffer 97 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(reinterpret_cast<Data*>(&buffer->data[9]), buffer 98 remoting/base/typed_buffer_unittest.cc buffer.GetAtOffset(sizeof(int) * 9)); buffer 201 remoting/base/util_unittest.cc std::string buffer; buffer 202 remoting/base/util_unittest.cc buffer.resize(kLineNum * kLineSize); buffer 204 remoting/base/util_unittest.cc memcpy(&buffer[i * kLineSize], &line[0], kLineSize); buffer 207 remoting/base/util_unittest.cc buffer = ReplaceLfByCrLf(buffer); buffer 209 remoting/base/util_unittest.cc EXPECT_EQ(static_cast<size_t>((kLineSize + 1) * kLineNum), buffer.size()); buffer 210 remoting/base/util_unittest.cc const char* p = &buffer[0]; buffer 237 remoting/base/util_unittest.cc std::string buffer; buffer 238 remoting/base/util_unittest.cc buffer.resize(kLineNum * kLineSize); buffer 240 remoting/base/util_unittest.cc memcpy(&buffer[i * kLineSize], &line[0], kLineSize); buffer 243 remoting/base/util_unittest.cc buffer = ReplaceCrLfByLf(buffer); buffer 245 remoting/base/util_unittest.cc EXPECT_EQ(static_cast<size_t>((kLineSize - 1) * kLineNum), buffer.size()); buffer 246 remoting/base/util_unittest.cc const char* p = &buffer[0]; buffer 52 remoting/client/audio_player_unittest.cc uint8* buffer = reinterpret_cast<uint8*>(buffer_.get()); buffer 53 remoting/client/audio_player_unittest.cc memset(buffer, kDefaultBufferData, kAudioFrameBytes + kPaddingBytes); buffer 59 remoting/client/audio_player_unittest.cc ASSERT_EQ(kDefaultBufferData, *(buffer + kAudioFrameBytes + i)); buffer 65 remoting/client/audio_player_unittest.cc uint8* buffer = reinterpret_cast<uint8*>(buffer_.get()); buffer 68 remoting/client/audio_player_unittest.cc ASSERT_EQ(kDummyAudioData, *(buffer + i)); buffer 72 remoting/client/audio_player_unittest.cc ASSERT_EQ(0, *(buffer + i)); buffer 39 remoting/client/frame_consumer.h webrtc::DesktopFrame* buffer, buffer 46 remoting/client/frame_consumer.h virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) = 0; buffer 26 remoting/client/frame_consumer_proxy.cc webrtc::DesktopFrame* buffer, buffer 32 remoting/client/frame_consumer_proxy.cc view_size, clip_area, buffer, region, shape)); buffer 37 remoting/client/frame_consumer_proxy.cc frame_consumer_->ApplyBuffer(view_size, clip_area, buffer, region, shape); buffer 40 remoting/client/frame_consumer_proxy.cc void FrameConsumerProxy::ReturnBuffer(webrtc::DesktopFrame* buffer) { buffer 43 remoting/client/frame_consumer_proxy.cc &FrameConsumerProxy::ReturnBuffer, this, buffer)); buffer 48 remoting/client/frame_consumer_proxy.cc frame_consumer_->ReturnBuffer(buffer); buffer 35 remoting/client/frame_consumer_proxy.h webrtc::DesktopFrame* buffer, buffer 38 remoting/client/frame_consumer_proxy.h virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) OVERRIDE; buffer 29 remoting/client/frame_producer.h virtual void DrawBuffer(webrtc::DesktopFrame* buffer) = 0; buffer 281 remoting/client/jni/chromoting_jni_runtime.cc base::android::ScopedJavaLocalRef<jobject> buffer(env, buffer 288 remoting/client/jni/chromoting_jni_runtime.cc buffer.obj()); buffer 47 remoting/client/jni/jni_frame_consumer.cc webrtc::DesktopFrame* buffer, buffer 52 remoting/client/jni/jni_frame_consumer.cc if (bitmap_->size().width() != buffer->size().width() || buffer 53 remoting/client/jni/jni_frame_consumer.cc bitmap_->size().height() != buffer->size().height()) { buffer 56 remoting/client/jni/jni_frame_consumer.cc FreeBuffer(buffer); buffer 72 remoting/client/jni/jni_frame_consumer.cc CopyRGB32Rect(buffer->data(), buffer->stride(), buffer_rect, dest_buffer, buffer 83 remoting/client/jni/jni_frame_consumer.cc frame_producer_->DrawBuffer(buffer); buffer 86 remoting/client/jni/jni_frame_consumer.cc void JniFrameConsumer::ReturnBuffer(webrtc::DesktopFrame* buffer) { buffer 88 remoting/client/jni/jni_frame_consumer.cc FreeBuffer(buffer); buffer 122 remoting/client/jni/jni_frame_consumer.cc webrtc::DesktopFrame* buffer = new webrtc::BasicDesktopFrame(size); buffer 123 remoting/client/jni/jni_frame_consumer.cc buffers_.push_back(buffer); buffer 124 remoting/client/jni/jni_frame_consumer.cc frame_producer_->DrawBuffer(buffer); buffer 127 remoting/client/jni/jni_frame_consumer.cc void JniFrameConsumer::FreeBuffer(webrtc::DesktopFrame* buffer) { buffer 128 remoting/client/jni/jni_frame_consumer.cc DCHECK(std::find(buffers_.begin(), buffers_.end(), buffer) != buffers_.end()); buffer 130 remoting/client/jni/jni_frame_consumer.cc buffers_.remove(buffer); buffer 131 remoting/client/jni/jni_frame_consumer.cc delete buffer; buffer 45 remoting/client/jni/jni_frame_consumer.h webrtc::DesktopFrame* buffer, buffer 48 remoting/client/jni/jni_frame_consumer.h virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) OVERRIDE; buffer 59 remoting/client/jni/jni_frame_consumer.h void FreeBuffer(webrtc::DesktopFrame* buffer); buffer 1126 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::OnMediaSourceData(uint8_t* buffer, buffer 1130 remoting/client/plugin/chromoting_instance.cc memcpy(data_ptr, buffer, buffer_size); buffer 255 remoting/client/plugin/chromoting_instance.h virtual void OnMediaSourceData(uint8_t* buffer, size_t buffer_size) OVERRIDE; buffer 184 remoting/client/plugin/media_source_video_renderer.cc scoped_ptr<VideoWriter::DataBuffer> buffer = buffer 186 remoting/client/plugin/media_source_video_renderer.cc delegate_->OnMediaSourceData(&(*(buffer->begin())), buffer->size()); buffer 41 remoting/client/plugin/media_source_video_renderer.h virtual void OnMediaSourceData(uint8_t* buffer, size_t buffer_size) = 0; buffer 58 remoting/client/plugin/pepper_packet_socket_factory.cc PendingPacket(const void* buffer, buffer 101 remoting/client/plugin/pepper_packet_socket_factory.cc const void* buffer, buffer 106 remoting/client/plugin/pepper_packet_socket_factory.cc memcpy(data->data(), buffer, buffer_size); buffer 33 remoting/client/plugin/pepper_view.cc explicit PepperDesktopFrame(const pp::ImageData& buffer); buffer 44 remoting/client/plugin/pepper_view.cc PepperDesktopFrame::PepperDesktopFrame(const pp::ImageData& buffer) buffer 45 remoting/client/plugin/pepper_view.cc : DesktopFrame(webrtc::DesktopSize(buffer.size().width(), buffer 46 remoting/client/plugin/pepper_view.cc buffer.size().height()), buffer 47 remoting/client/plugin/pepper_view.cc buffer.stride(), buffer 48 remoting/client/plugin/pepper_view.cc reinterpret_cast<uint8_t*>(buffer.data()), buffer 50 remoting/client/plugin/pepper_view.cc buffer_(buffer) {} buffer 94 remoting/client/plugin/pepper_view.cc webrtc::DesktopFrame* buffer = AllocateBuffer(); buffer 95 remoting/client/plugin/pepper_view.cc while (buffer) { buffer 96 remoting/client/plugin/pepper_view.cc producer_->DrawBuffer(buffer); buffer 97 remoting/client/plugin/pepper_view.cc buffer = AllocateBuffer(); buffer 166 remoting/client/plugin/pepper_view.cc webrtc::DesktopFrame* buffer, buffer 181 remoting/client/plugin/pepper_view.cc FreeBuffer(buffer); buffer 184 remoting/client/plugin/pepper_view.cc FlushBuffer(clip_area, buffer, region); buffer 189 remoting/client/plugin/pepper_view.cc void PepperView::ReturnBuffer(webrtc::DesktopFrame* buffer) { buffer 194 remoting/client/plugin/pepper_view.cc if (buffer->size().width() >= clip_area_.width() && buffer 195 remoting/client/plugin/pepper_view.cc buffer->size().height() >= clip_area_.height()) { buffer 196 remoting/client/plugin/pepper_view.cc producer_->DrawBuffer(buffer); buffer 198 remoting/client/plugin/pepper_view.cc FreeBuffer(buffer); buffer 239 remoting/client/plugin/pepper_view.cc webrtc::DesktopFrame* buffer = new PepperDesktopFrame(buffer_data); buffer 240 remoting/client/plugin/pepper_view.cc buffers_.push_back(buffer); buffer 241 remoting/client/plugin/pepper_view.cc return buffer; buffer 244 remoting/client/plugin/pepper_view.cc void PepperView::FreeBuffer(webrtc::DesktopFrame* buffer) { buffer 245 remoting/client/plugin/pepper_view.cc DCHECK(std::find(buffers_.begin(), buffers_.end(), buffer) != buffers_.end()); buffer 247 remoting/client/plugin/pepper_view.cc buffers_.remove(buffer); buffer 248 remoting/client/plugin/pepper_view.cc delete buffer; buffer 252 remoting/client/plugin/pepper_view.cc webrtc::DesktopFrame* buffer, buffer 262 remoting/client/plugin/pepper_view.cc merge_buffer_ = buffer; buffer 285 remoting/client/plugin/pepper_view.cc static_cast<PepperDesktopFrame*>(buffer)->buffer(), buffer 304 remoting/client/plugin/pepper_view.cc buffer); buffer 312 remoting/client/plugin/pepper_view.cc webrtc::DesktopFrame* buffer) { buffer 320 remoting/client/plugin/pepper_view.cc ReturnBuffer(buffer); buffer 324 remoting/client/plugin/pepper_view.cc buffer = merge_buffer_; buffer 326 remoting/client/plugin/pepper_view.cc FlushBuffer(merge_clip_area_, buffer, merge_region_); buffer 50 remoting/client/plugin/pepper_view.h webrtc::DesktopFrame* buffer, buffer 53 remoting/client/plugin/pepper_view.h virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) OVERRIDE; buffer 73 remoting/client/plugin/pepper_view.h void FreeBuffer(webrtc::DesktopFrame* buffer); buffer 80 remoting/client/plugin/pepper_view.h webrtc::DesktopFrame* buffer, buffer 87 remoting/client/plugin/pepper_view.h webrtc::DesktopFrame* buffer); buffer 87 remoting/client/software_video_renderer.cc void DrawBuffer(webrtc::DesktopFrame* buffer); buffer 236 remoting/client/software_video_renderer.cc webrtc::DesktopFrame* buffer = buffers_.front(); buffer 239 remoting/client/software_video_renderer.cc buffer->data(), buffer->stride(), &output_region); buffer 244 remoting/client/software_video_renderer.cc consumer_->ApplyBuffer(view_size_, clip_area_, buffer, output_region, buffer 262 remoting/client/software_video_renderer.cc void SoftwareVideoRenderer::Core::DrawBuffer(webrtc::DesktopFrame* buffer) { buffer 264 remoting/client/software_video_renderer.cc DCHECK(clip_area_.width() <= buffer->size().width() && buffer 265 remoting/client/software_video_renderer.cc clip_area_.height() <= buffer->size().height()); buffer 267 remoting/client/software_video_renderer.cc buffers_.push_back(buffer); buffer 385 remoting/client/software_video_renderer.cc void SoftwareVideoRenderer::DrawBuffer(webrtc::DesktopFrame* buffer) { buffer 388 remoting/client/software_video_renderer.cc base::Unretained(core_.get()), buffer)); buffer 57 remoting/client/software_video_renderer.h virtual void DrawBuffer(webrtc::DesktopFrame* buffer) OVERRIDE; buffer 197 remoting/codec/audio_encoder_opus.cc unsigned char* buffer = buffer 200 remoting/codec/audio_encoder_opus.cc buffer, data->length()); buffer 29 remoting/codec/video_decoder_vpx.cc void FillRect(uint8* buffer, buffer 33 remoting/codec/video_decoder_vpx.cc uint32* ptr = reinterpret_cast<uint32*>(buffer + (rect.top() * stride) + buffer 185 remoting/host/desktop_session_agent.cc scoped_ptr<SharedBuffer> buffer = buffer 187 remoting/host/desktop_session_agent.cc if (buffer) { buffer 202 remoting/host/desktop_session_agent.cc handle = buffer->handle(); buffer 204 remoting/host/desktop_session_agent.cc handle = base::FileDescriptor(buffer->handle(), false); buffer 207 remoting/host/desktop_session_agent.cc buffer->id(), handle, buffer->size())); buffer 210 remoting/host/desktop_session_agent.cc return buffer.release(); buffer 74 remoting/host/desktop_shape_tracker_win.cc std::vector<char> buffer(bytes_size); buffer 75 remoting/host/desktop_shape_tracker_win.cc LPRGNDATA region_data = reinterpret_cast<LPRGNDATA>(buffer.data()); buffer 84 remoting/host/disconnect_window_win.cc WCHAR buffer[256]; buffer 85 remoting/host/disconnect_window_win.cc int result = GetWindowText(control, buffer, arraysize(buffer)); buffer 89 remoting/host/disconnect_window_win.cc text->assign(buffer); buffer 176 remoting/host/local_input_monitor_win.cc scoped_ptr<uint8[]> buffer(new uint8[size]); buffer 177 remoting/host/local_input_monitor_win.cc RAWINPUT* input = reinterpret_cast<RAWINPUT*>(buffer.get()); buffer 180 remoting/host/local_input_monitor_win.cc buffer.get(), buffer 36 remoting/host/native_messaging/native_messaging_writer.cc const char* buffer, int buffer_length) { buffer 39 remoting/host/native_messaging/native_messaging_writer.cc int result = out->WriteSync(buffer + written, buffer_length - written); buffer 52 remoting/host/posix/signal_handler.cc char buffer; buffer 53 remoting/host/posix/signal_handler.cc int result = HANDLE_EINTR(read(fd, &buffer, sizeof(buffer))); buffer 58 remoting/host/posix/signal_handler.cc if (i->first == buffer) { buffer 61 remoting/host/win/chromoting_module.cc TypedBuffer<TOKEN_MANDATORY_LABEL> buffer(length); buffer 62 remoting/host/win/chromoting_module.cc mandatory_label.Swap(buffer); buffer 116 remoting/host/win/elevated_controller.cc scoped_ptr<char[]> buffer(new char[kMaxConfigFileSize]); buffer 118 remoting/host/win/elevated_controller.cc if (!::ReadFile(file, &buffer[0], size, &size, NULL)) { buffer 126 remoting/host/win/elevated_controller.cc std::string file_content(buffer.get(), size); buffer 325 remoting/host/win/launch_process_with_token.cc scoped_ptr<char[]> buffer(new char[size]); buffer 326 remoting/host/win/launch_process_with_token.cc memset(buffer.get(), 0, size); buffer 330 remoting/host/win/launch_process_with_token.cc reinterpret_cast<CreateProcessRequest*>(buffer.get()); buffer 344 remoting/host/win/launch_process_with_token.cc reinterpret_cast<wchar_t*>(buffer.get() + buffer_offset)); buffer 350 remoting/host/win/launch_process_with_token.cc reinterpret_cast<wchar_t*>(buffer.get() + buffer_offset)); buffer 357 remoting/host/win/launch_process_with_token.cc reinterpret_cast<wchar_t*>(buffer.get() + buffer_offset)); buffer 361 remoting/host/win/launch_process_with_token.cc if (!WriteFile(pipe, buffer.get(), size, &bytes, NULL)) { buffer 63 remoting/jingle_glue/chromium_socket_factory.cc PendingPacket(const void* buffer, buffer 99 remoting/jingle_glue/chromium_socket_factory.cc const void* buffer, buffer 104 remoting/jingle_glue/chromium_socket_factory.cc memcpy(data->data(), buffer, buffer_size); buffer 177 remoting/protocol/buffered_socket_writer.cc net::IOBuffer** buffer, int* size) { buffer 180 remoting/protocol/buffered_socket_writer.cc *buffer = NULL; buffer 187 remoting/protocol/buffered_socket_writer.cc *buffer = current_buf_.get(); buffer 213 remoting/protocol/buffered_socket_writer.cc net::IOBuffer** buffer, int* size) { buffer 215 remoting/protocol/buffered_socket_writer.cc *buffer = NULL; buffer 218 remoting/protocol/buffered_socket_writer.cc *buffer = queue_.front()->data.get(); buffer 47 remoting/protocol/buffered_socket_writer.h bool Write(scoped_refptr<net::IOBufferWithSize> buffer, buffer 77 remoting/protocol/buffered_socket_writer.h virtual void GetNextPacket(net::IOBuffer** buffer, int* size) = 0; buffer 110 remoting/protocol/buffered_socket_writer.h virtual void GetNextPacket(net::IOBuffer** buffer, int* size) OVERRIDE; buffer 124 remoting/protocol/buffered_socket_writer.h virtual void GetNextPacket(net::IOBuffer** buffer, int* size) OVERRIDE; buffer 40 remoting/protocol/channel_multiplexer.cc int Read(char* buffer, size_t size) { buffer 42 remoting/protocol/channel_multiplexer.cc memcpy(buffer, packet->data().data() + pos, size); buffer 88 remoting/protocol/channel_multiplexer.cc int DoRead(net::IOBuffer* buffer, int buffer_len); buffer 114 remoting/protocol/channel_multiplexer.cc virtual int Read(net::IOBuffer* buffer, int buffer_len, buffer 116 remoting/protocol/channel_multiplexer.cc virtual int Write(net::IOBuffer* buffer, int buffer_len, buffer 254 remoting/protocol/channel_multiplexer.cc int ChannelMultiplexer::MuxChannel::DoRead(net::IOBuffer* buffer, buffer 260 remoting/protocol/channel_multiplexer.cc buffer->data() + pos, buffer_len); buffer 284 remoting/protocol/channel_multiplexer.cc net::IOBuffer* buffer, int buffer_len, buffer 289 remoting/protocol/channel_multiplexer.cc int result = channel_->DoRead(buffer, buffer_len); buffer 291 remoting/protocol/channel_multiplexer.cc read_buffer_ = buffer; buffer 300 remoting/protocol/channel_multiplexer.cc net::IOBuffer* buffer, int buffer_len, buffer 306 remoting/protocol/channel_multiplexer.cc packet->mutable_data()->assign(buffer->data(), size); buffer 22 remoting/protocol/message_decoder_unittest.cc std::string* buffer) { buffer 26 remoting/protocol/message_decoder_unittest.cc buffer->append(encoded_msg->data(), encoded_msg->size()); buffer 30 remoting/protocol/message_decoder_unittest.cc static void PrepareData(uint8** buffer, int* size) { buffer 44 remoting/protocol/message_decoder_unittest.cc *buffer = new uint8[*size]; buffer 45 remoting/protocol/message_decoder_unittest.cc memcpy(*buffer, encoded_data.c_str(), *size); buffer 71 remoting/protocol/message_decoder_unittest.cc scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read)); buffer 72 remoting/protocol/message_decoder_unittest.cc memcpy(buffer->data(), test_data + pos, read); buffer 73 remoting/protocol/message_decoder_unittest.cc decoder.AddData(buffer, read); buffer 94 remoting/protocol/message_reader.cc CompoundBuffer* buffer = message_decoder_.GetNextMessage(); buffer 95 remoting/protocol/message_reader.cc if (!buffer) buffer 102 remoting/protocol/message_reader.cc base::Passed(scoped_ptr<CompoundBuffer>(buffer)))); buffer 104 remoting/protocol/message_reader.h void OnNewData(scoped_ptr<CompoundBuffer> buffer, buffer 107 remoting/protocol/message_reader.h CompoundBufferInputStream stream(buffer.get()); buffer 112 remoting/protocol/message_reader.h DCHECK_EQ(stream.position(), buffer->total_bytes()); buffer 90 remoting/protocol/message_reader_unittest.cc bool CompareResult(CompoundBuffer* buffer, const std::string& expected) { buffer 91 remoting/protocol/message_reader_unittest.cc std::string result(buffer->total_bytes(), ' '); buffer 92 remoting/protocol/message_reader_unittest.cc buffer->CopyTo(const_cast<char*>(result.data()), result.size()); buffer 96 remoting/protocol/message_reader_unittest.cc void OnMessage(scoped_ptr<CompoundBuffer> buffer, buffer 98 remoting/protocol/message_reader_unittest.cc messages_.push_back(buffer.release()); buffer 50 remoting/protocol/pairing_registry.cc char buffer[kKeySize]; buffer 51 remoting/protocol/pairing_registry.cc crypto::RandBytes(buffer, arraysize(buffer)); buffer 52 remoting/protocol/pairing_registry.cc base::Base64Encode(base::StringPiece(buffer, arraysize(buffer)), buffer 22 remoting/protocol/util.cc scoped_refptr<net::IOBufferWithSize> buffer(new net::IOBufferWithSize(size)); buffer 23 remoting/protocol/util.cc talk_base::SetBE32(buffer->data(), msg.GetCachedSize()); buffer 25 remoting/protocol/util.cc reinterpret_cast<uint8*>(buffer->data()) + kExtraBytes); buffer 26 remoting/protocol/util.cc return buffer; buffer 280 rlz/lib/financial_ping.cc scoped_ptr<char[]> buffer(new char[kMaxPingResponseLength]); buffer 281 rlz/lib/financial_ping.cc if (buffer.get() == NULL) buffer 285 rlz/lib/financial_ping.cc while (InternetReadFile(http_handle, buffer.get(), kMaxPingResponseLength, buffer 287 rlz/lib/financial_ping.cc response->append(buffer.get(), bytes_read); buffer 56 rlz/lib/machine_id.cc const char* buffer = reinterpret_cast<const char*>(sid_string.c_str()); buffer 57 rlz/lib/machine_id.cc std::string sid_string_buffer(buffer, byte_count); buffer 53 rlz/mac/lib/machine_id_mac.cc uint8_t* buffer, size_t buffer_size) { buffer 59 rlz/mac/lib/machine_id_mac.cc bzero(buffer, buffer_size); buffer 81 rlz/mac/lib/machine_id_mac.cc mac_data_data, CFRangeMake(0, kIOEthernetAddressSize), buffer); buffer 88 rlz/mac/lib/machine_id_mac.cc bool GetMacAddress(unsigned char* buffer, size_t size) { buffer 93 rlz/mac/lib/machine_id_mac.cc primary_interface_iterator, buffer, size); buffer 290 rlz/win/lib/rlz_value_store_registry.cc char buffer[kMaxValueNameLength]; buffer 291 rlz/win/lib/rlz_value_store_registry.cc DWORD size = arraysize(buffer); buffer 293 rlz/win/lib/rlz_value_store_registry.cc result = RegEnumValueA(events_key.Handle(), num_values, buffer, &size, buffer 296 rlz/win/lib/rlz_value_store_registry.cc events->push_back(std::string(buffer)); buffer 54 sandbox/win/src/Wow64.cc char buffer[kServiceEntry64Size]; buffer 57 sandbox/win/src/Wow64.cc &buffer, kServiceEntry64Size, &actual)) buffer 62 sandbox/win/src/Wow64.cc if (!::WriteProcessMemory(child, local_patch_info.patch_location, &buffer, buffer 111 sandbox/win/src/Wow64.cc void* buffer = ::VirtualAllocEx(child_->Process(), NULL, page_size, buffer 113 sandbox/win/src/Wow64.cc DCHECK(buffer); buffer 114 sandbox/win/src/Wow64.cc if (!buffer) buffer 117 sandbox/win/src/Wow64.cc PatchInfo32* patch_info = reinterpret_cast<PatchInfo32*>(buffer); buffer 128 sandbox/win/src/Wow64.cc if (!RunWowHelper(buffer)) buffer 139 sandbox/win/src/Wow64.cc bool Wow64::RunWowHelper(void* buffer) { buffer 140 sandbox/win/src/Wow64.cc COMPILE_ASSERT(sizeof(buffer) <= sizeof(DWORD), unsupported_64_bits); buffer 154 sandbox/win/src/Wow64.cc bit_cast<ULONG>(buffer); buffer 211 sandbox/win/src/Wow64.cc char buffer[kBufferSize]; buffer 213 sandbox/win/src/Wow64.cc if (!::ReadProcessMemory(child_->Process(), ntdll_, &buffer, kBufferSize, buffer 33 sandbox/win/src/Wow64.h bool RunWowHelper(void* buffer); buffer 172 sandbox/win/src/app_container.cc wchar_t* buffer = NULL; buffer 173 sandbox/win/src/app_container.cc HRESULT rv = AppContainerLookupMoniker(local_sid, &buffer); buffer 177 sandbox/win/src/app_container.cc base::string16 name(buffer); buffer 178 sandbox/win/src/app_container.cc if (!AppContainerFreeMemory(buffer)) buffer 64 sandbox/win/src/crosscall_client.h bool Update(void* buffer) { buffer 103 sandbox/win/src/crosscall_client.h bool Update(void* buffer) { buffer 143 sandbox/win/src/crosscall_client.h bool Update(void* buffer) { buffer 193 sandbox/win/src/crosscall_client.h bool Update(void* buffer) { buffer 194 sandbox/win/src/crosscall_client.h return Base::Update(buffer); buffer 223 sandbox/win/src/crosscall_client.h bool Update(void* buffer) { buffer 224 sandbox/win/src/crosscall_client.h return Base::Update(buffer); buffer 245 sandbox/win/src/crosscall_client.h InOutCountedBuffer(void* buffer, uint32 size) : CountedBuffer(buffer, size) {} buffer 261 sandbox/win/src/crosscall_client.h bool Update(void* buffer) { buffer 265 sandbox/win/src/crosscall_client.h memcpy(t_.Buffer(), buffer, t_.Size()); buffer 116 sandbox/win/src/handle_closer.cc bool HandleCloser::SetupHandleList(void* buffer, size_t buffer_bytes) { buffer 117 sandbox/win/src/handle_closer.cc ::ZeroMemory(buffer, buffer_bytes); buffer 118 sandbox/win/src/handle_closer.cc HandleCloserInfo* handle_info = reinterpret_cast<HandleCloserInfo*>(buffer); buffer 125 sandbox/win/src/handle_closer.cc reinterpret_cast<char*>(buffer) + buffer_bytes); buffer 65 sandbox/win/src/handle_closer.h bool SetupHandleList(void* buffer, size_t buffer_bytes); buffer 17 sandbox/win/src/handle_closer_agent.cc void* buffer, buffer 25 sandbox/win/src/handle_closer_agent.cc status = QueryObject(handle, ObjectTypeInformation, buffer, *size, size); buffer 64 sandbox/win/src/handle_dispatcher.cc BYTE buffer[sizeof(OBJECT_TYPE_INFORMATION) + 32 * sizeof(wchar_t)]; buffer 66 sandbox/win/src/handle_dispatcher.cc reinterpret_cast<OBJECT_TYPE_INFORMATION*>(buffer); buffer 67 sandbox/win/src/handle_dispatcher.cc ULONG size = sizeof(buffer) - sizeof(wchar_t); buffer 23 sandbox/win/src/integrity_level_test.cc char* buffer[100]; buffer 26 sandbox/win/src/integrity_level_test.cc reinterpret_cast<void*>(buffer), buf_size, buffer 31 sandbox/win/src/integrity_level_test.cc reinterpret_cast<TOKEN_MANDATORY_LABEL*>(buffer); buffer 183 sandbox/win/src/interception.cc bool InterceptionManager::SetupConfigBuffer(void* buffer, size_t buffer_bytes) { buffer 189 sandbox/win/src/interception.cc SharedMemory* shared_memory = reinterpret_cast<SharedMemory*>(buffer); buffer 196 sandbox/win/src/interception.cc buffer = dll_info; buffer 207 sandbox/win/src/interception.cc if (!SetupDllInfo(*it, &buffer, &buffer_bytes)) buffer 216 sandbox/win/src/interception.cc if (!SetupInterceptionInfo(*rest, &buffer, &buffer_bytes, dll_info)) buffer 225 sandbox/win/src/interception.cc dll_info = reinterpret_cast<DllPatchInfo*>(buffer); buffer 236 sandbox/win/src/interception.cc void** buffer, buffer 239 sandbox/win/src/interception.cc DCHECK(buffer); buffer 240 sandbox/win/src/interception.cc DCHECK(*buffer); buffer 242 sandbox/win/src/interception.cc DllPatchInfo* dll_info = reinterpret_cast<DllPatchInfo*>(*buffer); buffer 252 sandbox/win/src/interception.cc *buffer = reinterpret_cast<char*>(*buffer) + required; buffer 266 sandbox/win/src/interception.cc void** buffer, buffer 270 sandbox/win/src/interception.cc DCHECK(buffer); buffer 271 sandbox/win/src/interception.cc DCHECK(*buffer); buffer 279 sandbox/win/src/interception.cc FunctionInfo* function = reinterpret_cast<FunctionInfo*>(*buffer); buffer 293 sandbox/win/src/interception.cc *buffer = reinterpret_cast<char*>(*buffer) + required; buffer 160 sandbox/win/src/interception.h bool SetupConfigBuffer(void* buffer, size_t buffer_bytes); buffer 172 sandbox/win/src/interception.h void** buffer, size_t* buffer_bytes) const; buffer 179 sandbox/win/src/interception.h bool SetupInterceptionInfo(const InterceptionData& data, void** buffer, buffer 28 sandbox/win/src/interception_unittest.cc void WalkBuffer(void* buffer, size_t size, int* num_dlls, int* num_functions, buffer 30 sandbox/win/src/interception_unittest.cc ASSERT_TRUE(NULL != buffer); buffer 34 sandbox/win/src/interception_unittest.cc SharedMemory *memory = reinterpret_cast<SharedMemory*>(buffer); buffer 57 sandbox/win/src/interception_unittest.cc ASSERT_GT(reinterpret_cast<char*>(buffer) + size, name + strlen(name)); buffer 31 sandbox/win/src/internal_types.h CountedBuffer(void* buffer, uint32 size) : size_(size), buffer_(buffer) {} buffer 50 sandbox/win/src/internal_types.h explicit IPCInt(void* buffer) { buffer 51 sandbox/win/src/internal_types.h buffer_.vp = buffer; buffer 306 sandbox/win/src/ipc_unittest.cc void* buffer = const_cast<void*>(params_1.GetBuffer()); buffer 310 sandbox/win/src/ipc_unittest.cc ccp = CrossCallParamsEx::CreateFromBuffer(buffer, params_1.GetSize(), buffer 313 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(ccp->GetBuffer() != buffer); buffer 327 sandbox/win/src/ipc_unittest.cc buffer = const_cast<void*>(params_2.GetBuffer()); buffer 329 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(NULL != buffer); buffer 330 sandbox/win/src/ipc_unittest.cc ccp = CrossCallParamsEx::CreateFromBuffer(buffer, params_1.GetSize(), buffer 339 sandbox/win/src/ipc_unittest.cc buffer = const_cast<void*>(params_3.GetBuffer()); buffer 340 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(NULL != buffer); buffer 343 sandbox/win/src/ipc_unittest.cc ccp = CrossCallParamsEx::CreateFromBuffer(buffer, kBufferSize, &out_size); buffer 348 sandbox/win/src/ipc_unittest.cc ccp = CrossCallParamsEx::CreateFromBuffer(buffer, kBufferSize, &out_size); buffer 352 sandbox/win/src/ipc_unittest.cc ccp = CrossCallParamsEx::CreateFromBuffer(buffer, kBufferSize, &out_size); buffer 358 sandbox/win/src/ipc_unittest.cc params_4.CopyParamIn(1, buffer, sizeof(buffer), false, VOIDPTR_TYPE); buffer 359 sandbox/win/src/ipc_unittest.cc buffer = const_cast<void*>(params_4.GetBuffer()); buffer 360 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(NULL != buffer); buffer 362 sandbox/win/src/ipc_unittest.cc ccp = CrossCallParamsEx::CreateFromBuffer(buffer, kBufferSize, &out_size); buffer 368 sandbox/win/src/ipc_unittest.cc ccp = CrossCallParamsEx::CreateFromBuffer(buffer, kBufferSize, &out_size); buffer 21 sandbox/win/src/process_mitigations.cc PVOID buffer, buffer 29 sandbox/win/src/process_mitigations_test.cc PVOID buffer, buffer 177 sandbox/win/src/sandbox_nt_util.cc int TouchMemory(void* buffer, size_t size_bytes, RequiredAccess intent) { buffer 180 sandbox/win/src/sandbox_nt_util.cc char* start = reinterpret_cast<char*>(buffer); buffer 198 sandbox/win/src/sandbox_nt_util.cc bool ValidParameter(void* buffer, size_t size, RequiredAccess intent) { buffer 201 sandbox/win/src/sandbox_nt_util.cc TouchMemory(buffer, size, intent); buffer 585 sandbox/win/src/sandbox_nt_util.cc void* __cdecl operator new(size_t size, void* buffer, buffer 589 sandbox/win/src/sandbox_nt_util.cc return buffer; buffer 592 sandbox/win/src/sandbox_nt_util.cc void __cdecl operator delete(void* memory, void* buffer, buffer 595 sandbox/win/src/sandbox_nt_util.cc UNREFERENCED_PARAMETER(buffer); buffer 26 sandbox/win/src/sandbox_nt_util.h void* __cdecl operator new(size_t size, void* buffer, buffer 28 sandbox/win/src/sandbox_nt_util.h void __cdecl operator delete(void* memory, void* buffer, buffer 97 sandbox/win/src/sandbox_nt_util.h bool ValidParameter(void* buffer, size_t size, RequiredAccess intent); buffer 30 sandbox/win/src/sharedmem_ipc_client.cc void SharedMemIPCClient::FreeBuffer(void* buffer) { buffer 31 sandbox/win/src/sharedmem_ipc_client.cc size_t num = ChannelIndexFromBuffer(buffer); buffer 145 sandbox/win/src/sharedmem_ipc_client.cc size_t SharedMemIPCClient::ChannelIndexFromBuffer(const void* buffer) { buffer 146 sandbox/win/src/sharedmem_ipc_client.cc ptrdiff_t d = reinterpret_cast<const char*>(buffer) - first_base_; buffer 111 sandbox/win/src/sharedmem_ipc_client.h void FreeBuffer(void* buffer); buffer 128 sandbox/win/src/sharedmem_ipc_client.h size_t ChannelIndexFromBuffer(const void* buffer); buffer 205 sandbox/win/src/sharedmem_ipc_server.cc CountedBuffer* buffer = new CountedBuffer(args[i] , size); buffer 206 sandbox/win/src/sharedmem_ipc_server.cc args[i] = buffer; buffer 388 sandbox/win/src/sharedmem_ipc_server.cc void* buffer = service_context->channel_buffer; buffer 390 sandbox/win/src/sharedmem_ipc_server.cc InvokeCallback(service_context, buffer, &call_result); buffer 394 sandbox/win/src/sharedmem_ipc_server.cc CrossCallParams* call_params = reinterpret_cast<CrossCallParams*>(buffer); buffer 30 sandbox/win/src/target_process.cc size_t buffer = reinterpret_cast<size_t>(policy->entry[i]); buffer 31 sandbox/win/src/target_process.cc if (buffer) { buffer 32 sandbox/win/src/target_process.cc buffer -= offset; buffer 33 sandbox/win/src/target_process.cc policy->entry[i] = reinterpret_cast<sandbox::PolicyBuffer*>(buffer); buffer 282 sandbox/win/src/win_utils.cc const void* buffer, size_t length) { buffer 290 sandbox/win/src/win_utils.cc bool ok = ::WriteProcessMemory(child_process, address, buffer, length, buffer 106 sandbox/win/src/win_utils.h const void* buffer, size_t length); buffer 61 sandbox/win/src/window.cc wchar_t buffer[16]; buffer 62 sandbox/win/src/window.cc _snwprintf_s(buffer, sizeof(buffer) / sizeof(wchar_t), L"0x%X", buffer 64 sandbox/win/src/window.cc desktop_name += buffer; buffer 40 sandbox/win/tests/common/test_utils.cc char buffer[2000] = {0}; buffer 43 sandbox/win/tests/common/test_utils.cc REPARSE_DATA_BUFFER* data = reinterpret_cast<REPARSE_DATA_BUFFER*>(buffer); buffer 53 sandbox/win/tests/common/test_utils.cc if (!DeviceIoControl(source, FSCTL_SET_REPARSE_POINT, &buffer, data_size, buffer 12 sandbox/win/tools/finder/finder_registry.cc wchar_t buffer[2048] = {0}; buffer 15 sandbox/win/tools/finder/finder_registry.cc LONG err_code = ::RegEnumKey(key, index, buffer, name_size); buffer 17 sandbox/win/tools/finder/finder_registry.cc ATL::CString name_complete = print_name + buffer + L"\\"; buffer 18 sandbox/win/tools/finder/finder_registry.cc TestRegAccess(key, buffer, name_complete); buffer 22 sandbox/win/tools/finder/finder_registry.cc err_code = ::RegOpenKeyEx(key, buffer, 0, KEY_ENUMERATE_SUB_KEYS, buffer 33 sandbox/win/tools/finder/finder_registry.cc err_code = ::RegEnumKey(key, index, buffer, name_size); buffer 114 sandbox/win/wow_helper/service64_resolver.cc const void* buffer, buffer 123 sandbox/win/wow_helper/service64_resolver.cc bool ok = ::WriteProcessMemory(child_process, address, buffer, length, buffer 78 sandbox/win/wow_helper/wow_helper.cc DWORD buffer = wcstoul(next, NULL, 0); buffer 79 sandbox/win/wow_helper/wow_helper.cc if (!buffer) buffer 82 sandbox/win/wow_helper/wow_helper.cc void* thunk = reinterpret_cast<void*>(static_cast<ULONG_PTR>(buffer)); buffer 34 skia/ext/pixel_ref_utils_unittest.cc SkOrderedReadBuffer& buffer = buffer 36 skia/ext/pixel_ref_utils_unittest.cc SkReader32* reader = buffer.getReader32(); buffer 177 sync/engine/net/server_connection_manager.h int ReadResponse(void* buffer, int length); buffer 178 sync/engine/net/server_connection_manager.h int ReadResponse(std::string* buffer, int length); buffer 798 sync/internal_api/sync_manager_impl.cc ModelType type, ChangeReorderBuffer* buffer, buffer 813 sync/internal_api/sync_manager_impl.cc buffer->SetExtraDataForId(id, new ExtraPasswordChangeRecordData(*data)); buffer 823 sync/internal_api/sync_manager_impl.cc buffer->SetSpecificsForId(id, original_specifics); buffer 260 sync/internal_api/sync_manager_impl.h ChangeReorderBuffer* buffer, buffer 448 sync/notifier/gcm_network_channel_unittest.cc std::string buffer; buffer 449 sync/notifier/gcm_network_channel_unittest.cc EXPECT_TRUE(Base64DecodeURLSafe(parts[parts.size() - 1], &buffer)); buffer 18 sync/util/extensions_activity.cc void ExtensionsActivity::GetAndClearRecords(Records* buffer) { buffer 20 sync/util/extensions_activity.cc buffer->clear(); buffer 21 sync/util/extensions_activity.cc buffer->swap(records_); buffer 45 sync/util/extensions_activity.h void GetAndClearRecords(Records* buffer); buffer 17 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc const char* buffer, buffer 34 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc buffer, buffer 58 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc const char* buffer, buffer 75 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc buffer, buffer 100 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc const char* buffer, buffer 117 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc buffer, buffer 145 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc const char* buffer, buffer 162 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc buffer, buffer 187 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc const char* buffer, buffer 204 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc buffer, buffer 229 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc const char* buffer, buffer 246 third_party/cld/encodings/compact_lang_det/compact_lang_det.cc buffer, buffer 109 third_party/cld/encodings/compact_lang_det/compact_lang_det.h const char* buffer, buffer 118 third_party/cld/encodings/compact_lang_det/compact_lang_det.h const char* buffer, buffer 131 third_party/cld/encodings/compact_lang_det/compact_lang_det.h const char* buffer, buffer 152 third_party/cld/encodings/compact_lang_det/compact_lang_det.h const char* buffer, buffer 171 third_party/cld/encodings/compact_lang_det/compact_lang_det.h const char* buffer, buffer 189 third_party/cld/encodings/compact_lang_det/compact_lang_det.h const char* buffer, buffer 2096 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc const char* buffer, buffer 2159 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ScriptScanner ss(buffer, buffer_length, is_plain_text); buffer 2239 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc buffer, buffer 2524 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc buffer, buffer 2549 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc buffer, buffer 148 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.h const char* buffer, buffer 264 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc ScriptScanner::ScriptScanner(const char* buffer, buffer 267 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc : start_byte_(buffer), buffer 268 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc next_byte_(buffer), buffer 269 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc next_byte_limit_(buffer + buffer_length), buffer 51 third_party/cld/encodings/compact_lang_det/getonescriptspan.h ScriptScanner(const char* buffer, int buffer_length, bool is_plain_text); buffer 757 third_party/expat/files/lib/xmlparse.c buffer = NULL; buffer 873 third_party/expat/files/lib/xmlparse.c bufferPtr = buffer; buffer 874 third_party/expat/files/lib/xmlparse.c bufferEnd = buffer; buffer 1185 third_party/expat/files/lib/xmlparse.c FREE(buffer); buffer 1585 third_party/expat/files/lib/xmlparse.c if (buffer == NULL || nLeftOver > bufferLim - buffer) { buffer 1588 third_party/expat/files/lib/xmlparse.c temp = (buffer == NULL buffer 1590 third_party/expat/files/lib/xmlparse.c : (char *)REALLOC(buffer, len * 2)); buffer 1597 third_party/expat/files/lib/xmlparse.c buffer = temp; buffer 1598 third_party/expat/files/lib/xmlparse.c bufferLim = buffer + len * 2; buffer 1600 third_party/expat/files/lib/xmlparse.c memcpy(buffer, end, nLeftOver); buffer 1602 third_party/expat/files/lib/xmlparse.c bufferPtr = buffer; buffer 1603 third_party/expat/files/lib/xmlparse.c bufferEnd = buffer + nLeftOver; buffer 1695 third_party/expat/files/lib/xmlparse.c int keep = (int)(bufferPtr - buffer); buffer 1701 third_party/expat/files/lib/xmlparse.c if (neededSize <= bufferLim - buffer) { buffer 1703 third_party/expat/files/lib/xmlparse.c if (keep < bufferPtr - buffer) { buffer 1704 third_party/expat/files/lib/xmlparse.c int offset = (int)(bufferPtr - buffer) - keep; buffer 1705 third_party/expat/files/lib/xmlparse.c memmove(buffer, &buffer[offset], bufferEnd - bufferPtr + keep); buffer 1710 third_party/expat/files/lib/xmlparse.c memmove(buffer, bufferPtr, bufferEnd - bufferPtr); buffer 1711 third_party/expat/files/lib/xmlparse.c bufferEnd = buffer + (bufferEnd - bufferPtr); buffer 1712 third_party/expat/files/lib/xmlparse.c bufferPtr = buffer; buffer 1731 third_party/expat/files/lib/xmlparse.c int keep = (int)(bufferPtr - buffer); buffer 1735 third_party/expat/files/lib/xmlparse.c FREE(buffer); buffer 1736 third_party/expat/files/lib/xmlparse.c buffer = newBuf; buffer 1737 third_party/expat/files/lib/xmlparse.c bufferEnd = buffer + (bufferEnd - bufferPtr) + keep; buffer 1738 third_party/expat/files/lib/xmlparse.c bufferPtr = buffer + keep; buffer 1742 third_party/expat/files/lib/xmlparse.c bufferPtr = buffer = newBuf; buffer 1747 third_party/expat/files/lib/xmlparse.c FREE(buffer); buffer 1750 third_party/expat/files/lib/xmlparse.c bufferPtr = buffer = newBuf; buffer 1860 third_party/expat/files/lib/xmlparse.c if (eventPtr && buffer) { buffer 1861 third_party/expat/files/lib/xmlparse.c *offset = (int)(eventPtr - buffer); buffer 1862 third_party/expat/files/lib/xmlparse.c *size = (int)(bufferEnd - buffer); buffer 1863 third_party/expat/files/lib/xmlparse.c return buffer; buffer 442 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh _hb_buffer_deserialize_glyphs_json (hb_buffer_t *buffer, buffer 451 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh (void) hb_buffer_get_glyph_positions (buffer, NULL); buffer 455 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (p < pe && *p == (buffer->len ? ',' : '[')) buffer 505 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->add_info (info); buffer 506 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (buffer->in_error) buffer 508 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; buffer 556 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->add_info (info); buffer 557 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (buffer->in_error) buffer 559 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; buffer 568 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->add_info (info); buffer 569 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (buffer->in_error) buffer 571 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; buffer 580 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->add_info (info); buffer 581 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (buffer->in_error) buffer 583 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; buffer 592 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->add_info (info); buffer 593 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (buffer->in_error) buffer 595 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; buffer 604 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->add_info (info); buffer 605 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (buffer->in_error) buffer 607 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; buffer 616 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->add_info (info); buffer 617 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (buffer->in_error) buffer 619 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; buffer 319 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer, buffer 328 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh (void) hb_buffer_get_glyph_positions (buffer, NULL); buffer 332 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (p < pe && *p == (buffer->len ? '|' : '[')) buffer 424 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 425 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 427 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 436 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 437 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 439 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 448 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 449 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 451 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 460 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 461 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 463 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 472 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 473 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 475 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 501 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 502 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 504 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 513 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 514 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 516 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 525 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 526 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 528 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 537 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 538 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 540 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 549 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->add_info (info); buffer 550 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (buffer->in_error) buffer 552 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; buffer 92 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc _hb_buffer_serialize_glyphs_json (hb_buffer_t *buffer, buffer 101 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL); buffer 102 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); buffer 165 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc _hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer, buffer 174 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL); buffer 175 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); buffer 246 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_buffer_serialize_glyphs (hb_buffer_t *buffer, buffer 256 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert (start <= end && end <= buffer->len); buffer 263 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) || buffer 264 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc buffer->content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS); buffer 275 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc return _hb_buffer_serialize_glyphs_text (buffer, start, end, buffer 280 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc return _hb_buffer_serialize_glyphs_json (buffer, start, end, buffer 353 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_buffer_deserialize_glyphs (hb_buffer_t *buffer, buffer 365 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) || buffer 366 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc buffer->content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS); buffer 377 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_buffer_set_content_type (buffer, HB_BUFFER_CONTENT_TYPE_GLYPHS); buffer 385 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc return _hb_buffer_deserialize_glyphs_text (buffer, buffer 390 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc return _hb_buffer_deserialize_glyphs_json (buffer, buffer 589 third_party/harfbuzz-ng/src/hb-buffer.cc dump_var_allocation (const hb_buffer_t *buffer) buffer 593 third_party/harfbuzz-ng/src/hb-buffer.cc buf[i] = '0' + buffer->allocated_var_bytes[7 - i]; buffer 595 third_party/harfbuzz-ng/src/hb-buffer.cc DEBUG_MSG (BUFFER, buffer, buffer 670 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_t *buffer; buffer 672 third_party/harfbuzz-ng/src/hb-buffer.cc if (!(buffer = hb_object_create<hb_buffer_t> ())) buffer 675 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->reset (); buffer 677 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer; buffer 721 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_reference (hb_buffer_t *buffer) buffer 723 third_party/harfbuzz-ng/src/hb-buffer.cc return hb_object_reference (buffer); buffer 735 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_destroy (hb_buffer_t *buffer) buffer 737 third_party/harfbuzz-ng/src/hb-buffer.cc if (!hb_object_destroy (buffer)) return; buffer 739 third_party/harfbuzz-ng/src/hb-buffer.cc hb_unicode_funcs_destroy (buffer->unicode); buffer 741 third_party/harfbuzz-ng/src/hb-buffer.cc free (buffer->info); buffer 742 third_party/harfbuzz-ng/src/hb-buffer.cc free (buffer->pos); buffer 744 third_party/harfbuzz-ng/src/hb-buffer.cc free (buffer); buffer 762 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_user_data (hb_buffer_t *buffer, buffer 768 third_party/harfbuzz-ng/src/hb-buffer.cc return hb_object_set_user_data (buffer, key, data, destroy, replace); buffer 783 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_user_data (hb_buffer_t *buffer, buffer 786 third_party/harfbuzz-ng/src/hb-buffer.cc return hb_object_get_user_data (buffer, key); buffer 800 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_content_type (hb_buffer_t *buffer, buffer 803 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->content_type = content_type; buffer 817 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_content_type (hb_buffer_t *buffer) buffer 819 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->content_type; buffer 833 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_unicode_funcs (hb_buffer_t *buffer, buffer 836 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 844 third_party/harfbuzz-ng/src/hb-buffer.cc hb_unicode_funcs_destroy (buffer->unicode); buffer 845 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->unicode = unicode_funcs; buffer 859 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_unicode_funcs (hb_buffer_t *buffer) buffer 861 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->unicode; buffer 874 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_direction (hb_buffer_t *buffer, buffer 878 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 881 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->props.direction = direction; buffer 895 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_direction (hb_buffer_t *buffer) buffer 897 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->props.direction; buffer 910 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_script (hb_buffer_t *buffer, buffer 913 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 916 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->props.script = script; buffer 930 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_script (hb_buffer_t *buffer) buffer 932 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->props.script; buffer 945 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_language (hb_buffer_t *buffer, buffer 948 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 951 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->props.language = language; buffer 965 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_language (hb_buffer_t *buffer) buffer 967 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->props.language; buffer 980 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_segment_properties (hb_buffer_t *buffer, buffer 983 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 986 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->props = *props; buffer 999 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_segment_properties (hb_buffer_t *buffer, buffer 1002 third_party/harfbuzz-ng/src/hb-buffer.cc *props = buffer->props; buffer 1016 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_flags (hb_buffer_t *buffer, buffer 1019 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 1022 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->flags = flags; buffer 1036 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_flags (hb_buffer_t *buffer) buffer 1038 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->flags; buffer 1051 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_reset (hb_buffer_t *buffer) buffer 1053 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->reset (); buffer 1065 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_clear_contents (hb_buffer_t *buffer) buffer 1067 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->clear (); buffer 1082 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_pre_allocate (hb_buffer_t *buffer, unsigned int size) buffer 1084 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->ensure (size); buffer 1098 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_allocation_successful (hb_buffer_t *buffer) buffer 1100 third_party/harfbuzz-ng/src/hb-buffer.cc return !buffer->in_error; buffer 1114 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add (hb_buffer_t *buffer, buffer 1118 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->add (codepoint, cluster); buffer 1119 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->clear_context (1); buffer 1134 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_set_length (hb_buffer_t *buffer, buffer 1137 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 1140 third_party/harfbuzz-ng/src/hb-buffer.cc if (!buffer->ensure (length)) buffer 1144 third_party/harfbuzz-ng/src/hb-buffer.cc if (length > buffer->len) { buffer 1145 third_party/harfbuzz-ng/src/hb-buffer.cc memset (buffer->info + buffer->len, 0, sizeof (buffer->info[0]) * (length - buffer->len)); buffer 1146 third_party/harfbuzz-ng/src/hb-buffer.cc if (buffer->have_positions) buffer 1147 third_party/harfbuzz-ng/src/hb-buffer.cc memset (buffer->pos + buffer->len, 0, sizeof (buffer->pos[0]) * (length - buffer->len)); buffer 1150 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->len = length; buffer 1154 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->content_type = HB_BUFFER_CONTENT_TYPE_INVALID; buffer 1155 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->clear_context (0); buffer 1157 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->clear_context (1); buffer 1173 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_length (hb_buffer_t *buffer) buffer 1175 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->len; buffer 1191 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_glyph_infos (hb_buffer_t *buffer, buffer 1195 third_party/harfbuzz-ng/src/hb-buffer.cc *length = buffer->len; buffer 1197 third_party/harfbuzz-ng/src/hb-buffer.cc return (hb_glyph_info_t *) buffer->info; buffer 1213 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_get_glyph_positions (hb_buffer_t *buffer, buffer 1216 third_party/harfbuzz-ng/src/hb-buffer.cc if (!buffer->have_positions) buffer 1217 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->clear_positions (); buffer 1220 third_party/harfbuzz-ng/src/hb-buffer.cc *length = buffer->len; buffer 1222 third_party/harfbuzz-ng/src/hb-buffer.cc return (hb_glyph_position_t *) buffer->pos; buffer 1234 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_reverse (hb_buffer_t *buffer) buffer 1236 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->reverse (); buffer 1250 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_reverse_clusters (hb_buffer_t *buffer) buffer 1252 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->reverse_clusters (); buffer 1280 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_guess_segment_properties (hb_buffer_t *buffer) buffer 1282 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->guess_segment_properties (); buffer 1287 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf (hb_buffer_t *buffer, buffer 1293 third_party/harfbuzz-ng/src/hb-buffer.cc assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE || buffer 1294 third_party/harfbuzz-ng/src/hb-buffer.cc (!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID)); buffer 1296 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (hb_object_is_inert (buffer))) buffer 1305 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->ensure (buffer->len + item_length * sizeof (T) / 4); buffer 1314 third_party/harfbuzz-ng/src/hb-buffer.cc if (!buffer->len && item_offset > 0) buffer 1317 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->clear_context (0); buffer 1320 third_party/harfbuzz-ng/src/hb-buffer.cc while (start < prev && buffer->context_len[0] < buffer->CONTEXT_LENGTH) buffer 1324 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->context[0][buffer->context_len[0]++] = u; buffer 1335 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->add (u, old_next - (const T *) text); buffer 1339 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->clear_context (1); buffer 1341 third_party/harfbuzz-ng/src/hb-buffer.cc while (next < end && buffer->context_len[1] < buffer->CONTEXT_LENGTH) buffer 1345 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->context[1][buffer->context_len[1]++] = u; buffer 1348 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->content_type = HB_BUFFER_CONTENT_TYPE_UNICODE; buffer 1364 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf8 (hb_buffer_t *buffer, buffer 1370 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf (buffer, (const uint8_t *) text, text_length, item_offset, item_length); buffer 1386 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf16 (hb_buffer_t *buffer, buffer 1392 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); buffer 1408 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf32 (hb_buffer_t *buffer, buffer 1414 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); buffer 1426 third_party/harfbuzz-ng/src/hb-buffer.cc normalize_glyphs_cluster (hb_buffer_t *buffer, buffer 1431 third_party/harfbuzz-ng/src/hb-buffer.cc hb_glyph_position_t *pos = buffer->pos; buffer 1460 third_party/harfbuzz-ng/src/hb-buffer.cc hb_bubble_sort (buffer->info + start, end - start - 1, compare_info_codepoint, buffer->pos + start); buffer 1469 third_party/harfbuzz-ng/src/hb-buffer.cc hb_bubble_sort (buffer->info + start + 1, end - start - 1, compare_info_codepoint, buffer->pos + start + 1); buffer 1482 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_normalize_glyphs (hb_buffer_t *buffer) buffer 1484 third_party/harfbuzz-ng/src/hb-buffer.cc assert (buffer->have_positions); buffer 1485 third_party/harfbuzz-ng/src/hb-buffer.cc assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS); buffer 1487 third_party/harfbuzz-ng/src/hb-buffer.cc bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction); buffer 1489 third_party/harfbuzz-ng/src/hb-buffer.cc unsigned int count = buffer->len; buffer 1491 third_party/harfbuzz-ng/src/hb-buffer.cc hb_glyph_info_t *info = buffer->info; buffer 1497 third_party/harfbuzz-ng/src/hb-buffer.cc normalize_glyphs_cluster (buffer, start, end, backward); buffer 1500 third_party/harfbuzz-ng/src/hb-buffer.cc normalize_glyphs_cluster (buffer, start, end, backward); buffer 102 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_reference (hb_buffer_t *buffer); buffer 105 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_destroy (hb_buffer_t *buffer); buffer 108 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_user_data (hb_buffer_t *buffer, buffer 115 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_user_data (hb_buffer_t *buffer, buffer 126 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_content_type (hb_buffer_t *buffer, buffer 130 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_content_type (hb_buffer_t *buffer); buffer 134 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_unicode_funcs (hb_buffer_t *buffer, buffer 138 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_unicode_funcs (hb_buffer_t *buffer); buffer 141 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_direction (hb_buffer_t *buffer, buffer 145 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_direction (hb_buffer_t *buffer); buffer 148 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_script (hb_buffer_t *buffer, buffer 152 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_script (hb_buffer_t *buffer); buffer 155 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_language (hb_buffer_t *buffer, buffer 160 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_language (hb_buffer_t *buffer); buffer 163 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_segment_properties (hb_buffer_t *buffer, buffer 167 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_segment_properties (hb_buffer_t *buffer, buffer 171 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_guess_segment_properties (hb_buffer_t *buffer); buffer 182 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_flags (hb_buffer_t *buffer, buffer 186 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_flags (hb_buffer_t *buffer); buffer 192 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_reset (hb_buffer_t *buffer); buffer 196 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_clear_contents (hb_buffer_t *buffer); buffer 200 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_pre_allocate (hb_buffer_t *buffer, buffer 206 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_allocation_successful (hb_buffer_t *buffer); buffer 209 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_reverse (hb_buffer_t *buffer); buffer 212 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_reverse_clusters (hb_buffer_t *buffer); buffer 218 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_add (hb_buffer_t *buffer, buffer 223 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_add_utf8 (hb_buffer_t *buffer, buffer 230 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_add_utf16 (hb_buffer_t *buffer, buffer 237 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_add_utf32 (hb_buffer_t *buffer, buffer 246 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_set_length (hb_buffer_t *buffer, buffer 251 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_length (hb_buffer_t *buffer); buffer 257 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_glyph_infos (hb_buffer_t *buffer, buffer 262 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_get_glyph_positions (hb_buffer_t *buffer, buffer 270 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_normalize_glyphs (hb_buffer_t *buffer); buffer 302 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_serialize_glyphs (hb_buffer_t *buffer, buffer 313 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_deserialize_glyphs (hb_buffer_t *buffer, buffer 431 third_party/harfbuzz-ng/src/hb-coretext.cc hb_buffer_t *buffer, buffer 596 third_party/harfbuzz-ng/src/hb-coretext.cc hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); buffer 609 third_party/harfbuzz-ng/src/hb-coretext.cc ALLOCATE_ARRAY (UniChar, pchars, buffer->len * 2); buffer 612 third_party/harfbuzz-ng/src/hb-coretext.cc for (unsigned int i = 0; i < buffer->len; i++) { buffer 613 third_party/harfbuzz-ng/src/hb-coretext.cc hb_codepoint_t c = buffer->info[i].codepoint; buffer 614 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->info[i].utf16_index() = chars_len; buffer 642 third_party/harfbuzz-ng/src/hb-coretext.cc for (unsigned int i = 0; i < buffer->len; i++) buffer 644 third_party/harfbuzz-ng/src/hb-coretext.cc hb_codepoint_t c = buffer->info[i].codepoint; buffer 645 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int cluster = buffer->info[i].cluster; buffer 686 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->len = 0; buffer 708 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->ensure (buffer->len + range.length); buffer 709 third_party/harfbuzz-ng/src/hb-coretext.cc if (buffer->in_error) buffer 711 third_party/harfbuzz-ng/src/hb-coretext.cc hb_glyph_info_t *info = buffer->info + buffer->len; buffer 738 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->len++; buffer 748 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->ensure (buffer->len + num_glyphs); buffer 750 third_party/harfbuzz-ng/src/hb-coretext.cc scratch = buffer->get_scratch_buffer (&scratch_size); buffer 783 third_party/harfbuzz-ng/src/hb-coretext.cc hb_glyph_info_t *info = &buffer->info[buffer->len]; buffer 793 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->len++; buffer 797 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->clear_positions (); buffer 799 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int count = buffer->len; buffer 801 third_party/harfbuzz-ng/src/hb-coretext.cc hb_glyph_info_t *info = &buffer->info[i]; buffer 802 third_party/harfbuzz-ng/src/hb-coretext.cc hb_glyph_position_t *pos = &buffer->pos[i]; buffer 817 third_party/harfbuzz-ng/src/hb-coretext.cc if (HB_DIRECTION_IS_FORWARD (buffer->props.direction)) { buffer 820 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int curr_cluster = buffer->info[i].cluster; buffer 823 third_party/harfbuzz-ng/src/hb-coretext.cc if (buffer->info[j - 1].cluster > curr_cluster) buffer 824 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->info[j - 1].cluster = curr_cluster; buffer 834 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int curr_cluster = buffer->info[i].cluster; buffer 837 third_party/harfbuzz-ng/src/hb-coretext.cc if (buffer->info[j - 1].cluster < curr_cluster) buffer 838 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->info[j - 1].cluster = curr_cluster; buffer 940 third_party/harfbuzz-ng/src/hb-coretext.cc hb_buffer_t *buffer, buffer 944 third_party/harfbuzz-ng/src/hb-coretext.cc return _hb_coretext_shape (shape_plan, font, buffer, features, num_features); buffer 94 third_party/harfbuzz-ng/src/hb-fallback-shape.cc hb_buffer_t *buffer, buffer 112 third_party/harfbuzz-ng/src/hb-fallback-shape.cc buffer->clear_positions (); buffer 114 third_party/harfbuzz-ng/src/hb-fallback-shape.cc unsigned int count = buffer->len; buffer 118 third_party/harfbuzz-ng/src/hb-fallback-shape.cc if (has_space && buffer->unicode->is_default_ignorable (buffer->info[i].codepoint)) { buffer 119 third_party/harfbuzz-ng/src/hb-fallback-shape.cc buffer->info[i].codepoint = space; buffer 120 third_party/harfbuzz-ng/src/hb-fallback-shape.cc buffer->pos[i].x_advance = 0; buffer 121 third_party/harfbuzz-ng/src/hb-fallback-shape.cc buffer->pos[i].y_advance = 0; buffer 124 third_party/harfbuzz-ng/src/hb-fallback-shape.cc font->get_glyph (buffer->info[i].codepoint, 0, &buffer->info[i].codepoint); buffer 125 third_party/harfbuzz-ng/src/hb-fallback-shape.cc font->get_glyph_advance_for_direction (buffer->info[i].codepoint, buffer 126 third_party/harfbuzz-ng/src/hb-fallback-shape.cc buffer->props.direction, buffer 127 third_party/harfbuzz-ng/src/hb-fallback-shape.cc &buffer->pos[i].x_advance, buffer 128 third_party/harfbuzz-ng/src/hb-fallback-shape.cc &buffer->pos[i].y_advance); buffer 129 third_party/harfbuzz-ng/src/hb-fallback-shape.cc font->subtract_glyph_origin_for_direction (buffer->info[i].codepoint, buffer 130 third_party/harfbuzz-ng/src/hb-fallback-shape.cc buffer->props.direction, buffer 131 third_party/harfbuzz-ng/src/hb-fallback-shape.cc &buffer->pos[i].x_offset, buffer 132 third_party/harfbuzz-ng/src/hb-fallback-shape.cc &buffer->pos[i].y_offset); buffer 135 third_party/harfbuzz-ng/src/hb-fallback-shape.cc if (HB_DIRECTION_IS_BACKWARD (buffer->props.direction)) buffer 136 third_party/harfbuzz-ng/src/hb-fallback-shape.cc hb_buffer_reverse (buffer); buffer 299 third_party/harfbuzz-ng/src/hb-ft.cc FT_Byte *buffer; buffer 309 third_party/harfbuzz-ng/src/hb-ft.cc buffer = (FT_Byte *) malloc (length); buffer 310 third_party/harfbuzz-ng/src/hb-ft.cc if (buffer == NULL) buffer 313 third_party/harfbuzz-ng/src/hb-ft.cc error = FT_Load_Sfnt_Table (ft_face, tag, 0, buffer, &length); buffer 317 third_party/harfbuzz-ng/src/hb-ft.cc return hb_blob_create ((const char *) buffer, length, buffer 319 third_party/harfbuzz-ng/src/hb-ft.cc buffer, free); buffer 57 third_party/harfbuzz-ng/src/hb-gobject-structs.cc HB_DEFINE_OBJECT_TYPE (buffer) buffer 217 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_buffer_t *buffer, buffer 225 third_party/harfbuzz-ng/src/hb-graphite2.cc const char *lang = hb_language_to_string (hb_buffer_get_language (buffer)); buffer 244 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); buffer 248 third_party/harfbuzz-ng/src/hb-graphite2.cc for (unsigned int i = 0; i < buffer->len; ++i) buffer 249 third_party/harfbuzz-ng/src/hb-graphite2.cc chars[i] = buffer->info[i].codepoint; buffer 252 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_ot_tags_from_script (hb_buffer_get_script (buffer), &script_tag[0], &script_tag[1]); buffer 257 third_party/harfbuzz-ng/src/hb-graphite2.cc gr_utf32, chars, buffer->len, buffer 258 third_party/harfbuzz-ng/src/hb-graphite2.cc 2 | (hb_buffer_get_direction (buffer) == HB_DIRECTION_RTL ? 1 : 0)); buffer 272 third_party/harfbuzz-ng/src/hb-graphite2.cc scratch = buffer->get_scratch_buffer (&scratch_size); buffer 273 third_party/harfbuzz-ng/src/hb-graphite2.cc while ((DIV_CEIL (sizeof (hb_graphite2_cluster_t) * buffer->len, sizeof (*scratch)) + buffer 276 third_party/harfbuzz-ng/src/hb-graphite2.cc buffer->ensure (buffer->allocated * 2); buffer 277 third_party/harfbuzz-ng/src/hb-graphite2.cc if (unlikely (buffer->in_error)) { buffer 282 third_party/harfbuzz-ng/src/hb-graphite2.cc scratch = buffer->get_scratch_buffer (&scratch_size); buffer 294 third_party/harfbuzz-ng/src/hb-graphite2.cc ALLOCATE_ARRAY (hb_graphite2_cluster_t, clusters, buffer->len); buffer 299 third_party/harfbuzz-ng/src/hb-graphite2.cc memset (clusters, 0, sizeof (clusters[0]) * buffer->len); buffer 336 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_glyph_info_t *info = &buffer->info[clusters[i].base_glyph + j]; buffer 341 third_party/harfbuzz-ng/src/hb-graphite2.cc buffer->len = glyph_count; buffer 344 third_party/harfbuzz-ng/src/hb-graphite2.cc if (HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) buffer 348 third_party/harfbuzz-ng/src/hb-graphite2.cc for (pPos = hb_buffer_get_glyph_positions (buffer, NULL), is = gr_seg_first_slot (seg); buffer 355 third_party/harfbuzz-ng/src/hb-graphite2.cc if (HB_DIRECTION_IS_BACKWARD (buffer->props.direction)) buffer 358 third_party/harfbuzz-ng/src/hb-graphite2.cc if (!HB_DIRECTION_IS_BACKWARD (buffer->props.direction)) buffer 363 third_party/harfbuzz-ng/src/hb-graphite2.cc if (!HB_DIRECTION_IS_BACKWARD (buffer->props.direction)) buffer 366 third_party/harfbuzz-ng/src/hb-graphite2.cc if (HB_DIRECTION_IS_BACKWARD (buffer->props.direction)) buffer 367 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_buffer_reverse_clusters (buffer); buffer 399 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 412 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh mark_anchor.get_anchor (c->font, buffer->cur().codepoint, &mark_x, &mark_y); buffer 413 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh glyph_anchor.get_anchor (c->font, buffer->info[glyph_pos].codepoint, &base_x, &base_y); buffer 415 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_glyph_position_t &o = buffer->cur_pos(); buffer 418 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh o.attach_lookback() = buffer->idx - glyph_pos; buffer 420 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->idx++; buffer 449 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 450 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint); buffer 454 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh values, buffer->cur_pos()); buffer 456 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->idx++; buffer 495 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 496 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint); buffer 503 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->cur_pos()); buffer 505 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->idx++; buffer 600 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 610 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (buffer->info[pos].codepoint == record->secondGlyph) buffer 613 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh &record->values[0], buffer->cur_pos()); buffer 615 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh &record->values[len1], buffer->pos[pos]); buffer 618 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->idx = pos; buffer 672 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 673 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_apply_context_t::skipping_forward_iterator_t skippy_iter (c, buffer->idx, 1); buffer 676 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint); buffer 743 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 744 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_apply_context_t::skipping_forward_iterator_t skippy_iter (c, buffer->idx, 1); buffer 747 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint); buffer 756 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int klass1 = (this+classDef1).get_class (buffer->cur().codepoint); buffer 757 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int klass2 = (this+classDef2).get_class (buffer->info[skippy_iter.idx].codepoint); buffer 762 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh v, buffer->cur_pos()); buffer 764 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh v + len1, buffer->pos[skippy_iter.idx]); buffer 766 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->idx = skippy_iter.idx; buffer 768 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->idx++; buffer 890 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 893 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (unlikely (_hb_glyph_info_is_mark (&buffer->cur()))) return TRACE_RETURN (false); buffer 895 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_apply_context_t::skipping_forward_iterator_t skippy_iter (c, buffer->idx, 1); buffer 898 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh const EntryExitRecord &this_record = entryExitRecord[(this+coverage).get_coverage (buffer->cur().codepoint)]; buffer 903 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh const EntryExitRecord &next_record = entryExitRecord[(this+coverage).get_coverage (buffer->info[skippy_iter.idx].codepoint)]; buffer 906 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int i = buffer->idx; buffer 910 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh (this+this_record.exitAnchor).get_anchor (c->font, buffer->info[i].codepoint, &exit_x, &exit_y); buffer 911 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh (this+next_record.entryAnchor).get_anchor (c->font, buffer->info[j].codepoint, &entry_x, &entry_y); buffer 913 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_glyph_position_t *pos = buffer->pos; buffer 966 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->idx = j; buffer 1038 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 1039 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int mark_index = (this+markCoverage).get_coverage (buffer->cur().codepoint); buffer 1043 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_apply_context_t::skipping_backward_iterator_t skippy_iter (c, buffer->idx, 1); buffer 1048 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (0 == _hb_glyph_info_get_lig_comp (&buffer->info[skippy_iter.idx])) break; buffer 1053 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (!_hb_glyph_info_is_base_glyph (&buffer->info[skippy_iter.idx])) { /*return TRACE_RETURN (false);*/ } buffer 1055 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int base_index = (this+baseCoverage).get_coverage (buffer->info[skippy_iter.idx].codepoint); buffer 1142 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 1143 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int mark_index = (this+markCoverage).get_coverage (buffer->cur().codepoint); buffer 1147 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_apply_context_t::skipping_backward_iterator_t skippy_iter (c, buffer->idx, 1); buffer 1152 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (!_hb_glyph_info_is_ligature (&buffer->info[skippy_iter.idx])) { /*return TRACE_RETURN (false);*/ } buffer 1155 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int lig_index = (this+ligatureCoverage).get_coverage (buffer->info[j].codepoint); buffer 1170 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int lig_id = _hb_glyph_info_get_lig_id (&buffer->info[j]); buffer 1171 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int mark_id = _hb_glyph_info_get_lig_id (&buffer->cur()); buffer 1172 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int mark_comp = _hb_glyph_info_get_lig_comp (&buffer->cur()); buffer 1174 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh comp_index = MIN (comp_count, _hb_glyph_info_get_lig_comp (&buffer->cur())) - 1; buffer 1258 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_buffer_t *buffer = c->buffer; buffer 1259 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int mark1_index = (this+mark1Coverage).get_coverage (buffer->cur().codepoint); buffer 1263 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_apply_context_t::skipping_backward_iterator_t skippy_iter (c, buffer->idx, 1); buffer 1267 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (!_hb_glyph_info_is_mark (&buffer->info[skippy_iter.idx])) { return TRACE_RETURN (false); } buffer 1271 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int id1 = _hb_glyph_info_get_lig_id (&buffer->cur()); buffer 1272 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int id2 = _hb_glyph_info_get_lig_id (&buffer->info[j]); buffer 1273 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int comp1 = _hb_glyph_info_get_lig_comp (&buffer->cur()); buffer 1274 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int comp2 = _hb_glyph_info_get_lig_comp (&buffer->info[j]); buffer 1292 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int mark2_index = (this+mark2Coverage).get_coverage (buffer->info[j].codepoint); buffer 1478 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (!c->check_glyph_property (&c->buffer->cur(), c->lookup_props)) buffer 1523 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh static inline void position_start (hb_font_t *font, hb_buffer_t *buffer); buffer 1524 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh static inline void position_finish (hb_font_t *font, hb_buffer_t *buffer); buffer 1580 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh GPOS::position_start (hb_font_t *font HB_UNUSED, hb_buffer_t *buffer) buffer 1582 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->clear_positions (); buffer 1584 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int count = buffer->len; buffer 1586 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh buffer->pos[i].attach_lookback() = buffer->pos[i].cursive_chain() = 0; buffer 1590 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh GPOS::position_finish (hb_font_t *font HB_UNUSED, hb_buffer_t *buffer) buffer 1593 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, &len); buffer 1594 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_direction_t direction = buffer->props.direction; buffer 1604 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh _hb_buffer_deallocate_gsubgpos_vars (buffer); buffer 76 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh hb_codepoint_t glyph_id = c->buffer->cur().codepoint; buffer 152 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh hb_codepoint_t glyph_id = c->buffer->cur().codepoint; buffer 275 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int klass = _hb_glyph_info_is_ligature (&c->buffer->cur()) ? buffer 285 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh _hb_glyph_info_set_lig_props_for_component (&c->buffer->cur(), i); buffer 288 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh c->buffer->skip_glyph (); buffer 352 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); buffer 484 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh hb_codepoint_t glyph_id = c->buffer->cur().codepoint; buffer 493 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh hb_mask_t glyph_mask = c->buffer->cur().mask; buffer 800 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh hb_codepoint_t glyph_id = c->buffer->cur().codepoint; buffer 976 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); buffer 1189 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh if (!c->check_glyph_property (&c->buffer->cur(), c->lookup_props)) buffer 1304 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh static inline void substitute_start (hb_font_t *font, hb_buffer_t *buffer); buffer 1305 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh static inline void substitute_finish (hb_font_t *font, hb_buffer_t *buffer); buffer 1319 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh GSUB::substitute_start (hb_font_t *font, hb_buffer_t *buffer) buffer 1321 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh _hb_buffer_allocate_gsubgpos_vars (buffer); buffer 1324 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = buffer->len; buffer 1327 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh _hb_glyph_info_set_glyph_props (&buffer->info[i], gdef.get_glyph_props (buffer->info[i].codepoint)); buffer 1328 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh _hb_glyph_info_clear_lig_props (&buffer->info[i]); buffer 1329 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh buffer->info[i].syllable() = 0; buffer 1334 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh GSUB::substitute_finish (hb_font_t *font HB_UNUSED, hb_buffer_t *buffer HB_UNUSED) buffer 240 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh "idx %d codepoint %u", c->buffer->idx, c->buffer->cur().codepoint); buffer 266 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_buffer_t *buffer; buffer 282 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh font (font_), face (font->face), buffer (buffer_), buffer 388 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh end (c->buffer->len) buffer 397 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh matcher.set_syllable (start_index_ == c->buffer->idx ? c->buffer->cur().syllable () : 0); buffer 417 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh const hb_glyph_info_t &info = c->buffer->info[idx]; buffer 467 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh matcher.set_syllable (start_index_ == c->buffer->idx ? c->buffer->cur().syllable () : 0); buffer 487 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh const hb_glyph_info_t &info = c->buffer->out_info[idx]; buffer 572 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int add_in = _hb_glyph_info_get_glyph_props (&buffer->cur()) & buffer 578 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh _hb_glyph_info_set_glyph_props (&buffer->cur(), add_in | gdef.get_glyph_props (glyph_index)); buffer 580 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh _hb_glyph_info_set_glyph_props (&buffer->cur(), add_in | class_guess); buffer 586 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->replace_glyph (glyph_index); buffer 591 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->cur().codepoint = glyph_index; buffer 597 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->replace_glyph (glyph_index); buffer 603 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->output_glyph (glyph_index); buffer 725 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_buffer_t *buffer = c->buffer; buffer 727 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_apply_context_t::skipping_forward_iterator_t skippy_iter (c, buffer->idx, count - 1); buffer 749 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh bool is_mark_ligature = _hb_glyph_info_is_mark (&buffer->cur()); buffer 752 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh total_component_count += _hb_glyph_info_get_lig_num_comps (&buffer->cur()); buffer 754 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int first_lig_id = _hb_glyph_info_get_lig_id (&buffer->cur()); buffer 755 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int first_lig_comp = _hb_glyph_info_get_lig_comp (&buffer->cur()); buffer 757 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh match_positions[0] = buffer->idx; buffer 764 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int this_lig_id = _hb_glyph_info_get_lig_id (&buffer->info[skippy_iter.idx]); buffer 765 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int this_lig_comp = _hb_glyph_info_get_lig_comp (&buffer->info[skippy_iter.idx]); buffer 781 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh is_mark_ligature = is_mark_ligature && _hb_glyph_info_is_mark (&buffer->info[skippy_iter.idx]); buffer 782 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh total_component_count += _hb_glyph_info_get_lig_num_comps (&buffer->info[skippy_iter.idx]); buffer 785 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh *end_offset = skippy_iter.idx - buffer->idx + 1; buffer 805 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_buffer_t *buffer = c->buffer; buffer 807 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->merge_clusters (buffer->idx, buffer->idx + match_length); buffer 838 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int lig_id = is_mark_ligature ? 0 : _hb_allocate_lig_id (buffer); buffer 839 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int last_lig_id = _hb_glyph_info_get_lig_id (&buffer->cur()); buffer 840 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int last_num_components = _hb_glyph_info_get_lig_num_comps (&buffer->cur()); buffer 845 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh _hb_glyph_info_set_lig_props_for_ligature (&buffer->cur(), lig_id, total_component_count); buffer 846 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if (_hb_glyph_info_get_general_category (&buffer->cur()) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) buffer 848 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh _hb_glyph_info_set_general_category (&buffer->cur(), HB_UNICODE_GENERAL_CATEGORY_OTHER_LETTER); buffer 849 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh _hb_glyph_info_set_modified_combining_class (&buffer->cur(), 0); buffer 856 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh while (buffer->idx < match_positions[i]) buffer 860 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh MIN (MAX (_hb_glyph_info_get_lig_comp (&buffer->cur()), 1u), last_num_components); buffer 861 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh _hb_glyph_info_set_lig_props_for_mark (&buffer->cur(), lig_id, new_lig_comp); buffer 863 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->next_glyph (); buffer 866 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh last_lig_id = _hb_glyph_info_get_lig_id (&buffer->cur()); buffer 867 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh last_num_components = _hb_glyph_info_get_lig_num_comps (&buffer->cur()); buffer 871 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->idx++; buffer 876 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh for (unsigned int i = buffer->idx; i < buffer->len; i++) { buffer 877 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if (last_lig_id == _hb_glyph_info_get_lig_id (&buffer->info[i])) { buffer 879 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh MIN (MAX (_hb_glyph_info_get_lig_comp (&buffer->info[i]), 1u), last_num_components); buffer 880 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh _hb_glyph_info_set_lig_props_for_mark (&buffer->info[i], lig_id, new_lig_comp); buffer 895 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_apply_context_t::skipping_backward_iterator_t skippy_iter (c, c->buffer->backtrack_len (), count, true); buffer 915 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_apply_context_t::skipping_forward_iterator_t skippy_iter (c, c->buffer->idx + offset - 1, count, true); buffer 962 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_buffer_t *buffer = c->buffer; buffer 968 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int bl = buffer->backtrack_len (); buffer 971 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh int delta = bl - buffer->idx; buffer 983 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->move_to (match_positions[idx]); buffer 985 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int orig_len = buffer->backtrack_len () + buffer->lookahead_len (); buffer 989 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int new_len = buffer->backtrack_len () + buffer->lookahead_len (); buffer 1029 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh buffer->move_to (end); buffer 1285 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); buffer 1376 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); buffer 1380 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh index = class_def.get_class (c->buffer->cur().codepoint); buffer 1466 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int index = (this+coverage[0]).get_coverage (c->buffer->cur().codepoint); buffer 1845 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); buffer 1948 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); buffer 1955 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh index = input_class_def.get_class (c->buffer->cur().codepoint); buffer 2071 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int index = (this+input[0]).get_coverage (c->buffer->cur().codepoint); buffer 74 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh hb_buffer_t *buffer); buffer 93 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh hb_buffer_t *buffer); buffer 99 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh hb_buffer_t *buffer); buffer 104 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh hb_buffer_t *buffer); buffer 333 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh _hb_allocate_lig_id (hb_buffer_t *buffer) { buffer 334 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh uint8_t lig_id = buffer->next_serial () & 0x07; buffer 336 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh lig_id = _hb_allocate_lig_id (buffer); /* in case of overflow */ buffer 387 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh _hb_buffer_allocate_unicode_vars (hb_buffer_t *buffer) buffer 389 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_ALLOCATE_VAR (buffer, unicode_props0); buffer 390 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_ALLOCATE_VAR (buffer, unicode_props1); buffer 394 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh _hb_buffer_deallocate_unicode_vars (hb_buffer_t *buffer) buffer 396 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_DEALLOCATE_VAR (buffer, unicode_props0); buffer 397 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_DEALLOCATE_VAR (buffer, unicode_props1); buffer 401 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh _hb_buffer_allocate_gsubgpos_vars (hb_buffer_t *buffer) buffer 403 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_ALLOCATE_VAR (buffer, glyph_props); buffer 404 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_ALLOCATE_VAR (buffer, lig_props); buffer 405 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_ALLOCATE_VAR (buffer, syllable); buffer 409 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh _hb_buffer_deallocate_gsubgpos_vars (hb_buffer_t *buffer) buffer 411 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_DEALLOCATE_VAR (buffer, syllable); buffer 412 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_DEALLOCATE_VAR (buffer, lig_props); buffer 413 third_party/harfbuzz-ng/src/hb-ot-layout-private.hh HB_BUFFER_DEALLOCATE_VAR (buffer, glyph_props); buffer 686 third_party/harfbuzz-ng/src/hb-ot-layout.cc hb_ot_layout_substitute_start (hb_font_t *font, hb_buffer_t *buffer) buffer 688 third_party/harfbuzz-ng/src/hb-ot-layout.cc OT::GSUB::substitute_start (font, buffer); buffer 692 third_party/harfbuzz-ng/src/hb-ot-layout.cc hb_ot_layout_substitute_finish (hb_font_t *font, hb_buffer_t *buffer) buffer 694 third_party/harfbuzz-ng/src/hb-ot-layout.cc OT::GSUB::substitute_finish (font, buffer); buffer 720 third_party/harfbuzz-ng/src/hb-ot-layout.cc hb_ot_layout_position_start (hb_font_t *font, hb_buffer_t *buffer) buffer 722 third_party/harfbuzz-ng/src/hb-ot-layout.cc OT::GPOS::position_start (font, buffer); buffer 726 third_party/harfbuzz-ng/src/hb-ot-layout.cc hb_ot_layout_position_finish (hb_font_t *font, hb_buffer_t *buffer) buffer 728 third_party/harfbuzz-ng/src/hb-ot-layout.cc OT::GPOS::position_finish (font, buffer); buffer 816 third_party/harfbuzz-ng/src/hb-ot-layout.cc if (!c->check_glyph_property (&c->buffer->cur(), c->lookup_props)) buffer 828 third_party/harfbuzz-ng/src/hb-ot-layout.cc hb_buffer_t *buffer = c->buffer; buffer 830 third_party/harfbuzz-ng/src/hb-ot-layout.cc if (unlikely (!buffer->len || !c->lookup_mask)) buffer 839 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->clear_output (); buffer 840 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->idx = 0; buffer 842 third_party/harfbuzz-ng/src/hb-ot-layout.cc while (buffer->idx < buffer->len) buffer 844 third_party/harfbuzz-ng/src/hb-ot-layout.cc if (accel.digest.may_have (buffer->cur().codepoint) && buffer 845 third_party/harfbuzz-ng/src/hb-ot-layout.cc (buffer->cur().mask & c->lookup_mask) && buffer 849 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->next_glyph (); buffer 854 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->swap_buffers (); buffer 856 third_party/harfbuzz-ng/src/hb-ot-layout.cc assert (!buffer->has_separate_output ()); buffer 863 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->remove_output (); buffer 864 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->idx = buffer->len - 1; buffer 867 third_party/harfbuzz-ng/src/hb-ot-layout.cc if (accel.digest.may_have (buffer->cur().codepoint) && buffer 868 third_party/harfbuzz-ng/src/hb-ot-layout.cc (buffer->cur().mask & c->lookup_mask) && buffer 872 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->idx--; buffer 875 third_party/harfbuzz-ng/src/hb-ot-layout.cc while ((int) buffer->idx >= 0); buffer 885 third_party/harfbuzz-ng/src/hb-ot-layout.cc hb_buffer_t *buffer) const buffer 889 third_party/harfbuzz-ng/src/hb-ot-layout.cc OT::hb_apply_context_t c (table_index, font, buffer); buffer 906 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->clear_output (); buffer 907 third_party/harfbuzz-ng/src/hb-ot-layout.cc stage->pause_func (plan, font, buffer); buffer 912 third_party/harfbuzz-ng/src/hb-ot-layout.cc void hb_ot_map_t::substitute (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const buffer 915 third_party/harfbuzz-ng/src/hb-ot-layout.cc apply (proxy, plan, font, buffer); buffer 918 third_party/harfbuzz-ng/src/hb-ot-layout.cc void hb_ot_map_t::position (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const buffer 921 third_party/harfbuzz-ng/src/hb-ot-layout.cc apply (proxy, plan, font, buffer); buffer 68 third_party/harfbuzz-ng/src/hb-ot-map-private.hh typedef void (*pause_func_t) (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer); buffer 123 third_party/harfbuzz-ng/src/hb-ot-map-private.hh const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const; buffer 124 third_party/harfbuzz-ng/src/hb-ot-map-private.hh HB_INTERNAL void substitute (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const; buffer 125 third_party/harfbuzz-ng/src/hb-ot-map-private.hh HB_INTERNAL void position (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const; buffer 83 third_party/harfbuzz-ng/src/hb-ot-name-table.hh void *buffer, buffer 97 third_party/harfbuzz-ng/src/hb-ot-name-table.hh memcpy (buffer, (char *) this + stringOffset + match->offset, length); buffer 247 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-fallback.hh hb_buffer_t *buffer) buffer 249 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-fallback.hh OT::hb_apply_context_t c (0, font, buffer); buffer 162 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc hb_buffer_t *buffer); buffer 167 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc hb_buffer_t *buffer); buffer 249 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc arabic_joining (hb_buffer_t *buffer) buffer 251 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int count = buffer->len; buffer 254 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc HB_BUFFER_ALLOCATE_VAR (buffer, arabic_shaping_action); buffer 257 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc if (!(buffer->flags & HB_BUFFER_FLAG_BOT)) buffer 258 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc for (unsigned int i = 0; i < buffer->context_len[0]; i++) buffer 260 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int this_type = get_joining_type (buffer->context[0][i], buffer->unicode->general_category (buffer->context[0][i])); buffer 272 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int this_type = get_joining_type (buffer->info[i].codepoint, _hb_glyph_info_get_general_category (&buffer->info[i])); buffer 275 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc buffer->info[i].arabic_shaping_action() = NONE; buffer 283 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc buffer->info[prev].arabic_shaping_action() = entry->prev_action; buffer 285 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc buffer->info[i].arabic_shaping_action() = entry->curr_action; buffer 291 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc if (!(buffer->flags & HB_BUFFER_FLAG_EOT)) buffer 292 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc for (unsigned int i = 0; i < buffer->context_len[1]; i++) buffer 294 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int this_type = get_joining_type (buffer->context[1][i], buffer->unicode->general_category (buffer->context[1][i])); buffer 301 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc buffer->info[prev].arabic_shaping_action() = entry->prev_action; buffer 306 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc HB_BUFFER_DEALLOCATE_VAR (buffer, arabic_shaping_action); buffer 311 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc hb_buffer_t *buffer, buffer 316 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc arabic_joining (buffer); buffer 317 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int count = buffer->len; buffer 319 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc buffer->info[i].mask |= arabic_plan->mask_array[buffer->info[i].arabic_shaping_action()]; buffer 326 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc hb_buffer_t *buffer) buffer 328 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int count = buffer->len; buffer 330 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc if (_hb_glyph_info_is_zwj (&buffer->info[i])) buffer 331 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc _hb_glyph_info_flip_joiners (&buffer->info[i]); buffer 337 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc hb_buffer_t *buffer) buffer 356 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc arabic_fallback_plan_shape (fallback_plan, font, buffer); buffer 123 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_buffer_t *buffer, buffer 126 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc HB_BUFFER_ALLOCATE_VAR (buffer, hangul_shaping_feature); buffer 176 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->clear_output (); buffer 180 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc unsigned int count = buffer->len; buffer 182 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc for (buffer->idx = 0; buffer->idx < count;) buffer 184 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_codepoint_t u = buffer->cur().codepoint; buffer 193 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc if (start < end && end == buffer->out_len) buffer 196 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 199 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_glyph_info_t *info = buffer->out_info; buffer 209 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->merge_out_clusters (start, end + 1); buffer 224 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->replace_glyphs (1, 2, chars); buffer 229 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 232 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc start = end = buffer->out_len; buffer 236 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc start = buffer->out_len; /* Remember current position as a potential syllable start; buffer 240 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc if (isL (u) && buffer->idx + 1 < count) buffer 243 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_codepoint_t v = buffer->cur(+1).codepoint; buffer 249 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc if (buffer->idx + 2 < count) buffer 251 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc t = buffer->cur(+2).codepoint; buffer 265 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->replace_glyphs (t ? 3 : 2, 1, &s); buffer 266 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc if (unlikely (buffer->in_error)) buffer 278 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->cur().hangul_shaping_feature() = LJMO; buffer 279 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 280 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->cur().hangul_shaping_feature() = VJMO; buffer 281 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 284 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->cur().hangul_shaping_feature() = TJMO; buffer 285 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 290 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->merge_out_clusters (start, end); buffer 306 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->idx + 1 < count && buffer 307 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc isCombiningT (buffer->cur(+1).codepoint)) buffer 310 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc unsigned int new_tindex = buffer->cur(+1).codepoint - TBase; buffer 314 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->replace_glyphs (2, 1, &new_s); buffer 315 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc if (unlikely (buffer->in_error)) buffer 327 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->idx + 1 < count && buffer 328 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc isT (buffer->cur(+1).codepoint))) buffer 338 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->replace_glyphs (1, s_len, decomposed); buffer 339 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc if (unlikely (buffer->in_error)) buffer 345 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_glyph_info_t *info = buffer->out_info; buffer 352 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 362 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->merge_out_clusters (start, end); buffer 371 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 379 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->next_glyph (); buffer 381 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->swap_buffers (); buffer 386 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_buffer_t *buffer, buffer 393 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc unsigned int count = buffer->len; buffer 394 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_glyph_info_t *info = buffer->info; buffer 399 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc HB_BUFFER_DEALLOCATE_VAR (buffer, hangul_shaping_feature); buffer 1639 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-machine.hh find_syllables (hb_buffer_t *buffer) buffer 1643 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-machine.hh hb_glyph_info_t *info = buffer->info; buffer 1657 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-machine.hh pe = eof = buffer->len; buffer 416 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer); buffer 420 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer); buffer 424 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer); buffer 428 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer); buffer 627 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer, buffer 630 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc HB_BUFFER_ALLOCATE_VAR (buffer, indic_category); buffer 631 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc HB_BUFFER_ALLOCATE_VAR (buffer, indic_position); buffer 636 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; buffer 638 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc set_indic_properties (buffer->info[i]); buffer 644 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer) buffer 646 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc find_syllables (buffer); buffer 663 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer) buffer 674 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; buffer 676 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (buffer->info[i].indic_position() == POS_BASE_C) { buffer 677 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_codepoint_t consonant = buffer->info[i].codepoint; buffer 678 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->info[i].indic_position() = consonant_position_from_face (indic_plan, consonant, virama, face); buffer 690 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer, buffer 694 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_glyph_info_t *info = buffer->info; buffer 1003 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (base, end); buffer 1020 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (i, max + 1); buffer 1056 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->props.script == HB_SCRIPT_DEVANAGARI) buffer 1141 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer, buffer 1145 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc initial_reordering_consonant_syllable (plan, face, buffer, start, end); buffer 1151 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer, buffer 1162 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (buffer->info[end - 1].indic_category() == OT_DOTTEDCIRCLE) buffer 1166 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc initial_reordering_consonant_syllable (plan, face, buffer, start, end); buffer 1172 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer, buffer 1176 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc initial_reordering_standalone_cluster (plan, face, buffer, start, end); buffer 1182 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer HB_UNUSED, buffer 1192 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer HB_UNUSED, buffer 1203 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer, buffer 1206 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc syllable_type_t syllable_type = (syllable_type_t) (buffer->info[start].syllable() & 0x0F); buffer 1208 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc case consonant_syllable: initial_reordering_consonant_syllable (plan, face, buffer, start, end); return; buffer 1209 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc case vowel_syllable: initial_reordering_vowel_syllable (plan, face, buffer, start, end); return; buffer 1210 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc case standalone_cluster: initial_reordering_standalone_cluster (plan, face, buffer, start, end); return; buffer 1211 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc case avagraha_cluster: initial_reordering_avagraha_cluster (plan, face, buffer, start, end); return; buffer 1212 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc case broken_cluster: initial_reordering_broken_cluster (plan, face, buffer, start, end); return; buffer 1213 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc case non_indic_cluster: initial_reordering_non_indic_cluster (plan, face, buffer, start, end); return; buffer 1220 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer) buffer 1224 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; buffer 1226 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if ((buffer->info[i].syllable() & 0x0F) == broken_cluster) { buffer 1243 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->clear_output (); buffer 1245 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->idx = 0; buffer 1247 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc while (buffer->idx < buffer->len) buffer 1249 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int syllable = buffer->cur().syllable(); buffer 1256 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc info.cluster = buffer->cur().cluster; buffer 1257 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc info.mask = buffer->cur().mask; buffer 1258 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc info.syllable() = buffer->cur().syllable(); buffer 1261 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc while (buffer->idx < buffer->len && buffer 1262 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc last_syllable == buffer->cur().syllable() && buffer 1263 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->cur().indic_category() == OT_Repha) buffer 1264 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->next_glyph (); buffer 1266 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->output_info (info); buffer 1269 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->next_glyph (); buffer 1272 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->swap_buffers (); buffer 1278 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer) buffer 1280 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc update_consonant_positions (plan, font, buffer); buffer 1281 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc insert_dotted_circles (plan, font, buffer); buffer 1283 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_glyph_info_t *info = buffer->info; buffer 1284 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; buffer 1290 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc initial_reordering_syllable (plan, font->face, buffer, last, i); buffer 1294 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc initial_reordering_syllable (plan, font->face, buffer, last, count); buffer 1299 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer, buffer 1303 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_glyph_info_t *info = buffer->info; buffer 1349 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (buffer->props.script != HB_SCRIPT_MALAYALAM && buffer->props.script != HB_SCRIPT_TAMIL) buffer 1381 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (new_pos, MIN (end, base + 1)); buffer 1387 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (i, MIN (end, base + 1)); buffer 1534 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (start, new_reph_pos + 1); buffer 1583 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (buffer->props.script != HB_SCRIPT_MALAYALAM && buffer->props.script != HB_SCRIPT_TAMIL) buffer 1612 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (new_pos, old_pos + 1); buffer 1650 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (start, end); buffer 1660 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer) buffer 1662 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; buffer 1665 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_glyph_info_t *info = buffer->info; buffer 1670 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc final_reordering_syllable (plan, buffer, last, i); buffer 1674 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc final_reordering_syllable (plan, buffer, last, count); buffer 1676 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc HB_BUFFER_DEALLOCATE_VAR (buffer, indic_category); buffer 1677 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc HB_BUFFER_DEALLOCATE_VAR (buffer, indic_position); buffer 1684 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_buffer_t *buffer) buffer 1686 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc hb_glyph_info_t *info = buffer->info; buffer 1687 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; buffer 282 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar-machine.hh find_syllables (hb_buffer_t *buffer) buffer 286 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar-machine.hh hb_glyph_info_t *info = buffer->info; buffer 300 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar-machine.hh pe = eof = buffer->len; buffer 78 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer); buffer 82 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer); buffer 86 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer); buffer 278 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer, buffer 281 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc HB_BUFFER_ALLOCATE_VAR (buffer, myanmar_category); buffer 282 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc HB_BUFFER_ALLOCATE_VAR (buffer, myanmar_position); buffer 287 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; buffer 289 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc set_myanmar_properties (buffer->info[i]); buffer 295 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer) buffer 297 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc find_syllables (buffer); buffer 316 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer, buffer 319 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_glyph_info_t *info = buffer->info; buffer 403 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc buffer->merge_clusters (start, end); buffer 411 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer, buffer 415 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc initial_reordering_consonant_syllable (plan, face, buffer, start, end); buffer 421 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer HB_UNUSED, buffer 431 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer HB_UNUSED, buffer 442 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer, buffer 445 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc syllable_type_t syllable_type = (syllable_type_t) (buffer->info[start].syllable() & 0x0F); buffer 447 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc case consonant_syllable: initial_reordering_consonant_syllable (plan, face, buffer, start, end); return; buffer 448 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc case punctuation_cluster: initial_reordering_punctuation_cluster (plan, face, buffer, start, end); return; buffer 449 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc case broken_cluster: initial_reordering_broken_cluster (plan, face, buffer, start, end); return; buffer 450 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc case non_myanmar_cluster: initial_reordering_non_myanmar_cluster (plan, face, buffer, start, end); return; buffer 457 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer) buffer 461 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; buffer 463 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc if ((buffer->info[i].syllable() & 0x0F) == broken_cluster) { buffer 480 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc buffer->clear_output (); buffer 482 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc buffer->idx = 0; buffer 484 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc while (buffer->idx < buffer->len) buffer 486 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int syllable = buffer->cur().syllable(); buffer 493 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc info.cluster = buffer->cur().cluster; buffer 494 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc info.mask = buffer->cur().mask; buffer 495 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc info.syllable() = buffer->cur().syllable(); buffer 497 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc buffer->output_info (info); buffer 500 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc buffer->next_glyph (); buffer 503 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc buffer->swap_buffers (); buffer 509 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer) buffer 511 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc insert_dotted_circles (plan, font, buffer); buffer 513 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_glyph_info_t *info = buffer->info; buffer 514 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; buffer 520 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc initial_reordering_syllable (plan, font->face, buffer, last, i); buffer 524 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc initial_reordering_syllable (plan, font->face, buffer, last, count); buffer 530 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_buffer_t *buffer) buffer 532 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc hb_glyph_info_t *info = buffer->info; buffer 533 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; buffer 539 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_category); buffer 540 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_position); buffer 109 third_party/harfbuzz-ng/src/hb-ot-shape-complex-private.hh hb_buffer_t *buffer, buffer 140 third_party/harfbuzz-ng/src/hb-ot-shape-complex-private.hh hb_buffer_t *buffer, buffer 110 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea-machine.hh find_syllables (hb_buffer_t *buffer) buffer 114 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea-machine.hh hb_glyph_info_t *info = buffer->info; buffer 128 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea-machine.hh pe = eof = buffer->len; buffer 70 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer); buffer 74 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer); buffer 78 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer); buffer 167 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer, buffer 170 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc HB_BUFFER_ALLOCATE_VAR (buffer, sea_category); buffer 171 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc HB_BUFFER_ALLOCATE_VAR (buffer, sea_position); buffer 176 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; buffer 178 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc set_sea_properties (buffer->info[i]); buffer 184 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer) buffer 186 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc find_syllables (buffer); buffer 202 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer, buffer 205 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_glyph_info_t *info = buffer->info; buffer 233 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc buffer->merge_clusters (start, end); buffer 241 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer, buffer 245 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc initial_reordering_consonant_syllable (plan, face, buffer, start, end); buffer 251 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer HB_UNUSED, buffer 262 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer, buffer 265 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc syllable_type_t syllable_type = (syllable_type_t) (buffer->info[start].syllable() & 0x0F); buffer 267 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc case consonant_syllable: initial_reordering_consonant_syllable (plan, face, buffer, start, end); return; buffer 268 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc case broken_cluster: initial_reordering_broken_cluster (plan, face, buffer, start, end); return; buffer 269 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc case non_sea_cluster: initial_reordering_non_sea_cluster (plan, face, buffer, start, end); return; buffer 276 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer) buffer 280 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; buffer 282 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc if ((buffer->info[i].syllable() & 0x0F) == broken_cluster) { buffer 299 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc buffer->clear_output (); buffer 301 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc buffer->idx = 0; buffer 303 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc while (buffer->idx < buffer->len) buffer 305 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int syllable = buffer->cur().syllable(); buffer 312 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc info.cluster = buffer->cur().cluster; buffer 313 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc info.mask = buffer->cur().mask; buffer 314 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc info.syllable() = buffer->cur().syllable(); buffer 316 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc buffer->output_info (info); buffer 319 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc buffer->next_glyph (); buffer 322 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc buffer->swap_buffers (); buffer 328 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer) buffer 330 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc insert_dotted_circles (plan, font, buffer); buffer 332 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_glyph_info_t *info = buffer->info; buffer 333 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; buffer 339 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc initial_reordering_syllable (plan, font->face, buffer, last, i); buffer 343 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc initial_reordering_syllable (plan, font->face, buffer, last, count); buffer 349 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_buffer_t *buffer) buffer 351 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc hb_glyph_info_t *info = buffer->info; buffer 352 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; buffer 358 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc HB_BUFFER_DEALLOCATE_VAR (buffer, sea_category); buffer 359 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc HB_BUFFER_DEALLOCATE_VAR (buffer, sea_position); buffer 219 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc hb_buffer_t *buffer, buffer 226 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc hb_glyph_info_t *info = buffer->info; buffer 227 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc unsigned int count = buffer->len; buffer 258 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc hb_buffer_t *buffer, buffer 316 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->clear_output (); buffer 317 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc unsigned int count = buffer->len; buffer 318 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc for (buffer->idx = 0; buffer->idx < count;) buffer 320 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc hb_codepoint_t u = buffer->cur().codepoint; buffer 322 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->next_glyph (); buffer 329 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->replace_glyphs (1, 2, decomposed); buffer 330 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc if (unlikely (buffer->in_error)) buffer 334 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc unsigned int end = buffer->out_len; buffer 336 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc while (start > 0 && IS_TONE_MARK (buffer->out_info[start - 1].codepoint)) buffer 342 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->merge_out_clusters (start, end); buffer 343 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc hb_glyph_info_t t = buffer->out_info[end - 2]; buffer 344 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc memmove (buffer->out_info + start + 1, buffer 345 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->out_info + start, buffer 346 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc sizeof (buffer->out_info[0]) * (end - start - 2)); buffer 347 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->out_info[start] = t; buffer 354 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->merge_out_clusters (start - 1, end); buffer 357 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc buffer->swap_buffers (); buffer 361 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc do_thai_pua_shaping (plan, buffer, font); buffer 37 third_party/harfbuzz-ng/src/hb-ot-shape-fallback-private.hh hb_buffer_t *buffer); buffer 41 third_party/harfbuzz-ng/src/hb-ot-shape-fallback-private.hh hb_buffer_t *buffer); buffer 46 third_party/harfbuzz-ng/src/hb-ot-shape-fallback-private.hh hb_buffer_t *buffer); buffer 167 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_buffer_t *buffer) buffer 169 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int count = buffer->len; buffer 171 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (_hb_glyph_info_get_general_category (&buffer->info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) { buffer 172 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int combining_class = _hb_glyph_info_get_modified_combining_class (&buffer->info[i]); buffer 173 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc combining_class = recategorize_combining_class (buffer->info[i].codepoint, combining_class); buffer 174 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc _hb_glyph_info_set_modified_combining_class (&buffer->info[i], combining_class); buffer 180 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc zero_mark_advances (hb_buffer_t *buffer, buffer 185 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (_hb_glyph_info_get_general_category (&buffer->info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) buffer 187 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc buffer->pos[i].x_advance = 0; buffer 188 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc buffer->pos[i].y_advance = 0; buffer 195 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_buffer_t *buffer, buffer 201 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (!font->get_glyph_extents (buffer->info[i].codepoint, buffer 207 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_glyph_position_t &pos = buffer->pos[i]; buffer 218 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (buffer->props.direction == HB_DIRECTION_LTR) { buffer 221 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc } else if (buffer->props.direction == HB_DIRECTION_RTL) { buffer 301 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_buffer_t *buffer, buffer 307 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (!font->get_glyph_extents (buffer->info[base].codepoint, buffer 311 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc zero_mark_advances (buffer, base + 1, end); buffer 314 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc base_extents.x_bearing += buffer->pos[base].x_offset; buffer 315 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc base_extents.y_bearing += buffer->pos[base].y_offset; buffer 317 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int lig_id = _hb_glyph_info_get_lig_id (&buffer->info[base]); buffer 318 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int num_lig_components = _hb_glyph_info_get_lig_num_comps (&buffer->info[base]); buffer 321 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (HB_DIRECTION_IS_FORWARD (buffer->props.direction)) { buffer 322 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc x_offset -= buffer->pos[base].x_advance; buffer 323 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc y_offset -= buffer->pos[base].y_advance; buffer 331 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (_hb_glyph_info_get_modified_combining_class (&buffer->info[i])) buffer 334 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int this_lig_id = _hb_glyph_info_get_lig_id (&buffer->info[i]); buffer 335 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int this_lig_component = _hb_glyph_info_get_lig_comp (&buffer->info[i]) - 1; buffer 358 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int this_combining_class = _hb_glyph_info_get_modified_combining_class (&buffer->info[i]); buffer 365 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc position_mark (plan, font, buffer, cluster_extents, i, this_combining_class); buffer 367 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc buffer->pos[i].x_advance = 0; buffer 368 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc buffer->pos[i].y_advance = 0; buffer 369 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc buffer->pos[i].x_offset += x_offset; buffer 370 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc buffer->pos[i].y_offset += y_offset; buffer 373 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (HB_DIRECTION_IS_FORWARD (buffer->props.direction)) { buffer 374 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc x_offset -= buffer->pos[i].x_advance; buffer 375 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc y_offset -= buffer->pos[i].y_advance; buffer 377 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc x_offset += buffer->pos[i].x_advance; buffer 378 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc y_offset += buffer->pos[i].y_advance; buffer 386 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_buffer_t *buffer, buffer 395 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (!HB_UNICODE_GENERAL_CATEGORY_IS_MARK (_hb_glyph_info_get_general_category (&buffer->info[i]))) buffer 400 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (!HB_UNICODE_GENERAL_CATEGORY_IS_MARK (_hb_glyph_info_get_general_category (&buffer->info[j]))) buffer 403 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc position_around_base (plan, font, buffer, i, j); buffer 412 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_buffer_t *buffer) buffer 415 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int last_cluster = buffer->info[0].cluster; buffer 416 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int count = buffer->len; buffer 418 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (buffer->info[i].cluster != last_cluster) { buffer 419 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc position_cluster (plan, font, buffer, start, i); buffer 421 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc last_cluster = buffer->info[i].cluster; buffer 423 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc position_cluster (plan, font, buffer, start, count); buffer 431 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_buffer_t *buffer) buffer 435 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int count = buffer->len; buffer 437 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc OT::hb_apply_context_t c (1, font, buffer); buffer 441 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_glyph_info_t *info = buffer->info; buffer 442 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc hb_glyph_position_t *pos = buffer->pos; buffer 456 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc buffer->props.direction, buffer 48 third_party/harfbuzz-ng/src/hb-ot-shape-normalize-private.hh hb_buffer_t *buffer, buffer 55 third_party/harfbuzz-ng/src/hb-ot-shape-normalize-private.hh hb_buffer_t *buffer; buffer 110 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) buffer 112 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->cur().glyph_index() = glyph; buffer 113 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->output_glyph (unichar); buffer 114 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc _hb_glyph_info_set_unicode_props (&buffer->prev(), buffer->unicode); buffer 118 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) buffer 120 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->cur().glyph_index() = glyph; buffer 121 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 125 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc skip_char (hb_buffer_t *buffer) buffer 127 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->skip_glyph (); buffer 135 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc hb_buffer_t * const buffer = c->buffer; buffer 145 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc output_char (buffer, a, a_glyph); buffer 147 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc output_char (buffer, b, b_glyph); buffer 156 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc output_char (buffer, b, b_glyph); buffer 163 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc output_char (buffer, a, a_glyph); buffer 165 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc output_char (buffer, b, b_glyph); buffer 182 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc len = c->buffer->unicode->decompose_compatibility (u, decomposed); buffer 191 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc output_char (c->buffer, decomposed[i], glyphs[i]); buffer 199 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc hb_buffer_t * const buffer = c->buffer; buffer 203 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph)) buffer 204 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc next_char (buffer, glyph); buffer 205 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc else if (decompose (c, shortest, buffer->cur().codepoint)) buffer 206 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc skip_char (buffer); buffer 207 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc else if (!shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph)) buffer 208 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc next_char (buffer, glyph); buffer 209 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc else if (decompose_compatibility (c, buffer->cur().codepoint)) buffer 210 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc skip_char (buffer); buffer 212 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc next_char (buffer, glyph); /* glyph is initialized in earlier branches. */ buffer 219 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc hb_buffer_t * const buffer = c->buffer; buffer 221 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc for (; buffer->idx < end - 1;) { buffer 222 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) { buffer 224 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (font->get_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index())) buffer 226 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->replace_glyphs (2, 1, &buffer->cur().codepoint); buffer 231 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc set_glyph (buffer->cur(), font); buffer 232 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 233 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc set_glyph (buffer->cur(), font); buffer 234 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 237 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc while (buffer->idx < end && unlikely (buffer->unicode->is_variation_selector (buffer->cur().codepoint))) buffer 239 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc set_glyph (buffer->cur(), font); buffer 240 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 243 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc set_glyph (buffer->cur(), font); buffer 244 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 247 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (likely (buffer->idx < end)) { buffer 248 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc set_glyph (buffer->cur(), font); buffer 249 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 256 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc hb_buffer_t * const buffer = c->buffer; buffer 257 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc for (unsigned int i = buffer->idx; i < end; i++) buffer 258 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (unlikely (buffer->unicode->is_variation_selector (buffer->info[i].codepoint))) { buffer 263 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc while (buffer->idx < end) buffer 270 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (likely (c->buffer->idx + 1 == end)) buffer 289 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc hb_buffer_t *buffer, buffer 295 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer, buffer 297 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->unicode, buffer 317 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->clear_output (); buffer 318 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc count = buffer->len; buffer 319 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc for (buffer->idx = 0; buffer->idx < count;) buffer 322 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc for (end = buffer->idx + 1; end < count; end++) buffer 323 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (buffer->cur().cluster != buffer->info[end].cluster) buffer 328 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->swap_buffers (); buffer 333 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc count = buffer->len; buffer 336 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (_hb_glyph_info_get_modified_combining_class (&buffer->info[i]) == 0) buffer 341 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (_hb_glyph_info_get_modified_combining_class (&buffer->info[end]) == 0) buffer 352 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc hb_bubble_sort (buffer->info + i, end - i, compare_combining_class); buffer 367 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->clear_output (); buffer 368 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc count = buffer->len; buffer 370 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 371 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc while (buffer->idx < count) buffer 378 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc HB_UNICODE_GENERAL_CATEGORY_IS_MARK (_hb_glyph_info_get_general_category (&buffer->cur())) && buffer 381 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc (starter == buffer->out_len - 1 || buffer 382 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc _hb_glyph_info_get_modified_combining_class (&buffer->prev()) < _hb_glyph_info_get_modified_combining_class (&buffer->cur())) && buffer 385 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->out_info[starter].codepoint, buffer 386 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->cur().codepoint, buffer 392 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); /* Copy to out-buffer. */ buffer 393 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (unlikely (buffer->in_error)) buffer 395 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->merge_out_clusters (starter, buffer->out_len); buffer 396 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->out_len--; /* Remove the second composable. */ buffer 398 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->out_info[starter].codepoint = composed; buffer 399 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->out_info[starter].glyph_index() = glyph; buffer 400 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc _hb_glyph_info_set_unicode_props (&buffer->out_info[starter], buffer->unicode); buffer 406 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->next_glyph (); buffer 408 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (_hb_glyph_info_get_modified_combining_class (&buffer->prev()) == 0) buffer 409 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc starter = buffer->out_len - 1; buffer 411 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc buffer->swap_buffers (); buffer 59 third_party/harfbuzz-ng/src/hb-ot-shape-private.hh inline void substitute (hb_font_t *font, hb_buffer_t *buffer) const { map.substitute (this, font, buffer); } buffer 60 third_party/harfbuzz-ng/src/hb-ot-shape-private.hh inline void position (hb_font_t *font, hb_buffer_t *buffer) const { map.position (this, font, buffer); } buffer 210 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer; buffer 226 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_set_unicode_props (hb_buffer_t *buffer) buffer 228 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 230 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_glyph_info_set_unicode_props (&buffer->info[i], buffer->unicode); buffer 234 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_insert_dotted_circle (hb_buffer_t *buffer, hb_font_t *font) buffer 236 third_party/harfbuzz-ng/src/hb-ot-shape.cc if (!(buffer->flags & HB_BUFFER_FLAG_BOT) || buffer 237 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_glyph_info_get_general_category (&buffer->info[0]) != buffer 246 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_glyph_info_set_unicode_props (&dottedcircle, buffer->unicode); buffer 248 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->clear_output (); buffer 250 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->idx = 0; buffer 252 third_party/harfbuzz-ng/src/hb-ot-shape.cc info.cluster = buffer->cur().cluster; buffer 253 third_party/harfbuzz-ng/src/hb-ot-shape.cc info.mask = buffer->cur().mask; buffer 254 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->output_info (info); buffer 255 third_party/harfbuzz-ng/src/hb-ot-shape.cc while (buffer->idx < buffer->len) buffer 256 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->next_glyph (); buffer 258 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->swap_buffers (); buffer 262 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_form_clusters (hb_buffer_t *buffer) buffer 264 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 266 third_party/harfbuzz-ng/src/hb-ot-shape.cc if (HB_UNICODE_GENERAL_CATEGORY_IS_MARK (_hb_glyph_info_get_general_category (&buffer->info[i]))) buffer 267 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->merge_clusters (i - 1, i + 1); buffer 271 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ensure_native_direction (hb_buffer_t *buffer) buffer 273 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_direction_t direction = buffer->props.direction; buffer 279 third_party/harfbuzz-ng/src/hb-ot-shape.cc if ((HB_DIRECTION_IS_HORIZONTAL (direction) && direction != hb_script_get_horizontal_direction (buffer->props.script)) || buffer 282 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_reverse_clusters (buffer); buffer 283 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->props.direction = HB_DIRECTION_REVERSE (buffer->props.direction); buffer 296 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer = c->buffer; buffer 297 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_unicode_funcs_t *unicode = buffer->unicode; buffer 300 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 301 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_info_t *info = buffer->info; buffer 317 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer = c->buffer; buffer 320 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 321 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_info_t *info = buffer->info; buffer 351 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer = c->buffer; buffer 354 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->reset_masks (global_mask); buffer 361 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer = c->buffer; buffer 366 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->plan->shaper->setup_masks (c->plan, buffer, c->font); buffer 374 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->set_masks (feature->value << shift, mask, feature->start, feature->end); buffer 380 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ot_map_glyphs_fast (hb_buffer_t *buffer) buffer 383 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 385 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->info[i].codepoint = buffer->info[i].glyph_index(); buffer 391 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; buffer 392 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_info_t *info = c->buffer->info; buffer 404 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer = c->buffer; buffer 407 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->plan->shaper->preprocess_text (c->plan, buffer, c->font); buffer 413 third_party/harfbuzz-ng/src/hb-ot-shape.cc HB_BUFFER_ALLOCATE_VAR (buffer, glyph_index); buffer 415 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_ot_shape_normalize (c->plan, buffer, c->font); buffer 421 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_ot_shape_fallback_position_recategorize_marks (c->plan, c->font, buffer); buffer 423 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ot_map_glyphs_fast (buffer); buffer 425 third_party/harfbuzz-ng/src/hb-ot-shape.cc HB_BUFFER_DEALLOCATE_VAR (buffer, glyph_index); buffer 431 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer = c->buffer; buffer 433 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ot_layout_substitute_start (c->font, buffer); buffer 438 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->plan->substitute (c->font, buffer); buffer 440 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ot_layout_substitute_finish (c->font, buffer); buffer 455 third_party/harfbuzz-ng/src/hb-ot-shape.cc zero_mark_widths_by_unicode (hb_buffer_t *buffer) buffer 457 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 459 third_party/harfbuzz-ng/src/hb-ot-shape.cc if (_hb_glyph_info_get_general_category (&buffer->info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) buffer 461 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->pos[i].x_advance = 0; buffer 462 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->pos[i].y_advance = 0; buffer 467 third_party/harfbuzz-ng/src/hb-ot-shape.cc zero_mark_widths_by_gdef (hb_buffer_t *buffer) buffer 469 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 471 third_party/harfbuzz-ng/src/hb-ot-shape.cc if (_hb_glyph_info_is_mark (&buffer->info[i])) buffer 473 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->pos[i].x_advance = 0; buffer 474 third_party/harfbuzz-ng/src/hb-ot-shape.cc buffer->pos[i].y_advance = 0; buffer 481 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_direction_t direction = c->buffer->props.direction; buffer 482 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; buffer 483 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_info_t *info = c->buffer->info; buffer 484 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_position_t *pos = c->buffer->pos; buffer 503 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; buffer 508 third_party/harfbuzz-ng/src/hb-ot-shape.cc zero_mark_widths_by_gdef (c->buffer); buffer 526 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_info_t *info = c->buffer->info; buffer 527 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_position_t *pos = c->buffer->pos; buffer 538 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->plan->position (c->font, c->buffer); buffer 553 third_party/harfbuzz-ng/src/hb-ot-shape.cc zero_mark_widths_by_unicode (c->buffer); buffer 557 third_party/harfbuzz-ng/src/hb-ot-shape.cc zero_mark_widths_by_gdef (c->buffer); buffer 573 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ot_layout_position_start (c->font, c->buffer); buffer 579 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ot_layout_position_finish (c->font, c->buffer); buffer 582 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_ot_shape_fallback_position (c->plan, c->font, c->buffer); buffer 584 third_party/harfbuzz-ng/src/hb-ot-shape.cc if (HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction)) buffer 585 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_reverse (c->buffer); buffer 590 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_ot_shape_fallback_kern (c->plan, c->font, c->buffer); buffer 599 third_party/harfbuzz-ng/src/hb-ot-shape.cc if (c->buffer->flags & HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES) buffer 609 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; buffer 610 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_info_t *info = c->buffer->info; buffer 611 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_glyph_position_t *pos = c->buffer->pos; buffer 637 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->buffer->len = j; buffer 646 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->buffer->deallocate_var_all (); buffer 649 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->target_direction = c->buffer->props.direction; buffer 651 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_buffer_allocate_unicode_vars (c->buffer); buffer 653 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->buffer->clear_output (); buffer 655 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_set_unicode_props (c->buffer); buffer 656 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_insert_dotted_circle (c->buffer, c->font); buffer 657 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_form_clusters (c->buffer); buffer 659 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ensure_native_direction (c->buffer); buffer 666 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_buffer_deallocate_unicode_vars (c->buffer); buffer 668 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->buffer->props.direction = c->target_direction; buffer 670 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->buffer->deallocate_var_all (); buffer 677 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer, buffer 681 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_ot_shape_context_t c = {HB_SHAPER_DATA_GET (shape_plan), font, font->face, buffer, features, num_features}; buffer 720 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_buffer_t *buffer, buffer 728 third_party/harfbuzz-ng/src/hb-ot-shape.cc hb_shape_plan_t *shape_plan = hb_shape_plan_create_cached (font->face, &buffer->props, buffer 731 third_party/harfbuzz-ng/src/hb-ot-shape.cc bool mirror = hb_script_get_horizontal_direction (buffer->props.script) == HB_DIRECTION_RTL; buffer 733 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; buffer 735 third_party/harfbuzz-ng/src/hb-ot-shape.cc add_char (font, buffer->unicode, mirror, buffer->info[i].codepoint, glyphs); buffer 41 third_party/harfbuzz-ng/src/hb-ot-shape.h hb_buffer_t *buffer, buffer 270 third_party/harfbuzz-ng/src/hb-shape-plan.cc hb_buffer_t *buffer, buffer 276 third_party/harfbuzz-ng/src/hb-shape-plan.cc hb_object_is_inert (buffer))) buffer 280 third_party/harfbuzz-ng/src/hb-shape-plan.cc assert (hb_segment_properties_equal (&shape_plan->props, &buffer->props)); buffer 286 third_party/harfbuzz-ng/src/hb-shape-plan.cc _hb_##shaper##_shape (shape_plan, font, buffer, features, num_features); \ buffer 79 third_party/harfbuzz-ng/src/hb-shape-plan.h hb_buffer_t *buffer, buffer 294 third_party/harfbuzz-ng/src/hb-shape.cc hb_buffer_t *buffer, buffer 299 third_party/harfbuzz-ng/src/hb-shape.cc if (unlikely (!buffer->len)) buffer 302 third_party/harfbuzz-ng/src/hb-shape.cc assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE); buffer 304 third_party/harfbuzz-ng/src/hb-shape.cc hb_shape_plan_t *shape_plan = hb_shape_plan_create_cached (font->face, &buffer->props, features, num_features, shaper_list); buffer 305 third_party/harfbuzz-ng/src/hb-shape.cc hb_bool_t res = hb_shape_plan_execute (shape_plan, font, buffer, features, num_features); buffer 309 third_party/harfbuzz-ng/src/hb-shape.cc buffer->content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS; buffer 326 third_party/harfbuzz-ng/src/hb-shape.cc hb_buffer_t *buffer, buffer 330 third_party/harfbuzz-ng/src/hb-shape.cc hb_shape_full (font, buffer, features, num_features, NULL); buffer 64 third_party/harfbuzz-ng/src/hb-shape.h hb_buffer_t *buffer, buffer 70 third_party/harfbuzz-ng/src/hb-shape.h hb_buffer_t *buffer, buffer 34 third_party/harfbuzz-ng/src/hb-shaper-private.hh hb_buffer_t *buffer, buffer 593 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_buffer_t *buffer, buffer 732 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); buffer 745 third_party/harfbuzz-ng/src/hb-uniscribe.cc ALLOCATE_ARRAY (WCHAR, pchars, buffer->len * 2); buffer 748 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < buffer->len; i++) buffer 750 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_codepoint_t c = buffer->info[i].codepoint; buffer 751 third_party/harfbuzz-ng/src/hb-uniscribe.cc buffer->info[i].utf16_index() = chars_len; buffer 769 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < buffer->len; i++) buffer 771 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_codepoint_t c = buffer->info[i].codepoint; buffer 772 third_party/harfbuzz-ng/src/hb-uniscribe.cc unsigned int cluster = buffer->info[i].cluster; buffer 816 third_party/harfbuzz-ng/src/hb-uniscribe.cc bidi_state.uBidiLevel = HB_DIRECTION_IS_FORWARD (buffer->props.direction) ? 0 : 1; buffer 832 third_party/harfbuzz-ng/src/hb-uniscribe.cc OPENTYPE_TAG language_tag = hb_uint32_swap (hb_ot_tag_from_language (buffer->props.language)); buffer 838 third_party/harfbuzz-ng/src/hb-uniscribe.cc bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction); buffer 908 third_party/harfbuzz-ng/src/hb-uniscribe.cc buffer->ensure (buffer->allocated * 2); buffer 909 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (buffer->in_error) buffer 968 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < buffer->len; i++) { buffer 969 third_party/harfbuzz-ng/src/hb-uniscribe.cc uint32_t *p = &vis_clusters[log_clusters[buffer->info[i].utf16_index()]]; buffer 970 third_party/harfbuzz-ng/src/hb-uniscribe.cc *p = MIN (*p, buffer->info[i].cluster); buffer 978 third_party/harfbuzz-ng/src/hb-uniscribe.cc buffer->ensure (glyphs_len); buffer 979 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (buffer->in_error) buffer 985 third_party/harfbuzz-ng/src/hb-uniscribe.cc buffer->len = 0; buffer 988 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_glyph_info_t *info = &buffer->info[buffer->len++]; buffer 1000 third_party/harfbuzz-ng/src/hb-uniscribe.cc buffer->clear_positions (); buffer 1003 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_glyph_info_t *info = &buffer->info[i]; buffer 1004 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_glyph_position_t *pos = &buffer->pos[i]; buffer 1013 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_buffer_reverse (buffer); buffer 103 third_party/harfbuzz-ng/src/test.cc hb_buffer_t *buffer = hb_buffer_create (); buffer 105 third_party/harfbuzz-ng/src/test.cc hb_buffer_add_utf8 (buffer, "\xe0\xa4\x95\xe0\xa5\x8d\xe0\xa4\xb0\xe0\xa5\x8d\xe0\xa4\x95", -1, 0, -1); buffer 106 third_party/harfbuzz-ng/src/test.cc hb_buffer_guess_segment_properties (buffer); buffer 108 third_party/harfbuzz-ng/src/test.cc hb_shape (font, buffer, NULL, 0); buffer 110 third_party/harfbuzz-ng/src/test.cc unsigned int count = hb_buffer_get_length (buffer); buffer 111 third_party/harfbuzz-ng/src/test.cc hb_glyph_info_t *infos = hb_buffer_get_glyph_infos (buffer, NULL); buffer 112 third_party/harfbuzz-ng/src/test.cc hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, NULL); buffer 129 third_party/harfbuzz-ng/src/test.cc hb_buffer_destroy (buffer); buffer 657 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Char buffer[bufferSize+1]; buffer 658 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp memcpy( buffer, token.start_, length ); buffer 659 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp buffer[length] = 0; buffer 660 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp count = sscanf( buffer, format, &value ); buffer 664 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp std::string buffer( token.start_, token.end_ ); buffer 665 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp count = sscanf( buffer.c_str(), format, &value ); buffer 880 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp char buffer[18+16+16+1]; buffer 881 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp sprintf( buffer, "Line %d, Column %d", line, column ); buffer 882 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return buffer; buffer 285 third_party/khronos/EGL/egl.h EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, buffer 290 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); buffer 291 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); buffer 84 third_party/khronos/EGL/eglext.h EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); buffer 87 third_party/khronos/EGL/eglext.h typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); buffer 381 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); buffer 459 third_party/khronos/GLES2/gl2.h GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); buffer 29 third_party/leveldatabase/chromium_logger.h char buffer[500]; buffer 34 third_party/leveldatabase/chromium_logger.h bufsize = sizeof(buffer); buffer 35 third_party/leveldatabase/chromium_logger.h base = buffer; buffer 82 third_party/leveldatabase/chromium_logger.h if (base != buffer) { buffer 40 third_party/libaddressinput/chromium/canonicalize_string.cc scoped_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]); buffer 41 third_party/libaddressinput/chromium/canonicalize_string.cc DCHECK(buffer.get()); buffer 43 third_party/libaddressinput/chromium/canonicalize_string.cc collator_->getSortKey(icu_str, buffer.get(), buffer_size); buffer 45 third_party/libaddressinput/chromium/canonicalize_string.cc return std::string(reinterpret_cast<const char*>(buffer.get())); buffer 32 third_party/libaddressinput/chromium/chrome_downloader_impl.cc virtual int Write(net::IOBuffer* buffer, buffer 35 third_party/libaddressinput/chromium/chrome_downloader_impl.cc data_->append(buffer->data(), num_bytes); buffer 71 third_party/libevent/buffer.c struct evbuffer *buffer; buffer 73 third_party/libevent/buffer.c buffer = calloc(1, sizeof(struct evbuffer)); buffer 75 third_party/libevent/buffer.c return (buffer); buffer 79 third_party/libevent/buffer.c evbuffer_free(struct evbuffer *buffer) buffer 81 third_party/libevent/buffer.c if (buffer->orig_buffer != NULL) buffer 82 third_party/libevent/buffer.c free(buffer->orig_buffer); buffer 83 third_party/libevent/buffer.c free(buffer); buffer 92 third_party/libevent/buffer.c (x)->buffer = (y)->buffer; \ buffer 127 third_party/libevent/buffer.c res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); buffer 139 third_party/libevent/buffer.c char *buffer; buffer 149 third_party/libevent/buffer.c buffer = (char *)buf->buffer + buf->off; buffer 158 third_party/libevent/buffer.c sz = evutil_vsnprintf(buffer, space, fmt, aq); buffer 199 third_party/libevent/buffer.c memcpy(data, buf->buffer, nread); buffer 211 third_party/libevent/buffer.c evbuffer_readline(struct evbuffer *buffer) buffer 213 third_party/libevent/buffer.c u_char *data = EVBUFFER_DATA(buffer); buffer 214 third_party/libevent/buffer.c size_t len = EVBUFFER_LENGTH(buffer); buffer 246 third_party/libevent/buffer.c evbuffer_drain(buffer, i + 1); buffer 256 third_party/libevent/buffer.c memmove(buf->orig_buffer, buf->buffer, buf->off); buffer 257 third_party/libevent/buffer.c buf->buffer = buf->orig_buffer; buffer 287 third_party/libevent/buffer.c if (buf->orig_buffer != buf->buffer) buffer 289 third_party/libevent/buffer.c if ((newbuf = realloc(buf->buffer, length)) == NULL) buffer 292 third_party/libevent/buffer.c buf->orig_buffer = buf->buffer = newbuf; buffer 310 third_party/libevent/buffer.c memcpy(buf->buffer + buf->off, data, datlen); buffer 326 third_party/libevent/buffer.c buf->buffer = buf->orig_buffer; buffer 331 third_party/libevent/buffer.c buf->buffer += len; buffer 386 third_party/libevent/buffer.c p = buf->buffer + buf->off; buffer 408 third_party/libevent/buffer.c evbuffer_write(struct evbuffer *buffer, int fd) buffer 413 third_party/libevent/buffer.c n = write(fd, buffer->buffer, buffer->off); buffer 415 third_party/libevent/buffer.c n = send(fd, buffer->buffer, buffer->off, 0); buffer 421 third_party/libevent/buffer.c evbuffer_drain(buffer, n); buffer 427 third_party/libevent/buffer.c evbuffer_find(struct evbuffer *buffer, const u_char *what, size_t len) buffer 429 third_party/libevent/buffer.c u_char *search = buffer->buffer, *end = search + buffer->off; buffer 444 third_party/libevent/buffer.c void evbuffer_setcb(struct evbuffer *buffer, buffer 448 third_party/libevent/buffer.c buffer->cb = cb; buffer 449 third_party/libevent/buffer.c buffer->cbarg = cbarg; buffer 347 third_party/libevent/evbuffer.c res = bufferevent_write(bufev, buf->buffer, buf->off); buffer 363 third_party/libevent/evbuffer.c memcpy(data, buf->buffer, size); buffer 727 third_party/libevent/event.h u_char *buffer; buffer 965 third_party/libevent/event.h #define EVBUFFER_DATA(x) (x)->buffer buffer 282 third_party/libevent/event_tagging.c tmp.buffer += len; buffer 305 third_party/libevent/event_tagging.c tmp.buffer += len; buffer 1435 third_party/libevent/http.c evhttp_parse_firstline(struct evhttp_request *req, struct evbuffer *buffer) buffer 1440 third_party/libevent/http.c line = evbuffer_readline(buffer); buffer 1485 third_party/libevent/http.c evhttp_parse_headers(struct evhttp_request *req, struct evbuffer* buffer) buffer 1491 third_party/libevent/http.c while ((line = evbuffer_readline(buffer)) buffer 1107 third_party/libevent/test/regress.c char buffer[8333]; buffer 1118 third_party/libevent/test/regress.c for (i = 0; i < sizeof(buffer); i++) buffer 1119 third_party/libevent/test/regress.c buffer[i] = i; buffer 1121 third_party/libevent/test/regress.c bufferevent_write(bev1, buffer, sizeof(buffer)); buffer 1172 third_party/libevent/test/regress.c char buffer[65000]; buffer 1183 third_party/libevent/test/regress.c for (i = 0; i < sizeof(buffer); i++) buffer 1184 third_party/libevent/test/regress.c buffer[i] = i; buffer 1186 third_party/libevent/test/regress.c bufferevent_write(bev1, buffer, sizeof(buffer)); buffer 1402 third_party/libevent/test/regress.c u_char buffer[4096]; buffer 1409 third_party/libevent/test/regress.c for (i = 0; i < sizeof(buffer); i++) buffer 1410 third_party/libevent/test/regress.c buffer[i] = rand(); buffer 1412 third_party/libevent/test/regress.c evbuffer_add(tmp, buffer, sizeof(buffer)); buffer 1429 third_party/libevent/test/regress.c evbuffer_add(tmp, buffer, sizeof(buffer)); buffer 62 third_party/libjingle/overrides/talk/base/logging.cc char buffer[16]; buffer 63 third_party/libjingle/overrides/talk/base/logging.cc base::snprintf(buffer, sizeof(buffer), "0x%08x", err); buffer 64 third_party/libjingle/overrides/talk/base/logging.cc return buffer; buffer 253 third_party/libjpeg/jccoefct.c JBLOCKARRAY buffer; buffer 259 third_party/libjpeg/jccoefct.c buffer = (*cinfo->mem->access_virt_barray) buffer 281 third_party/libjpeg/jccoefct.c thisblockrow = buffer[block_row]; buffer 306 third_party/libjpeg/jccoefct.c thisblockrow = buffer[block_row]; buffer 307 third_party/libjpeg/jccoefct.c lastblockrow = buffer[block_row-1]; buffer 347 third_party/libjpeg/jccoefct.c JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; buffer 357 third_party/libjpeg/jccoefct.c buffer[ci] = (*cinfo->mem->access_virt_barray) buffer 374 third_party/libjpeg/jccoefct.c buffer_ptr = buffer[ci][yindex+yoffset] + start_col; buffer 438 third_party/libjpeg/jccoefct.c JBLOCKROW buffer; buffer 441 third_party/libjpeg/jccoefct.c buffer = (JBLOCKROW) buffer 445 third_party/libjpeg/jccoefct.c coef->MCU_buffer[i] = buffer + i; buffer 40 third_party/libjpeg/jcmainct.c JSAMPARRAY buffer[MAX_COMPONENTS]; buffer 124 third_party/libjpeg/jcmainct.c main->buffer, &main->rowgroup_ctr, buffer 135 third_party/libjpeg/jcmainct.c if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { buffer 183 third_party/libjpeg/jcmainct.c main->buffer[ci] = (*cinfo->mem->access_virt_sarray) buffer 200 third_party/libjpeg/jcmainct.c main->buffer, &main->rowgroup_ctr, buffer 209 third_party/libjpeg/jcmainct.c if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { buffer 287 third_party/libjpeg/jcmainct.c main->buffer[ci] = (*cinfo->mem->alloc_sarray) buffer 29 third_party/libjpeg/jdatadst.c JOCTET * buffer; /* start of buffer */ buffer 48 third_party/libjpeg/jdatadst.c dest->buffer = (JOCTET *) buffer 52 third_party/libjpeg/jdatadst.c dest->pub.next_output_byte = dest->buffer; buffer 85 third_party/libjpeg/jdatadst.c if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) != buffer 89 third_party/libjpeg/jdatadst.c dest->pub.next_output_byte = dest->buffer; buffer 113 third_party/libjpeg/jdatadst.c if (JFWRITE(dest->outfile, dest->buffer, datacount) != datacount) buffer 29 third_party/libjpeg/jdatasrc.c JOCTET * buffer; /* start of buffer */ buffer 95 third_party/libjpeg/jdatasrc.c nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); buffer 102 third_party/libjpeg/jdatasrc.c src->buffer[0] = (JOCTET) 0xFF; buffer 103 third_party/libjpeg/jdatasrc.c src->buffer[1] = (JOCTET) JPEG_EOI; buffer 107 third_party/libjpeg/jdatasrc.c src->pub.next_input_byte = src->buffer; buffer 198 third_party/libjpeg/jdatasrc.c src->buffer = (JOCTET *) buffer 250 third_party/libjpeg/jdcoefct.c JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; buffer 257 third_party/libjpeg/jdcoefct.c buffer[ci] = (*cinfo->mem->access_virt_barray) buffer 278 third_party/libjpeg/jdcoefct.c buffer_ptr = buffer[ci][yindex+yoffset] + start_col; buffer 321 third_party/libjpeg/jdcoefct.c JBLOCKARRAY buffer; buffer 343 third_party/libjpeg/jdcoefct.c buffer = (*cinfo->mem->access_virt_barray) buffer 359 third_party/libjpeg/jdcoefct.c buffer_ptr = buffer[block_row]; buffer 467 third_party/libjpeg/jdcoefct.c JBLOCKARRAY buffer; buffer 519 third_party/libjpeg/jdcoefct.c buffer = (*cinfo->mem->access_virt_barray) buffer 523 third_party/libjpeg/jdcoefct.c buffer += compptr->v_samp_factor; /* point to current iMCU row */ buffer 526 third_party/libjpeg/jdcoefct.c buffer = (*cinfo->mem->access_virt_barray) buffer 544 third_party/libjpeg/jdcoefct.c buffer_ptr = buffer[block_row]; buffer 548 third_party/libjpeg/jdcoefct.c prev_block_row = buffer[block_row-1]; buffer 552 third_party/libjpeg/jdcoefct.c next_block_row = buffer[block_row+1]; buffer 723 third_party/libjpeg/jdcoefct.c JBLOCKROW buffer; buffer 726 third_party/libjpeg/jdcoefct.c buffer = (JBLOCKROW) buffer 730 third_party/libjpeg/jdcoefct.c coef->MCU_buffer[i] = buffer + i; buffer 118 third_party/libjpeg/jdmainct.c JSAMPARRAY buffer[MAX_COMPONENTS]; buffer 216 third_party/libjpeg/jdmainct.c buf = main->buffer[ci]; buffer 354 third_party/libjpeg/jdmainct.c if (! (*cinfo->coef->decompress_data) (cinfo, main->buffer)) buffer 367 third_party/libjpeg/jdmainct.c (*cinfo->post->post_process_data) (cinfo, main->buffer, buffer 507 third_party/libjpeg/jdmainct.c main->buffer[ci] = (*cinfo->mem->alloc_sarray) buffer 35 third_party/libjpeg/jdpostct.c JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */ buffer 86 third_party/libjpeg/jdpostct.c if (post->buffer == NULL) { buffer 87 third_party/libjpeg/jdpostct.c post->buffer = (*cinfo->mem->access_virt_sarray) buffer 143 third_party/libjpeg/jdpostct.c post->buffer, &num_rows, max_rows); buffer 146 third_party/libjpeg/jdpostct.c post->buffer, output_buf + *out_row_ctr, (int) num_rows); buffer 169 third_party/libjpeg/jdpostct.c post->buffer = (*cinfo->mem->access_virt_sarray) buffer 178 third_party/libjpeg/jdpostct.c post->buffer, &post->next_row, post->strip_height); buffer 184 third_party/libjpeg/jdpostct.c (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + old_next_row, buffer 213 third_party/libjpeg/jdpostct.c post->buffer = (*cinfo->mem->access_virt_sarray) buffer 230 third_party/libjpeg/jdpostct.c post->buffer + post->next_row, output_buf + *out_row_ctr, buffer 260 third_party/libjpeg/jdpostct.c post->buffer = NULL; /* flag for no strip buffer */ buffer 284 third_party/libjpeg/jdpostct.c post->buffer = (*cinfo->mem->alloc_sarray) buffer 100 third_party/libjpeg/jerror.c char buffer[JMSG_LENGTH_MAX]; buffer 103 third_party/libjpeg/jerror.c (*cinfo->err->format_message) (cinfo, buffer); buffer 107 third_party/libjpeg/jerror.c MessageBox(GetActiveWindow(), buffer, "JPEG Library Error", buffer 111 third_party/libjpeg/jerror.c fprintf(stderr, "%s\n", buffer); buffer 157 third_party/libjpeg/jerror.c format_message (j_common_ptr cinfo, char * buffer) buffer 193 third_party/libjpeg/jerror.c sprintf(buffer, msgtext, err->msg_parm.s); buffer 195 third_party/libjpeg/jerror.c sprintf(buffer, msgtext, buffer 655 third_party/libjpeg/jpeglib.h JMETHOD(void, format_message, (j_common_ptr cinfo, char * buffer)); buffer 86 third_party/liblouis/overrides/liblouis/compileTranslationTable.c char *buffer = NULL; buffer 90 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer = reallocWrapper (buffer, size <<= 1); buffer 93 third_party/liblouis/overrides/liblouis/compileTranslationTable.c DWORD length = GetModuleFileName (handle, buffer, size); buffer 104 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[length] = 0; buffer 105 third_party/liblouis/overrides/liblouis/compileTranslationTable.c path = strdupWrapper (buffer); buffer 118 third_party/liblouis/overrides/liblouis/compileTranslationTable.c free (buffer); buffer 692 third_party/liblouis/overrides/liblouis/compileTranslationTable.c char buffer[MAXSTRING]; buffer 696 third_party/liblouis/overrides/liblouis/compileTranslationTable.c (void) _vsnprintf (buffer, sizeof (buffer), format, arguments); buffer 698 third_party/liblouis/overrides/liblouis/compileTranslationTable.c (void) vsnprintf (buffer, sizeof (buffer), format, arguments); buffer 703 third_party/liblouis/overrides/liblouis/compileTranslationTable.c nested->lineNumber, buffer); buffer 705 third_party/liblouis/overrides/liblouis/compileTranslationTable.c lou_logPrint ("error: %s", buffer); buffer 714 third_party/liblouis/overrides/liblouis/compileTranslationTable.c char buffer[MAXSTRING]; buffer 718 third_party/liblouis/overrides/liblouis/compileTranslationTable.c (void) _vsnprintf (buffer, sizeof (buffer), format, arguments); buffer 720 third_party/liblouis/overrides/liblouis/compileTranslationTable.c (void) vsnprintf (buffer, sizeof (buffer), format, arguments); buffer 725 third_party/liblouis/overrides/liblouis/compileTranslationTable.c nested->lineNumber, buffer); buffer 727 third_party/liblouis/overrides/liblouis/compileTranslationTable.c lou_logPrint ("warning: %s", buffer); buffer 993 third_party/liblouis/overrides/liblouis/compileTranslationTable.c static char buffer[20]; buffer 995 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[0] = '\\'; buffer 997 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '1'; buffer 999 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '2'; buffer 1001 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '3'; buffer 1003 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '4'; buffer 1005 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '5'; buffer 1007 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '6'; buffer 1009 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '7'; buffer 1011 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '8'; buffer 1013 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '9'; buffer 1015 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = 'A'; buffer 1017 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = 'B'; buffer 1019 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = 'C'; buffer 1021 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = 'D'; buffer 1023 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = 'E'; buffer 1025 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = 'F'; buffer 1026 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k++] = '/'; buffer 1027 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k] = 0; buffer 1028 third_party/liblouis/overrides/liblouis/compileTranslationTable.c return buffer; buffer 4678 third_party/liblouis/overrides/liblouis/compileTranslationTable.c char buffer[MAXSTRING]; buffer 4691 third_party/liblouis/overrides/liblouis/compileTranslationTable.c strcpy (buffer, newList); buffer 4694 third_party/liblouis/overrides/liblouis/compileTranslationTable.c strcat (buffer, "lang2table"); buffer 4695 third_party/liblouis/overrides/liblouis/compileTranslationTable.c l2t = fopen (buffer, "r"); buffer 4698 third_party/liblouis/overrides/liblouis/compileTranslationTable.c while ((fgets (buffer, sizeof (buffer) - 2, l2t))) buffer 4703 third_party/liblouis/overrides/liblouis/compileTranslationTable.c for (k = 0; buffer[k] < 32; k++); buffer 4704 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (buffer[k] == '#' || buffer[k] < 32) buffer 4706 third_party/liblouis/overrides/liblouis/compileTranslationTable.c codeInFile = &buffer[k]; buffer 4708 third_party/liblouis/overrides/liblouis/compileTranslationTable.c while (buffer[k] > 32) buffer 4716 third_party/liblouis/overrides/liblouis/compileTranslationTable.c while (buffer[k] < 32) buffer 4718 third_party/liblouis/overrides/liblouis/compileTranslationTable.c tableInFile = &buffer[k]; buffer 4719 third_party/liblouis/overrides/liblouis/compileTranslationTable.c while (buffer[k] > 32) buffer 4721 third_party/liblouis/overrides/liblouis/compileTranslationTable.c buffer[k] = 0; buffer 5028 third_party/liblouis/overrides/liblouis/compileTranslationTable.c liblouis_allocMem (AllocBuf buffer, int srcmax, int destmax) buffer 5034 third_party/liblouis/overrides/liblouis/compileTranslationTable.c switch (buffer) buffer 2129 third_party/libpng/png.h png_infop info_ptr, png_bytep buffer, png_size_t buffer_size)); buffer 3167 third_party/libpng/png.h png_bytep buffer, png_size_t length)) PNG_PRIVATE; buffer 3182 third_party/libpng/png.h png_bytep buffer, png_size_t length)) PNG_PRIVATE; buffer 3674 third_party/libpng/png.h png_bytep buffer, png_size_t buffer_length)) PNG_PRIVATE; buffer 3677 third_party/libpng/png.h png_bytep buffer, png_size_t buffer_length)) PNG_PRIVATE; buffer 162 third_party/libpng/pngerror.c png_format_buffer(png_structp png_ptr, png_charp buffer, png_const_charp buffer 172 third_party/libpng/pngerror.c buffer[iout++] = PNG_LITERAL_LEFT_SQUARE_BRACKET; buffer 173 third_party/libpng/pngerror.c buffer[iout++] = png_digit[(c & 0xf0) >> 4]; buffer 174 third_party/libpng/pngerror.c buffer[iout++] = png_digit[c & 0x0f]; buffer 175 third_party/libpng/pngerror.c buffer[iout++] = PNG_LITERAL_RIGHT_SQUARE_BRACKET; buffer 179 third_party/libpng/pngerror.c buffer[iout++] = (png_byte)c; buffer 184 third_party/libpng/pngerror.c buffer[iout] = '\0'; buffer 187 third_party/libpng/pngerror.c buffer[iout++] = ':'; buffer 188 third_party/libpng/pngerror.c buffer[iout++] = ' '; buffer 192 third_party/libpng/pngerror.c buffer[iout++] = error_message[iin++]; buffer 195 third_party/libpng/pngerror.c buffer[iout] = '\0'; buffer 32 third_party/libpng/pngpread.c png_bytep buffer, png_size_t buffer_size) buffer 37 third_party/libpng/pngpread.c png_push_restore_buffer(png_ptr, buffer, buffer_size); buffer 631 third_party/libpng/pngpread.c png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) buffer 638 third_party/libpng/pngpread.c ptr = buffer; buffer 728 third_party/libpng/pngpread.c png_push_restore_buffer(png_structp png_ptr, png_bytep buffer, buffer 731 third_party/libpng/pngpread.c png_ptr->current_buffer = buffer; buffer 832 third_party/libpng/pngpread.c png_process_IDAT_data(png_structp png_ptr, png_bytep buffer, buffer 836 third_party/libpng/pngpread.c if (!(buffer_length > 0) || buffer == NULL) buffer 843 third_party/libpng/pngpread.c png_ptr->zstream.next_in = buffer; buffer 100 third_party/libusb/src/libusb/descriptor.c struct libusb_endpoint_descriptor *endpoint, unsigned char *buffer, buffer 115 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bb", &header, 0); buffer 127 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbbbwbbb", endpoint, host_endian); buffer 129 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbbbwb", endpoint, host_endian); buffer 135 third_party/libusb/src/libusb/descriptor.c buffer += header.bLength; buffer 141 third_party/libusb/src/libusb/descriptor.c begin = buffer; buffer 143 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bb", &header, 0); buffer 162 third_party/libusb/src/libusb/descriptor.c buffer += header.bLength; buffer 169 third_party/libusb/src/libusb/descriptor.c len = (int)(buffer - begin); buffer 215 third_party/libusb/src/libusb/descriptor.c struct libusb_interface *usb_interface, unsigned char *buffer, int size, buffer 243 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbbbbbbbb", ifp, 0); buffer 275 third_party/libusb/src/libusb/descriptor.c buffer += ifp->bLength; buffer 279 third_party/libusb/src/libusb/descriptor.c begin = buffer; buffer 283 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bb", &header, 0); buffer 304 third_party/libusb/src/libusb/descriptor.c buffer += header.bLength; buffer 311 third_party/libusb/src/libusb/descriptor.c len = (int)(buffer - begin); buffer 334 third_party/libusb/src/libusb/descriptor.c r = parse_endpoint(ctx, endpoint + i, buffer, size, buffer 343 third_party/libusb/src/libusb/descriptor.c buffer += r; buffer 350 third_party/libusb/src/libusb/descriptor.c ifp = (struct libusb_interface_descriptor *) buffer; buffer 377 third_party/libusb/src/libusb/descriptor.c struct libusb_config_descriptor *config, unsigned char *buffer, buffer 392 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbwbbbbb", config, host_endian); buffer 419 third_party/libusb/src/libusb/descriptor.c buffer += config->bLength; buffer 431 third_party/libusb/src/libusb/descriptor.c begin = buffer; buffer 433 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bb", &header, 0); buffer 457 third_party/libusb/src/libusb/descriptor.c buffer += header.bLength; buffer 463 third_party/libusb/src/libusb/descriptor.c len = (int)(buffer - begin); buffer 478 third_party/libusb/src/libusb/descriptor.c r = parse_interface(ctx, usb_interface + i, buffer, size, host_endian); buffer 486 third_party/libusb/src/libusb/descriptor.c buffer += r; buffer 768 third_party/libusb/src/libusb/descriptor.c const unsigned char *buffer = endpoint->extra; buffer 773 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bb", &header, 0); buffer 780 third_party/libusb/src/libusb/descriptor.c buffer += header.bLength; buffer 792 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbbbw", *ep_comp, 0); buffer 814 third_party/libusb/src/libusb/descriptor.c unsigned char *buffer, int size, int host_endian) buffer 826 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbwb", &bos_header, host_endian); buffer 847 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbwb", _bos, host_endian); buffer 848 third_party/libusb/src/libusb/descriptor.c buffer += bos_header.bLength; buffer 858 third_party/libusb/src/libusb/descriptor.c usbi_parse_descriptor(buffer, "bbb", &dev_cap, host_endian); buffer 881 third_party/libusb/src/libusb/descriptor.c memcpy(_bos->dev_capability[i], buffer, dev_cap.bLength); buffer 882 third_party/libusb/src/libusb/descriptor.c buffer += dev_cap.bLength; buffer 1358 third_party/libusb/src/libusb/io.c if (transfer->flags & LIBUSB_TRANSFER_FREE_BUFFER && transfer->buffer) buffer 1359 third_party/libusb/src/libusb/io.c free(transfer->buffer); buffer 1252 third_party/libusb/src/libusb/libusb.h unsigned char *buffer; buffer 1419 third_party/libusb/src/libusb/libusb.h return transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; buffer 1437 third_party/libusb/src/libusb/libusb.h return (struct libusb_control_setup *)(void *) transfer->buffer; buffer 1463 third_party/libusb/src/libusb/libusb.h static inline void libusb_fill_control_setup(unsigned char *buffer, buffer 1467 third_party/libusb/src/libusb/libusb.h struct libusb_control_setup *setup = (struct libusb_control_setup *)(void *) buffer; buffer 1510 third_party/libusb/src/libusb/libusb.h unsigned char *buffer, libusb_transfer_cb_fn callback, void *user_data, buffer 1513 third_party/libusb/src/libusb/libusb.h struct libusb_control_setup *setup = (struct libusb_control_setup *)(void *) buffer; buffer 1518 third_party/libusb/src/libusb/libusb.h transfer->buffer = buffer; buffer 1541 third_party/libusb/src/libusb/libusb.h unsigned char *buffer, int length, libusb_transfer_cb_fn callback, buffer 1548 third_party/libusb/src/libusb/libusb.h transfer->buffer = buffer; buffer 1569 third_party/libusb/src/libusb/libusb.h unsigned char endpoint, unsigned char *buffer, int length, buffer 1576 third_party/libusb/src/libusb/libusb.h transfer->buffer = buffer; buffer 1598 third_party/libusb/src/libusb/libusb.h unsigned char *buffer, int length, int num_iso_packets, buffer 1605 third_party/libusb/src/libusb/libusb.h transfer->buffer = buffer; buffer 1664 third_party/libusb/src/libusb/libusb.h return transfer->buffer + offset; buffer 1701 third_party/libusb/src/libusb/libusb.h return transfer->buffer + ((int) transfer->iso_packet_desc[0].length * _packet); buffer 650 third_party/libusb/src/libusb/libusbi.h unsigned char *buffer, int *host_endian); buffer 673 third_party/libusb/src/libusb/libusbi.h unsigned char *buffer, size_t len, int *host_endian); buffer 697 third_party/libusb/src/libusb/libusbi.h uint8_t config_index, unsigned char *buffer, size_t len, buffer 713 third_party/libusb/src/libusb/libusbi.h uint8_t bConfigurationValue, unsigned char **buffer, buffer 63 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian); buffer 456 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) { buffer 460 third_party/libusb/src/libusb/os/darwin_usb.c memmove (buffer, &(priv->dev_descriptor), DEVICE_DESC_LENGTH); buffer 489 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) { buffer 500 third_party/libusb/src/libusb/os/darwin_usb.c return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian); buffer 503 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) { buffer 518 third_party/libusb/src/libusb/os/darwin_usb.c memmove (buffer, desc, len); buffer 589 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_request_descriptor (usb_device_t **device, UInt8 desc, UInt8 desc_index, void *buffer, size_t buffer_size) { buffer 592 third_party/libusb/src/libusb/os/darwin_usb.c memset (buffer, 0, buffer_size); buffer 600 third_party/libusb/src/libusb/os/darwin_usb.c req.pData = buffer; buffer 1468 third_party/libusb/src/libusb/os/darwin_usb.c ret = (*(cInterface->interface))->ReadPipeAsync(cInterface->interface, pipeRef, transfer->buffer, buffer 1471 third_party/libusb/src/libusb/os/darwin_usb.c ret = (*(cInterface->interface))->WritePipeAsync(cInterface->interface, pipeRef, transfer->buffer, buffer 1477 third_party/libusb/src/libusb/os/darwin_usb.c ret = (*(cInterface->interface))->ReadPipeAsyncTO(cInterface->interface, pipeRef, transfer->buffer, buffer 1481 third_party/libusb/src/libusb/os/darwin_usb.c ret = (*(cInterface->interface))->WritePipeAsyncTO(cInterface->interface, pipeRef, transfer->buffer, buffer 1558 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(cInterface->interface))->ReadIsochPipeAsync(cInterface->interface, pipeRef, transfer->buffer, frame, buffer 1562 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(cInterface->interface))->WriteIsochPipeAsync(cInterface->interface, pipeRef, transfer->buffer, frame, buffer 1585 third_party/libusb/src/libusb/os/darwin_usb.c struct libusb_control_setup *setup = (struct libusb_control_setup *) transfer->buffer; buffer 1602 third_party/libusb/src/libusb/os/darwin_usb.c tpriv->req.pData = transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; buffer 1740 third_party/libusb/src/libusb/os/darwin_usb.c (*(cInterface->interface))->WritePipe (cInterface->interface, pipeRef, transfer->buffer, 0); buffer 180 third_party/libusb/src/libusb/os/linux_netlink.c static const char *netlink_message_parse (const char *buffer, size_t len, const char *key) buffer 185 third_party/libusb/src/libusb/os/linux_netlink.c for (offset = 0 ; offset < len && '\0' != buffer[offset] ; offset += strlen(buffer + offset) + 1) { buffer 186 third_party/libusb/src/libusb/os/linux_netlink.c if (0 == strncmp(buffer + offset, key, keylen) && buffer 187 third_party/libusb/src/libusb/os/linux_netlink.c '=' == buffer[offset + keylen]) { buffer 188 third_party/libusb/src/libusb/os/linux_netlink.c return buffer + offset + keylen + 1; buffer 196 third_party/libusb/src/libusb/os/linux_netlink.c static int linux_netlink_parse(char *buffer, size_t len, int *detached, const char **sys_name, buffer 208 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse((const char *) buffer, len, "ACTION"); buffer 219 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "SUBSYSTEM"); buffer 225 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "BUSNUM"); buffer 237 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "DEVNUM"); buffer 248 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "DEVPATH"); buffer 266 third_party/libusb/src/libusb/os/linux_netlink.c unsigned char buffer[1024]; buffer 267 third_party/libusb/src/libusb/os/linux_netlink.c struct iovec iov = {.iov_base = buffer, .iov_len = sizeof(buffer)}; buffer 276 third_party/libusb/src/libusb/os/linux_netlink.c memset(buffer, 0, sizeof(buffer)); buffer 286 third_party/libusb/src/libusb/os/linux_netlink.c r = linux_netlink_parse(buffer, len, &detached, &sys_name, buffer 553 third_party/libusb/src/libusb/os/linux_usbfs.c unsigned char *buffer, int *host_endian) buffer 558 third_party/libusb/src/libusb/os/linux_usbfs.c memcpy(buffer, priv->descriptors, DEVICE_DESC_LENGTH); buffer 654 third_party/libusb/src/libusb/os/linux_usbfs.c uint8_t descriptor_type, unsigned char *buffer, int size) buffer 667 third_party/libusb/src/libusb/os/linux_usbfs.c usbi_parse_descriptor(buffer + i, "bb", &header, 0); buffer 678 third_party/libusb/src/libusb/os/linux_usbfs.c unsigned char *buffer, int size) buffer 691 third_party/libusb/src/libusb/os/linux_usbfs.c usbi_parse_descriptor(buffer, "bbwbbbbb", &config, 0); buffer 708 third_party/libusb/src/libusb/os/linux_usbfs.c buffer, size); buffer 733 third_party/libusb/src/libusb/os/linux_usbfs.c uint8_t value, unsigned char **buffer, int *host_endian) buffer 741 third_party/libusb/src/libusb/os/linux_usbfs.c *buffer = NULL; buffer 756 third_party/libusb/src/libusb/os/linux_usbfs.c *buffer = descriptors; buffer 765 third_party/libusb/src/libusb/os/linux_usbfs.c unsigned char *buffer, size_t len, int *host_endian) buffer 788 third_party/libusb/src/libusb/os/linux_usbfs.c memcpy(buffer, config_desc, len); buffer 793 third_party/libusb/src/libusb/os/linux_usbfs.c uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) buffer 818 third_party/libusb/src/libusb/os/linux_usbfs.c memcpy(buffer, descriptors, len); buffer 1780 third_party/libusb/src/libusb/os/linux_usbfs.c urb->buffer = transfer->buffer + (i * bulk_buffer_len); buffer 1870 third_party/libusb/src/libusb/os/linux_usbfs.c unsigned char *urb_buffer = transfer->buffer; buffer 1957 third_party/libusb/src/libusb/os/linux_usbfs.c urb->buffer = urb_buffer_orig; buffer 2035 third_party/libusb/src/libusb/os/linux_usbfs.c urb->buffer = transfer->buffer; buffer 2164 third_party/libusb/src/libusb/os/linux_usbfs.c unsigned char *target = transfer->buffer + itransfer->transferred; buffer 2166 third_party/libusb/src/libusb/os/linux_usbfs.c if (urb->buffer != target) { buffer 2168 third_party/libusb/src/libusb/os/linux_usbfs.c (unsigned char *) urb->buffer - transfer->buffer, buffer 2169 third_party/libusb/src/libusb/os/linux_usbfs.c target - transfer->buffer); buffer 2170 third_party/libusb/src/libusb/os/linux_usbfs.c memmove(target, urb->buffer, urb->actual_length); buffer 93 third_party/libusb/src/libusb/os/linux_usbfs.h void *buffer; buffer 689 third_party/libusb/src/libusb/os/openbsd_usb.c setup = (struct libusb_control_setup *)transfer->buffer; buffer 704 third_party/libusb/src/libusb/os/openbsd_usb.c req.ucr_data = transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; buffer 802 third_party/libusb/src/libusb/os/openbsd_usb.c nr = read(fd, transfer->buffer, transfer->length); buffer 804 third_party/libusb/src/libusb/os/openbsd_usb.c nr = write(fd, transfer->buffer, transfer->length); buffer 428 third_party/libusb/src/libusb/os/wince_usb.c unsigned char *buffer, int *host_endian) buffer 433 third_party/libusb/src/libusb/os/wince_usb.c memcpy(buffer, &priv->desc, DEVICE_DESC_LENGTH); buffer 439 third_party/libusb/src/libusb/os/wince_usb.c unsigned char *buffer, size_t len, int *host_endian) buffer 444 third_party/libusb/src/libusb/os/wince_usb.c if (!UkwGetConfigDescriptor(priv->dev, UKW_ACTIVE_CONFIGURATION, buffer, len, &actualSize)) { buffer 453 third_party/libusb/src/libusb/os/wince_usb.c unsigned char *buffer, size_t len, int *host_endian) buffer 458 third_party/libusb/src/libusb/os/wince_usb.c if (!UkwGetConfigDescriptor(priv->dev, config_index, buffer, len, &actualSize)) { buffer 632 third_party/libusb/src/libusb/os/wince_usb.c setup = (PUKW_CONTROL_HEADER) transfer->buffer; buffer 656 third_party/libusb/src/libusb/os/wince_usb.c PVOID buf = (PVOID) &transfer->buffer[sizeof(UKW_CONTROL_HEADER)]; buffer 660 third_party/libusb/src/libusb/os/wince_usb.c ret = UkwIssueBulkTransfer(priv->dev, flags, transfer->endpoint, transfer->buffer, buffer 46 third_party/libusb/src/libusb/os/windows_usb.c static int windows_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian); buffer 1739 third_party/libusb/src/libusb/os/windows_usb.c static int windows_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) buffer 1743 third_party/libusb/src/libusb/os/windows_usb.c memcpy(buffer, &(priv->dev_descriptor), DEVICE_DESC_LENGTH); buffer 1749 third_party/libusb/src/libusb/os/windows_usb.c static int windows_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) buffer 1765 third_party/libusb/src/libusb/os/windows_usb.c memcpy(buffer, priv->config_descriptor[config_index], size); buffer 1774 third_party/libusb/src/libusb/os/windows_usb.c static int windows_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) buffer 1782 third_party/libusb/src/libusb/os/windows_usb.c return windows_get_config_descriptor(dev, (uint8_t)(priv->active_config-1), buffer, len, host_endian); buffer 2869 third_party/libusb/src/libusb/os/windows_usb.c WINUSB_SETUP_PACKET *setup = (WINUSB_SETUP_PACKET *) transfer->buffer; buffer 2910 third_party/libusb/src/libusb/os/windows_usb.c if (!WinUSBX[sub_api].ControlTransfer(wfd.handle, *setup, transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE, size, NULL, wfd.overlapped)) { buffer 2990 third_party/libusb/src/libusb/os/windows_usb.c ret = WinUSBX[sub_api].ReadPipe(wfd.handle, transfer->endpoint, transfer->buffer, transfer->length, NULL, wfd.overlapped); buffer 2993 third_party/libusb/src/libusb/os/windows_usb.c ret = WinUSBX[sub_api].WritePipe(wfd.handle, transfer->endpoint, transfer->buffer, transfer->length, NULL, wfd.overlapped); buffer 3886 third_party/libusb/src/libusb/os/windows_usb.c WINUSB_SETUP_PACKET *setup = (WINUSB_SETUP_PACKET *) transfer->buffer; buffer 3924 third_party/libusb/src/libusb/os/windows_usb.c (setup->value >> 8) & 0xFF, setup->value & 0xFF, transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE, &size); buffer 3930 third_party/libusb/src/libusb/os/windows_usb.c ((uint8_t*)transfer->buffer)[LIBUSB_CONTROL_SETUP_SIZE] = (uint8_t)config; buffer 3944 third_party/libusb/src/libusb/os/windows_usb.c ((uint8_t*)transfer->buffer)[LIBUSB_CONTROL_SETUP_SIZE] = 0; buffer 3961 third_party/libusb/src/libusb/os/windows_usb.c setup->index, transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE, transfer_priv, buffer 4041 third_party/libusb/src/libusb/os/windows_usb.c transfer_priv->hid_dest = transfer->buffer; buffer 4046 third_party/libusb/src/libusb/os/windows_usb.c memcpy(transfer_priv->hid_buffer+1, transfer->buffer, transfer->length); buffer 4049 third_party/libusb/src/libusb/os/windows_usb.c memcpy(transfer_priv->hid_buffer, transfer->buffer, transfer->length); buffer 46 third_party/libusb/src/libusb/os/windows_usb.h extern int _snprintf(char *buffer, size_t count, const char *format, ...); buffer 95 third_party/libusb/src/libusb/sync.c unsigned char *buffer; buffer 102 third_party/libusb/src/libusb/sync.c buffer = (unsigned char*) malloc(LIBUSB_CONTROL_SETUP_SIZE + wLength); buffer 103 third_party/libusb/src/libusb/sync.c if (!buffer) { buffer 108 third_party/libusb/src/libusb/sync.c libusb_fill_control_setup(buffer, bmRequestType, bRequest, wValue, wIndex, buffer 111 third_party/libusb/src/libusb/sync.c memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength); buffer 113 third_party/libusb/src/libusb/sync.c libusb_fill_control_transfer(transfer, dev_handle, buffer, buffer 159 third_party/libusb/src/libusb/sync.c unsigned char endpoint, unsigned char *buffer, int length, buffer 169 third_party/libusb/src/libusb/sync.c libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length, buffer 36 third_party/libva/va/egl/va_backend_egl.h void **buffer buffer 51 third_party/libva/va/sysdeps.h # define va_log_error(buffer) do { ALOGE("%s", buffer); } while (0) buffer 52 third_party/libva/va/sysdeps.h # define va_log_info(buffer) do { ALOGI("%s", buffer); } while (0) buffer 54 third_party/libva/va/sysdeps.h # define va_log_error(buffer) do { LOGE("%s", buffer); } while (0) buffer 55 third_party/libva/va/sysdeps.h # define va_log_info(buffer) do { LOGI("%s", buffer); } while (0) buffer 60 third_party/libva/va/sysdeps.h #define va_log_error(buffer) do { \ buffer 61 third_party/libva/va/sysdeps.h fprintf(stderr, "libva error: %s", buffer); \ buffer 66 third_party/libva/va/sysdeps.h #define va_log_info(buffer) do { \ buffer 67 third_party/libva/va/sysdeps.h fprintf(stderr, "libva info: %s", buffer); \ buffer 385 third_party/libva/va/va_backend.h void **buffer /* if it is not NULL, map the surface buffer for buffer 36 third_party/libwebp/dec/buffer.c static VP8StatusCode CheckDecBuffer(const WebPDecBuffer* const buffer) { buffer 38 third_party/libwebp/dec/buffer.c const WEBP_CSP_MODE mode = buffer->colorspace; buffer 39 third_party/libwebp/dec/buffer.c const int width = buffer->width; buffer 40 third_party/libwebp/dec/buffer.c const int height = buffer->height; buffer 44 third_party/libwebp/dec/buffer.c const WebPYUVABuffer* const buf = &buffer->u.YUVA; buffer 64 third_party/libwebp/dec/buffer.c const WebPRGBABuffer* const buf = &buffer->u.RGBA; buffer 73 third_party/libwebp/dec/buffer.c static VP8StatusCode AllocateBuffer(WebPDecBuffer* const buffer) { buffer 74 third_party/libwebp/dec/buffer.c const int w = buffer->width; buffer 75 third_party/libwebp/dec/buffer.c const int h = buffer->height; buffer 76 third_party/libwebp/dec/buffer.c const WEBP_CSP_MODE mode = buffer->colorspace; buffer 82 third_party/libwebp/dec/buffer.c if (!buffer->is_external_memory && buffer->private_memory == NULL) { buffer 106 third_party/libwebp/dec/buffer.c buffer->private_memory = output; buffer 109 third_party/libwebp/dec/buffer.c WebPYUVABuffer* const buf = &buffer->u.YUVA; buffer 125 third_party/libwebp/dec/buffer.c WebPRGBABuffer* const buf = &buffer->u.RGBA; buffer 131 third_party/libwebp/dec/buffer.c return CheckDecBuffer(buffer); buffer 170 third_party/libwebp/dec/buffer.c int WebPInitDecBufferInternal(WebPDecBuffer* buffer, int version) { buffer 174 third_party/libwebp/dec/buffer.c if (buffer == NULL) return 0; buffer 175 third_party/libwebp/dec/buffer.c memset(buffer, 0, sizeof(*buffer)); buffer 179 third_party/libwebp/dec/buffer.c void WebPFreeDecBuffer(WebPDecBuffer* buffer) { buffer 180 third_party/libwebp/dec/buffer.c if (buffer != NULL) { buffer 181 third_party/libwebp/dec/buffer.c if (!buffer->is_external_memory) buffer 182 third_party/libwebp/dec/buffer.c free(buffer->private_memory); buffer 183 third_party/libwebp/dec/buffer.c buffer->private_memory = NULL; buffer 98 third_party/libwebp/dec/webpi.h WebPDecBuffer* const buffer); buffer 90 third_party/libwebp/enc/alpha.c const uint8_t* const buffer = VP8LBitWriterFinish(&tmp_bw); buffer 92 third_party/libwebp/enc/alpha.c VP8BitWriterAppend(bw, buffer, buffer_size); buffer 271 third_party/libwebp/enc/syntax.c uint8_t buffer[KTRAILER_SIZE]; buffer 276 third_party/libwebp/enc/syntax.c PutLE24(buffer + 0, enc->layer_data_size_); buffer 277 third_party/libwebp/enc/syntax.c buffer[3] = enc->pic_->colorspace & WEBP_CSP_UV_MASK; buffer 287 third_party/libwebp/enc/syntax.c buffer[KTRAILER_SIZE - 1] = 0x01; // marker buffer 288 third_party/libwebp/enc/syntax.c if (!VP8BitWriterAppend(bw, buffer, KTRAILER_SIZE)) { buffer 309 third_party/libwebp/utils/bit_reader.h const uint8_t* const buffer, size_t length); buffer 214 third_party/libwebp/webp/decode.h static WEBP_INLINE int WebPInitDecBuffer(WebPDecBuffer* buffer) { buffer 215 third_party/libwebp/webp/decode.h return WebPInitDecBufferInternal(buffer, WEBP_DECODER_ABI_VERSION); buffer 220 third_party/libwebp/webp/decode.h WEBP_EXTERN(void) WebPFreeDecBuffer(WebPDecBuffer* buffer); buffer 542 third_party/libxml/src/HTMLparser.c char buffer[150]; buffer 545 third_party/libxml/src/HTMLparser.c snprintf(buffer, 149, "Bytes: 0x%02X 0x%02X 0x%02X 0x%02X\n", buffer 549 third_party/libxml/src/HTMLparser.c snprintf(buffer, 149, "Bytes: 0x%02X\n", ctxt->input->cur[0]); buffer 553 third_party/libxml/src/HTMLparser.c BAD_CAST buffer, NULL); buffer 1870 third_party/libxml/src/HTMLparser.c #define growBuffer(buffer) { \ buffer 1872 third_party/libxml/src/HTMLparser.c buffer##_size *= 2; \ buffer 1873 third_party/libxml/src/HTMLparser.c tmp = (xmlChar *) xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \ buffer 1876 third_party/libxml/src/HTMLparser.c xmlFree(buffer); \ buffer 1879 third_party/libxml/src/HTMLparser.c buffer = tmp; \ buffer 2494 third_party/libxml/src/HTMLparser.c xmlChar *buffer = NULL; buffer 2505 third_party/libxml/src/HTMLparser.c buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar)); buffer 2506 third_party/libxml/src/HTMLparser.c if (buffer == NULL) { buffer 2510 third_party/libxml/src/HTMLparser.c out = buffer; buffer 2537 third_party/libxml/src/HTMLparser.c if (out - buffer > buffer_size - 100) { buffer 2538 third_party/libxml/src/HTMLparser.c int indx = out - buffer; buffer 2540 third_party/libxml/src/HTMLparser.c growBuffer(buffer); buffer 2541 third_party/libxml/src/HTMLparser.c out = &buffer[indx]; buffer 2547 third_party/libxml/src/HTMLparser.c if (out - buffer > buffer_size - 100) { buffer 2548 third_party/libxml/src/HTMLparser.c int indx = out - buffer; buffer 2550 third_party/libxml/src/HTMLparser.c growBuffer(buffer); buffer 2551 third_party/libxml/src/HTMLparser.c out = &buffer[indx]; buffer 2557 third_party/libxml/src/HTMLparser.c if (out - buffer > buffer_size - 100) { buffer 2558 third_party/libxml/src/HTMLparser.c int indx = out - buffer; buffer 2560 third_party/libxml/src/HTMLparser.c growBuffer(buffer); buffer 2561 third_party/libxml/src/HTMLparser.c out = &buffer[indx]; buffer 2569 third_party/libxml/src/HTMLparser.c if (out - buffer > buffer_size - 100) { buffer 2570 third_party/libxml/src/HTMLparser.c int indx = out - buffer; buffer 2572 third_party/libxml/src/HTMLparser.c growBuffer(buffer); buffer 2573 third_party/libxml/src/HTMLparser.c out = &buffer[indx]; buffer 2594 third_party/libxml/src/HTMLparser.c if (out - buffer > buffer_size - 100) { buffer 2595 third_party/libxml/src/HTMLparser.c int indx = out - buffer; buffer 2597 third_party/libxml/src/HTMLparser.c growBuffer(buffer); buffer 2598 third_party/libxml/src/HTMLparser.c out = &buffer[indx]; buffer 2617 third_party/libxml/src/HTMLparser.c return(buffer); buffer 3508 third_party/libxml/src/HTMLparser.c (ctxt->input->buf->buffer != NULL)) { buffer 3516 third_party/libxml/src/HTMLparser.c xmlBufferShrink(ctxt->input->buf->buffer, processed); buffer 3518 third_party/libxml/src/HTMLparser.c ctxt->input->buf->buffer, buffer 3526 third_party/libxml/src/HTMLparser.c ctxt->input->cur = ctxt->input->buf->buffer->content; buffer 3528 third_party/libxml/src/HTMLparser.c &ctxt->input->base[ctxt->input->buf->buffer->use]; buffer 4853 third_party/libxml/src/HTMLparser.c htmlCreateMemoryParserCtxt(const char *buffer, int size) { buffer 4858 third_party/libxml/src/HTMLparser.c if (buffer == NULL) buffer 4867 third_party/libxml/src/HTMLparser.c buf = xmlParserInputBufferCreateMem(buffer, size, XML_CHAR_ENCODING_NONE); buffer 4878 third_party/libxml/src/HTMLparser.c input->base = input->buf->buffer->content; buffer 4879 third_party/libxml/src/HTMLparser.c input->cur = input->buf->buffer->content; buffer 4880 third_party/libxml/src/HTMLparser.c input->end = &input->buf->buffer->content[input->buf->buffer->use]; buffer 4997 third_party/libxml/src/HTMLparser.c buf = in->buf->buffer->content; buffer 4998 third_party/libxml/src/HTMLparser.c len = in->buf->buffer->use; buffer 5124 third_party/libxml/src/HTMLparser.c buf = in->buf->buffer->content; buffer 5125 third_party/libxml/src/HTMLparser.c len = in->buf->buffer->use; buffer 5234 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); buffer 5270 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); buffer 5312 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); buffer 5372 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); buffer 5413 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); buffer 5907 third_party/libxml/src/HTMLparser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; buffer 5917 third_party/libxml/src/HTMLparser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; buffer 5920 third_party/libxml/src/HTMLparser.c &ctxt->input->buf->buffer->content[ctxt->input->buf->buffer->use]; buffer 5926 third_party/libxml/src/HTMLparser.c if ((terminate) || (ctxt->input->buf->buffer->use > 80)) buffer 5932 third_party/libxml/src/HTMLparser.c if ((in->encoder != NULL) && (in->buffer != NULL) && buffer 5936 third_party/libxml/src/HTMLparser.c nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw); buffer 6035 third_party/libxml/src/HTMLparser.c inputStream->base = inputStream->buf->buffer->content; buffer 6036 third_party/libxml/src/HTMLparser.c inputStream->cur = inputStream->buf->buffer->content; buffer 6038 third_party/libxml/src/HTMLparser.c &inputStream->buf->buffer->content[inputStream->buf->buffer->use]; buffer 6044 third_party/libxml/src/HTMLparser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; buffer 6049 third_party/libxml/src/HTMLparser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; buffer 6052 third_party/libxml/src/HTMLparser.c &ctxt->input->buf->buffer->content[ctxt->input->buf->buffer->use]; buffer 6645 third_party/libxml/src/HTMLparser.c htmlReadMemory(const char *buffer, int size, const char *URL, const char *encoding, int options) buffer 6650 third_party/libxml/src/HTMLparser.c ctxt = xmlCreateMemoryParserCtxt(buffer, size); buffer 6825 third_party/libxml/src/HTMLparser.c htmlCtxtReadMemory(htmlParserCtxtPtr ctxt, const char *buffer, int size, buffer 6833 third_party/libxml/src/HTMLparser.c if (buffer == NULL) buffer 6838 third_party/libxml/src/HTMLparser.c input = xmlParserInputBufferCreateMem(buffer, size, XML_CHAR_ENCODING_NONE); buffer 422 third_party/libxml/src/HTMLtree.c outbuf->buffer = buf; buffer 597 third_party/libxml/src/HTMLtree.c *size = buf->buffer->use; buffer 598 third_party/libxml/src/HTMLtree.c *mem = xmlStrndup(buf->buffer->content, *size); buffer 649 third_party/libxml/src/HTMLtree.c xmlBufferWriteQuotedString(buf->buffer, cur->ExternalID); buffer 652 third_party/libxml/src/HTMLtree.c xmlBufferWriteQuotedString(buf->buffer, cur->SystemID); buffer 656 third_party/libxml/src/HTMLtree.c xmlBufferWriteQuotedString(buf->buffer, cur->SystemID); buffer 708 third_party/libxml/src/HTMLtree.c xmlBufferWriteQuotedString(buf->buffer, escaped); buffer 711 third_party/libxml/src/HTMLtree.c xmlBufferWriteQuotedString(buf->buffer, value); buffer 714 third_party/libxml/src/HTMLtree.c xmlBufferWriteQuotedString(buf->buffer, value); buffer 808 third_party/libxml/src/HTMLtree.c xmlChar *buffer; buffer 810 third_party/libxml/src/HTMLtree.c buffer = xmlEncodeEntitiesReentrant(doc, cur->content); buffer 811 third_party/libxml/src/HTMLtree.c if (buffer != NULL) { buffer 812 third_party/libxml/src/HTMLtree.c xmlOutputBufferWriteString(buf, (const char *)buffer); buffer 813 third_party/libxml/src/HTMLtree.c xmlFree(buffer); buffer 934 third_party/libxml/src/c14n.c xmlChar *buffer; buffer 953 third_party/libxml/src/c14n.c buffer = xmlC11NNormalizeAttr(value); buffer 955 third_party/libxml/src/c14n.c if (buffer != NULL) { buffer 956 third_party/libxml/src/c14n.c xmlOutputBufferWriteString(ctx->buf, (const char *) buffer); buffer 957 third_party/libxml/src/c14n.c xmlFree(buffer); buffer 1548 third_party/libxml/src/c14n.c xmlChar *buffer; buffer 1550 third_party/libxml/src/c14n.c buffer = xmlC11NNormalizeText(cur->content); buffer 1551 third_party/libxml/src/c14n.c if (buffer != NULL) { buffer 1553 third_party/libxml/src/c14n.c (const char *) buffer); buffer 1554 third_party/libxml/src/c14n.c xmlFree(buffer); buffer 1584 third_party/libxml/src/c14n.c xmlChar *buffer; buffer 1589 third_party/libxml/src/c14n.c buffer = xmlC11NNormalizePI(cur->content); buffer 1590 third_party/libxml/src/c14n.c if (buffer != NULL) { buffer 1592 third_party/libxml/src/c14n.c (const char *) buffer); buffer 1593 third_party/libxml/src/c14n.c xmlFree(buffer); buffer 1631 third_party/libxml/src/c14n.c xmlChar *buffer; buffer 1634 third_party/libxml/src/c14n.c buffer = xmlC11NNormalizeComment(cur->content); buffer 1635 third_party/libxml/src/c14n.c if (buffer != NULL) { buffer 1637 third_party/libxml/src/c14n.c (const char *) buffer); buffer 1638 third_party/libxml/src/c14n.c xmlFree(buffer); buffer 2036 third_party/libxml/src/c14n.c ret = buf->buffer->use; buffer 2038 third_party/libxml/src/c14n.c *doc_txt_ptr = xmlStrndup(buf->buffer->content, ret); buffer 2123 third_party/libxml/src/c14n.c buffer = (xmlChar *) \ buffer 2124 third_party/libxml/src/c14n.c xmlRealloc(buffer, buffer_size * sizeof(xmlChar)); \ buffer 2125 third_party/libxml/src/c14n.c if (buffer == NULL) { \ buffer 2148 third_party/libxml/src/c14n.c xmlChar *buffer = NULL; buffer 2159 third_party/libxml/src/c14n.c buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar)); buffer 2160 third_party/libxml/src/c14n.c if (buffer == NULL) { buffer 2164 third_party/libxml/src/c14n.c out = buffer; buffer 2167 third_party/libxml/src/c14n.c if ((out - buffer) > (buffer_size - 10)) { buffer 2168 third_party/libxml/src/c14n.c int indx = out - buffer; buffer 2171 third_party/libxml/src/c14n.c out = &buffer[indx]; buffer 2230 third_party/libxml/src/c14n.c return (buffer); buffer 915 third_party/libxml/src/catalog.c inputStream->base = inputStream->buf->buffer->content; buffer 916 third_party/libxml/src/catalog.c inputStream->cur = inputStream->buf->buffer->content; buffer 918 third_party/libxml/src/catalog.c &inputStream->buf->buffer->content[inputStream->buf->buffer->use]; buffer 2761 third_party/libxml/src/debugXML.c xmlShellPwd(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED, char *buffer, buffer 2766 third_party/libxml/src/debugXML.c if ((node == NULL) || (buffer == NULL)) buffer 2781 third_party/libxml/src/debugXML.c snprintf(buffer, 499, "%s", path); buffer 2782 third_party/libxml/src/debugXML.c buffer[499] = '0'; buffer 532 third_party/libxml/src/entities.c buffer = (xmlChar *) \ buffer 533 third_party/libxml/src/entities.c xmlRealloc(buffer, buffer_size * sizeof(xmlChar)); \ buffer 534 third_party/libxml/src/entities.c if (buffer == NULL) { \ buffer 556 third_party/libxml/src/entities.c xmlChar *buffer = NULL; buffer 569 third_party/libxml/src/entities.c buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar)); buffer 570 third_party/libxml/src/entities.c if (buffer == NULL) { buffer 574 third_party/libxml/src/entities.c out = buffer; buffer 577 third_party/libxml/src/entities.c if (out - buffer > buffer_size - 100) { buffer 578 third_party/libxml/src/entities.c int indx = out - buffer; buffer 581 third_party/libxml/src/entities.c out = &buffer[indx]; buffer 694 third_party/libxml/src/entities.c return(buffer); buffer 710 third_party/libxml/src/entities.c xmlChar *buffer = NULL; buffer 719 third_party/libxml/src/entities.c buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar)); buffer 720 third_party/libxml/src/entities.c if (buffer == NULL) { buffer 724 third_party/libxml/src/entities.c out = buffer; buffer 727 third_party/libxml/src/entities.c if (out - buffer > buffer_size - 10) { buffer 728 third_party/libxml/src/entities.c int indx = out - buffer; buffer 731 third_party/libxml/src/entities.c out = &buffer[indx]; buffer 776 third_party/libxml/src/entities.c return(buffer); buffer 112 third_party/libxml/src/include/libxml/HTMLparser.h htmlCreateMemoryParserCtxt(const char *buffer, buffer 204 third_party/libxml/src/include/libxml/HTMLparser.h htmlReadMemory (const char *buffer, buffer 234 third_party/libxml/src/include/libxml/HTMLparser.h const char *buffer, buffer 197 third_party/libxml/src/include/libxml/debugXML.h char *buffer, buffer 103 third_party/libxml/src/include/libxml/parser.h xmlParserNodeInfo* buffer; buffer 843 third_party/libxml/src/include/libxml/parser.h xmlParseMemory (const char *buffer, buffer 864 third_party/libxml/src/include/libxml/parser.h xmlRecoverMemory (const char *buffer, buffer 885 third_party/libxml/src/include/libxml/parser.h const char *buffer, buffer 893 third_party/libxml/src/include/libxml/parser.h const char *buffer, buffer 898 third_party/libxml/src/include/libxml/parser.h const char *buffer, buffer 984 third_party/libxml/src/include/libxml/parser.h const xmlChar* buffer, buffer 1133 third_party/libxml/src/include/libxml/parser.h xmlReadMemory (const char *buffer, buffer 1163 third_party/libxml/src/include/libxml/parser.h const char *buffer, buffer 297 third_party/libxml/src/include/libxml/parserInternals.h xmlCreateMemoryParserCtxt(const char *buffer, buffer 329 third_party/libxml/src/include/libxml/parserInternals.h const xmlChar *buffer); buffer 126 third_party/libxml/src/include/libxml/relaxng.h xmlRelaxNGNewMemParserCtxt (const char *buffer, buffer 75 third_party/libxml/src/include/libxml/schematron.h xmlSchematronNewMemParserCtxt(const char *buffer, buffer 1031 third_party/libxml/src/include/libxml/tree.h xmlNodeBufGetContent (xmlBufferPtr buffer, buffer 54 third_party/libxml/src/include/libxml/xmlIO.h typedef int (XMLCALL *xmlInputReadCallback) (void * context, char * buffer, int len); buffer 100 third_party/libxml/src/include/libxml/xmlIO.h typedef int (XMLCALL *xmlOutputWriteCallback) (void * context, const char * buffer, buffer 132 third_party/libxml/src/include/libxml/xmlIO.h xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 */ buffer 148 third_party/libxml/src/include/libxml/xmlIO.h xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */ buffer 235 third_party/libxml/src/include/libxml/xmlIO.h xmlOutputBufferCreateBuffer (xmlBufferPtr buffer, buffer 314 third_party/libxml/src/include/libxml/xmlIO.h char * buffer, buffer 334 third_party/libxml/src/include/libxml/xmlIO.h char * buffer, buffer 350 third_party/libxml/src/include/libxml/xmlIO.h char * buffer, buffer 328 third_party/libxml/src/include/libxml/xmlreader.h xmlReaderForMemory (const char *buffer, buffer 362 third_party/libxml/src/include/libxml/xmlreader.h const char *buffer, buffer 53 third_party/libxml/src/include/libxml/xmlsave.h xmlSaveToBuffer (xmlBufferPtr buffer, buffer 122 third_party/libxml/src/include/libxml/xmlschemas.h xmlSchemaNewMemParserCtxt (const char *buffer, buffer 2235 third_party/libxml/src/parser.c xmlChar *buffer; buffer 2250 third_party/libxml/src/parser.c buffer = xmlMallocAtomic(length); buffer 2251 third_party/libxml/src/parser.c if (buffer == NULL) { buffer 2256 third_party/libxml/src/parser.c buffer [0] = ' '; buffer 2257 third_party/libxml/src/parser.c buffer [1] = '%'; buffer 2258 third_party/libxml/src/parser.c buffer [length-3] = ';'; buffer 2259 third_party/libxml/src/parser.c buffer [length-2] = ' '; buffer 2260 third_party/libxml/src/parser.c buffer [length-1] = 0; buffer 2261 third_party/libxml/src/parser.c memcpy(buffer + 2, entity->name, length - 5); buffer 2263 third_party/libxml/src/parser.c input->base = buffer; buffer 2264 third_party/libxml/src/parser.c input->cur = buffer; buffer 2266 third_party/libxml/src/parser.c input->end = &buffer[length]; buffer 2472 third_party/libxml/src/parser.c #define growBuffer(buffer, n) { \ buffer 2474 third_party/libxml/src/parser.c buffer##_size *= 2; \ buffer 2475 third_party/libxml/src/parser.c buffer##_size += n; \ buffer 2477 third_party/libxml/src/parser.c xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \ buffer 2479 third_party/libxml/src/parser.c buffer = tmp; \ buffer 2504 third_party/libxml/src/parser.c xmlChar *buffer = NULL; buffer 2529 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar)); buffer 2530 third_party/libxml/src/parser.c if (buffer == NULL) goto mem_error; buffer 2547 third_party/libxml/src/parser.c COPY_BUF(0,buffer,nbchars,val); buffer 2550 third_party/libxml/src/parser.c growBuffer(buffer, XML_PARSER_BUFFER_SIZE); buffer 2566 third_party/libxml/src/parser.c COPY_BUF(0,buffer,nbchars,ent->content[0]); buffer 2568 third_party/libxml/src/parser.c growBuffer(buffer, XML_PARSER_BUFFER_SIZE); buffer 2583 third_party/libxml/src/parser.c buffer[nbchars++] = *current++; buffer 2588 third_party/libxml/src/parser.c growBuffer(buffer, XML_PARSER_BUFFER_SIZE); buffer 2598 third_party/libxml/src/parser.c buffer[nbchars++] = '&'; buffer 2600 third_party/libxml/src/parser.c growBuffer(buffer, i + XML_PARSER_BUFFER_SIZE); buffer 2603 third_party/libxml/src/parser.c buffer[nbchars++] = *cur++; buffer 2604 third_party/libxml/src/parser.c buffer[nbchars++] = ';'; buffer 2626 third_party/libxml/src/parser.c buffer[nbchars++] = *current++; buffer 2631 third_party/libxml/src/parser.c growBuffer(buffer, XML_PARSER_BUFFER_SIZE); buffer 2639 third_party/libxml/src/parser.c COPY_BUF(l,buffer,nbchars,c); buffer 2642 third_party/libxml/src/parser.c growBuffer(buffer, XML_PARSER_BUFFER_SIZE); buffer 2650 third_party/libxml/src/parser.c buffer[nbchars] = 0; buffer 2651 third_party/libxml/src/parser.c return(buffer); buffer 2658 third_party/libxml/src/parser.c if (buffer != NULL) buffer 2659 third_party/libxml/src/parser.c xmlFree(buffer); buffer 2791 third_party/libxml/src/parser.c xmlChar *buffer = NULL; buffer 2826 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); buffer 2827 third_party/libxml/src/parser.c if (buffer == NULL) { buffer 2831 third_party/libxml/src/parser.c memcpy(buffer, buf, len); buffer 2837 third_party/libxml/src/parser.c tmp = (xmlChar *) xmlRealloc(buffer, buffer 2840 third_party/libxml/src/parser.c xmlFree(buffer); buffer 2844 third_party/libxml/src/parser.c buffer = tmp; buffer 2846 third_party/libxml/src/parser.c buffer[len++] = c; buffer 2849 third_party/libxml/src/parser.c buffer[len] = 0; buffer 2853 third_party/libxml/src/parser.c if (buffer != NULL) buffer 2854 third_party/libxml/src/parser.c xmlFree(buffer); buffer 2859 third_party/libxml/src/parser.c if (buffer == NULL) buffer 2862 third_party/libxml/src/parser.c ret = buffer; buffer 2863 third_party/libxml/src/parser.c buffer = NULL; buffer 2905 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); buffer 2906 third_party/libxml/src/parser.c if (buffer == NULL) { buffer 2910 third_party/libxml/src/parser.c memcpy(buffer, buf, len); buffer 2916 third_party/libxml/src/parser.c tmp = (xmlChar *) xmlRealloc(buffer, buffer 2920 third_party/libxml/src/parser.c xmlFree(buffer); buffer 2923 third_party/libxml/src/parser.c buffer = tmp; buffer 2925 third_party/libxml/src/parser.c buffer[len++] = c; buffer 2928 third_party/libxml/src/parser.c buffer[len] = 0; buffer 2931 third_party/libxml/src/parser.c if (buffer == NULL) buffer 2934 third_party/libxml/src/parser.c ret = buffer; buffer 3384 third_party/libxml/src/parser.c xmlChar *buffer; buffer 3387 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); buffer 3388 third_party/libxml/src/parser.c if (buffer == NULL) { buffer 3392 third_party/libxml/src/parser.c memcpy(buffer, buf, len); buffer 3397 third_party/libxml/src/parser.c tmp = (xmlChar *) xmlRealloc(buffer, buffer 3401 third_party/libxml/src/parser.c xmlFree(buffer); buffer 3404 third_party/libxml/src/parser.c buffer = tmp; buffer 3406 third_party/libxml/src/parser.c COPY_BUF(l,buffer,len,c); buffer 3410 third_party/libxml/src/parser.c buffer[len] = 0; buffer 3412 third_party/libxml/src/parser.c return(buffer); buffer 3461 third_party/libxml/src/parser.c xmlChar *buffer; buffer 3464 third_party/libxml/src/parser.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); buffer 3465 third_party/libxml/src/parser.c if (buffer == NULL) { buffer 3469 third_party/libxml/src/parser.c memcpy(buffer, buf, len); buffer 3475 third_party/libxml/src/parser.c xmlFree(buffer); buffer 3483 third_party/libxml/src/parser.c tmp = (xmlChar *) xmlRealloc(buffer, buffer 3487 third_party/libxml/src/parser.c xmlFree(buffer); buffer 3490 third_party/libxml/src/parser.c buffer = tmp; buffer 3492 third_party/libxml/src/parser.c COPY_BUF(l,buffer,len,c); buffer 3496 third_party/libxml/src/parser.c buffer[len] = 0; buffer 3497 third_party/libxml/src/parser.c return(buffer); buffer 10522 third_party/libxml/src/parser.c buf = in->buf->buffer->content; buffer 10523 third_party/libxml/src/parser.c len = in->buf->buffer->use; buffer 10796 third_party/libxml/src/parser.c ctxt->input->buf->buffer->content; buffer 10800 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; buffer 10803 third_party/libxml/src/parser.c &ctxt->input->buf->buffer->content[ buffer 10804 third_party/libxml/src/parser.c ctxt->input->buf->buffer->use]; buffer 10806 third_party/libxml/src/parser.c avail = ctxt->input->buf->buffer->use - buffer 11250 third_party/libxml/src/parser.c avail = ctxt->input->buf->buffer->use - buffer 11344 third_party/libxml/src/parser.c avail = ctxt->input->buf->buffer->use - (ctxt->input->cur - ctxt->input->base); buffer 11392 third_party/libxml/src/parser.c avail = ctxt->input->buf->buffer->use - (ctxt->input->cur - ctxt->input->base); buffer 11456 third_party/libxml/src/parser.c buf = ctxt->input->buf->buffer->content; buffer 11457 third_party/libxml/src/parser.c for (;(unsigned int) base < ctxt->input->buf->buffer->use; buffer 11468 third_party/libxml/src/parser.c ctxt->input->buf->buffer->use) && buffer 11473 third_party/libxml/src/parser.c ctxt->input->buf->buffer->use; base++) { buffer 11505 third_party/libxml/src/parser.c ctxt->input->buf->buffer->use) buffer 11513 third_party/libxml/src/parser.c (unsigned int) base + i < ctxt->input->buf->buffer->use; buffer 11649 third_party/libxml/src/parser.c char buffer[150]; buffer 11651 third_party/libxml/src/parser.c snprintf(buffer, 149, "Bytes: 0x%02X 0x%02X 0x%02X 0x%02X\n", buffer 11656 third_party/libxml/src/parser.c BAD_CAST buffer, NULL); buffer 11696 third_party/libxml/src/parser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; buffer 11741 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; buffer 11744 third_party/libxml/src/parser.c &ctxt->input->buf->buffer->content[ctxt->input->buf->buffer->use]; buffer 11752 third_party/libxml/src/parser.c if ((in->encoder != NULL) && (in->buffer != NULL) && buffer 11756 third_party/libxml/src/parser.c nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw); buffer 11796 third_party/libxml/src/parser.c avail = ctxt->input->buf->buffer->use - buffer 11917 third_party/libxml/src/parser.c inputStream->base = inputStream->buf->buffer->content; buffer 11918 third_party/libxml/src/parser.c inputStream->cur = inputStream->buf->buffer->content; buffer 11920 third_party/libxml/src/parser.c &inputStream->buf->buffer->content[inputStream->buf->buffer->use]; buffer 11932 third_party/libxml/src/parser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; buffer 11937 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; buffer 11940 third_party/libxml/src/parser.c &ctxt->input->buf->buffer->content[ctxt->input->buf->buffer->use]; buffer 12572 third_party/libxml/src/parser.c ctxt->node_seq.buffer = oldctxt->node_seq.buffer; buffer 12594 third_party/libxml/src/parser.c ctxt->node_seq.buffer = NULL; buffer 12613 third_party/libxml/src/parser.c ctxt->node_seq.buffer = NULL; buffer 12711 third_party/libxml/src/parser.c oldctxt->node_seq.buffer = ctxt->node_seq.buffer; buffer 12714 third_party/libxml/src/parser.c ctxt->node_seq.buffer = NULL; buffer 13732 third_party/libxml/src/parser.c xmlSetupParserForBuffer(xmlParserCtxtPtr ctxt, const xmlChar* buffer, buffer 13737 third_party/libxml/src/parser.c if ((ctxt == NULL) || (buffer == NULL)) buffer 13750 third_party/libxml/src/parser.c input->base = buffer; buffer 13751 third_party/libxml/src/parser.c input->cur = buffer; buffer 13752 third_party/libxml/src/parser.c input->end = &buffer[xmlStrlen(buffer)]; buffer 13821 third_party/libxml/src/parser.c xmlCreateMemoryParserCtxt(const char *buffer, int size) { buffer 13826 third_party/libxml/src/parser.c if (buffer == NULL) buffer 13836 third_party/libxml/src/parser.c buf = xmlParserInputBufferCreateMem(buffer, size, XML_CHAR_ENCODING_NONE); buffer 13851 third_party/libxml/src/parser.c input->base = input->buf->buffer->content; buffer 13852 third_party/libxml/src/parser.c input->cur = input->buf->buffer->content; buffer 13853 third_party/libxml/src/parser.c input->end = &input->buf->buffer->content[input->buf->buffer->use]; buffer 13880 third_party/libxml/src/parser.c xmlSAXParseMemoryWithData(xmlSAXHandlerPtr sax, const char *buffer, buffer 13887 third_party/libxml/src/parser.c ctxt = xmlCreateMemoryParserCtxt(buffer, size); buffer 13931 third_party/libxml/src/parser.c xmlSAXParseMemory(xmlSAXHandlerPtr sax, const char *buffer, buffer 13933 third_party/libxml/src/parser.c return xmlSAXParseMemoryWithData(sax, buffer, size, recovery, NULL); buffer 13946 third_party/libxml/src/parser.c xmlDocPtr xmlParseMemory(const char *buffer, int size) { buffer 13947 third_party/libxml/src/parser.c return(xmlSAXParseMemory(NULL, buffer, size, 0)); buffer 13962 third_party/libxml/src/parser.c xmlDocPtr xmlRecoverMemory(const char *buffer, int size) { buffer 13963 third_party/libxml/src/parser.c return(xmlSAXParseMemory(NULL, buffer, size, 1)); buffer 13979 third_party/libxml/src/parser.c const char *buffer, int size) { buffer 13985 third_party/libxml/src/parser.c ctxt = xmlCreateMemoryParserCtxt(buffer, size); buffer 14422 third_party/libxml/src/parser.c inputStream->base = inputStream->buf->buffer->content; buffer 14423 third_party/libxml/src/parser.c inputStream->cur = inputStream->buf->buffer->content; buffer 14425 third_party/libxml/src/parser.c &inputStream->buf->buffer->content[inputStream->buf->buffer->use]; buffer 14431 third_party/libxml/src/parser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; buffer 14436 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; buffer 14439 third_party/libxml/src/parser.c &ctxt->input->buf->buffer->content[ctxt->input->buf->buffer-> buffer 14721 third_party/libxml/src/parser.c xmlReadMemory(const char *buffer, int size, const char *URL, const char *encoding, int options) buffer 14725 third_party/libxml/src/parser.c ctxt = xmlCreateMemoryParserCtxt(buffer, size); buffer 14898 third_party/libxml/src/parser.c xmlCtxtReadMemory(xmlParserCtxtPtr ctxt, const char *buffer, int size, buffer 14906 third_party/libxml/src/parser.c if (buffer == NULL) buffer 14911 third_party/libxml/src/parser.c input = xmlParserInputBufferCreateMem(buffer, size, XML_CHAR_ENCODING_NONE); buffer 245 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { buffer 253 third_party/libxml/src/parserInternals.c if (in->cur > in->base + in->buf->buffer->use) { buffer 258 third_party/libxml/src/parserInternals.c (int) in, (int) in->buf->buffer->content, in->cur - in->base, buffer 259 third_party/libxml/src/parserInternals.c in->buf->buffer->use, in->buf->buffer->size); buffer 291 third_party/libxml/src/parserInternals.c if (in->buf->buffer == NULL) return(-1); buffer 296 third_party/libxml/src/parserInternals.c used = in->cur - in->buf->buffer->content; buffer 297 third_party/libxml/src/parserInternals.c ret = xmlBufferShrink(in->buf->buffer, used); buffer 303 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { buffer 308 third_party/libxml/src/parserInternals.c in->base = in->buf->buffer->content; buffer 309 third_party/libxml/src/parserInternals.c in->cur = &in->buf->buffer->content[indx]; buffer 311 third_party/libxml/src/parserInternals.c in->end = &in->buf->buffer->content[in->buf->buffer->use]; buffer 341 third_party/libxml/src/parserInternals.c if (in->buf->buffer == NULL) return(-1); buffer 346 third_party/libxml/src/parserInternals.c if (in->buf->buffer->use > (unsigned int) indx + INPUT_CHUNK) { buffer 363 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { buffer 368 third_party/libxml/src/parserInternals.c in->base = in->buf->buffer->content; buffer 369 third_party/libxml/src/parserInternals.c in->cur = &in->buf->buffer->content[indx]; buffer 371 third_party/libxml/src/parserInternals.c in->end = &in->buf->buffer->content[in->buf->buffer->use]; buffer 397 third_party/libxml/src/parserInternals.c if (in->buf->buffer == NULL) return; buffer 401 third_party/libxml/src/parserInternals.c used = in->cur - in->buf->buffer->content; buffer 407 third_party/libxml/src/parserInternals.c ret = xmlBufferShrink(in->buf->buffer, used - LINE_LEN); buffer 412 third_party/libxml/src/parserInternals.c in->end = &in->buf->buffer->content[in->buf->buffer->use]; buffer 417 third_party/libxml/src/parserInternals.c if (in->buf->buffer->use > INPUT_CHUNK) { buffer 421 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { buffer 426 third_party/libxml/src/parserInternals.c in->base = in->buf->buffer->content; buffer 427 third_party/libxml/src/parserInternals.c in->cur = &in->buf->buffer->content[indx]; buffer 429 third_party/libxml/src/parserInternals.c in->end = &in->buf->buffer->content[in->buf->buffer->use]; buffer 587 third_party/libxml/src/parserInternals.c char buffer[150]; buffer 589 third_party/libxml/src/parserInternals.c snprintf(buffer, 149, "Bytes: 0x%02X 0x%02X 0x%02X 0x%02X\n", buffer 594 third_party/libxml/src/parserInternals.c BAD_CAST buffer, NULL); buffer 753 third_party/libxml/src/parserInternals.c char buffer[150]; buffer 755 third_party/libxml/src/parserInternals.c snprintf(&buffer[0], 149, "Bytes: 0x%02X 0x%02X 0x%02X 0x%02X\n", buffer 760 third_party/libxml/src/parserInternals.c BAD_CAST buffer, NULL); buffer 866 third_party/libxml/src/parserInternals.c char buffer[150]; buffer 868 third_party/libxml/src/parserInternals.c snprintf(buffer, 149, "Bytes: 0x%02X 0x%02X 0x%02X 0x%02X\n", buffer 873 third_party/libxml/src/parserInternals.c BAD_CAST buffer, NULL); buffer 1192 third_party/libxml/src/parserInternals.c if ((input->buf->buffer != NULL) && (input->buf->buffer->use > 0)) { buffer 1228 third_party/libxml/src/parserInternals.c xmlBufferShrink(input->buf->buffer, processed); buffer 1229 third_party/libxml/src/parserInternals.c input->buf->raw = input->buf->buffer; buffer 1230 third_party/libxml/src/parserInternals.c input->buf->buffer = xmlBufferCreate(); buffer 1239 third_party/libxml/src/parserInternals.c input->buf->buffer, buffer 1249 third_party/libxml/src/parserInternals.c input->buf->buffer, buffer 1260 third_party/libxml/src/parserInternals.c input->base = input->cur = input->buf->buffer->content; buffer 1261 third_party/libxml/src/parserInternals.c input->end = &input->base[input->buf->buffer->use]; buffer 1425 third_party/libxml/src/parserInternals.c inputStream->base = inputStream->buf->buffer->content; buffer 1426 third_party/libxml/src/parserInternals.c inputStream->cur = inputStream->buf->buffer->content; buffer 1427 third_party/libxml/src/parserInternals.c inputStream->end = &inputStream->base[inputStream->buf->buffer->use]; buffer 1506 third_party/libxml/src/parserInternals.c xmlNewStringInputStream(xmlParserCtxtPtr ctxt, const xmlChar *buffer) { buffer 1509 third_party/libxml/src/parserInternals.c if (buffer == NULL) { buffer 1516 third_party/libxml/src/parserInternals.c "new fixed input: %.30s\n", buffer); buffer 1522 third_party/libxml/src/parserInternals.c input->base = buffer; buffer 1523 third_party/libxml/src/parserInternals.c input->cur = buffer; buffer 1524 third_party/libxml/src/parserInternals.c input->length = xmlStrlen(buffer); buffer 1525 third_party/libxml/src/parserInternals.c input->end = &buffer[input->length]; buffer 1580 third_party/libxml/src/parserInternals.c inputStream->base = inputStream->buf->buffer->content; buffer 1581 third_party/libxml/src/parserInternals.c inputStream->cur = inputStream->buf->buffer->content; buffer 1582 third_party/libxml/src/parserInternals.c inputStream->end = &inputStream->base[inputStream->buf->buffer->use]; buffer 1918 third_party/libxml/src/parserInternals.c && ctx->node_seq.buffer[pos].node == node) buffer 1919 third_party/libxml/src/parserInternals.c return &ctx->node_seq.buffer[pos]; buffer 1938 third_party/libxml/src/parserInternals.c seq->buffer = NULL; buffer 1953 third_party/libxml/src/parserInternals.c if (seq->buffer != NULL) buffer 1954 third_party/libxml/src/parserInternals.c xmlFree(seq->buffer); buffer 1985 third_party/libxml/src/parserInternals.c if (node == seq->buffer[middle - 1].node) buffer 1987 third_party/libxml/src/parserInternals.c else if (node < seq->buffer[middle - 1].node) buffer 1994 third_party/libxml/src/parserInternals.c if (middle == 0 || seq->buffer[middle - 1].node < node) buffer 2021 third_party/libxml/src/parserInternals.c (ctxt->node_seq.buffer != NULL) && buffer 2022 third_party/libxml/src/parserInternals.c (ctxt->node_seq.buffer[pos].node == info->node)) { buffer 2023 third_party/libxml/src/parserInternals.c ctxt->node_seq.buffer[pos] = *info; buffer 2034 third_party/libxml/src/parserInternals.c byte_size = (sizeof(*ctxt->node_seq.buffer) * buffer 2037 third_party/libxml/src/parserInternals.c if (ctxt->node_seq.buffer == NULL) buffer 2041 third_party/libxml/src/parserInternals.c (xmlParserNodeInfo *) xmlRealloc(ctxt->node_seq.buffer, buffer 2048 third_party/libxml/src/parserInternals.c ctxt->node_seq.buffer = tmp_buffer; buffer 2057 third_party/libxml/src/parserInternals.c ctxt->node_seq.buffer[i] = ctxt->node_seq.buffer[i - 1]; buffer 2061 third_party/libxml/src/parserInternals.c ctxt->node_seq.buffer[pos] = *info; buffer 232 third_party/libxml/src/relaxng.c const char *buffer; buffer 6754 third_party/libxml/src/relaxng.c xmlRelaxNGNewMemParserCtxt(const char *buffer, int size) buffer 6758 third_party/libxml/src/relaxng.c if ((buffer == NULL) || (size <= 0)) buffer 6768 third_party/libxml/src/relaxng.c ret->buffer = buffer; buffer 7487 third_party/libxml/src/relaxng.c } else if (ctxt->buffer != NULL) { buffer 7488 third_party/libxml/src/relaxng.c doc = xmlReadMemory(ctxt->buffer, ctxt->size,NULL,NULL,0); buffer 2824 third_party/libxml/src/runtest.c uripRead(void * context, char * buffer, int len) { buffer 2827 third_party/libxml/src/runtest.c if ((context == NULL) || (buffer == NULL) || (len < 0)) buffer 2831 third_party/libxml/src/runtest.c memcpy(buffer, ptr, len); buffer 3648 third_party/libxml/src/runtest.c buffer = (xmlChar **) \ buffer 3649 third_party/libxml/src/runtest.c xmlRealloc(buffer, buffer_size * sizeof(xmlChar*)); \ buffer 3650 third_party/libxml/src/runtest.c if (buffer == NULL) { \ buffer 3658 third_party/libxml/src/runtest.c xmlChar **buffer; buffer 3676 third_party/libxml/src/runtest.c buffer = (xmlChar **) xmlMalloc(buffer_size * sizeof(xmlChar*)); buffer 3677 third_party/libxml/src/runtest.c if (buffer == NULL) { buffer 3681 third_party/libxml/src/runtest.c out = buffer; buffer 3684 third_party/libxml/src/runtest.c if (out - buffer > buffer_size - 10) { buffer 3685 third_party/libxml/src/runtest.c int indx = out - buffer; buffer 3688 third_party/libxml/src/runtest.c out = &buffer[indx]; buffer 3695 third_party/libxml/src/runtest.c return buffer; buffer 184 third_party/libxml/src/schematron.c const char *buffer; buffer 630 third_party/libxml/src/schematron.c xmlSchematronNewMemParserCtxt(const char *buffer, int size) buffer 634 third_party/libxml/src/schematron.c if ((buffer == NULL) || (size <= 0)) buffer 646 third_party/libxml/src/schematron.c ret->buffer = buffer; buffer 1101 third_party/libxml/src/schematron.c } else if (ctxt->buffer != NULL) { buffer 1102 third_party/libxml/src/schematron.c doc = xmlReadMemory(ctxt->buffer, ctxt->size, NULL, NULL, buffer 182 third_party/libxml/src/testC14N.c buffer = (xmlChar **) \ buffer 183 third_party/libxml/src/testC14N.c xmlRealloc(buffer, buffer_size * sizeof(xmlChar*)); \ buffer 184 third_party/libxml/src/testC14N.c if (buffer == NULL) { \ buffer 192 third_party/libxml/src/testC14N.c xmlChar **buffer; buffer 210 third_party/libxml/src/testC14N.c buffer = (xmlChar **) xmlMalloc(buffer_size * sizeof(xmlChar*)); buffer 211 third_party/libxml/src/testC14N.c if (buffer == NULL) { buffer 215 third_party/libxml/src/testC14N.c out = buffer; buffer 218 third_party/libxml/src/testC14N.c if (out - buffer > buffer_size - 10) { buffer 219 third_party/libxml/src/testC14N.c int indx = out - buffer; buffer 222 third_party/libxml/src/testC14N.c out = &buffer[indx]; buffer 229 third_party/libxml/src/testC14N.c return buffer; buffer 54 third_party/libxml/src/testXPath.c static xmlChar buffer[] = buffer 181 third_party/libxml/src/testXPath.c document = xmlReadDoc(buffer,NULL,NULL,XML_PARSE_COMPACT); buffer 1477 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 1485 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 1488 third_party/libxml/src/testapi.c ret_val = htmlCreateMemoryParserCtxt((const char *)buffer, size); buffer 1491 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 1704 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 1723 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 1); buffer 1729 third_party/libxml/src/testapi.c ret_val = htmlCtxtReadMemory(ctxt, (const char *)buffer, size, URL, (const char *)encoding, options); buffer 1733 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 1); buffer 2606 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 2623 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 2629 third_party/libxml/src/testapi.c ret_val = htmlReadMemory((const char *)buffer, size, URL, (const char *)encoding, options); buffer 2632 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 7881 third_party/libxml/src/testapi.c char * buffer; /* the output buffer */ buffer 7894 third_party/libxml/src/testapi.c buffer = gen_char_ptr(n_buffer, 1); buffer 7898 third_party/libxml/src/testapi.c ret_val = xmlShellPwd(ctxt, buffer, node, node2); buffer 7902 third_party/libxml/src/testapi.c des_char_ptr(n_buffer, buffer, 1); buffer 12888 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 12907 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 1); buffer 12913 third_party/libxml/src/testapi.c ret_val = xmlCtxtReadMemory(ctxt, (const char *)buffer, size, URL, (const char *)encoding, options); buffer 12917 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 1); buffer 14163 third_party/libxml/src/testapi.c char * buffer; /* an pointer to a char array */ buffer 14171 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 14174 third_party/libxml/src/testapi.c ret_val = xmlParseMemory((const char *)buffer, size); buffer 14177 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 14563 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 14580 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 14586 third_party/libxml/src/testapi.c ret_val = xmlReadMemory((const char *)buffer, size, URL, (const char *)encoding, options); buffer 14589 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 14697 third_party/libxml/src/testapi.c char * buffer; /* an pointer to a char array */ buffer 14705 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 14708 third_party/libxml/src/testapi.c ret_val = xmlRecoverMemory((const char *)buffer, size); buffer 14711 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 14992 third_party/libxml/src/testapi.c char * buffer; /* an pointer to a char array */ buffer 15005 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 1); buffer 15009 third_party/libxml/src/testapi.c ret_val = xmlSAXParseMemory(sax, (const char *)buffer, size, recovery); buffer 15013 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 1); buffer 15049 third_party/libxml/src/testapi.c char * buffer; /* an pointer to a char array */ buffer 15065 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 1); buffer 15070 third_party/libxml/src/testapi.c ret_val = xmlSAXParseMemoryWithData(sax, (const char *)buffer, size, recovery, data); buffer 15074 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 1); buffer 15170 third_party/libxml/src/testapi.c char * buffer; /* an in-memory XML document input */ buffer 15182 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 2); buffer 15190 third_party/libxml/src/testapi.c ret_val = xmlSAXUserParseMemory(sax, user_data, (const char *)buffer, size); buffer 15195 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 2); buffer 15289 third_party/libxml/src/testapi.c xmlChar * buffer; /* a xmlChar * buffer */ buffer 15299 third_party/libxml/src/testapi.c buffer = gen_const_xmlChar_ptr(n_buffer, 1); buffer 15302 third_party/libxml/src/testapi.c xmlSetupParserForBuffer(ctxt, (const xmlChar *)buffer, filename); buffer 15305 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_buffer, (const xmlChar *)buffer, 1); buffer 15945 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 15953 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 15956 third_party/libxml/src/testapi.c ret_val = xmlCreateMemoryParserCtxt((const char *)buffer, size); buffer 15959 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 16243 third_party/libxml/src/testapi.c xmlChar * buffer; /* an memory buffer */ buffer 16250 third_party/libxml/src/testapi.c buffer = gen_const_xmlChar_ptr(n_buffer, 1); buffer 16252 third_party/libxml/src/testapi.c ret_val = xmlNewStringInputStream(ctxt, (const xmlChar *)buffer); buffer 16256 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_buffer, (const xmlChar *)buffer, 1); buffer 17570 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array containing the schemas */ buffer 17578 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 17581 third_party/libxml/src/testapi.c ret_val = xmlRelaxNGNewMemParserCtxt((const char *)buffer, size); buffer 17584 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 22054 third_party/libxml/src/testapi.c xmlBufferPtr buffer; /* a buffer */ buffer 22062 third_party/libxml/src/testapi.c buffer = gen_xmlBufferPtr(n_buffer, 0); buffer 22065 third_party/libxml/src/testapi.c ret_val = xmlNodeBufGetContent(buffer, cur); buffer 22068 third_party/libxml/src/testapi.c des_xmlBufferPtr(n_buffer, buffer, 0); buffer 27782 third_party/libxml/src/testapi.c char * buffer; /* where to drop data */ buffer 27792 third_party/libxml/src/testapi.c buffer = gen_char_ptr(n_buffer, 1); buffer 27795 third_party/libxml/src/testapi.c ret_val = xmlFileRead(context, buffer, len); buffer 27799 third_party/libxml/src/testapi.c des_char_ptr(n_buffer, buffer, 1); buffer 27931 third_party/libxml/src/testapi.c char * buffer; /* where to drop data */ buffer 27941 third_party/libxml/src/testapi.c buffer = gen_char_ptr(n_buffer, 1); buffer 27944 third_party/libxml/src/testapi.c ret_val = xmlIOFTPRead(context, buffer, len); buffer 27948 third_party/libxml/src/testapi.c des_char_ptr(n_buffer, buffer, 1); buffer 28081 third_party/libxml/src/testapi.c char * buffer; /* where to drop data */ buffer 28091 third_party/libxml/src/testapi.c buffer = gen_char_ptr(n_buffer, 1); buffer 28094 third_party/libxml/src/testapi.c ret_val = xmlIOHTTPRead(context, buffer, len); buffer 28098 third_party/libxml/src/testapi.c des_char_ptr(n_buffer, buffer, 1); buffer 28205 third_party/libxml/src/testapi.c xmlBufferPtr buffer; /* a xmlBufferPtr */ buffer 28213 third_party/libxml/src/testapi.c buffer = gen_xmlBufferPtr(n_buffer, 0); buffer 28216 third_party/libxml/src/testapi.c ret_val = xmlOutputBufferCreateBuffer(buffer, encoder); buffer 28219 third_party/libxml/src/testapi.c des_xmlBufferPtr(n_buffer, buffer, 0); buffer 29939 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 29956 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 29962 third_party/libxml/src/testapi.c ret_val = xmlReaderForMemory((const char *)buffer, size, URL, (const char *)encoding, options); buffer 29965 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 30120 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array */ buffer 30139 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 1); buffer 30145 third_party/libxml/src/testapi.c ret_val = xmlReaderNewMemory(reader, (const char *)buffer, size, URL, (const char *)encoding, options); buffer 30149 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 1); buffer 34122 third_party/libxml/src/testapi.c char * buffer; /* a pointer to a char array containing the schemas */ buffer 34130 third_party/libxml/src/testapi.c buffer = gen_const_char_ptr(n_buffer, 0); buffer 34133 third_party/libxml/src/testapi.c ret_val = xmlSchemaNewMemParserCtxt((const char *)buffer, size); buffer 34136 third_party/libxml/src/testapi.c des_const_char_ptr(n_buffer, (const char *)buffer, 0); buffer 1643 third_party/libxml/src/tree.c xmlChar *buffer; buffer 1645 third_party/libxml/src/tree.c buffer = xmlEncodeEntitiesReentrant(doc, node->content); buffer 1646 third_party/libxml/src/tree.c if (buffer != NULL) { buffer 1647 third_party/libxml/src/tree.c ret = xmlStrcat(ret, buffer); buffer 1648 third_party/libxml/src/tree.c xmlFree(buffer); buffer 1655 third_party/libxml/src/tree.c xmlChar *buffer; buffer 1664 third_party/libxml/src/tree.c buffer = xmlNodeListGetString(doc, ent->children, 1); buffer 1665 third_party/libxml/src/tree.c if (buffer != NULL) { buffer 1666 third_party/libxml/src/tree.c ret = xmlStrcat(ret, buffer); buffer 1667 third_party/libxml/src/tree.c xmlFree(buffer); buffer 1725 third_party/libxml/src/tree.c xmlChar *buffer; buffer 1727 third_party/libxml/src/tree.c buffer = xmlEncodeSpecialChars(doc, node->content); buffer 1728 third_party/libxml/src/tree.c if (buffer != NULL) { buffer 1729 third_party/libxml/src/tree.c ret = xmlStrcat(ret, buffer); buffer 1730 third_party/libxml/src/tree.c xmlFree(buffer); buffer 1737 third_party/libxml/src/tree.c xmlChar *buffer; buffer 1746 third_party/libxml/src/tree.c buffer = buffer 1748 third_party/libxml/src/tree.c if (buffer != NULL) { buffer 1749 third_party/libxml/src/tree.c ret = xmlStrcat(ret, buffer); buffer 1750 third_party/libxml/src/tree.c xmlFree(buffer); buffer 4534 third_party/libxml/src/tree.c xmlChar *buffer = NULL, *temp; buffer 4546 third_party/libxml/src/tree.c buffer = (xmlChar *) xmlMallocAtomic(buf_len * sizeof(xmlChar)); buffer 4547 third_party/libxml/src/tree.c if (buffer == NULL) { buffer 4554 third_party/libxml/src/tree.c xmlFree(buffer); buffer 4558 third_party/libxml/src/tree.c buffer[0] = 0; buffer 4566 third_party/libxml/src/tree.c if (buffer[0] == '/') buffer 4733 third_party/libxml/src/tree.c if (xmlStrlen(buffer) + sizeof(nametemp) + 20 > buf_len) { buffer 4735 third_party/libxml/src/tree.c 2 * buf_len + xmlStrlen(buffer) + sizeof(nametemp) + 20; buffer 4736 third_party/libxml/src/tree.c temp = (xmlChar *) xmlRealloc(buffer, buf_len); buffer 4740 third_party/libxml/src/tree.c xmlFree(buffer); buffer 4743 third_party/libxml/src/tree.c buffer = temp; buffer 4748 third_party/libxml/src/tree.c xmlFree(buffer); buffer 4755 third_party/libxml/src/tree.c sep, name, (char *) buffer); buffer 4758 third_party/libxml/src/tree.c sep, name, occur, (char *) buffer); buffer 4759 third_party/libxml/src/tree.c snprintf((char *) buffer, buf_len, "%s", (char *)buf); buffer 4763 third_party/libxml/src/tree.c return (buffer); buffer 5216 third_party/libxml/src/tree.c xmlNodeBufGetContent(xmlBufferPtr buffer, xmlNodePtr cur) buffer 5218 third_party/libxml/src/tree.c if ((cur == NULL) || (buffer == NULL)) return(-1); buffer 5222 third_party/libxml/src/tree.c xmlBufferCat(buffer, cur->content); buffer 5233 third_party/libxml/src/tree.c xmlBufferCat(buffer, tmp->content); buffer 5236 third_party/libxml/src/tree.c xmlNodeBufGetContent(buffer, tmp); buffer 5280 third_party/libxml/src/tree.c xmlBufferCat(buffer, tmp->content); buffer 5282 third_party/libxml/src/tree.c xmlNodeBufGetContent(buffer, tmp); buffer 5289 third_party/libxml/src/tree.c xmlBufferCat(buffer, cur->content); buffer 5307 third_party/libxml/src/tree.c xmlNodeBufGetContent(buffer, tmp); buffer 5329 third_party/libxml/src/tree.c xmlNodeBufGetContent(buffer, cur); buffer 5335 third_party/libxml/src/tree.c xmlBufferCat(buffer, ((xmlNsPtr) cur)->href); buffer 5363 third_party/libxml/src/tree.c xmlBufferPtr buffer; buffer 5366 third_party/libxml/src/tree.c buffer = xmlBufferCreateSize(64); buffer 5367 third_party/libxml/src/tree.c if (buffer == NULL) buffer 5369 third_party/libxml/src/tree.c xmlNodeBufGetContent(buffer, cur); buffer 5370 third_party/libxml/src/tree.c ret = buffer->content; buffer 5371 third_party/libxml/src/tree.c buffer->content = NULL; buffer 5372 third_party/libxml/src/tree.c xmlBufferFree(buffer); buffer 5384 third_party/libxml/src/tree.c xmlBufferPtr buffer; buffer 5392 third_party/libxml/src/tree.c buffer = xmlBufferCreate(); buffer 5393 third_party/libxml/src/tree.c if (buffer == NULL) buffer 5396 third_party/libxml/src/tree.c xmlNodeBufGetContent(buffer, cur); buffer 5398 third_party/libxml/src/tree.c ret = buffer->content; buffer 5399 third_party/libxml/src/tree.c buffer->content = NULL; buffer 5400 third_party/libxml/src/tree.c xmlBufferFree(buffer); buffer 5415 third_party/libxml/src/tree.c xmlBufferPtr buffer; buffer 5418 third_party/libxml/src/tree.c buffer = xmlBufferCreate(); buffer 5419 third_party/libxml/src/tree.c if (buffer == NULL) buffer 5422 third_party/libxml/src/tree.c xmlNodeBufGetContent(buffer, (xmlNodePtr) cur); buffer 5424 third_party/libxml/src/tree.c ret = buffer->content; buffer 5425 third_party/libxml/src/tree.c buffer->content = NULL; buffer 5426 third_party/libxml/src/tree.c xmlBufferFree(buffer); buffer 2175 third_party/libxml/src/trio.c char buffer[MAX_CHARS_IN(trio_uintmax_t) * (1 + MAX_LOCALE_SEPARATOR_LENGTH) + 1]; buffer 2218 third_party/libxml/src/trio.c pointer = bufferend = &buffer[sizeof(buffer) - 1]; buffer 2220 third_party/libxml/src/trio.c for (i = 1; i < (int)sizeof(buffer); i++) buffer 2235 third_party/libxml/src/trio.c if (((int)(pointer - buffer) - length) > 0) buffer 2494 third_party/libxml/src/trio.c char buffer[MB_LEN_MAX + 1]; buffer 2497 third_party/libxml/src/trio.c width = sizeof(buffer); buffer 2499 third_party/libxml/src/trio.c size = wctomb(buffer, wch); buffer 2500 third_party/libxml/src/trio.c if ((size <= 0) || (size > width) || (buffer[0] == NIL)) buffer 2503 third_party/libxml/src/trio.c string = buffer; buffer 3542 third_party/libxml/src/trio.c char **buffer; buffer 3547 third_party/libxml/src/trio.c buffer = (char **)self->location; buffer 3548 third_party/libxml/src/trio.c **buffer = (char)output; buffer 3549 third_party/libxml/src/trio.c (*buffer)++; buffer 3563 third_party/libxml/src/trio.c char **buffer; buffer 3568 third_party/libxml/src/trio.c buffer = (char **)self->location; buffer 3572 third_party/libxml/src/trio.c **buffer = (char)output; buffer 3573 third_party/libxml/src/trio.c (*buffer)++; buffer 3897 third_party/libxml/src/trio.c TRIO_VARGS3((buffer, format, va_alist), buffer 3898 third_party/libxml/src/trio.c char *buffer, buffer 3905 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 3909 third_party/libxml/src/trio.c status = TrioFormat(&buffer, 0, TrioOutStreamString, format, &args, NULL); buffer 3910 third_party/libxml/src/trio.c *buffer = NIL; /* Terminate with NIL character */ buffer 3925 third_party/libxml/src/trio.c TRIO_ARGS3((buffer, format, args), buffer 3926 third_party/libxml/src/trio.c char *buffer, buffer 3932 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 3935 third_party/libxml/src/trio.c status = TrioFormat(&buffer, 0, TrioOutStreamString, format, &args, NULL); buffer 3936 third_party/libxml/src/trio.c *buffer = NIL; buffer 3950 third_party/libxml/src/trio.c TRIO_ARGS3((buffer, format, args), buffer 3951 third_party/libxml/src/trio.c char *buffer, buffer 3957 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 3960 third_party/libxml/src/trio.c status = TrioFormat(&buffer, 0, TrioOutStreamString, format, NULL, args); buffer 3961 third_party/libxml/src/trio.c *buffer = NIL; buffer 3980 third_party/libxml/src/trio.c TRIO_VARGS4((buffer, max, format, va_alist), buffer 3981 third_party/libxml/src/trio.c char *buffer, buffer 3989 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 3993 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max > 0 ? max - 1 : 0, buffer 3996 third_party/libxml/src/trio.c *buffer = NIL; buffer 4012 third_party/libxml/src/trio.c TRIO_ARGS4((buffer, max, format, args), buffer 4013 third_party/libxml/src/trio.c char *buffer, buffer 4020 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 4023 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max > 0 ? max - 1 : 0, buffer 4026 third_party/libxml/src/trio.c *buffer = NIL; buffer 4041 third_party/libxml/src/trio.c TRIO_ARGS4((buffer, max, format, args), buffer 4042 third_party/libxml/src/trio.c char *buffer, buffer 4049 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 4052 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max > 0 ? max - 1 : 0, buffer 4055 third_party/libxml/src/trio.c *buffer = NIL; buffer 4066 third_party/libxml/src/trio.c TRIO_VARGS4((buffer, max, format, va_alist), buffer 4067 third_party/libxml/src/trio.c char *buffer, buffer 4078 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 4081 third_party/libxml/src/trio.c buf_len = trio_length(buffer); buffer 4082 third_party/libxml/src/trio.c buffer = &buffer[buf_len]; buffer 4084 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max - 1 - buf_len, buffer 4087 third_party/libxml/src/trio.c *buffer = NIL; buffer 4093 third_party/libxml/src/trio.c TRIO_ARGS4((buffer, max, format, args), buffer 4094 third_party/libxml/src/trio.c char *buffer, buffer 4102 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 4105 third_party/libxml/src/trio.c buf_len = trio_length(buffer); buffer 4106 third_party/libxml/src/trio.c buffer = &buffer[buf_len]; buffer 4107 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max - 1 - buf_len, buffer 4109 third_party/libxml/src/trio.c *buffer = NIL; buffer 5665 third_party/libxml/src/trio.c char buffer[MB_LEN_MAX + 1]; buffer 5676 third_party/libxml/src/trio.c if (TrioReadChar(self, buffer, flags, 1) == 0) buffer 5678 third_party/libxml/src/trio.c buffer[1] = NIL; buffer 5690 third_party/libxml/src/trio.c buffer[j++] = (char)self->current; buffer 5691 third_party/libxml/src/trio.c buffer[j] = NIL; buffer 5694 third_party/libxml/src/trio.c while ((j < (int)sizeof(buffer)) && (mblen(buffer, (size_t)j) != j)); buffer 5698 third_party/libxml/src/trio.c size = mbtowc(&wch, buffer, sizeof(buffer)); buffer 5992 third_party/libxml/src/trio.c char buffer[sizeof(internalNullString)]; buffer 6013 third_party/libxml/src/trio.c : buffer, buffer 6017 third_party/libxml/src/trio.c if (trio_equal_case(buffer, internalNullString)) buffer 6523 third_party/libxml/src/trio.c unsigned char **buffer; buffer 6528 third_party/libxml/src/trio.c buffer = (unsigned char **)self->location; buffer 6529 third_party/libxml/src/trio.c self->current = (*buffer)[0]; buffer 6536 third_party/libxml/src/trio.c (*buffer)++; buffer 6788 third_party/libxml/src/trio.c TRIO_VARGS3((buffer, format, va_alist), buffer 6789 third_party/libxml/src/trio.c TRIO_CONST char *buffer, buffer 6796 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 6800 third_party/libxml/src/trio.c status = TrioScan((trio_pointer_t)&buffer, 0, buffer 6809 third_party/libxml/src/trio.c TRIO_ARGS3((buffer, format, args), buffer 6810 third_party/libxml/src/trio.c TRIO_CONST char *buffer, buffer 6814 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 6817 third_party/libxml/src/trio.c return TrioScan((trio_pointer_t)&buffer, 0, buffer 6824 third_party/libxml/src/trio.c TRIO_ARGS3((buffer, format, args), buffer 6825 third_party/libxml/src/trio.c TRIO_CONST char *buffer, buffer 6829 third_party/libxml/src/trio.c assert(VALID(buffer)); buffer 6832 third_party/libxml/src/trio.c return TrioScan((trio_pointer_t)&buffer, 0, buffer 99 third_party/libxml/src/trio.h int trio_sprintf TRIO_PROTO((char *buffer, TRIO_CONST char *format, ...)); buffer 100 third_party/libxml/src/trio.h int trio_vsprintf TRIO_PROTO((char *buffer, TRIO_CONST char *format, va_list args)); buffer 101 third_party/libxml/src/trio.h int trio_sprintfv TRIO_PROTO((char *buffer, TRIO_CONST char *format, void **args)); buffer 103 third_party/libxml/src/trio.h int trio_snprintf TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); buffer 104 third_party/libxml/src/trio.h int trio_vsnprintf TRIO_PROTO((char *buffer, size_t bufferSize, TRIO_CONST char *format, buffer 106 third_party/libxml/src/trio.h int trio_snprintfv TRIO_PROTO((char *buffer, size_t bufferSize, TRIO_CONST char *format, buffer 109 third_party/libxml/src/trio.h int trio_snprintfcat TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); buffer 110 third_party/libxml/src/trio.h int trio_vsnprintfcat TRIO_PROTO((char *buffer, size_t bufferSize, TRIO_CONST char *format, buffer 141 third_party/libxml/src/trio.h int trio_sscanf TRIO_PROTO((TRIO_CONST char *buffer, TRIO_CONST char *format, ...)); buffer 142 third_party/libxml/src/trio.h int trio_vsscanf TRIO_PROTO((TRIO_CONST char *buffer, TRIO_CONST char *format, va_list args)); buffer 143 third_party/libxml/src/trio.h int trio_sscanfv TRIO_PROTO((TRIO_CONST char *buffer, TRIO_CONST char *format, void **args)); buffer 1483 third_party/libxml/src/triostr.c TRIO_ARGS2((self, buffer), buffer 1485 third_party/libxml/src/triostr.c char *buffer) buffer 1490 third_party/libxml/src/triostr.c self->content = trio_duplicate(buffer); buffer 109 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC void trio_xstring_set TRIO_PROTO((trio_string_t *self, char *buffer)); buffer 1887 third_party/libxml/src/xinclude.c content = xmlBufferContent(buf->buffer); buffer 1888 third_party/libxml/src/xinclude.c len = xmlBufferLength(buf->buffer); buffer 1906 third_party/libxml/src/xinclude.c xmlBufferShrink(buf->buffer, len); buffer 805 third_party/libxml/src/xmlIO.c xmlFdRead (void * context, char * buffer, int len) { buffer 808 third_party/libxml/src/xmlIO.c ret = read((int) (long) context, &buffer[0], len); buffer 825 third_party/libxml/src/xmlIO.c xmlFdWrite (void * context, const char * buffer, int len) { buffer 829 third_party/libxml/src/xmlIO.c ret = write((int) (long) context, &buffer[0], len); buffer 1009 third_party/libxml/src/xmlIO.c xmlFileRead (void * context, char * buffer, int len) { buffer 1011 third_party/libxml/src/xmlIO.c if ((context == NULL) || (buffer == NULL)) buffer 1013 third_party/libxml/src/xmlIO.c ret = fread(&buffer[0], 1, len, (FILE *) context); buffer 1030 third_party/libxml/src/xmlIO.c xmlFileWrite (void * context, const char * buffer, int len) { buffer 1033 third_party/libxml/src/xmlIO.c if ((context == NULL) || (buffer == NULL)) buffer 1035 third_party/libxml/src/xmlIO.c items = fwrite(&buffer[0], len, 1, (FILE *) context); buffer 1104 third_party/libxml/src/xmlIO.c xmlBufferWrite (void * context, const char * buffer, int len) { buffer 1107 third_party/libxml/src/xmlIO.c ret = xmlBufferAdd((xmlBufferPtr) context, (const xmlChar *) buffer, len); buffer 1264 third_party/libxml/src/xmlIO.c xmlGzfileRead (void * context, char * buffer, int len) { buffer 1267 third_party/libxml/src/xmlIO.c ret = gzread((gzFile) context, &buffer[0], len); buffer 1284 third_party/libxml/src/xmlIO.c xmlGzfileWrite (void * context, const char * buffer, int len) { buffer 1287 third_party/libxml/src/xmlIO.c ret = gzwrite((gzFile) context, (char *) &buffer[0], len); buffer 1811 third_party/libxml/src/xmlIO.c xmlIOHTTPRead(void * context, char * buffer, int len) { buffer 1812 third_party/libxml/src/xmlIO.c if ((buffer == NULL) || (len < 0)) return(-1); buffer 1813 third_party/libxml/src/xmlIO.c return(xmlNanoHTTPRead(context, &buffer[0], len)); buffer 1830 third_party/libxml/src/xmlIO.c xmlIOHTTPWrite( void * context, const char * buffer, int len ) { buffer 1834 third_party/libxml/src/xmlIO.c if ( ( ctxt == NULL ) || ( ctxt->doc_buff == NULL ) || ( buffer == NULL ) ) buffer 1843 third_party/libxml/src/xmlIO.c len = xmlZMemBuffAppend( ctxt->doc_buff, buffer, len ); buffer 1847 third_party/libxml/src/xmlIO.c len = xmlOutputBufferWrite( ctxt->doc_buff, len, buffer ); buffer 1917 third_party/libxml/src/xmlIO.c http_content = (char *)dctxt->buffer->content; buffer 1918 third_party/libxml/src/xmlIO.c content_lgth = dctxt->buffer->use; buffer 1941 third_party/libxml/src/xmlIO.c char buffer[ 4096 ]; buffer 1958 third_party/libxml/src/xmlIO.c (void)snprintf( buffer, sizeof(buffer), "%s.content", dump_name ); buffer 1960 third_party/libxml/src/xmlIO.c tst_file = fopen( buffer, "wb" ); buffer 1963 third_party/libxml/src/xmlIO.c "Transmitted content saved in file: %s\n", buffer ); buffer 1970 third_party/libxml/src/xmlIO.c (void)snprintf( buffer, sizeof(buffer), "%s.reply", dump_name ); buffer 1971 third_party/libxml/src/xmlIO.c tst_file = fopen( buffer, "wb" ); buffer 1974 third_party/libxml/src/xmlIO.c "Reply content saved in file: %s\n", buffer ); buffer 1978 third_party/libxml/src/xmlIO.c buffer, sizeof( buffer ) )) > 0 ) { buffer 1980 third_party/libxml/src/xmlIO.c fwrite( buffer, sizeof( char ), avail, tst_file ); buffer 2090 third_party/libxml/src/xmlIO.c xmlIOFTPRead(void * context, char * buffer, int len) { buffer 2091 third_party/libxml/src/xmlIO.c if ((buffer == NULL) || (len < 0)) return(-1); buffer 2092 third_party/libxml/src/xmlIO.c return(xmlNanoFTPRead(context, &buffer[0], len)); buffer 2281 third_party/libxml/src/xmlIO.c ret->buffer = xmlBufferCreateSize(2 * xmlDefaultBufferSize); buffer 2282 third_party/libxml/src/xmlIO.c if (ret->buffer == NULL) { buffer 2286 third_party/libxml/src/xmlIO.c ret->buffer->alloc = XML_BUFFER_ALLOC_DOUBLEIT; buffer 2320 third_party/libxml/src/xmlIO.c ret->buffer = xmlBufferCreate(); buffer 2321 third_party/libxml/src/xmlIO.c if (ret->buffer == NULL) { buffer 2327 third_party/libxml/src/xmlIO.c if (ret->buffer->alloc == XML_BUFFER_ALLOC_EXACT) buffer 2328 third_party/libxml/src/xmlIO.c ret->buffer->alloc = XML_BUFFER_ALLOC_DOUBLEIT; buffer 2370 third_party/libxml/src/xmlIO.c ret->buffer = xmlBufferCreate(); buffer 2371 third_party/libxml/src/xmlIO.c if (ret->buffer == NULL) { buffer 2382 third_party/libxml/src/xmlIO.c ret->buffer->alloc = XML_BUFFER_ALLOC_IO; buffer 2383 third_party/libxml/src/xmlIO.c ret->buffer->contentIO = ret->buffer->content; buffer 2429 third_party/libxml/src/xmlIO.c if (in->buffer != NULL) { buffer 2430 third_party/libxml/src/xmlIO.c xmlBufferFree(in->buffer); buffer 2431 third_party/libxml/src/xmlIO.c in->buffer = NULL; buffer 2468 third_party/libxml/src/xmlIO.c if (out->buffer != NULL) { buffer 2469 third_party/libxml/src/xmlIO.c xmlBufferFree(out->buffer); buffer 2470 third_party/libxml/src/xmlIO.c out->buffer = NULL; buffer 2785 third_party/libxml/src/xmlIO.c xmlOutputBufferCreateBuffer(xmlBufferPtr buffer, buffer 2789 third_party/libxml/src/xmlIO.c if (buffer == NULL) return(NULL); buffer 2794 third_party/libxml/src/xmlIO.c NULL, (void *) buffer, encoder); buffer 2851 third_party/libxml/src/xmlIO.c errcode = xmlBufferAdd(ret->buffer, (const xmlChar *) mem, size); buffer 2888 third_party/libxml/src/xmlIO.c ret->buffer = xmlBufferCreateStatic((void *)mem, (size_t) size); buffer 2889 third_party/libxml/src/xmlIO.c if (ret->buffer == NULL) { buffer 3074 third_party/libxml/src/xmlIO.c nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw); buffer 3083 third_party/libxml/src/xmlIO.c ret = xmlBufferAdd(in->buffer, (xmlChar *) buf, nbchars); buffer 3090 third_party/libxml/src/xmlIO.c nbchars, in->buffer->use, in->buffer->size); buffer 3103 third_party/libxml/src/xmlIO.c char * buffer ATTRIBUTE_UNUSED, buffer 3125 third_party/libxml/src/xmlIO.c char *buffer = NULL; buffer 3135 third_party/libxml/src/xmlIO.c buffree = in->buffer->size - in->buffer->use; buffer 3142 third_party/libxml/src/xmlIO.c needSize = in->buffer->use + len + 1; buffer 3143 third_party/libxml/src/xmlIO.c if (needSize > in->buffer->size){ buffer 3144 third_party/libxml/src/xmlIO.c if (!xmlBufferResize(in->buffer, needSize)){ buffer 3150 third_party/libxml/src/xmlIO.c buffer = (char *)&in->buffer->content[in->buffer->use]; buffer 3156 third_party/libxml/src/xmlIO.c res = in->readcallback(in->context, &buffer[0], len); buffer 3177 third_party/libxml/src/xmlIO.c res = xmlBufferAdd(in->raw, (const xmlChar *) buffer, len); buffer 3185 third_party/libxml/src/xmlIO.c nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw); buffer 3194 third_party/libxml/src/xmlIO.c in->buffer->use += nbchars; buffer 3195 third_party/libxml/src/xmlIO.c buffer[nbchars] = 0; buffer 3200 third_party/libxml/src/xmlIO.c nbchars, in->buffer->use, in->buffer->size); buffer 3222 third_party/libxml/src/xmlIO.c else if ((in->buffer != NULL) && buffer 3223 third_party/libxml/src/xmlIO.c (in->buffer->alloc == XML_BUFFER_ALLOC_IMMUTABLE)) buffer 3270 third_party/libxml/src/xmlIO.c ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk); buffer 3274 third_party/libxml/src/xmlIO.c if ((out->buffer->use < MINLEN) && (chunk == len)) buffer 3280 third_party/libxml/src/xmlIO.c ret = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer); buffer 3288 third_party/libxml/src/xmlIO.c ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk); buffer 3291 third_party/libxml/src/xmlIO.c nbchars = out->buffer->use; buffer 3310 third_party/libxml/src/xmlIO.c (const char *)out->buffer->content, nbchars); buffer 3312 third_party/libxml/src/xmlIO.c xmlBufferShrink(out->buffer, ret); buffer 3419 third_party/libxml/src/xmlIO.c (out->buffer == NULL) || buffer 3420 third_party/libxml/src/xmlIO.c (out->buffer->alloc == XML_BUFFER_ALLOC_IMMUTABLE)) return(-1); buffer 3433 third_party/libxml/src/xmlIO.c chunk = (out->buffer->size - out->buffer->use) - 1; buffer 3440 third_party/libxml/src/xmlIO.c if (xmlBufferGrow(out->buffer, out->buffer->size + 100) < 0) buffer 3456 third_party/libxml/src/xmlIO.c ret = escaping(out->buffer->content + out->buffer->use , buffer 3460 third_party/libxml/src/xmlIO.c out->buffer->use += chunk; buffer 3461 third_party/libxml/src/xmlIO.c out->buffer->content[out->buffer->use] = 0; buffer 3463 third_party/libxml/src/xmlIO.c if ((out->buffer->use < MINLEN) && (cons == len)) buffer 3469 third_party/libxml/src/xmlIO.c ret = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer); buffer 3477 third_party/libxml/src/xmlIO.c ret = escaping(out->buffer->content + out->buffer->use , buffer 3481 third_party/libxml/src/xmlIO.c out->buffer->use += chunk; buffer 3482 third_party/libxml/src/xmlIO.c out->buffer->content[out->buffer->use] = 0; buffer 3483 third_party/libxml/src/xmlIO.c nbchars = out->buffer->use; buffer 3502 third_party/libxml/src/xmlIO.c (const char *)out->buffer->content, nbchars); buffer 3504 third_party/libxml/src/xmlIO.c xmlBufferShrink(out->buffer, ret); buffer 3512 third_party/libxml/src/xmlIO.c } else if (out->buffer->size - out->buffer->use < MINLEN) { buffer 3513 third_party/libxml/src/xmlIO.c xmlBufferResize(out->buffer, out->buffer->size + MINLEN); buffer 3573 third_party/libxml/src/xmlIO.c nbchars = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer); buffer 3592 third_party/libxml/src/xmlIO.c (const char *)out->buffer->content, out->buffer->use); buffer 3594 third_party/libxml/src/xmlIO.c xmlBufferShrink(out->buffer, ret); buffer 535 third_party/libxml/src/xmllint.c static char buffer[50000]; buffer 541 third_party/libxml/src/xmllint.c result = (char *) xmlEncodeEntitiesReentrant(NULL, BAD_CAST buffer); buffer 546 third_party/libxml/src/xmllint.c buffer[0] = 0; buffer 561 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 564 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "%s:%d: ", input->filename, buffer 567 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "Entity: line %d: ", input->line); buffer 600 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 601 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "%c", buffer 605 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 606 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "\n"); buffer 612 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 613 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, " "); buffer 616 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 617 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "^\n"); buffer 639 third_party/libxml/src/xmllint.c buffer[0] = 0; buffer 649 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 650 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); buffer 676 third_party/libxml/src/xmllint.c buffer[0] = 0; buffer 687 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 688 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); buffer 714 third_party/libxml/src/xmllint.c buffer[0] = 0; buffer 722 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 724 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); buffer 751 third_party/libxml/src/xmllint.c buffer[0] = 0; buffer 760 third_party/libxml/src/xmllint.c len = strlen(buffer); buffer 761 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); buffer 138 third_party/libxml/src/xmlreader.c xmlBufferPtr buffer; /* used to return const xmlChar * */ buffer 560 third_party/libxml/src/xmlreader.c if (reader->input->buffer == NULL) { buffer 565 third_party/libxml/src/xmlreader.c &reader->input->buffer->content[reader->cur]); buffer 813 third_party/libxml/src/xmlreader.c if ((reader->input == NULL) || (reader->input->buffer == NULL)) buffer 818 third_party/libxml/src/xmlreader.c inbuf = reader->input->buffer; buffer 1212 third_party/libxml/src/xmlreader.c xmlBufferPtr buffer; buffer 1215 third_party/libxml/src/xmlreader.c buffer = xmlBufferCreate(); buffer 1216 third_party/libxml/src/xmlreader.c if (buffer == NULL) buffer 1223 third_party/libxml/src/xmlreader.c xmlBufferCat(buffer, node->content); buffer 1229 third_party/libxml/src/xmlreader.c xmlBufferCat(buffer, tmp); buffer 1237 third_party/libxml/src/xmlreader.c ret = buffer->content; buffer 1238 third_party/libxml/src/xmlreader.c buffer->content = NULL; buffer 1239 third_party/libxml/src/xmlreader.c xmlBufferFree(buffer); buffer 2052 third_party/libxml/src/xmlreader.c ret->buffer = xmlBufferCreateSize(100); buffer 2053 third_party/libxml/src/xmlreader.c if (ret->buffer == NULL) { buffer 2061 third_party/libxml/src/xmlreader.c xmlBufferFree(ret->buffer); buffer 2094 third_party/libxml/src/xmlreader.c if (ret->input->buffer->use < 4) { buffer 2097 third_party/libxml/src/xmlreader.c if (ret->input->buffer->use >= 4) { buffer 2099 third_party/libxml/src/xmlreader.c (const char *) ret->input->buffer->content, 4, URI); buffer 2111 third_party/libxml/src/xmlreader.c xmlBufferFree(ret->buffer); buffer 2239 third_party/libxml/src/xmlreader.c if (reader->buffer != NULL) buffer 2240 third_party/libxml/src/xmlreader.c xmlBufferFree(reader->buffer); buffer 3588 third_party/libxml/src/xmlreader.c if (reader->buffer == NULL) buffer 3589 third_party/libxml/src/xmlreader.c reader->buffer = xmlBufferCreateSize(100); buffer 3590 third_party/libxml/src/xmlreader.c if (reader->buffer == NULL) { buffer 3595 third_party/libxml/src/xmlreader.c reader->buffer->use = 0; buffer 3596 third_party/libxml/src/xmlreader.c xmlNodeBufGetContent(reader->buffer, node); buffer 3597 third_party/libxml/src/xmlreader.c return(reader->buffer->content); buffer 4960 third_party/libxml/src/xmlreader.c if (reader->buffer == NULL) buffer 4961 third_party/libxml/src/xmlreader.c reader->buffer = xmlBufferCreateSize(100); buffer 4962 third_party/libxml/src/xmlreader.c if (reader->buffer == NULL) { buffer 5002 third_party/libxml/src/xmlreader.c if (reader->input->buffer->use < 4) { buffer 5006 third_party/libxml/src/xmlreader.c if (reader->input->buffer->use >= 4) { buffer 5008 third_party/libxml/src/xmlreader.c (const char *) reader->input->buffer->content, 4, URL); buffer 5037 third_party/libxml/src/xmlreader.c inputStream->base = inputStream->buf->buffer->content; buffer 5038 third_party/libxml/src/xmlreader.c inputStream->cur = inputStream->buf->buffer->content; buffer 5040 third_party/libxml/src/xmlreader.c &inputStream->buf->buffer->content[inputStream->buf->buffer->use]; buffer 5243 third_party/libxml/src/xmlreader.c xmlReaderForMemory(const char *buffer, int size, const char *URL, buffer 5249 third_party/libxml/src/xmlreader.c buf = xmlParserInputBufferCreateStatic(buffer, size, buffer 5463 third_party/libxml/src/xmlreader.c xmlReaderNewMemory(xmlTextReaderPtr reader, const char *buffer, int size, buffer 5470 third_party/libxml/src/xmlreader.c if (buffer == NULL) buffer 5473 third_party/libxml/src/xmlreader.c input = xmlParserInputBufferCreateStatic(buffer, size, buffer 437 third_party/libxml/src/xmlsave.c xmlAttrSerializeTxtContent(buf->buffer, attr->doc, buffer 441 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf->buffer, BAD_CAST "&", 1); buffer 442 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf->buffer, children->name, buffer 444 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf->buffer, BAD_CAST ";", 1); buffer 525 third_party/libxml/src/xmlsave.c xmlBufferWriteQuotedString(buf->buffer, cur->href); buffer 566 third_party/libxml/src/xmlsave.c xmlBufferWriteQuotedString(buf->buffer, dtd->ExternalID); buffer 568 third_party/libxml/src/xmlsave.c xmlBufferWriteQuotedString(buf->buffer, dtd->SystemID); buffer 571 third_party/libxml/src/xmlsave.c xmlBufferWriteQuotedString(buf->buffer, dtd->SystemID); buffer 586 third_party/libxml/src/xmlsave.c xmlDumpNotationTable(buf->buffer, (xmlNotationTablePtr) dtd->notations); buffer 781 third_party/libxml/src/xmlsave.c xmlDumpElementDecl(buf->buffer, (xmlElementPtr) cur); buffer 785 third_party/libxml/src/xmlsave.c xmlDumpAttributeDecl(buf->buffer, (xmlAttributePtr) cur); buffer 789 third_party/libxml/src/xmlsave.c xmlDumpEntityDecl(buf->buffer, (xmlEntityPtr) cur); buffer 1026 third_party/libxml/src/xmlsave.c xmlBufferWriteQuotedString(buf->buffer, cur->version); buffer 1031 third_party/libxml/src/xmlsave.c xmlBufferWriteQuotedString(buf->buffer, (xmlChar *) encoding); buffer 1309 third_party/libxml/src/xmlsave.c xmlDumpElementDecl(buf->buffer, (xmlElementPtr) cur); buffer 1313 third_party/libxml/src/xmlsave.c xmlDumpAttributeDecl(buf->buffer, (xmlAttributePtr) cur); buffer 1317 third_party/libxml/src/xmlsave.c xmlDumpEntityDecl(buf->buffer, (xmlEntityPtr) cur); buffer 1688 third_party/libxml/src/xmlsave.c xmlSaveToBuffer(xmlBufferPtr buffer, const char *encoding, int options) buffer 1705 third_party/libxml/src/xmlsave.c out_buff = xmlOutputBufferCreateBuffer(buffer, handler); buffer 2038 third_party/libxml/src/xmlsave.c outbuf->buffer = buf; buffer 2231 third_party/libxml/src/xmlsave.c *doc_txt_len = out_buff->buffer->use; buffer 2232 third_party/libxml/src/xmlsave.c *doc_txt_ptr = xmlStrndup(out_buff->buffer->content, *doc_txt_len); buffer 609 third_party/libxml/src/xmlschemas.c const char *buffer; buffer 12453 third_party/libxml/src/xmlschemas.c xmlSchemaNewMemParserCtxt(const char *buffer, int size) buffer 12457 third_party/libxml/src/xmlschemas.c if ((buffer == NULL) || (size <= 0)) buffer 12462 third_party/libxml/src/xmlschemas.c ret->buffer = buffer; buffer 21304 third_party/libxml/src/xmlschemas.c ctxt->URL, ctxt->doc, ctxt->buffer, ctxt->size, NULL, buffer 5576 third_party/libxml/src/xmlschemastypes.c xmlSchemaFormatFloat(double number, char buffer[], int buffersize) buffer 5581 third_party/libxml/src/xmlschemastypes.c snprintf(buffer, buffersize, "INF"); buffer 5585 third_party/libxml/src/xmlschemastypes.c snprintf(buffer, buffersize, "-INF"); buffer 5590 third_party/libxml/src/xmlschemastypes.c snprintf(buffer, buffersize, "NaN"); buffer 5592 third_party/libxml/src/xmlschemastypes.c snprintf(buffer, buffersize, "0.0E0"); buffer 5628 third_party/libxml/src/xmlschemastypes.c memmove(buffer, work, size); buffer 1504 third_party/libxml/src/xmlwriter.c xmlAttrSerializeTxtContent(writer->out->buffer, writer->doc, buffer 2666 third_party/libxml/src/xpath.c xmlXPathFormatNumber(double number, char buffer[], int buffersize) buffer 2671 third_party/libxml/src/xpath.c snprintf(buffer, buffersize, "Infinity"); buffer 2675 third_party/libxml/src/xpath.c snprintf(buffer, buffersize, "-Infinity"); buffer 2680 third_party/libxml/src/xpath.c snprintf(buffer, buffersize, "NaN"); buffer 2682 third_party/libxml/src/xpath.c snprintf(buffer, buffersize, "0"); buffer 2688 third_party/libxml/src/xpath.c ptr = &buffer[0]; buffer 2694 third_party/libxml/src/xpath.c while ((*cur) && (ptr - buffer < buffersize)) { buffer 2698 third_party/libxml/src/xpath.c if (ptr - buffer < buffersize) { buffer 2769 third_party/libxml/src/xpath.c memmove(buffer, work, size); buffer 9881 third_party/libxml/src/xpath.c xmlChar *buffer; buffer 9884 third_party/libxml/src/xpath.c buffer = (xmlChar *) xmlMallocAtomic(max * sizeof(xmlChar)); buffer 9885 third_party/libxml/src/xpath.c if (buffer == NULL) { buffer 9888 third_party/libxml/src/xpath.c memcpy(buffer, buf, len); buffer 9896 third_party/libxml/src/xpath.c buffer = (xmlChar *) xmlRealloc(buffer, buffer 9898 third_party/libxml/src/xpath.c if (buffer == NULL) { buffer 9902 third_party/libxml/src/xpath.c COPY_BUF(l,buffer,len,c); buffer 9906 third_party/libxml/src/xpath.c buffer[len] = 0; buffer 9907 third_party/libxml/src/xpath.c return(buffer); buffer 980 third_party/libxml/src/xpointer.c xmlChar *buffer, *cur; buffer 996 third_party/libxml/src/xpointer.c buffer = (xmlChar *) xmlMallocAtomic(len * sizeof (xmlChar)); buffer 997 third_party/libxml/src/xpointer.c if (buffer == NULL) { buffer 1002 third_party/libxml/src/xpointer.c cur = buffer; buffer 1023 third_party/libxml/src/xpointer.c xmlFree(buffer); buffer 1030 third_party/libxml/src/xpointer.c CUR_PTR = buffer; buffer 1046 third_party/libxml/src/xpointer.c CUR_PTR = buffer; buffer 1047 third_party/libxml/src/xpointer.c if (buffer[0] == '/') { buffer 1054 third_party/libxml/src/xpointer.c xmlFree(buffer); buffer 1067 third_party/libxml/src/xpointer.c CUR_PTR = buffer; buffer 1070 third_party/libxml/src/xpointer.c xmlFree(buffer); buffer 1077 third_party/libxml/src/xpointer.c xmlFree(buffer); buffer 1088 third_party/libxml/src/xpointer.c xmlFree(buffer); buffer 1096 third_party/libxml/src/xpointer.c xmlFree(buffer); buffer 1110 third_party/libxml/src/xpointer.c xmlFree(buffer); buffer 156 third_party/libxslt/libxslt/numbers.c xsltNumberFormatDecimal(xmlBufferPtr buffer, buffer 226 third_party/libxslt/libxslt/numbers.c xmlBufferCat(buffer, pointer); buffer 230 third_party/libxslt/libxslt/numbers.c xsltNumberFormatAlpha(xmlBufferPtr buffer, buffer 252 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, pointer); buffer 256 third_party/libxslt/libxslt/numbers.c xsltNumberFormatRoman(xmlBufferPtr buffer, buffer 264 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "M" : "m"); buffer 268 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "CM" : "cm"); buffer 272 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "D" : "d"); buffer 276 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "CD" : "cd"); buffer 280 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "C" : "c"); buffer 284 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "XC" : "xc"); buffer 288 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "L" : "l"); buffer 292 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "XL" : "xl"); buffer 296 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "X" : "x"); buffer 300 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "IX" : "ix"); buffer 304 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "V" : "v"); buffer 308 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "IV" : "iv"); buffer 312 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, (is_upper) ? "I" : "i"); buffer 428 third_party/libxslt/libxslt/numbers.c xmlBufferPtr buffer) buffer 438 third_party/libxslt/libxslt/numbers.c xmlBufferCat(buffer, tokens->start); buffer 467 third_party/libxslt/libxslt/numbers.c xmlBufferCat(buffer, token->separator); buffer 469 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, DEFAULT_SEPARATOR); buffer 474 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, "-Infinity"); buffer 477 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, "Infinity"); buffer 481 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(buffer, "NaN"); buffer 486 third_party/libxslt/libxslt/numbers.c xsltNumberFormatAlpha(buffer, buffer 492 third_party/libxslt/libxslt/numbers.c xsltNumberFormatAlpha(buffer, buffer 498 third_party/libxslt/libxslt/numbers.c xsltNumberFormatRoman(buffer, buffer 504 third_party/libxslt/libxslt/numbers.c xsltNumberFormatRoman(buffer, buffer 511 third_party/libxslt/libxslt/numbers.c xsltNumberFormatDecimal(buffer, buffer 530 third_party/libxslt/libxslt/numbers.c xmlBufferCat(buffer, tokens->end); buffer 949 third_party/libxslt/libxslt/numbers.c xmlBufferPtr buffer; buffer 997 third_party/libxslt/libxslt/numbers.c buffer = xmlBufferCreate(); buffer 998 third_party/libxslt/libxslt/numbers.c if (buffer == NULL) { buffer 1269 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, self->minusSign, xsltUTF8Size(self->minusSign)); buffer 1275 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, prefix, len); buffer 1279 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, &pchar, 1); buffer 1291 third_party/libxslt/libxslt/numbers.c xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0], buffer 1296 third_party/libxslt/libxslt/numbers.c xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0], buffer 1311 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, self->zeroDigit, xsltUTF8Size(self->zeroDigit)); buffer 1317 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, self->decimalPoint, buffer 1323 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, self->decimalPoint, buffer 1331 third_party/libxslt/libxslt/numbers.c xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0], buffer 1340 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, suffix, len); buffer 1344 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, &pchar, 1); buffer 1347 third_party/libxslt/libxslt/numbers.c *result = xmlStrdup(xmlBufferContent(buffer)); buffer 1348 third_party/libxslt/libxslt/numbers.c xmlBufferFree(buffer); buffer 99 third_party/libxslt/libxslt/trio.h int trio_sprintf TRIO_PROTO((char *buffer, TRIO_CONST char *format, ...)); buffer 100 third_party/libxslt/libxslt/trio.h int trio_vsprintf TRIO_PROTO((char *buffer, TRIO_CONST char *format, va_list args)); buffer 101 third_party/libxslt/libxslt/trio.h int trio_sprintfv TRIO_PROTO((char *buffer, TRIO_CONST char *format, void **args)); buffer 103 third_party/libxslt/libxslt/trio.h int trio_snprintf TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); buffer 104 third_party/libxslt/libxslt/trio.h int trio_vsnprintf TRIO_PROTO((char *buffer, size_t bufferSize, TRIO_CONST char *format, buffer 106 third_party/libxslt/libxslt/trio.h int trio_snprintfv TRIO_PROTO((char *buffer, size_t bufferSize, TRIO_CONST char *format, buffer 109 third_party/libxslt/libxslt/trio.h int trio_snprintfcat TRIO_PROTO((char *buffer, size_t max, TRIO_CONST char *format, ...)); buffer 110 third_party/libxslt/libxslt/trio.h int trio_vsnprintfcat TRIO_PROTO((char *buffer, size_t bufferSize, TRIO_CONST char *format, buffer 141 third_party/libxslt/libxslt/trio.h int trio_sscanf TRIO_PROTO((TRIO_CONST char *buffer, TRIO_CONST char *format, ...)); buffer 142 third_party/libxslt/libxslt/trio.h int trio_vsscanf TRIO_PROTO((TRIO_CONST char *buffer, TRIO_CONST char *format, va_list args)); buffer 143 third_party/libxslt/libxslt/trio.h int trio_sscanfv TRIO_PROTO((TRIO_CONST char *buffer, TRIO_CONST char *format, void **args)); buffer 1541 third_party/libxslt/libxslt/xsltutils.c xmlBufferWriteQuotedString(buf->buffer, result->version); buffer 1554 third_party/libxslt/libxslt/xsltutils.c xmlBufferWriteQuotedString(buf->buffer, (xmlChar *) encoding); buffer 1761 third_party/libxslt/libxslt/xsltutils.c *doc_txt_len = buf->buffer->use; buffer 1762 third_party/libxslt/libxslt/xsltutils.c *doc_txt_ptr = xmlStrndup(buf->buffer->content, *doc_txt_len); buffer 1225 third_party/lzma_sdk/7zIn.c CBuf buffer; buffer 1267 third_party/lzma_sdk/7zIn.c if (!Buf_Create(&buffer, nextHeaderSizeT, allocTemp)) buffer 1270 third_party/lzma_sdk/7zIn.c res = LookInStream_Read(inStream, buffer.data, nextHeaderSizeT); buffer 1274 third_party/lzma_sdk/7zIn.c if (CrcCalc(buffer.data, nextHeaderSizeT) == nextHeaderCRC) buffer 1278 third_party/lzma_sdk/7zIn.c sd.Data = buffer.data; buffer 1279 third_party/lzma_sdk/7zIn.c sd.Size = buffer.size; buffer 1292 third_party/lzma_sdk/7zIn.c Buf_Free(&buffer, allocTemp); buffer 1293 third_party/lzma_sdk/7zIn.c buffer.data = outBuffer.data; buffer 1294 third_party/lzma_sdk/7zIn.c buffer.size = outBuffer.size; buffer 1295 third_party/lzma_sdk/7zIn.c sd.Data = buffer.data; buffer 1296 third_party/lzma_sdk/7zIn.c sd.Size = buffer.size; buffer 1310 third_party/lzma_sdk/7zIn.c Buf_Free(&buffer, allocTemp); buffer 22 third_party/lzma_sdk/Bcj2.c #define RC_READ_BYTE (*buffer++) buffer 23 third_party/lzma_sdk/Bcj2.c #define RC_TEST { if (buffer == bufferLim) return SZ_ERROR_DATA; } buffer 43 third_party/lzma_sdk/Bcj2.c const Byte *buffer, *bufferLim; buffer 51 third_party/lzma_sdk/Bcj2.c buffer = buf3; buffer 52 third_party/lzma_sdk/Bcj2.c bufferLim = buffer + size3; buffer 45 third_party/lzma_sdk/LzFind.c Byte *MatchFinder_GetPointerToCurrentPos(CMatchFinder *p) { return p->buffer; } buffer 46 third_party/lzma_sdk/LzFind.c Byte MatchFinder_GetIndexByte(CMatchFinder *p, Int32 index) { return p->buffer[index]; } buffer 74 third_party/lzma_sdk/LzFind.c Byte *dest = p->buffer + (p->streamPos - p->pos); buffer 95 third_party/lzma_sdk/LzFind.c p->buffer - p->keepSizeBefore, buffer 97 third_party/lzma_sdk/LzFind.c p->buffer = p->bufferBase + p->keepSizeBefore; buffer 105 third_party/lzma_sdk/LzFind.c return ((size_t)(p->bufferBase + p->blockSize - p->buffer) <= p->keepSizeAfter); buffer 277 third_party/lzma_sdk/LzFind.c p->buffer = p->bufferBase; buffer 460 third_party/lzma_sdk/LzFind.c p->buffer++; \ buffer 470 third_party/lzma_sdk/LzFind.c cur = p->buffer; buffer 475 third_party/lzma_sdk/LzFind.c #define MF_PARAMS(p) p->pos, p->buffer, p->son, p->cyclicBufferPos, p->cyclicBufferSize, p->cutValue buffer 17 third_party/lzma_sdk/LzFind.h Byte *buffer; buffer 53 third_party/lzma_sdk/LzFind.h #define Inline_MatchFinder_GetPointerToCurrentPos(p) ((p)->buffer) buffer 54 third_party/lzma_sdk/LzFind.h #define Inline_MatchFinder_GetIndexByte(p, index) ((p)->buffer[(Int32)(index)]) buffer 76 third_party/lzma_sdk/LzFind.h UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *son, buffer 839 third_party/npapi/bindings/npapi.h int32_t len, void* buffer); buffer 872 third_party/npapi/bindings/npapi.h void* buffer); buffer 238 third_party/npapi/bindings/npapi_extensions.h NPDeviceBuffer* buffer); buffer 57 third_party/npapi/bindings/npfunctions.h typedef int32_t (* NP_LOADDS NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); buffer 80 third_party/npapi/bindings/npfunctions.h typedef int32_t (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32_t len, void* buffer); buffer 317 third_party/npapi/npspy/common/epmanager.cpp int32 NPPEntryPointManager::callNPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer) buffer 323 third_party/npapi/npspy/common/epmanager.cpp return CallNPP_WriteProc(nppfuncs->write, instance, stream, offset, len, buffer); buffer 94 third_party/npapi/npspy/common/format.cpp inline int vsnprintf(char* buffer, size_t size, buffer 96 third_party/npapi/npspy/common/format.cpp int length = vsnprintf_s(buffer, size, size - 1, format, arguments); buffer 102 third_party/npapi/npspy/common/format.cpp inline int vsnprintf(char* buffer, size_t size, buffer 104 third_party/npapi/npspy/common/format.cpp return ::vsnprintf(buffer, size, format, arguments); buffer 161 third_party/npapi/npspy/common/npn_gate.cpp int32 NPN_Write(NPP instance, NPStream *stream, int32 len, void *buffer) buffer 168 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_write, (DWORD)instance, (DWORD)stream, (DWORD)len, (DWORD)buffer); buffer 171 third_party/npapi/npspy/common/npn_gate.cpp rv = NPNFuncs.write(instance, stream, len, buffer); buffer 273 third_party/npapi/npspy/common/npp_gate.cpp int32 NPP_Write (NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer) buffer 282 third_party/npapi/npspy/common/npp_gate.cpp logger->logCall(action_npp_write, (DWORD)instance, (DWORD)stream, (DWORD)offset, (DWORD)len, (DWORD)buffer); buffer 284 third_party/npapi/npspy/common/npp_gate.cpp int32 rv = epManager->callNPP_Write(instance, stream, offset, len, buffer); buffer 146 third_party/npapi/npspy/extern/nspr/prmwait.h PRMemoryDescriptor buffer; /* where to store first segment of input data */ buffer 361 third_party/npapi/npspy/extern/nspr/prnetdb.h const char* protocolname, char* buffer, PRInt32 bufsize, PRProtoEnt* result); buffer 386 third_party/npapi/npspy/extern/nspr/prnetdb.h PRInt32 protocolnumber, char* buffer, PRInt32 bufsize, PRProtoEnt* result); buffer 659 third_party/npapi/npspy/extern/nspr/prtrace.h #define PR_GET_TRACE_ENTRIES(buffer,count,found)\ buffer 660 third_party/npapi/npspy/extern/nspr/prtrace.h PR_GetTraceEntries((buffer),(count),(found)) buffer 662 third_party/npapi/npspy/extern/nspr/prtrace.h #define PR_GET_TRACE_ENTRIES(buffer,count,found) buffer 667 third_party/npapi/npspy/extern/nspr/prtrace.h PRTraceEntry *buffer, /* where to write output */ buffer 696 third_party/npapi/npspy/extern/plugin/npapi.h int32 len, void* buffer); buffer 728 third_party/npapi/npspy/extern/plugin/npapi.h int32 NP_LOADDS NPN_Write(NPP instance, NPStream* stream, int32 len, void* buffer); buffer 131 third_party/npapi/npspy/extern/plugin/npupp.h typedef int32 (* NP_LOADDS NPP_WriteUPP)(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer); buffer 241 third_party/npapi/npspy/extern/plugin/npupp.h typedef int32 (* NP_LOADDS NPN_WriteUPP)(NPP instance, NPStream* stream, int32 len, void* buffer); buffer 244 third_party/npapi/npspy/extern/plugin/npupp.h #define CallNPN_WriteProc(FUNC, npp, stream, len, buffer) \ buffer 245 third_party/npapi/npspy/extern/plugin/npupp.h (*(FUNC))((npp), (stream), (len), (buffer)) buffer 96 third_party/npapi/npspy/include/epmanager.h int32 callNPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer); buffer 721 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java private byte[] buffer; buffer 737 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java this.buffer = new byte[initialCapacity]; buffer 742 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java if (bufferPos == buffer.length) { buffer 745 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java buffer[bufferPos++] = (byte)b; buffer 750 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java if (length <= buffer.length - bufferPos) { buffer 752 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(b, offset, buffer, bufferPos, length); buffer 756 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java int copySize = buffer.length - bufferPos; buffer 757 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(b, offset, buffer, bufferPos, copySize); buffer 763 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(b, offset, buffer, 0 /* count */, length); buffer 782 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java private byte[] copyArray(byte[] buffer, int length) { buffer 784 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(buffer, 0, result, 0, Math.min(buffer.length, length)); buffer 804 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java cachedBuffer = buffer; buffer 846 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java flushedBuffers.add(new LiteralByteString(buffer)); buffer 847 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java flushedBuffersTotalBytes += buffer.length; buffer 853 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java buffer = new byte[newSize]; buffer 862 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java if (bufferPos < buffer.length) { buffer 864 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java byte[] bufferCopy = copyArray(buffer, bufferPos); buffer 870 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java flushedBuffers.add(new LiteralByteString(buffer)); buffer 876 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java buffer = EMPTY_BYTE_ARRAY; buffer 904 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java private final byte[] buffer; buffer 907 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java buffer = new byte[size]; buffer 908 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java output = CodedOutputStream.newInstance(buffer); buffer 917 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(buffer); buffer 222 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final String result = new String(buffer, bufferPos, size, "UTF-8"); buffer 324 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final ByteString result = ByteString.copyFrom(buffer, bufferPos, size); buffer 534 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java private final byte[] buffer; buffer 564 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java private CodedInputStream(final byte[] buffer, final int off, final int len) { buffer 565 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java this.buffer = buffer; buffer 573 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java buffer = new byte[BUFFER_SIZE]; buffer 737 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java bufferSize = (input == null) ? -1 : input.read(buffer); buffer 771 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return buffer[bufferPos++]; buffer 795 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, bufferPos, bytes, 0, size); buffer 805 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, bufferPos, bytes, 0, pos); buffer 814 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, 0, bytes, pos, bufferSize); buffer 820 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, 0, bytes, pos, size - pos); buffer 868 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, originalBufferPos, bytes, 0, pos); buffer 53 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java private final byte[] buffer; buffer 76 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java private CodedOutputStream(final byte[] buffer, final int offset, buffer 79 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java this.buffer = buffer; buffer 84 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java private CodedOutputStream(final OutputStream output, final byte[] buffer) { buffer 86 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java this.buffer = buffer; buffer 88 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java limit = buffer.length; buffer 833 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java output.write(buffer, 0, position); buffer 895 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java buffer[position++] = value; buffer 918 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java System.arraycopy(value, offset, buffer, position, length); buffer 924 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java System.arraycopy(value, offset, buffer, position, bytesWritten); buffer 935 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java System.arraycopy(value, offset, buffer, 0, length); buffer 949 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java value.copyTo(buffer, offset, position, length); buffer 955 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java value.copyTo(buffer, offset, position, bytesWritten); buffer 966 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java value.copyTo(buffer, offset, 0, length); buffer 980 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java int bytesRead = inputStreamFrom.read(buffer, 0, bytesToRead); buffer 984 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java output.write(buffer, 0, bytesRead); buffer 1038 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final CharBuffer buffer = CharBuffer.allocate(BUFFER_SIZE); buffer 1040 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final int n = input.read(buffer); buffer 1044 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java buffer.flip(); buffer 1045 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java text.append(buffer, 0, n); buffer 316 third_party/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java public void appendTo(StringBuffer buffer) { buffer 317 third_party/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java buffer.append("wrapsCallback(mockCallback)"); buffer 1295 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc char* buffer = PyString_AS_STRING(result); buffer 1297 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc reinterpret_cast<uint8*>(buffer)); buffer 351 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc char buffer[kFastToBufferSize]; buffer 352 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc result.append(FastHexToBuffer(static_cast<uint8>(filename[i]), buffer)); buffer 408 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc char buffer[kFastToBufferSize]; buffer 410 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc vars["has_mask"] = FastHex32ToBuffer(1u << (field->index() % 32), buffer); buffer 1972 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc char buffer[kFastToBufferSize]; buffer 1976 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "mask", FastHex32ToBuffer(mask, buffer)); buffer 205 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc char buffer[4096]; buffer 208 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc if (!ReadFile(child_stdout_, buffer, sizeof(buffer), &n, NULL)) { buffer 213 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc output_data.append(buffer, n); buffer 404 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc char buffer[4096]; buffer 405 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc int n = read(child_stdout_, buffer, sizeof(buffer)); buffer 408 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc output_data.append(buffer, n); buffer 223 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bool CodedInputStream::ReadRaw(void* buffer, int size) { buffer 227 third_party/protobuf/src/google/protobuf/io/coded_stream.cc memcpy(buffer, buffer_, current_buffer_size); buffer 228 third_party/protobuf/src/google/protobuf/io/coded_stream.cc buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; buffer 234 third_party/protobuf/src/google/protobuf/io/coded_stream.cc memcpy(buffer, buffer_, size); buffer 240 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bool CodedInputStream::ReadString(string* buffer, int size) { buffer 242 third_party/protobuf/src/google/protobuf/io/coded_stream.cc return InternalReadStringInline(buffer, size); buffer 245 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bool CodedInputStream::ReadStringFallback(string* buffer, int size) { buffer 246 third_party/protobuf/src/google/protobuf/io/coded_stream.cc if (!buffer->empty()) { buffer 247 third_party/protobuf/src/google/protobuf/io/coded_stream.cc buffer->clear(); buffer 256 third_party/protobuf/src/google/protobuf/io/coded_stream.cc buffer->append(reinterpret_cast<const char*>(buffer_), buffer 264 third_party/protobuf/src/google/protobuf/io/coded_stream.cc buffer->append(reinterpret_cast<const char*>(buffer_), size); buffer 308 third_party/protobuf/src/google/protobuf/io/coded_stream.cc const uint8* buffer, uint32* value) GOOGLE_ATTRIBUTE_ALWAYS_INLINE; buffer 309 third_party/protobuf/src/google/protobuf/io/coded_stream.cc inline const uint8* ReadVarint32FromArray(const uint8* buffer, uint32* value) { buffer 312 third_party/protobuf/src/google/protobuf/io/coded_stream.cc const uint8* ptr = buffer; buffer 164 third_party/protobuf/src/google/protobuf/io/coded_stream.h explicit CodedInputStream(const uint8* buffer, int size); buffer 196 third_party/protobuf/src/google/protobuf/io/coded_stream.h bool ReadRaw(void* buffer, int size); buffer 205 third_party/protobuf/src/google/protobuf/io/coded_stream.h bool ReadString(string* buffer, int size); buffer 208 third_party/protobuf/src/google/protobuf/io/coded_stream.h inline bool InternalReadStringInline(string* buffer, buffer 220 third_party/protobuf/src/google/protobuf/io/coded_stream.h static const uint8* ReadLittleEndian32FromArray(const uint8* buffer, buffer 223 third_party/protobuf/src/google/protobuf/io/coded_stream.h static const uint8* ReadLittleEndian64FromArray(const uint8* buffer, buffer 258 third_party/protobuf/src/google/protobuf/io/coded_stream.h const uint8* buffer, buffer 548 third_party/protobuf/src/google/protobuf/io/coded_stream.h bool ReadStringFallback(string* buffer, int size); buffer 640 third_party/protobuf/src/google/protobuf/io/coded_stream.h void WriteRaw(const void* buffer, int size); buffer 646 third_party/protobuf/src/google/protobuf/io/coded_stream.h static uint8* WriteRawToArray(const void* buffer, int size, uint8* target); buffer 779 third_party/protobuf/src/google/protobuf/io/coded_stream.h const uint8* buffer, buffer 782 third_party/protobuf/src/google/protobuf/io/coded_stream.h memcpy(value, buffer, sizeof(*value)); buffer 783 third_party/protobuf/src/google/protobuf/io/coded_stream.h return buffer + sizeof(*value); buffer 785 third_party/protobuf/src/google/protobuf/io/coded_stream.h *value = (static_cast<uint32>(buffer[0]) ) | buffer 786 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[1]) << 8) | buffer 787 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[2]) << 16) | buffer 788 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[3]) << 24); buffer 789 third_party/protobuf/src/google/protobuf/io/coded_stream.h return buffer + sizeof(*value); buffer 794 third_party/protobuf/src/google/protobuf/io/coded_stream.h const uint8* buffer, buffer 797 third_party/protobuf/src/google/protobuf/io/coded_stream.h memcpy(value, buffer, sizeof(*value)); buffer 798 third_party/protobuf/src/google/protobuf/io/coded_stream.h return buffer + sizeof(*value); buffer 800 third_party/protobuf/src/google/protobuf/io/coded_stream.h uint32 part0 = (static_cast<uint32>(buffer[0]) ) | buffer 801 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[1]) << 8) | buffer 802 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[2]) << 16) | buffer 803 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[3]) << 24); buffer 804 third_party/protobuf/src/google/protobuf/io/coded_stream.h uint32 part1 = (static_cast<uint32>(buffer[4]) ) | buffer 805 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[5]) << 8) | buffer 806 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[6]) << 16) | buffer 807 third_party/protobuf/src/google/protobuf/io/coded_stream.h (static_cast<uint32>(buffer[7]) << 24); buffer 810 third_party/protobuf/src/google/protobuf/io/coded_stream.h return buffer + sizeof(*value); buffer 885 third_party/protobuf/src/google/protobuf/io/coded_stream.h const uint8* buffer, uint32 expected) { buffer 887 third_party/protobuf/src/google/protobuf/io/coded_stream.h if (buffer[0] == expected) { buffer 888 third_party/protobuf/src/google/protobuf/io/coded_stream.h return buffer + 1; buffer 891 third_party/protobuf/src/google/protobuf/io/coded_stream.h if (buffer[0] == static_cast<uint8>(expected | 0x80) && buffer 892 third_party/protobuf/src/google/protobuf/io/coded_stream.h buffer[1] == static_cast<uint8>(expected >> 7)) { buffer 893 third_party/protobuf/src/google/protobuf/io/coded_stream.h return buffer + 2; buffer 1102 third_party/protobuf/src/google/protobuf/io/coded_stream.h inline CodedInputStream::CodedInputStream(const uint8* buffer, int size) buffer 1104 third_party/protobuf/src/google/protobuf/io/coded_stream.h buffer_(buffer), buffer 1105 third_party/protobuf/src/google/protobuf/io/coded_stream.h buffer_end_(buffer + size), buffer 47 third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h inline bool CodedInputStream::InternalReadStringInline(string* buffer, buffer 52 third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h STLStringResizeUninitialized(buffer, size); buffer 56 third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h memcpy(string_as_array(buffer), buffer_, size); buffer 62 third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h return ReadStringFallback(buffer, size); buffer 672 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc uint8 buffer[8]; buffer 673 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc CodedInputStream coded_input(buffer, 8); buffer 679 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc scoped_array<uint8> buffer(new uint8[8]); buffer 680 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc CodedInputStream coded_input(buffer.get(), 8); buffer 54 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[8192]; buffer 56 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); buffer 62 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[8192]; buffer 65 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer), block_size); buffer 77 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer[output.ByteCount()] = '\0'; buffer 82 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer); buffer 87 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[8192]; buffer 90 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer), block_size); buffer 103 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer[output.ByteCount()] = '\0'; buffer 110 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer); buffer 115 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[8192]; buffer 118 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer), block_size); buffer 138 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer[output.ByteCount()] = '\0'; buffer 146 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer); buffer 151 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[8192]; buffer 153 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer)); buffer 163 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer[output.ByteCount()] = '\0'; buffer 168 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer); buffer 172 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[8192]; buffer 175 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer), block_size); buffer 204 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer[output.ByteCount()] = '\0'; buffer 218 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc buffer); buffer 225 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[8192]; buffer 227 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer)); buffer 237 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[17]; buffer 239 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer)); buffer 257 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc EXPECT_EQ("0123456789abcdef<", string(buffer, sizeof(buffer))); buffer 261 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc char buffer[16]; buffer 263 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc ArrayOutputStream output(buffer, sizeof(buffer)); buffer 279 third_party/protobuf/src/google/protobuf/io/printer_unittest.cc EXPECT_EQ("0123456789abcdef", string(buffer, sizeof(buffer))); buffer 137 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc int FileInputStream::CopyingFileInputStream::Read(void* buffer, int size) { buffer 142 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc result = read(file_, buffer, size); buffer 236 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc const void* buffer, int size) { buffer 240 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc const uint8* buffer_base = reinterpret_cast<const uint8*>(buffer); buffer 303 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc void* buffer, int size) { buffer 304 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc input_->read(reinterpret_cast<char*>(buffer), size); buffer 344 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc const void* buffer, int size) { buffer 345 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc output_->write(reinterpret_cast<const char*>(buffer), size); buffer 107 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h int Read(void* buffer, int size); buffer 189 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Write(const void* buffer, int size); buffer 237 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h int Read(void* buffer, int size); buffer 280 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Write(const void* buffer, int size); buffer 176 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h virtual int Read(void* buffer, int size) = 0; buffer 268 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h virtual bool Write(const void* buffer, int size) = 0; buffer 199 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc scoped_array<char> buffer(new char[str.size() + 1]); buffer 200 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc buffer[str.size()] = '\0'; buffer 201 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc EXPECT_EQ(ReadFromInput(input, buffer.get(), str.size()), str.size()); buffer 202 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc EXPECT_STREQ(str.c_str(), buffer.get()); buffer 272 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8 buffer[kBufferSize]; buffer 278 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); buffer 282 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size, kBlockSizes[j]); buffer 295 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 301 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); buffer 309 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc buffer + pos, kBufferSize - pos, kBlockSizes[i]); buffer 318 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc new ArrayInputStream(buffer, size, kBlockSizes[j]); buffer 337 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 343 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 350 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); buffer 362 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size, kBlockSizes[j]); buffer 370 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 375 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 385 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); buffer 398 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size, kBlockSizes[j]); buffer 406 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 411 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 417 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize, block_size); buffer 430 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size, block_size); buffer 435 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 440 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 445 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize, block_size); buffer 457 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size, block_size); buffer 464 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 469 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 476 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); buffer 488 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size, kBlockSizes[j]); buffer 496 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 501 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 504 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize); buffer 513 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size); buffer 518 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize); buffer 527 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(buffer, size); buffer 531 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 550 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc const void* buffer; buffer 552 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc while (gzin.Next(&buffer, &size)) { buffer 553 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc result.append(reinterpret_cast<const char*>(buffer), size); buffer 600 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* buffer = new uint8[kBufferSize]; buffer 606 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); buffer 617 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc buffer + pos, kBufferSize - pos, kBlockSizes[i]); buffer 629 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc new ArrayInputStream(buffer, size, kBlockSizes[j]); buffer 656 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc delete [] buffer; buffer 782 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc const void* buffer; buffer 784 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc EXPECT_FALSE(input.Next(&buffer, &size)); buffer 795 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc void* buffer; buffer 800 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc EXPECT_TRUE(input.Next(&buffer, &size)); buffer 803 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc EXPECT_FALSE(input.Next(&buffer, &size)); buffer 880 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8 buffer[kBufferSize]; buffer 883 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize); buffer 888 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input1(buffer , 12); buffer 889 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input2(buffer + 12, 7); buffer 890 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input3(buffer + 19, 6); buffer 891 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input4(buffer + 25, 15); buffer 892 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input5(buffer + 40, 0); buffer 896 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input6(buffer + 40, 10); buffer 897 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input7(buffer + 50, 18); // Total = 68 bytes. buffer 913 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8 buffer[kBufferSize]; buffer 916 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayOutputStream output(buffer, kBufferSize); buffer 920 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream array_input(buffer, kBufferSize); buffer 163 third_party/protobuf/src/google/protobuf/lite_unittest.cc string buffer; buffer 164 third_party/protobuf/src/google/protobuf/lite_unittest.cc generator.SerializeToString(&buffer); buffer 166 third_party/protobuf/src/google/protobuf/lite_unittest.cc parsing_merge.ParseFromString(buffer); buffer 236 third_party/protobuf/src/google/protobuf/message_lite.cc uint8* buffer = output->GetDirectBufferForNBytesAndAdvance(size); buffer 237 third_party/protobuf/src/google/protobuf/message_lite.cc if (buffer != NULL) { buffer 238 third_party/protobuf/src/google/protobuf/message_lite.cc uint8* end = SerializeWithCachedSizesToArray(buffer); buffer 239 third_party/protobuf/src/google/protobuf/message_lite.cc if (end - buffer != size) { buffer 240 third_party/protobuf/src/google/protobuf/message_lite.cc ByteSizeConsistencyError(size, ByteSize(), end - buffer); buffer 312 third_party/protobuf/src/google/protobuf/message_unittest.cc string buffer; buffer 313 third_party/protobuf/src/google/protobuf/message_unittest.cc generator.SerializeToString(&buffer); buffer 315 third_party/protobuf/src/google/protobuf/message_unittest.cc parsing_merge.ParseFromString(buffer); buffer 91 third_party/protobuf/src/google/protobuf/stubs/common.cc char buffer[128]; buffer 92 third_party/protobuf/src/google/protobuf/stubs/common.cc snprintf(buffer, sizeof(buffer), "%d.%d.%d", major, minor, micro); buffer 95 third_party/protobuf/src/google/protobuf/stubs/common.cc buffer[sizeof(buffer)-1] = '\0'; buffer 97 third_party/protobuf/src/google/protobuf/stubs/common.cc return buffer; buffer 160 third_party/protobuf/src/google/protobuf/stubs/common.cc char buffer[128]; \ buffer 161 third_party/protobuf/src/google/protobuf/stubs/common.cc snprintf(buffer, sizeof(buffer), FORMAT, value); \ buffer 163 third_party/protobuf/src/google/protobuf/stubs/common.cc buffer[sizeof(buffer)-1] = '\0'; \ buffer 164 third_party/protobuf/src/google/protobuf/stubs/common.cc message_ += buffer; \ buffer 611 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char *FastInt64ToBuffer(int64 i, char* buffer) { buffer 615 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* p = buffer + kFastInt64ToBufferOffset; buffer 656 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char *FastInt32ToBuffer(int32 i, char* buffer) { buffer 660 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* p = buffer + kFastInt32ToBufferOffset; buffer 694 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char *FastHexToBuffer(int i, char* buffer) { buffer 698 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char *p = buffer + 21; buffer 707 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char *InternalFastHexToBuffer(uint64 value, char* buffer, int num_byte) { buffer 709 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[num_byte] = '\0'; buffer 715 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[i] = hexdigits[value & 0xf]; buffer 717 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[i] = hexdigits[uint32(value) & 0xf]; buffer 721 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 724 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char *FastHex64ToBuffer(uint64 value, char* buffer) { buffer 725 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return InternalFastHexToBuffer(value, buffer, 16); buffer 728 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char *FastHex32ToBuffer(uint32 value, char* buffer) { buffer 729 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return InternalFastHexToBuffer(value, buffer, 8); buffer 778 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* FastUInt32ToBufferLeft(uint32 u, char* buffer) { buffer 790 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 791 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 792 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 798 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 799 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 800 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 806 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 807 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 808 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 814 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 815 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 816 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 822 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 823 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 824 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 826 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer = 0; buffer 827 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 833 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '0' + digits; buffer 839 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '0' + digits; buffer 845 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '0' + digits; buffer 851 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '0' + digits; buffer 856 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '0' + digits; buffer 860 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* FastInt32ToBufferLeft(int32 i, char* buffer) { buffer 863 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '-'; buffer 866 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return FastUInt32ToBufferLeft(u, buffer); buffer 869 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* FastUInt64ToBufferLeft(uint64 u64, char* buffer) { buffer 874 third_party/protobuf/src/google/protobuf/stubs/strutil.cc if (u == u64) return FastUInt32ToBufferLeft(u, buffer); buffer 877 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer = FastUInt64ToBufferLeft(top_11_digits, buffer); buffer 883 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 884 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 885 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 889 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 890 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 891 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 895 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 896 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 897 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 901 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[0] = ASCII_digits[0]; buffer 902 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer[1] = ASCII_digits[1]; buffer 903 third_party/protobuf/src/google/protobuf/stubs/strutil.cc buffer += 2; buffer 906 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '0' + digits; buffer 907 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer = 0; buffer 908 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 911 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* FastInt64ToBufferLeft(int64 i, char* buffer) { buffer 914 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer++ = '-'; buffer 917 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return FastUInt64ToBufferLeft(u, buffer); buffer 928 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kFastToBufferSize]; buffer 930 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastInt32ToBuffer(i, buffer) : buffer 931 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastInt64ToBuffer(i, buffer); buffer 935 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kFastToBufferSize]; buffer 936 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return string(buffer, (sizeof(i) == 4) ? buffer 937 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastUInt32ToBufferLeft(i, buffer) : buffer 938 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastUInt64ToBufferLeft(i, buffer)); buffer 942 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kFastToBufferSize]; buffer 944 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastInt32ToBuffer(i, buffer) : buffer 945 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastInt64ToBuffer(i, buffer); buffer 949 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kFastToBufferSize]; buffer 950 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return string(buffer, (sizeof(i) == 4) ? buffer 951 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastUInt32ToBufferLeft(i, buffer) : buffer 952 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastUInt64ToBufferLeft(i, buffer)); buffer 956 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kFastToBufferSize]; buffer 958 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastInt32ToBuffer(i, buffer) : buffer 959 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastInt64ToBuffer(i, buffer); buffer 963 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kFastToBufferSize]; buffer 964 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return string(buffer, (sizeof(i) == 4) ? buffer 965 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastUInt32ToBufferLeft(i, buffer) : buffer 966 third_party/protobuf/src/google/protobuf/stubs/strutil.cc FastUInt64ToBufferLeft(i, buffer)); buffer 1011 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kDoubleToBufferSize]; buffer 1012 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return DoubleToBuffer(value, buffer); buffer 1016 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char buffer[kFloatToBufferSize]; buffer 1017 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return FloatToBuffer(value, buffer); buffer 1026 third_party/protobuf/src/google/protobuf/stubs/strutil.cc void DelocalizeRadix(char* buffer) { buffer 1029 third_party/protobuf/src/google/protobuf/stubs/strutil.cc if (strchr(buffer, '.') != NULL) return; buffer 1032 third_party/protobuf/src/google/protobuf/stubs/strutil.cc while (IsValidFloatChar(*buffer)) ++buffer; buffer 1034 third_party/protobuf/src/google/protobuf/stubs/strutil.cc if (*buffer == '\0') { buffer 1041 third_party/protobuf/src/google/protobuf/stubs/strutil.cc *buffer = '.'; buffer 1042 third_party/protobuf/src/google/protobuf/stubs/strutil.cc ++buffer; buffer 1044 third_party/protobuf/src/google/protobuf/stubs/strutil.cc if (!IsValidFloatChar(*buffer) && *buffer != '\0') { buffer 1047 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* target = buffer; buffer 1048 third_party/protobuf/src/google/protobuf/stubs/strutil.cc do { ++buffer; } while (!IsValidFloatChar(*buffer) && *buffer != '\0'); buffer 1049 third_party/protobuf/src/google/protobuf/stubs/strutil.cc memmove(target, buffer, strlen(buffer) + 1); buffer 1053 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* DoubleToBuffer(double value, char* buffer) { buffer 1061 third_party/protobuf/src/google/protobuf/stubs/strutil.cc strcpy(buffer, "inf"); buffer 1062 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 1064 third_party/protobuf/src/google/protobuf/stubs/strutil.cc strcpy(buffer, "-inf"); buffer 1065 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 1067 third_party/protobuf/src/google/protobuf/stubs/strutil.cc strcpy(buffer, "nan"); buffer 1068 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 1072 third_party/protobuf/src/google/protobuf/stubs/strutil.cc snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG, value); buffer 1084 third_party/protobuf/src/google/protobuf/stubs/strutil.cc volatile double parsed_value = strtod(buffer, NULL); buffer 1087 third_party/protobuf/src/google/protobuf/stubs/strutil.cc snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG+2, value); buffer 1093 third_party/protobuf/src/google/protobuf/stubs/strutil.cc DelocalizeRadix(buffer); buffer 1094 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 1108 third_party/protobuf/src/google/protobuf/stubs/strutil.cc char* FloatToBuffer(float value, char* buffer) { buffer 1116 third_party/protobuf/src/google/protobuf/stubs/strutil.cc strcpy(buffer, "inf"); buffer 1117 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 1119 third_party/protobuf/src/google/protobuf/stubs/strutil.cc strcpy(buffer, "-inf"); buffer 1120 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 1122 third_party/protobuf/src/google/protobuf/stubs/strutil.cc strcpy(buffer, "nan"); buffer 1123 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 1127 third_party/protobuf/src/google/protobuf/stubs/strutil.cc snprintf(buffer, kFloatToBufferSize, "%.*g", FLT_DIG, value); buffer 1134 third_party/protobuf/src/google/protobuf/stubs/strutil.cc if (!safe_strtof(buffer, &parsed_value) || parsed_value != value) { buffer 1136 third_party/protobuf/src/google/protobuf/stubs/strutil.cc snprintf(buffer, kFloatToBufferSize, "%.*g", FLT_DIG+2, value); buffer 1142 third_party/protobuf/src/google/protobuf/stubs/strutil.cc DelocalizeRadix(buffer); buffer 1143 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return buffer; buffer 355 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastInt32ToBuffer(int32 i, char* buffer); buffer 356 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastInt64ToBuffer(int64 i, char* buffer); buffer 357 third_party/protobuf/src/google/protobuf/stubs/strutil.h char* FastUInt32ToBuffer(uint32 i, char* buffer); // inline below buffer 358 third_party/protobuf/src/google/protobuf/stubs/strutil.h char* FastUInt64ToBuffer(uint64 i, char* buffer); // inline below buffer 359 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastHexToBuffer(int i, char* buffer); buffer 360 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastHex64ToBuffer(uint64 i, char* buffer); buffer 361 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastHex32ToBuffer(uint32 i, char* buffer); buffer 364 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline char* FastIntToBuffer(int i, char* buffer) { buffer 366 third_party/protobuf/src/google/protobuf/stubs/strutil.h FastInt32ToBuffer(i, buffer) : FastInt64ToBuffer(i, buffer)); buffer 368 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline char* FastUIntToBuffer(unsigned int i, char* buffer) { buffer 370 third_party/protobuf/src/google/protobuf/stubs/strutil.h FastUInt32ToBuffer(i, buffer) : FastUInt64ToBuffer(i, buffer)); buffer 372 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline char* FastLongToBuffer(long i, char* buffer) { buffer 374 third_party/protobuf/src/google/protobuf/stubs/strutil.h FastInt32ToBuffer(i, buffer) : FastInt64ToBuffer(i, buffer)); buffer 376 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline char* FastULongToBuffer(unsigned long i, char* buffer) { buffer 378 third_party/protobuf/src/google/protobuf/stubs/strutil.h FastUInt32ToBuffer(i, buffer) : FastUInt64ToBuffer(i, buffer)); buffer 397 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastInt32ToBufferLeft(int32 i, char* buffer); buffer 398 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastUInt32ToBufferLeft(uint32 i, char* buffer); buffer 399 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastInt64ToBufferLeft(int64 i, char* buffer); buffer 400 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FastUInt64ToBufferLeft(uint64 i, char* buffer); buffer 403 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline char* FastUInt32ToBuffer(uint32 i, char* buffer) { buffer 404 third_party/protobuf/src/google/protobuf/stubs/strutil.h FastUInt32ToBufferLeft(i, buffer); buffer 405 third_party/protobuf/src/google/protobuf/stubs/strutil.h return buffer; buffer 407 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline char* FastUInt64ToBuffer(uint64 i, char* buffer) { buffer 408 third_party/protobuf/src/google/protobuf/stubs/strutil.h FastUInt64ToBufferLeft(i, buffer); buffer 409 third_party/protobuf/src/google/protobuf/stubs/strutil.h return buffer; buffer 447 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* DoubleToBuffer(double i, char* buffer); buffer 448 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT char* FloatToBuffer(float i, char* buffer); buffer 66 third_party/protobuf/src/google/protobuf/testing/file.cc char buffer[1024]; buffer 71 third_party/protobuf/src/google/protobuf/testing/file.cc size_t n = fread(buffer, 1, sizeof(buffer), file); buffer 73 third_party/protobuf/src/google/protobuf/testing/file.cc output->append(buffer, n); buffer 1445 third_party/protobuf/src/google/protobuf/text_format.cc char buffer[kFastToBufferSize]; buffer 1446 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(FastHex32ToBuffer(field.fixed32(), buffer)); buffer 1457 third_party/protobuf/src/google/protobuf/text_format.cc char buffer[kFastToBufferSize]; buffer 1458 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(FastHex64ToBuffer(field.fixed64(), buffer)); buffer 350 third_party/protobuf/src/google/protobuf/text_format_unittest.cc char buffer[1] = ""; buffer 351 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayOutputStream output_stream(buffer, 1); buffer 353 third_party/protobuf/src/google/protobuf/text_format_unittest.cc EXPECT_EQ(buffer[0], 'r'); buffer 312 third_party/protobuf/src/google/protobuf/wire_format_lite.h static inline const uint8* ReadPrimitiveFromArray(const uint8* buffer, buffer 171 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h const uint8* buffer, buffer 173 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h return io::CodedInputStream::ReadLittleEndian32FromArray(buffer, value); buffer 178 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h const uint8* buffer, buffer 180 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h return io::CodedInputStream::ReadLittleEndian64FromArray(buffer, value); buffer 185 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h const uint8* buffer, buffer 188 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h buffer = io::CodedInputStream::ReadLittleEndian32FromArray(buffer, &temp); buffer 190 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h return buffer; buffer 195 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h const uint8* buffer, buffer 198 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h buffer = io::CodedInputStream::ReadLittleEndian64FromArray(buffer, &temp); buffer 200 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h return buffer; buffer 205 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h const uint8* buffer, buffer 208 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h buffer = io::CodedInputStream::ReadLittleEndian32FromArray(buffer, &temp); buffer 210 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h return buffer; buffer 215 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h const uint8* buffer, buffer 218 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h buffer = io::CodedInputStream::ReadLittleEndian64FromArray(buffer, &temp); buffer 220 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h return buffer; buffer 265 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h const uint8* buffer = reinterpret_cast<const uint8*>(void_pointer); buffer 273 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h (buffer = io::CodedInputStream::ExpectTagFromArray( buffer 274 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h buffer, tag)) != NULL) { buffer 275 third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h buffer = ReadPrimitiveFromArray<CType, DeclaredType>(buffer, &value); buffer 227 third_party/talloc/libreplace/snprintf.c static int dopr(char *buffer, size_t maxlen, const char *format, buffer 229 third_party/talloc/libreplace/snprintf.c static void fmtstr(char *buffer, size_t *currlen, size_t maxlen, buffer 231 third_party/talloc/libreplace/snprintf.c static void fmtint(char *buffer, size_t *currlen, size_t maxlen, buffer 233 third_party/talloc/libreplace/snprintf.c static void fmtfp(char *buffer, size_t *currlen, size_t maxlen, buffer 235 third_party/talloc/libreplace/snprintf.c static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c); buffer 240 third_party/talloc/libreplace/snprintf.c static int dopr(char *buffer, size_t maxlen, const char *format, va_list args_in) buffer 673 third_party/talloc/libreplace/snprintf.c memcpy(&(buffer[currlen]), &(base[cnk->start]), len); buffer 681 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, cnk->value, 10, min, max, cnk->flags); buffer 685 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, cnk->value, 8, min, max, cnk->flags); buffer 689 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, cnk->value, 16, min, max, cnk->flags); buffer 693 third_party/talloc/libreplace/snprintf.c fmtfp (buffer, &currlen, maxlen, cnk->fvalue, min, max, cnk->flags); buffer 697 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, &currlen, maxlen, cnk->value); buffer 704 third_party/talloc/libreplace/snprintf.c fmtstr (buffer, &currlen, maxlen, cnk->strvalue, cnk->flags, min, max); buffer 708 third_party/talloc/libreplace/snprintf.c fmtint (buffer, &currlen, maxlen, (long)(cnk->strvalue), 16, min, max, cnk->flags); buffer 727 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, &currlen, maxlen, '%'); buffer 738 third_party/talloc/libreplace/snprintf.c buffer[currlen] = '\0'; buffer 740 third_party/talloc/libreplace/snprintf.c buffer[maxlen - 1] = '\0'; buffer 761 third_party/talloc/libreplace/snprintf.c static void fmtstr(char *buffer, size_t *currlen, size_t maxlen, buffer 782 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, ' '); buffer 786 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, *value++); buffer 790 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, ' '); buffer 797 third_party/talloc/libreplace/snprintf.c static void fmtint(char *buffer, size_t *currlen, size_t maxlen, buffer 854 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, ' '); buffer 860 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, signvalue); buffer 865 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, '0'); buffer 872 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, convert[--place]); buffer 876 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, ' '); buffer 950 third_party/talloc/libreplace/snprintf.c static void fmtfp (char *buffer, size_t *currlen, size_t maxlen, buffer 1057 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, signvalue); buffer 1062 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, '0'); buffer 1067 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, ' '); buffer 1071 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, signvalue); buffer 1074 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, iconvert[--iplace]); buffer 1085 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, '.'); buffer 1088 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, '0'); buffer 1093 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, fconvert[--fplace]); buffer 1097 third_party/talloc/libreplace/snprintf.c dopr_outch (buffer, currlen, maxlen, ' '); buffer 1102 third_party/talloc/libreplace/snprintf.c static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c) buffer 1105 third_party/talloc/libreplace/snprintf.c buffer[(*currlen)] = c; buffer 101 third_party/tcmalloc/chromium/src/base/sysinfo.cc # define saferead(fd, buffer, size) syscall(SYS_read, fd, buffer, size) buffer 103 third_party/tcmalloc/chromium/src/base/sysinfo.cc # define saferead(fd, buffer, size) read(fd, buffer, size) buffer 721 third_party/tcmalloc/chromium/src/base/sysinfo.cc ProcMapsIterator::ProcMapsIterator(pid_t pid, Buffer *buffer) { buffer 722 third_party/tcmalloc/chromium/src/base/sysinfo.cc Init(pid, buffer, false); buffer 725 third_party/tcmalloc/chromium/src/base/sysinfo.cc ProcMapsIterator::ProcMapsIterator(pid_t pid, Buffer *buffer, buffer 727 third_party/tcmalloc/chromium/src/base/sysinfo.cc Init(pid, buffer, use_maps_backing); buffer 730 third_party/tcmalloc/chromium/src/base/sysinfo.cc void ProcMapsIterator::Init(pid_t pid, Buffer *buffer, buffer 735 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (!buffer) { buffer 739 third_party/tcmalloc/chromium/src/base/sysinfo.cc buffer = dynamic_buffer_ = new Buffer; buffer 744 third_party/tcmalloc/chromium/src/base/sysinfo.cc ibuf_ = buffer->buf_; buffer 1074 third_party/tcmalloc/chromium/src/base/sysinfo.cc int ProcMapsIterator::FormatLine(char* buffer, int bufsize, buffer 1086 third_party/tcmalloc/chromium/src/base/sysinfo.cc const int rc = snprintf(buffer, bufsize, buffer 121 third_party/tcmalloc/chromium/src/base/sysinfo.h ProcMapsIterator(pid_t pid, Buffer *buffer); buffer 126 third_party/tcmalloc/chromium/src/base/sysinfo.h ProcMapsIterator(pid_t pid, Buffer *buffer, buffer 155 third_party/tcmalloc/chromium/src/base/sysinfo.h static int FormatLine(char* buffer, int bufsize, buffer 190 third_party/tcmalloc/chromium/src/base/sysinfo.h void Init(pid_t pid, Buffer *buffer, bool use_maps_backing); buffer 649 third_party/tcmalloc/chromium/src/debugallocation.cc const unsigned char* buffer, buffer 651 third_party/tcmalloc/chromium/src/debugallocation.cc if (memcmp(buffer, kMagicDeletedBuffer, size_of_buffer) == 0) { buffer 658 third_party/tcmalloc/chromium/src/debugallocation.cc "buffer: %zd", buffer_idx, buffer, size_of_buffer); buffer 665 third_party/tcmalloc/chromium/src/debugallocation.cc if (buffer[i] != kMagicDeletedByte) { buffer 667 third_party/tcmalloc/chromium/src/debugallocation.cc i, buffer[i], kMagicDeletedByte); buffer 68 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bool DeepHeapProfile::AppendCommandLine(TextBuffer* buffer) { buffer 89 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("CommandLine: ", 0); buffer 90 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(cmdline, 0); buffer 91 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar('\n'); buffer 109 third_party/tcmalloc/chromium/src/deep-heap-profile.cc TextBuffer* buffer) const { buffer 140 third_party/tcmalloc/chromium/src/deep-heap-profile.cc DeepHeapProfile::TextBuffer* buffer) const { buffer 165 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer != NULL && state.pfn != 0) { buffer 167 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(" PF:", 0); buffer 170 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 172 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar('<'); buffer 173 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendBase64(state.pfn, 4); buffer 180 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar('#'); buffer 181 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendBase64(pagecount, 1); buffer 185 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar('>'); buffer 188 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar('\n'); buffer 216 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer != NULL && pageframe_list_length != 0) { buffer 217 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar('\n'); buffer 334 third_party/tcmalloc/chromium/src/deep-heap-profile.cc TextBuffer buffer(raw_buffer, buffer_size, fd); buffer 380 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kProfileHeader, 0); buffer 381 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kProfileVersion, 0); buffer 382 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("\n", 0); buffer 385 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kMetaInformationHeader, 0); buffer 387 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("Time: ", 0); buffer 388 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendUnsignedLong(time_value, 0); buffer 389 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendChar('\n'); buffer 392 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("Reason: ", 0); buffer 393 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(reason, 0); buffer 394 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendChar('\n'); buffer 397 third_party/tcmalloc/chromium/src/deep-heap-profile.cc AppendCommandLine(&buffer); buffer 399 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("RunID: ", 0); buffer 400 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(run_id_, 0); buffer 401 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendChar('\n'); buffer 403 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("PageSize: ", 0); buffer 404 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendInt(getpagesize(), 0, 0); buffer 405 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendChar('\n'); buffer 410 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("PageFrame: 24,Base64,PageCount", 0); buffer 411 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendChar('\n'); buffer 413 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("PageFrame: 24,Base64", 0); buffer 414 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendChar('\n'); buffer 418 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kMMapListHeader, 0); buffer 420 third_party/tcmalloc/chromium/src/deep-heap-profile.cc stats_.SnapshotMaps(memory_residence_info_getter_, this, &buffer); buffer 423 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kGlobalStatsHeader, 0); buffer 425 third_party/tcmalloc/chromium/src/deep-heap-profile.cc stats_.Unparse(&buffer); buffer 427 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kStacktraceHeader, 0); buffer 428 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kVirtualLabel, 10); buffer 429 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendChar(' '); buffer 430 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString(kCommittedLabel, 10); buffer 431 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.AppendString("\n", 0); buffer 434 third_party/tcmalloc/chromium/src/deep-heap-profile.cc deep_table_.UnparseForStats(&buffer); buffer 436 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.Flush(); buffer 565 third_party/tcmalloc/chromium/src/deep-heap-profile.cc void DeepHeapProfile::DeepBucket::UnparseForStats(TextBuffer* buffer) { buffer 566 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendInt64(bucket->alloc_size - bucket->free_size, 10); buffer 567 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 568 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendInt64(committed_size, 10); buffer 569 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 570 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendInt(bucket->allocs, 6, false); buffer 571 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 572 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendInt(bucket->frees, 6, false); buffer 573 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(" @ ", 0); buffer 574 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendInt(id, 0, false); buffer 575 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("\n", 0); buffer 578 third_party/tcmalloc/chromium/src/deep-heap-profile.cc void DeepHeapProfile::DeepBucket::UnparseForBucketFile(TextBuffer* buffer) { buffer 579 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendInt(id, 0, false); buffer 580 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 581 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(is_mmap ? "mmap" : "malloc", 0); buffer 584 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(" t0x", 0); buffer 585 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendPtr(reinterpret_cast<uintptr_t>(type), 0); buffer 587 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(" nno_typeinfo", 0); buffer 589 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(" n", 0); buffer 590 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(type->name(), 0); buffer 595 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(" 0x", 0); buffer 596 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendPtr(reinterpret_cast<uintptr_t>(bucket->stack[depth]), 8); buffer 598 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("\n", 0); buffer 678 third_party/tcmalloc/chromium/src/deep-heap-profile.cc void DeepHeapProfile::DeepBucketTable::UnparseForStats(TextBuffer* buffer) { buffer 687 third_party/tcmalloc/chromium/src/deep-heap-profile.cc deep_bucket->UnparseForStats(buffer); buffer 700 third_party/tcmalloc/chromium/src/deep-heap-profile.cc TextBuffer buffer(raw_buffer, buffer_size, fd); buffer 715 third_party/tcmalloc/chromium/src/deep-heap-profile.cc deep_bucket->UnparseForBucketFile(&buffer); buffer 720 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer.Flush(); buffer 769 third_party/tcmalloc/chromium/src/deep-heap-profile.cc TextBuffer* buffer) { buffer 775 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer); buffer 781 third_party/tcmalloc/chromium/src/deep-heap-profile.cc TextBuffer* buffer) { buffer 782 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(name, 25); buffer 783 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 784 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendLong(virtual_bytes_, 12); buffer 785 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 786 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendLong(committed_bytes_, 12); buffer 787 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("\n", 0); buffer 845 third_party/tcmalloc/chromium/src/deep-heap-profile.cc char buffer[1024]; buffer 846 third_party/tcmalloc/chromium/src/deep-heap-profile.cc int written = procmaps_iter.FormatLine(buffer, sizeof(buffer), buffer 849 third_party/tcmalloc/chromium/src/deep-heap-profile.cc mmap_dump_buffer->AppendString(buffer, 0); buffer 978 third_party/tcmalloc/chromium/src/deep-heap-profile.cc char buffer[1024]; buffer 979 third_party/tcmalloc/chromium/src/deep-heap-profile.cc int written = procmaps_iter.FormatLine(buffer, sizeof(buffer), buffer 985 third_party/tcmalloc/chromium/src/deep-heap-profile.cc RAW_VLOG(0, "[%d] in %s", getpid(), buffer); buffer 1030 third_party/tcmalloc/chromium/src/deep-heap-profile.cc void DeepHeapProfile::GlobalStats::Unparse(TextBuffer* buffer) { buffer 1039 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("# total (", 0); buffer 1040 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendUnsignedLong(all_total.committed_bytes(), 0); buffer 1041 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(") ", 0); buffer 1042 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(all_total.committed_bytes() == buffer 1045 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("= profiled-mmap (", 0); buffer 1046 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendUnsignedLong(profiled_mmap_.committed_bytes(), 0); buffer 1047 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(") + nonprofiled-* (", 0); buffer 1048 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendUnsignedLong(unhooked_total.committed_bytes(), 0); buffer 1049 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(")\n", 0); buffer 1052 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("", 26); buffer 1053 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(kVirtualLabel, 12); buffer 1054 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendChar(' '); buffer 1055 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString(kCommittedLabel, 12); buffer 1056 third_party/tcmalloc/chromium/src/deep-heap-profile.cc buffer->AppendString("\n", 0); buffer 1058 third_party/tcmalloc/chromium/src/deep-heap-profile.cc all_total.Unparse("total", buffer); buffer 1059 third_party/tcmalloc/chromium/src/deep-heap-profile.cc all_[ABSENT].Unparse("absent", buffer); buffer 1060 third_party/tcmalloc/chromium/src/deep-heap-profile.cc all_[FILE_EXEC].Unparse("file-exec", buffer); buffer 1061 third_party/tcmalloc/chromium/src/deep-heap-profile.cc all_[FILE_NONEXEC].Unparse("file-nonexec", buffer); buffer 1062 third_party/tcmalloc/chromium/src/deep-heap-profile.cc all_[ANONYMOUS].Unparse("anonymous", buffer); buffer 1063 third_party/tcmalloc/chromium/src/deep-heap-profile.cc all_[STACK].Unparse("stack", buffer); buffer 1064 third_party/tcmalloc/chromium/src/deep-heap-profile.cc all_[OTHER].Unparse("other", buffer); buffer 1065 third_party/tcmalloc/chromium/src/deep-heap-profile.cc unhooked_total.Unparse("nonprofiled-total", buffer); buffer 1066 third_party/tcmalloc/chromium/src/deep-heap-profile.cc unhooked_[ABSENT].Unparse("nonprofiled-absent", buffer); buffer 1067 third_party/tcmalloc/chromium/src/deep-heap-profile.cc unhooked_[ANONYMOUS].Unparse("nonprofiled-anonymous", buffer); buffer 1068 third_party/tcmalloc/chromium/src/deep-heap-profile.cc unhooked_[FILE_EXEC].Unparse("nonprofiled-file-exec", buffer); buffer 1069 third_party/tcmalloc/chromium/src/deep-heap-profile.cc unhooked_[FILE_NONEXEC].Unparse("nonprofiled-file-nonexec", buffer); buffer 1070 third_party/tcmalloc/chromium/src/deep-heap-profile.cc unhooked_[STACK].Unparse("nonprofiled-stack", buffer); buffer 1071 third_party/tcmalloc/chromium/src/deep-heap-profile.cc unhooked_[OTHER].Unparse("nonprofiled-other", buffer); buffer 1072 third_party/tcmalloc/chromium/src/deep-heap-profile.cc profiled_mmap_.Unparse("profiled-mmap", buffer); buffer 1073 third_party/tcmalloc/chromium/src/deep-heap-profile.cc profiled_malloc_.Unparse("profiled-malloc", buffer); buffer 157 third_party/tcmalloc/chromium/src/deep-heap-profile.h TextBuffer* buffer) const = 0; buffer 180 third_party/tcmalloc/chromium/src/deep-heap-profile.h TextBuffer* buffer) const; buffer 206 third_party/tcmalloc/chromium/src/deep-heap-profile.h TextBuffer* buffer) const; buffer 241 third_party/tcmalloc/chromium/src/deep-heap-profile.h void UnparseForStats(TextBuffer* buffer); buffer 242 third_party/tcmalloc/chromium/src/deep-heap-profile.h void UnparseForBucketFile(TextBuffer* buffer); buffer 272 third_party/tcmalloc/chromium/src/deep-heap-profile.h void UnparseForStats(TextBuffer* buffer); buffer 313 third_party/tcmalloc/chromium/src/deep-heap-profile.h TextBuffer* buffer); buffer 316 third_party/tcmalloc/chromium/src/deep-heap-profile.h void Unparse(const char* name, TextBuffer* buffer); buffer 349 third_party/tcmalloc/chromium/src/deep-heap-profile.h void Unparse(TextBuffer* buffer); buffer 385 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendCommandLine(TextBuffer* buffer); buffer 113 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h virtual void GetStats(char* buffer, int buffer_length); buffer 66 third_party/tcmalloc/chromium/src/gperftools/malloc_extension_c.h PERFTOOLS_DLL_DECL void MallocExtension_GetStats(char* buffer, int buffer_length); buffer 899 third_party/tcmalloc/chromium/src/heap-checker.cc ProcMapsIterator::Buffer buffer; buffer 900 third_party/tcmalloc/chromium/src/heap-checker.cc ProcMapsIterator it(0, &buffer); buffer 428 third_party/tcmalloc/chromium/src/heap-profile-table.cc BufferArgs buffer(buf, bucket_length, size); buffer 429 third_party/tcmalloc/chromium/src/heap-profile-table.cc MemoryRegionMap::IterateBuckets<BufferArgs*>(DumpBucketIterator, &buffer); buffer 430 third_party/tcmalloc/chromium/src/heap-profile-table.cc bucket_length = buffer.buflen; buffer 714 third_party/tcmalloc/chromium/src/heap-profile-table.cc char buffer[kBufSize]; buffer 719 third_party/tcmalloc/chromium/src/heap-profile-table.cc base::RawPrinter printer(buffer, kBufSize); buffer 727 third_party/tcmalloc/chromium/src/heap-profile-table.cc RAW_LOG(ERROR, "%s", buffer); buffer 261 third_party/tcmalloc/chromium/src/heap-profiler.cc char* buffer = reinterpret_cast<char*>(malloc(kProfileBufferSize)); buffer 263 third_party/tcmalloc/chromium/src/heap-profiler.cc return DoGetHeapProfileLocked(buffer, kProfileBufferSize); buffer 160 third_party/tcmalloc/chromium/src/libc_override_osx.h char* buffer = new char[bufsize]; buffer 161 third_party/tcmalloc/chromium/src/libc_override_osx.h MallocExtension::instance()->GetStats(buffer, bufsize); buffer 162 third_party/tcmalloc/chromium/src/libc_override_osx.h fprintf(stdout, "%s", buffer); buffer 163 third_party/tcmalloc/chromium/src/libc_override_osx.h delete[] buffer; buffer 129 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::GetStats(char* buffer, int length) { buffer 131 third_party/tcmalloc/chromium/src/malloc_extension.cc buffer[0] = '\0'; buffer 371 third_party/tcmalloc/chromium/src/malloc_extension.cc (char* buffer, int buffer_length), (buffer, buffer_length)); buffer 509 third_party/tcmalloc/chromium/src/tcmalloc.cc char* buffer = new char[kBufferSize]; buffer 510 third_party/tcmalloc/chromium/src/tcmalloc.cc TCMalloc_Printer printer(buffer, kBufferSize); buffer 512 third_party/tcmalloc/chromium/src/tcmalloc.cc write(STDERR_FILENO, buffer, strlen(buffer)); buffer 513 third_party/tcmalloc/chromium/src/tcmalloc.cc delete[] buffer; buffer 607 third_party/tcmalloc/chromium/src/tcmalloc.cc virtual void GetStats(char* buffer, int buffer_length) { buffer 609 third_party/tcmalloc/chromium/src/tcmalloc.cc TCMalloc_Printer printer(buffer, buffer_length); buffer 1014 third_party/tcmalloc/chromium/src/tcmalloc.cc char buffer[N]; buffer 1015 third_party/tcmalloc/chromium/src/tcmalloc.cc TCMalloc_Printer printer(buffer, N); buffer 1023 third_party/tcmalloc/chromium/src/tcmalloc.cc write(STDERR_FILENO, buffer, strlen(buffer)); buffer 89 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc char* buffer = new char[kBufSize]; buffer 90 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc MallocExtension::instance()->GetStats(buffer, kBufSize); buffer 91 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc VLOG(1, "%s", buffer); buffer 92 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc delete[] buffer; buffer 101 third_party/tcmalloc/chromium/src/tests/malloc_extension_c_test.c char buffer[200]; buffer 107 third_party/tcmalloc/chromium/src/tests/malloc_extension_c_test.c MallocExtension_GetStats(buffer, sizeof(buffer)); buffer 112 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc unsigned char* buffer = reinterpret_cast<unsigned char*>(p); buffer 114 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc buffer[i] = ((seed + i) & 0xff); buffer 121 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc const unsigned char* buffer = reinterpret_cast<const unsigned char*>(p); buffer 123 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc if (buffer[i] != ((seed + i) & 0xff)) { buffer 15 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc char buffer[1]; buffer 16 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 18 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc CHECK_EQ(string(""), buffer); buffer 21 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc CHECK_EQ(string(""), string(buffer)); buffer 27 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc char buffer[100]; buffer 28 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 30 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc CHECK_EQ(string("hello world"), string(buffer)); buffer 36 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc char buffer[3]; buffer 37 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 39 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc CHECK_EQ(string("12"), string(buffer)); buffer 45 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc char buffer[12]; buffer 46 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 48 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc CHECK_EQ(string("hello world"), string(buffer)); buffer 47 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc static void Fill(unsigned char* buffer, int n) { buffer 49 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc buffer[i] = (i & 0xff); buffer 55 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc static bool Valid(unsigned char* buffer, int n) { buffer 57 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc if (buffer[i] != (i & 0xff)) { buffer 130 third_party/tcmalloc/chromium/src/windows/addr2line-pdb.c ULONG64 buffer[(sizeof(SYMBOL_INFO) + buffer 134 third_party/tcmalloc/chromium/src/windows/addr2line-pdb.c PSYMBOL_INFO pSymbol = (PSYMBOL_INFO)buffer; buffer 96 third_party/tcmalloc/vendor/src/base/sysinfo.cc # define saferead(fd, buffer, size) syscall(SYS_read, fd, buffer, size) buffer 98 third_party/tcmalloc/vendor/src/base/sysinfo.cc # define saferead(fd, buffer, size) read(fd, buffer, size) buffer 565 third_party/tcmalloc/vendor/src/base/sysinfo.cc ProcMapsIterator::ProcMapsIterator(pid_t pid, Buffer *buffer) { buffer 566 third_party/tcmalloc/vendor/src/base/sysinfo.cc Init(pid, buffer, false); buffer 569 third_party/tcmalloc/vendor/src/base/sysinfo.cc ProcMapsIterator::ProcMapsIterator(pid_t pid, Buffer *buffer, buffer 571 third_party/tcmalloc/vendor/src/base/sysinfo.cc Init(pid, buffer, use_maps_backing); buffer 574 third_party/tcmalloc/vendor/src/base/sysinfo.cc void ProcMapsIterator::Init(pid_t pid, Buffer *buffer, buffer 579 third_party/tcmalloc/vendor/src/base/sysinfo.cc if (!buffer) { buffer 583 third_party/tcmalloc/vendor/src/base/sysinfo.cc buffer = dynamic_buffer_ = new Buffer; buffer 588 third_party/tcmalloc/vendor/src/base/sysinfo.cc ibuf_ = buffer->buf_; buffer 916 third_party/tcmalloc/vendor/src/base/sysinfo.cc int ProcMapsIterator::FormatLine(char* buffer, int bufsize, buffer 928 third_party/tcmalloc/vendor/src/base/sysinfo.cc const int rc = snprintf(buffer, bufsize, buffer 121 third_party/tcmalloc/vendor/src/base/sysinfo.h ProcMapsIterator(pid_t pid, Buffer *buffer); buffer 126 third_party/tcmalloc/vendor/src/base/sysinfo.h ProcMapsIterator(pid_t pid, Buffer *buffer, buffer 155 third_party/tcmalloc/vendor/src/base/sysinfo.h static int FormatLine(char* buffer, int bufsize, buffer 190 third_party/tcmalloc/vendor/src/base/sysinfo.h void Init(pid_t pid, Buffer *buffer, bool use_maps_backing); buffer 653 third_party/tcmalloc/vendor/src/debugallocation.cc const unsigned char* buffer, buffer 655 third_party/tcmalloc/vendor/src/debugallocation.cc if (memcmp(buffer, kMagicDeletedBuffer, size_of_buffer) == 0) { buffer 662 third_party/tcmalloc/vendor/src/debugallocation.cc "buffer: %zd", buffer_idx, buffer, size_of_buffer); buffer 669 third_party/tcmalloc/vendor/src/debugallocation.cc if (buffer[i] != kMagicDeletedByte) { buffer 671 third_party/tcmalloc/vendor/src/debugallocation.cc i, buffer[i], kMagicDeletedByte); buffer 113 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h virtual void GetStats(char* buffer, int buffer_length); buffer 66 third_party/tcmalloc/vendor/src/gperftools/malloc_extension_c.h PERFTOOLS_DLL_DECL void MallocExtension_GetStats(char* buffer, int buffer_length); buffer 899 third_party/tcmalloc/vendor/src/heap-checker.cc ProcMapsIterator::Buffer buffer; buffer 900 third_party/tcmalloc/vendor/src/heap-checker.cc ProcMapsIterator it(0, &buffer); buffer 656 third_party/tcmalloc/vendor/src/heap-profile-table.cc char buffer[kBufSize]; buffer 661 third_party/tcmalloc/vendor/src/heap-profile-table.cc base::RawPrinter printer(buffer, kBufSize); buffer 669 third_party/tcmalloc/vendor/src/heap-profile-table.cc RAW_LOG(ERROR, "%s", buffer); buffer 204 third_party/tcmalloc/vendor/src/heap-profiler.cc char* buffer = reinterpret_cast<char*>(malloc(kProfileBufferSize)); buffer 206 third_party/tcmalloc/vendor/src/heap-profiler.cc return DoGetHeapProfileLocked(buffer, kProfileBufferSize); buffer 160 third_party/tcmalloc/vendor/src/libc_override_osx.h char* buffer = new char[bufsize]; buffer 161 third_party/tcmalloc/vendor/src/libc_override_osx.h MallocExtension::instance()->GetStats(buffer, bufsize); buffer 162 third_party/tcmalloc/vendor/src/libc_override_osx.h fprintf(stdout, "%s", buffer); buffer 163 third_party/tcmalloc/vendor/src/libc_override_osx.h delete[] buffer; buffer 123 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::GetStats(char* buffer, int length) { buffer 125 third_party/tcmalloc/vendor/src/malloc_extension.cc buffer[0] = '\0'; buffer 354 third_party/tcmalloc/vendor/src/malloc_extension.cc (char* buffer, int buffer_length), (buffer, buffer_length)); buffer 481 third_party/tcmalloc/vendor/src/tcmalloc.cc char* buffer = new char[kBufferSize]; buffer 482 third_party/tcmalloc/vendor/src/tcmalloc.cc TCMalloc_Printer printer(buffer, kBufferSize); buffer 484 third_party/tcmalloc/vendor/src/tcmalloc.cc write(STDERR_FILENO, buffer, strlen(buffer)); buffer 485 third_party/tcmalloc/vendor/src/tcmalloc.cc delete[] buffer; buffer 579 third_party/tcmalloc/vendor/src/tcmalloc.cc virtual void GetStats(char* buffer, int buffer_length) { buffer 581 third_party/tcmalloc/vendor/src/tcmalloc.cc TCMalloc_Printer printer(buffer, buffer_length); buffer 1006 third_party/tcmalloc/vendor/src/tcmalloc.cc char buffer[N]; buffer 1007 third_party/tcmalloc/vendor/src/tcmalloc.cc TCMalloc_Printer printer(buffer, N); buffer 1015 third_party/tcmalloc/vendor/src/tcmalloc.cc write(STDERR_FILENO, buffer, strlen(buffer)); buffer 89 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc char* buffer = new char[kBufSize]; buffer 90 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc MallocExtension::instance()->GetStats(buffer, kBufSize); buffer 91 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc VLOG(1, "%s", buffer); buffer 92 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc delete[] buffer; buffer 101 third_party/tcmalloc/vendor/src/tests/malloc_extension_c_test.c char buffer[200]; buffer 107 third_party/tcmalloc/vendor/src/tests/malloc_extension_c_test.c MallocExtension_GetStats(buffer, sizeof(buffer)); buffer 112 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc unsigned char* buffer = reinterpret_cast<unsigned char*>(p); buffer 114 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc buffer[i] = ((seed + i) & 0xff); buffer 121 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc const unsigned char* buffer = reinterpret_cast<const unsigned char*>(p); buffer 123 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc if (buffer[i] != ((seed + i) & 0xff)) { buffer 15 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc char buffer[1]; buffer 16 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 18 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc CHECK_EQ(string(""), buffer); buffer 21 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc CHECK_EQ(string(""), string(buffer)); buffer 27 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc char buffer[100]; buffer 28 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 30 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc CHECK_EQ(string("hello world"), string(buffer)); buffer 36 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc char buffer[3]; buffer 37 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 39 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc CHECK_EQ(string("12"), string(buffer)); buffer 45 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc char buffer[12]; buffer 46 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); buffer 48 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc CHECK_EQ(string("hello world"), string(buffer)); buffer 47 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc static void Fill(unsigned char* buffer, int n) { buffer 49 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc buffer[i] = (i & 0xff); buffer 55 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc static bool Valid(unsigned char* buffer, int n) { buffer 57 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc if (buffer[i] != (i & 0xff)) { buffer 137 third_party/tcmalloc/vendor/src/windows/addr2line-pdb.c ULONG64 buffer[(sizeof(SYMBOL_INFO) + buffer 141 third_party/tcmalloc/vendor/src/windows/addr2line-pdb.c PSYMBOL_INFO pSymbol = (PSYMBOL_INFO)buffer; buffer 46 third_party/v4l2capture/v4l2capture.c struct buffer *buffers; buffer 312 third_party/v4l2capture/v4l2capture.c self->buffers = malloc(reqbuf.count * sizeof(struct buffer)); buffer 324 third_party/v4l2capture/v4l2capture.c struct v4l2_buffer buffer; buffer 325 third_party/v4l2capture/v4l2capture.c buffer.index = i; buffer 326 third_party/v4l2capture/v4l2capture.c buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; buffer 327 third_party/v4l2capture/v4l2capture.c buffer.memory = V4L2_MEMORY_MMAP; buffer 329 third_party/v4l2capture/v4l2capture.c if(my_ioctl(self->fd, VIDIOC_QUERYBUF, &buffer)) buffer 334 third_party/v4l2capture/v4l2capture.c self->buffers[i].length = buffer.length; buffer 335 third_party/v4l2capture/v4l2capture.c self->buffers[i].start = v4l2_mmap(NULL, buffer.length, buffer 336 third_party/v4l2capture/v4l2capture.c PROT_READ | PROT_WRITE, MAP_SHARED, self->fd, buffer.m.offset); buffer 364 third_party/v4l2capture/v4l2capture.c struct v4l2_buffer buffer; buffer 365 third_party/v4l2capture/v4l2capture.c buffer.index = i; buffer 366 third_party/v4l2capture/v4l2capture.c buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; buffer 367 third_party/v4l2capture/v4l2capture.c buffer.memory = V4L2_MEMORY_MMAP; buffer 369 third_party/v4l2capture/v4l2capture.c if(my_ioctl(self->fd, VIDIOC_QBUF, &buffer)) buffer 387 third_party/v4l2capture/v4l2capture.c struct v4l2_buffer buffer; buffer 388 third_party/v4l2capture/v4l2capture.c buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; buffer 389 third_party/v4l2capture/v4l2capture.c buffer.memory = V4L2_MEMORY_MMAP; buffer 391 third_party/v4l2capture/v4l2capture.c if(my_ioctl(self->fd, VIDIOC_DQBUF, &buffer)) buffer 397 third_party/v4l2capture/v4l2capture.c self->buffers[buffer.index].start, buffer.bytesused); buffer 404 third_party/v4l2capture/v4l2capture.c if(queue && my_ioctl(self->fd, VIDIOC_QBUF, &buffer)) buffer 200 third_party/wtl/include/atlprint.h TCHAR buffer[cchBuff]; buffer 201 third_party/wtl/include/atlprint.h buffer[0] = 0; buffer 202 third_party/wtl/include/atlprint.h ::GetProfileString(_T("windows"), _T("device"), _T(",,,"), buffer, cchBuff); buffer 203 third_party/wtl/include/atlprint.h int nLen = lstrlen(buffer); buffer 206 third_party/wtl/include/atlprint.h LPTSTR lpsz = buffer; buffer 217 third_party/wtl/include/atlprint.h ::OpenPrinter(buffer, &m_hPrinter, (pDevMode == NULL) ? NULL : &pdefs); buffer 128 third_party/zlib/contrib/minizip/miniunz.c char *buffer ; buffer 135 third_party/zlib/contrib/minizip/miniunz.c buffer = (char*)malloc(len+1); buffer 136 third_party/zlib/contrib/minizip/miniunz.c if (buffer==NULL) buffer 141 third_party/zlib/contrib/minizip/miniunz.c strcpy(buffer,newdir); buffer 143 third_party/zlib/contrib/minizip/miniunz.c if (buffer[len-1] == '/') { buffer 144 third_party/zlib/contrib/minizip/miniunz.c buffer[len-1] = '\0'; buffer 146 third_party/zlib/contrib/minizip/miniunz.c if (mymkdir(buffer) == 0) buffer 148 third_party/zlib/contrib/minizip/miniunz.c free(buffer); buffer 152 third_party/zlib/contrib/minizip/miniunz.c p = buffer+1; buffer 161 third_party/zlib/contrib/minizip/miniunz.c if ((mymkdir(buffer) == -1) && (errno == ENOENT)) buffer 163 third_party/zlib/contrib/minizip/miniunz.c printf("couldn't create directory %s\n",buffer); buffer 164 third_party/zlib/contrib/minizip/miniunz.c free(buffer); buffer 171 third_party/zlib/contrib/minizip/miniunz.c free(buffer); buffer 250 third_party/zlib/contrib/minizip/mztools.c char buffer[8192]; buffer 251 third_party/zlib/contrib/minizip/mztools.c while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) { buffer 252 third_party/zlib/contrib/minizip/mztools.c if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) { buffer 156 third_party/zlib/google/zip_internal.cc ZipBuffer* buffer = static_cast<ZipBuffer*>(opaque); buffer 157 third_party/zlib/google/zip_internal.cc if (!buffer || !buffer->data || !buffer->length) buffer 159 third_party/zlib/google/zip_internal.cc buffer->offset = 0; buffer 166 third_party/zlib/google/zip_internal.cc ZipBuffer* buffer = static_cast<ZipBuffer*>(opaque); buffer 167 third_party/zlib/google/zip_internal.cc DCHECK_LE(buffer->offset, buffer->length); buffer 168 third_party/zlib/google/zip_internal.cc size_t remaining_bytes = buffer->length - buffer->offset; buffer 169 third_party/zlib/google/zip_internal.cc if (!buffer || !buffer->data || !remaining_bytes) buffer 172 third_party/zlib/google/zip_internal.cc memcpy(buf, &buffer->data[buffer->offset], size); buffer 173 third_party/zlib/google/zip_internal.cc buffer->offset += size; buffer 189 third_party/zlib/google/zip_internal.cc ZipBuffer* buffer = static_cast<ZipBuffer*>(opaque); buffer 190 third_party/zlib/google/zip_internal.cc if (!buffer) buffer 192 third_party/zlib/google/zip_internal.cc return static_cast<long>(buffer->offset); buffer 197 third_party/zlib/google/zip_internal.cc ZipBuffer* buffer = static_cast<ZipBuffer*>(opaque); buffer 198 third_party/zlib/google/zip_internal.cc if (!buffer) buffer 201 third_party/zlib/google/zip_internal.cc buffer->offset = std::min(buffer->offset + static_cast<size_t>(offset), buffer 202 third_party/zlib/google/zip_internal.cc buffer->length); buffer 206 third_party/zlib/google/zip_internal.cc buffer->offset = (buffer->length > offset) ? buffer->length - offset : 0; buffer 210 third_party/zlib/google/zip_internal.cc buffer->offset = std::min(buffer->length, static_cast<size_t>(offset)); buffer 273 third_party/zlib/google/zip_internal.cc ZipBuffer* buffer = static_cast<ZipBuffer*>(malloc(sizeof(ZipBuffer))); buffer 274 third_party/zlib/google/zip_internal.cc if (!buffer) buffer 276 third_party/zlib/google/zip_internal.cc buffer->data = data.data(); buffer 277 third_party/zlib/google/zip_internal.cc buffer->length = data.length(); buffer 278 third_party/zlib/google/zip_internal.cc buffer->offset = 0; buffer 288 third_party/zlib/google/zip_internal.cc zip_functions.opaque = static_cast<void*>(buffer); buffer 375 third_party/zlib/google/zip_reader.cc char buffer[internal::kZipBufSize]; buffer 378 third_party/zlib/google/zip_reader.cc buffer, buffer 389 third_party/zlib/google/zip_reader.cc if (num_bytes_read != output_file.Write(offset, buffer, num_bytes_read)) { buffer 26 tools/android/common/net.cc std::string DumpBinary(const char* buffer, size_t length) { buffer 30 tools/android/common/net.cc static_cast<unsigned char>(buffer[i])); buffer 20 tools/android/common/net.h std::string DumpBinary(const char* buffer, size_t length); buffer 34 tools/android/file_poller/file_poller.cc void safe_write(int fd, const char* buffer, int size) { buffer 35 tools/android/file_poller/file_poller.cc const char* index = buffer; buffer 48 tools/android/file_poller/file_poller.cc char buffer[1024]; buffer 50 tools/android/file_poller/file_poller.cc while ((n = read(fd_in, buffer, sizeof(buffer))) > 0) buffer 51 tools/android/file_poller/file_poller.cc safe_write(fd_out, buffer, n); buffer 77 tools/android/file_poller/file_poller.cc char buffer[1024]; buffer 80 tools/android/file_poller/file_poller.cc int n = transfer_to_buffer(fd_in, buffer, sizeof(buffer)); buffer 81 tools/android/file_poller/file_poller.cc safe_write(fd_out, buffer, n - 1); buffer 89 tools/android/file_poller/file_poller.cc char buffer[1024]; buffer 90 tools/android/file_poller/file_poller.cc int n = snprintf(buffer, sizeof(buffer), "%d.%06d ", tv.tv_sec, tv.tv_usec); buffer 91 tools/android/file_poller/file_poller.cc safe_write(fd, buffer, n); buffer 81 tools/android/forwarder2/command.cc char buffer[kCommandStringSize + 1]; buffer 82 tools/android/forwarder2/command.cc int len = snprintf(buffer, sizeof(buffer), "%05d:%02d", port, command); buffer 85 tools/android/forwarder2/command.cc return socket->WriteNumBytes(buffer, len) == len; buffer 57 tools/android/forwarder2/common.h const char* buffer() const { return buffer_; } buffer 98 tools/android/forwarder2/daemon.cc SIGNAL_SAFE_LOG(ERROR, string_builder.buffer()); buffer 293 tools/android/forwarder2/socket.cc int Socket::ReadNumBytes(void* buffer, size_t num_bytes) { buffer 297 tools/android/forwarder2/socket.cc ret = Read(static_cast<char*>(buffer) + bytes_read, num_bytes - bytes_read); buffer 311 tools/android/forwarder2/socket.cc int Socket::Read(void* buffer, size_t buffer_size) { buffer 316 tools/android/forwarder2/socket.cc int ret = HANDLE_EINTR(read(socket_, buffer, buffer_size)); buffer 324 tools/android/forwarder2/socket.cc int Socket::NonBlockingRead(void* buffer, size_t buffer_size) { buffer 326 tools/android/forwarder2/socket.cc int ret = HANDLE_EINTR(read(socket_, buffer, buffer_size)); buffer 334 tools/android/forwarder2/socket.cc int Socket::Write(const void* buffer, size_t count) { buffer 339 tools/android/forwarder2/socket.cc int ret = HANDLE_EINTR(send(socket_, buffer, count, MSG_NOSIGNAL)); buffer 347 tools/android/forwarder2/socket.cc int Socket::NonBlockingWrite(const void* buffer, size_t count) { buffer 349 tools/android/forwarder2/socket.cc int ret = HANDLE_EINTR(send(socket_, buffer, count, MSG_NOSIGNAL)); buffer 357 tools/android/forwarder2/socket.cc int Socket::WriteString(const std::string& buffer) { buffer 358 tools/android/forwarder2/socket.cc return WriteNumBytes(buffer.c_str(), buffer.size()); buffer 382 tools/android/forwarder2/socket.cc int Socket::WriteNumBytes(const void* buffer, size_t num_bytes) { buffer 386 tools/android/forwarder2/socket.cc ret = Write(static_cast<const char*>(buffer) + bytes_written, buffer 50 tools/android/forwarder2/socket.h int Read(void* buffer, size_t buffer_size); buffer 55 tools/android/forwarder2/socket.h int NonBlockingRead(void* buffer, size_t buffer_size); buffer 58 tools/android/forwarder2/socket.h int Write(const void* buffer, size_t count); buffer 61 tools/android/forwarder2/socket.h int NonBlockingWrite(const void* buffer, size_t count); buffer 67 tools/android/forwarder2/socket.h int ReadNumBytes(void* buffer, size_t num_bytes); buffer 72 tools/android/forwarder2/socket.h int WriteNumBytes(const void* buffer, size_t num_bytes); buffer 76 tools/android/forwarder2/socket.h int WriteString(const std::string& buffer); buffer 406 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java byte[] buffer = new byte[4096]; buffer 410 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java numRead = in.read(buffer); buffer 412 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java out.write(buffer, 0, numRead); buffer 119 tools/gn/function_exec_script.cc char buffer[kBufferSize]; buffer 126 tools/gn/function_exec_script.cc BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); buffer 129 tools/gn/function_exec_script.cc std_out->append(buffer, bytes_read); buffer 214 tools/gn/function_exec_script.cc char buffer[256]; buffer 218 tools/gn/function_exec_script.cc bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, sizeof(buffer))); buffer 221 tools/gn/function_exec_script.cc std_out->append(buffer, bytes_read); buffer 161 tools/gn/tokenizer.cc bool Tokenizer::IsNewline(const base::StringPiece& buffer, size_t offset) { buffer 162 tools/gn/tokenizer.cc DCHECK(offset < buffer.size()); buffer 164 tools/gn/tokenizer.cc return buffer[offset] == '\n'; buffer 32 tools/gn/tokenizer.h static bool IsNewline(const base::StringPiece& buffer, size_t offset); buffer 29 tools/ipc_fuzzer/message_lib/message_file_writer.cc bool WriteBlob(const void *buffer, size_t size); buffer 66 tools/ipc_fuzzer/message_lib/message_file_writer.cc bool Writer::WriteBlob(const void *buffer, size_t size) { buffer 69 tools/ipc_fuzzer/message_lib/message_file_writer.cc const char* char_buffer = static_cast<const char*>(buffer); buffer 307 tools/memory_watcher/call_stack.cc ULONG64 buffer[(sizeof(IMAGEHLP_SYMBOL64) + buffer 310 tools/memory_watcher/call_stack.cc IMAGEHLP_SYMBOL64* symbol = reinterpret_cast<IMAGEHLP_SYMBOL64*>(buffer); buffer 311 tools/memory_watcher/call_stack.cc memset(buffer, 0, sizeof(buffer)); buffer 100 tools/win/link_limiter/limiter.cc std::vector<char> buffer(1); buffer 104 tools/win/link_limiter/limiter.cc DWORD bufsize = buffer.size(); buffer 106 tools/win/link_limiter/limiter.cc reinterpret_cast<PSYSTEM_LOGICAL_PROCESSOR_INFORMATION>(&buffer[0]), buffer 110 tools/win/link_limiter/limiter.cc bufsize > buffer.size()) { buffer 111 tools/win/link_limiter/limiter.cc buffer.resize(bufsize); buffer 123 tools/win/link_limiter/limiter.cc reinterpret_cast<PSYSTEM_LOGICAL_PROCESSOR_INFORMATION>(&buffer[0]); buffer 124 tools/win/link_limiter/limiter.cc int num_entries = buffer.size() / buffer 192 tools/win/split_link/split_link.cc unsigned char* buffer = static_cast<unsigned char*>(malloc(*length)); buffer 194 tools/win/split_link/split_link.cc if (!ReadFile(file, buffer, *length, &bytes_read, NULL)) buffer 196 tools/win/split_link/split_link.cc return buffer; buffer 56 ui/base/ime/remote_input_method_win.cc wchar_t buffer[16] = {}; buffer 60 ui/base/ime/remote_input_method_win.cc GetLocaleInfo(Locale_id, locale_type, buffer, arraysize(buffer)); buffer 61 ui/base/ime/remote_input_method_win.cc if (chars_written <= 1 || arraysize(buffer) < chars_written) buffer 64 ui/base/ime/remote_input_method_win.cc base::WideToUTF8(buffer, chars_written - 1, &result); buffer 479 ui/base/ime/win/imm32_manager.cc wchar_t buffer[9]; buffer 482 ui/base/ime/win/imm32_manager.cc int length = ::GetLocaleInfo(locale_id, LOCALE_SISO639LANGNAME, &buffer[0], buffer 483 ui/base/ime/win/imm32_manager.cc arraysize(buffer)); buffer 488 ui/base/ime/win/imm32_manager.cc base::WideToUTF8(buffer, length - 1, &language); buffer 493 ui/base/ime/win/imm32_manager.cc length = ::GetLocaleInfo(locale_id, LOCALE_SISO3166CTRYNAME, &buffer[0], buffer 494 ui/base/ime/win/imm32_manager.cc arraysize(buffer)); buffer 499 ui/base/ime/win/imm32_manager.cc base::WideToUTF8(buffer, length - 1, ®ion); buffer 1057 ui/base/x/x11_util.cc char buffer[256]; buffer 1058 ui/base/x/x11_util.cc XGetErrorText(display, err, buffer, arraysize(buffer)); buffer 1059 ui/base/x/x11_util.cc return buffer; buffer 131 ui/gfx/color_analysis.cc void UnPreMultiply(const SkBitmap& bitmap, uint32_t* buffer, int buffer_size) { buffer 134 ui/gfx/color_analysis.cc uint32_t* out = buffer; buffer 481 ui/gfx/icon_util.cc std::vector<uint8> buffer(buffer_size); buffer 482 ui/gfx/icon_util.cc ICONDIR* icon_dir = reinterpret_cast<ICONDIR*>(&buffer[0]); buffer 490 ui/gfx/icon_util.cc ICONIMAGE* image = reinterpret_cast<ICONIMAGE*>(&buffer[offset]); buffer 508 ui/gfx/icon_util.cc memcpy(&buffer[offset], png_bytes->front(), png_bytes->size()); buffer 514 ui/gfx/icon_util.cc std::string data(buffer.begin(), buffer.end()); buffer 615 ui/gfx/icon_util.cc unsigned char* buffer, buffer 622 ui/gfx/icon_util.cc memcpy(buffer + bitmap_size - bitmap.width() * 4 - i, buffer 237 ui/gfx/icon_util.h unsigned char* buffer, buffer 57 ui/gfx/ozone/surface_factory_ozone.cc gfx::NativeBufferOzone buffer, buffer 140 ui/gfx/ozone/surface_factory_ozone.h gfx::NativeBufferOzone buffer, buffer 37 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLBindBuffer(GLenum target, GLuint buffer) { buffer 38 ui/gl/gl_bindings_skia_in_process.cc glBindBuffer(target, buffer); buffer 113 ui/gl/gl_context_osmesa.cc void* buffer = NULL; buffer 114 ui/gl/gl_context_osmesa.cc OSMesaGetColorBuffer(context_, &width, &height, &format, &buffer); buffer 115 ui/gl/gl_context_osmesa.cc if (buffer != surface->GetHandle()) buffer 57 ui/gl/gl_image.h gfx::GpuMemoryBufferHandle buffer, buffer 30 ui/gl/gl_image_android.cc gfx::GpuMemoryBufferHandle buffer, buffer 36 ui/gl/gl_image_android.cc switch (buffer.type) { buffer 40 ui/gl/gl_image_android.cc if (!image->Initialize(buffer)) buffer 48 ui/gl/gl_image_android.cc if (!image->Initialize(buffer)) buffer 56 ui/gl/gl_image_android.cc if (!image->Initialize(buffer)) buffer 22 ui/gl/gl_image_android_native_buffer.cc bool GLImageAndroidNativeBuffer::Initialize(gfx::GpuMemoryBufferHandle buffer) { buffer 23 ui/gl/gl_image_android_native_buffer.cc DCHECK(buffer.native_buffer); buffer 27 ui/gl/gl_image_android_native_buffer.cc EGL_NATIVE_BUFFER_ANDROID, buffer.native_buffer, attrs); buffer 16 ui/gl/gl_image_android_native_buffer.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); buffer 17 ui/gl/gl_image_egl.cc EGLClientBuffer buffer, buffer 23 ui/gl/gl_image_egl.cc buffer, buffer 17 ui/gl/gl_image_egl.h bool Initialize(EGLenum target, EGLClientBuffer buffer, const EGLint* attrs); buffer 20 ui/gl/gl_image_io_surface.cc bool GLImageIOSurface::Initialize(gfx::GpuMemoryBufferHandle buffer) { buffer 21 ui/gl/gl_image_io_surface.cc io_surface_.reset(io_surface_support_->IOSurfaceLookup(buffer.io_surface_id)); buffer 19 ui/gl/gl_image_io_surface.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); buffer 31 ui/gl/gl_image_mac.cc gfx::GpuMemoryBufferHandle buffer, buffer 39 ui/gl/gl_image_mac.cc switch (buffer.type) { buffer 43 ui/gl/gl_image_mac.cc if (!image->Initialize(buffer)) buffer 50 ui/gl/gl_image_mac.cc if (!image->Initialize(buffer)) buffer 30 ui/gl/gl_image_ozone.cc gfx::GpuMemoryBufferHandle buffer, buffer 84 ui/gl/gl_image_shm.cc bool GLImageShm::Initialize(gfx::GpuMemoryBufferHandle buffer) { buffer 90 ui/gl/gl_image_shm.cc if (!base::SharedMemory::IsHandleValid(buffer.handle)) buffer 93 ui/gl/gl_image_shm.cc base::SharedMemory shared_memory(buffer.handle, true); buffer 18 ui/gl/gl_image_shm.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); buffer 18 ui/gl/gl_image_surface_texture.cc bool GLImageSurfaceTexture::Initialize(gfx::GpuMemoryBufferHandle buffer) { buffer 22 ui/gl/gl_image_surface_texture.cc buffer.surface_texture_id.primary_id, buffer 23 ui/gl/gl_image_surface_texture.cc buffer.surface_texture_id.secondary_id); buffer 20 ui/gl/gl_image_surface_texture.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); buffer 30 ui/gl/gl_image_win.cc gfx::GpuMemoryBufferHandle buffer, buffer 38 ui/gl/gl_image_win.cc switch (buffer.type) { buffer 42 ui/gl/gl_image_win.cc if (!image->Initialize(buffer)) buffer 38 ui/gl/gl_image_x11.cc gfx::GpuMemoryBufferHandle buffer, buffer 46 ui/gl/gl_image_x11.cc switch (buffer.type) { buffer 50 ui/gl/gl_image_x11.cc if (!image->Initialize(buffer)) buffer 79 ui/native_theme/native_theme_win.cc SkColor buffer[] = { face, highlight, highlight, face }; buffer 88 ui/native_theme/native_theme_win.cc temp_bitmap.setPixels(buffer); buffer 229 url/url_canon.h CanonOutputT<char>* buffer, buffer 234 url/url_canon.h CanonOutputT<base::char16>* buffer, buffer 27 url/url_canon_etc.cc CanonOutputT<CHAR>* buffer, buffer 50 url/url_canon_etc.cc buffer->push_back(input[i]); buffer 52 url/url_canon_etc.cc *output_len = buffer->length(); buffer 53 url/url_canon_etc.cc return buffer->data(); buffer 279 url/url_canon_etc.cc CanonOutputT<char>* buffer, buffer 281 url/url_canon_etc.cc return DoRemoveURLWhitespace(input, input_len, buffer, output_len); buffer 286 url/url_canon_etc.cc CanonOutputT<base::char16>* buffer, buffer 288 url/url_canon_etc.cc return DoRemoveURLWhitespace(input, input_len, buffer, output_len); buffer 366 url/url_canon_internal.cc int _itoa_s(int value, char* buffer, size_t size_in_chars, int radix) { buffer 375 url/url_canon_internal.cc int written = snprintf(buffer, size_in_chars, format_str, value); buffer 383 url/url_canon_internal.cc int _itow_s(int value, base::char16* buffer, size_t size_in_chars, int radix) { buffer 397 url/url_canon_internal.cc buffer[i] = static_cast<base::char16>(temp[i]); buffer 399 url/url_canon_internal.cc buffer[written] = '\0'; buffer 411 url/url_canon_internal.h URL_EXPORT int _itoa_s(int value, char* buffer, size_t size_in_chars, buffer 413 url/url_canon_internal.h URL_EXPORT int _itow_s(int value, base::char16* buffer, size_t size_in_chars, buffer 418 url/url_canon_internal.h inline int _itoa_s(int value, char (&buffer)[N], int radix) { buffer 419 url/url_canon_internal.h return _itoa_s(value, buffer, N, radix); buffer 423 url/url_canon_internal.h inline int _itow_s(int value, base::char16 (&buffer)[N], int radix) { buffer 424 url/url_canon_internal.h return _itow_s(value, buffer, N, radix); buffer 223 url/url_util_unittest.cc url_canon::RawCanonOutputT<char> buffer; buffer 224 url/url_util_unittest.cc url_util::EncodeURIComponent(input, strlen(input), &buffer); buffer 225 url/url_util_unittest.cc std::string output(buffer.data(), buffer.length()); buffer 605 webkit/browser/fileapi/copy_or_move_operation_delegate.cc scoped_refptr<net::DrainableIOBuffer> buffer) { buffer 606 webkit/browser/fileapi/copy_or_move_operation_delegate.cc DCHECK_GT(buffer->BytesRemaining(), 0); buffer 609 webkit/browser/fileapi/copy_or_move_operation_delegate.cc buffer.get(), buffer->BytesRemaining(), buffer 611 webkit/browser/fileapi/copy_or_move_operation_delegate.cc weak_factory_.GetWeakPtr(), callback, buffer)); buffer 613 webkit/browser/fileapi/copy_or_move_operation_delegate.cc DidWrite(callback, buffer, result); buffer 618 webkit/browser/fileapi/copy_or_move_operation_delegate.cc scoped_refptr<net::DrainableIOBuffer> buffer, buffer 630 webkit/browser/fileapi/copy_or_move_operation_delegate.cc buffer->DidConsume(result); buffer 641 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (buffer->BytesRemaining() > 0) { buffer 642 webkit/browser/fileapi/copy_or_move_operation_delegate.cc Write(callback, buffer); buffer 71 webkit/browser/fileapi/copy_or_move_operation_delegate.h scoped_refptr<net::DrainableIOBuffer> buffer); buffer 73 webkit/browser/fileapi/copy_or_move_operation_delegate.h scoped_refptr<net::DrainableIOBuffer> buffer, int result); buffer 178 webkit/browser/fileapi/file_system_usage_cache.cc char buffer[kUsageFileSize]; buffer 181 webkit/browser/fileapi/file_system_usage_cache.cc !ReadBytes(usage_file_path, buffer, kUsageFileSize)) buffer 183 webkit/browser/fileapi/file_system_usage_cache.cc Pickle read_pickle(buffer, kUsageFileSize); buffer 253 webkit/browser/fileapi/file_system_usage_cache.cc char* buffer, buffer 259 webkit/browser/fileapi/file_system_usage_cache.cc return file->Read(0, buffer, buffer_size) == buffer_size; buffer 263 webkit/browser/fileapi/file_system_usage_cache.cc const char* buffer, buffer 269 webkit/browser/fileapi/file_system_usage_cache.cc return file->Write(0, buffer, buffer_size) == buffer_size; buffer 81 webkit/browser/fileapi/file_system_usage_cache.h char* buffer, buffer 84 webkit/browser/fileapi/file_system_usage_cache.h const char* buffer, buffer 47 webkit/browser/fileapi/local_file_stream_writer_unittest.cc scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer(data)); buffer 49 webkit/browser/fileapi/local_file_stream_writer_unittest.cc new net::DrainableIOBuffer(buffer.get(), buffer->size())); buffer 166 webkit/browser/fileapi/local_file_stream_writer_unittest.cc scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer("xxx")); buffer 168 webkit/browser/fileapi/local_file_stream_writer_unittest.cc writer->Write(buffer.get(), buffer->size(), base::Bind(&NeverCalled)); buffer 52 webkit/browser/fileapi/native_file_util.cc std::vector<char> buffer(kBufferSize); buffer 55 webkit/browser/fileapi/native_file_util.cc int bytes_read = infile.ReadAtCurrentPos(&buffer[0], kBufferSize); buffer 62 webkit/browser/fileapi/native_file_util.cc &buffer[bytes_written], bytes_read - bytes_written); buffer 66 webkit/browser/fileapi/quota/quota_reservation_manager.cc QuotaReservationBuffer** buffer = buffer 68 webkit/browser/fileapi/quota/quota_reservation_manager.cc if (!*buffer) { buffer 69 webkit/browser/fileapi/quota/quota_reservation_manager.cc *buffer = new QuotaReservationBuffer( buffer 72 webkit/browser/fileapi/quota/quota_reservation_manager.cc return make_scoped_refptr(*buffer); buffer 40 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc std::string buffer; buffer 41 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc if (!base::ReadFileToString(path, &buffer)) buffer 43 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc Pickle pickle(buffer.data(), buffer.size()); buffer 1020 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc WebGLId buffer) { buffer 1022 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gl_->DeleteBuffers(1, &buffer); buffer 91 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual void bindBuffer(WGC3Denum target, WebGLId buffer); buffer 262 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual WGC3Dboolean isBuffer(WebGLId buffer);