Searched refs:bytes_needed (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/tools/memory_watcher/
H A Dpreamble_patcher_with_stub.cc24 unsigned long* bytes_needed) {
70 stub_size, bytes_needed);
96 if (NULL != bytes_needed)
97 *bytes_needed = preamble_bytes + 5;
19 RawPatchWithStub( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
H A Dpreamble_patcher.h270 // @param bytes_needed Pointer to a variable that receives the minimum
279 unsigned long* bytes_needed);
288 unsigned long* bytes_needed);
H A Dpreamble_patcher.cc21 unsigned long* bytes_needed) {
41 bytes_needed);
18 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
/external/chromium_org/remoting/client/
H A Daudio_player.cc99 const size_t bytes_needed = kChannels * kSampleSizeBytes * local
103 CHECK_EQ(buffer_size, bytes_needed);
108 while (bytes_extracted < bytes_needed) {
111 memset(next_sample, 0, bytes_needed - bytes_extracted);
126 bytes_needed - bytes_extracted);
/external/chromium_org/media/webm/
H A Dcluster_builder.cc71 int bytes_needed = sizeof(kSimpleBlockHeader) + block_size; local
72 if (bytes_needed > (buffer_size_ - bytes_used_))
73 ExtendBuffer(bytes_needed);
83 bytes_used_ += bytes_needed;
89 int bytes_needed = sizeof(kBlockGroupHeader) + block_size; local
90 int block_group_size = bytes_needed - 9;
92 if (bytes_needed > (buffer_size_ - bytes_used_))
93 ExtendBuffer(bytes_needed);
109 bytes_used_ += bytes_needed;
151 void ClusterBuilder::ExtendBuffer(int bytes_needed) { argument
[all...]
H A Dcluster_builder.h44 void ExtendBuffer(int bytes_needed);
/external/chromium/chrome/browser/
H A Dcrash_upload_list_win.cc20 DWORD bytes_needed; local
28 &bytes_needed);
43 buffer.resize(bytes_needed);
/external/chromium_org/chrome/browser/
H A Dcrash_upload_list_win.cc21 DWORD bytes_needed; local
29 &bytes_needed);
44 buffer.resize(bytes_needed);
/external/chromium_org/sandbox/win/src/sidestep/
H A Dpreamble_patcher_with_stub.cpp54 size_t* bytes_needed) {
105 if (NULL != bytes_needed)
106 *bytes_needed = preamble_bytes + 5;
49 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, size_t stub_size, size_t* bytes_needed) argument
H A Dpreamble_patcher.h97 // bytes_needed: Pointer to a variable that receives the minimum
106 size_t* bytes_needed);
/external/chromium/net/base/
H A Dsdch_filter.cc316 size_t bytes_needed = kServerIdLength - dictionary_hash_.size(); local
317 DCHECK_GT(bytes_needed, 0u);
320 if (static_cast<size_t>(stream_data_len_) < bytes_needed) {
326 dictionary_hash_.append(next_stream_data_, bytes_needed);
328 stream_data_len_ -= bytes_needed;
331 next_stream_data_ += bytes_needed;
/external/chromium_org/net/base/
H A Dsdch_filter.cc314 size_t bytes_needed = kServerIdLength - dictionary_hash_.size(); local
315 DCHECK_GT(bytes_needed, 0u);
318 if (static_cast<size_t>(stream_data_len_) < bytes_needed) {
324 dictionary_hash_.append(next_stream_data_, bytes_needed);
326 stream_data_len_ -= bytes_needed;
329 next_stream_data_ += bytes_needed;
/external/chromium_org/printing/backend/
H A Dprint_backend_win.cc63 DWORD bytes_needed = 0; local
67 kLevel, NULL, 0, &bytes_needed, &count_returned);
68 if (!bytes_needed)
70 scoped_ptr<BYTE[]> printer_info_buffer(new BYTE[bytes_needed]);
72 printer_info_buffer.get(), bytes_needed, &bytes_needed,
/external/chromium_org/sandbox/win/src/
H A Dhandle_closer.cc83 size_t bytes_needed = GetBufferSize();
85 new size_t[bytes_needed / sizeof(size_t)]);
87 if (!SetupHandleList(local_buffer.get(), bytes_needed))
93 void* remote_data = ::VirtualAllocEx(child, NULL, bytes_needed,
101 bytes_needed, &bytes_written);
102 if (!result || bytes_written != bytes_needed) {
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dpreamble_patcher_with_stub.cc60 unsigned long* bytes_needed) {
196 if (NULL != bytes_needed)
197 *bytes_needed = stub_bytes + kRequiredStubJumpBytes
55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
H A Dpreamble_patcher.h384 // @param bytes_needed Pointer to a variable that receives the minimum
394 unsigned long* bytes_needed);
415 // @param bytes_needed Pointer to a variable that receives the minimum
424 unsigned long* bytes_needed);
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dpreamble_patcher_with_stub.cc60 unsigned long* bytes_needed) {
196 if (NULL != bytes_needed)
197 *bytes_needed = stub_bytes + kRequiredStubJumpBytes
55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
H A Dpreamble_patcher.h384 // @param bytes_needed Pointer to a variable that receives the minimum
394 unsigned long* bytes_needed);
415 // @param bytes_needed Pointer to a variable that receives the minimum
424 unsigned long* bytes_needed);
/external/chromium_org/gpu/command_buffer/client/
H A Dvertex_array_object_manager.cc459 GLsizei bytes_needed = bytes_per_element * num_elements; local
460 if (collection_buffer_size_ < bytes_needed) {
461 collection_buffer_.reset(new int8[bytes_needed]);
462 collection_buffer_size_ = bytes_needed;
470 return bytes_needed;
608 GLsizei bytes_needed = bytes_per_element * count; local
609 if (bytes_needed > element_array_buffer_size_) {
610 element_array_buffer_size_ = bytes_needed;
612 GL_ELEMENT_ARRAY_BUFFER, bytes_needed, NULL, GL_DYNAMIC_DRAW);
615 GL_ELEMENT_ARRAY_BUFFER, 0, bytes_needed, indice
[all...]
/external/chromium_org/printing/
H A Dprinting_context_win.cc274 DWORD bytes_needed = 0;
277 NULL, 2, NULL, 0, &bytes_needed, &count_returned);
278 if (bytes_needed) {
279 DCHECK(bytes_needed >= count_returned * sizeof(PRINTER_INFO_2));
280 scoped_ptr<BYTE[]> printer_info_buffer(new BYTE[bytes_needed]);
283 bytes_needed, &bytes_needed,
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/
H A Dport_monitor.cc141 DWORD bytes_needed = 0; local
142 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed);
143 if (bytes_needed == 0) {
147 scoped_ptr<BYTE[]> buffer(new BYTE[bytes_needed]);
152 bytes_needed,
153 &bytes_needed)) {
H A Dport_monitor_unittest.cc187 DWORD bytes_needed = 0; local
209 &bytes_needed));
225 &bytes_needed));
/external/flac/libFLAC/
H A Dmd5.c400 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample; local
408 if(ctx->capacity < bytes_needed) {
409 FLAC__byte *tmp = (FLAC__byte*)realloc(ctx->internal_buf, bytes_needed);
412 if(0 == (ctx->internal_buf = (FLAC__byte*)safe_malloc_(bytes_needed)))
416 ctx->capacity = bytes_needed;
421 FLAC__MD5Update(ctx, ctx->internal_buf, bytes_needed);
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_media_task.c1923 UINT16 bytes_needed = blocm_x_subband * btif_media_cb.encoder.s16NumOfChannels * \ local
1954 read_size = bytes_needed - btif_media_cb.media_feeding_state.pcm.aa_feed_residue;
2058 if(btif_media_cb.media_feeding_state.pcm.aa_feed_residue >= bytes_needed)
2063 bytes_needed);
2065 btif_media_cb.media_feeding_state.pcm.aa_feed_residue -= bytes_needed;
2070 (UINT8 *)up_sampled_buffer + bytes_needed,
2077 APPL_TRACE_DEBUG3("btif_media_aa_read_feeding residue:%d, dst_size_used %d, bytes_needed %d",
2078 btif_media_cb.media_feeding_state.pcm.aa_feed_residue, dst_size_used, bytes_needed);
/external/chromium_org/chrome/service/cloud_print/
H A Dprint_system_win.cc845 DWORD bytes_needed = 0; local
846 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed);
851 scoped_ptr<BYTE[]> job_info_buffer(new BYTE[bytes_needed]);
852 if (GetJob(printer_handle, job_id, 1, job_info_buffer.get(), bytes_needed,
853 &bytes_needed)) {

Completed in 499 milliseconds

12