/external/chromium_org/chrome/browser/ |
H A D | crash_upload_list_win.cc | 22 DWORD bytes_needed; local 30 &bytes_needed); 45 buffer.resize(bytes_needed);
|
/external/chromium_org/remoting/client/ |
H A D | audio_player.cc | 99 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/sandbox/win/src/sidestep/ |
H A D | preamble_patcher_with_stub.cpp | 54 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
|
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/ |
H A D | port_monitor_unittest.cc | 189 DWORD bytes_needed = 0; local 211 &bytes_needed)); 227 &bytes_needed));
|
H A D | port_monitor.cc | 141 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)) {
|
/external/chromium_org/net/filter/ |
H A D | sdch_filter.cc | 375 size_t bytes_needed = kServerIdLength - dictionary_hash_.size(); local 376 DCHECK_GT(bytes_needed, 0u); 379 if (static_cast<size_t>(stream_data_len_) < bytes_needed) { 385 dictionary_hash_.append(next_stream_data_, bytes_needed); 387 stream_data_len_ -= bytes_needed; 390 next_stream_data_ += bytes_needed;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | preamble_patcher_with_stub.cc | 60 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 D | preamble_patcher.cc | 159 unsigned long* bytes_needed) { 177 bytes_needed); 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
H A D | preamble_patcher_with_stub.cc | 60 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 D | preamble_patcher.cc | 159 unsigned long* bytes_needed) { 177 bytes_needed); 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
/external/flac/libFLAC/ |
H A D | md5.c | 400 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/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
H A D | pairingsession.cc | 156 size_t bytes_needed = nonce_length / encoder_->symbols_per_byte(); local 158 uint8_t* random = util::PoloUtil::GenerateRandomBytes(bytes_needed); 159 nonce_ = new Nonce(random, random + bytes_needed);
|
/external/chromium_org/media/formats/webm/ |
H A D | cluster_builder.cc | 80 int bytes_needed = sizeof(kSimpleBlockHeader) + block_size; local 81 if (bytes_needed > (buffer_size_ - bytes_used_)) 82 ExtendBuffer(bytes_needed); 92 bytes_used_ += bytes_needed; 114 int bytes_needed = block_size; local 116 bytes_needed += sizeof(kBlockGroupHeader); 118 bytes_needed += sizeof(kBlockGroupHeaderWithoutBlockDuration); 121 int block_group_size = bytes_needed - 9; 123 if (bytes_needed > (buffer_size_ - bytes_used_)) 124 ExtendBuffer(bytes_needed); 202 ExtendBuffer(int bytes_needed) argument [all...] |
/external/chromium_org/printing/backend/ |
H A D | print_backend_win.cc | 178 DWORD bytes_needed = 0; local 182 kLevel, NULL, 0, &bytes_needed, &count_returned); 183 if (!bytes_needed) 185 scoped_ptr<BYTE[]> printer_info_buffer(new BYTE[bytes_needed]); 187 printer_info_buffer.get(), bytes_needed, &bytes_needed,
|
/external/chromium_org/printing/ |
H A D | printing_context_win.cc | 71 DWORD bytes_needed = 0; local 74 NULL, 2, NULL, 0, &bytes_needed, &count_returned); 75 if (bytes_needed) { 76 DCHECK_GE(bytes_needed, count_returned * sizeof(PRINTER_INFO_2)); 77 scoped_ptr<BYTE[]> printer_info_buffer(new BYTE[bytes_needed]); 80 bytes_needed, &bytes_needed,
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | vertex_array_object_manager.cc | 459 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/chrome/service/cloud_print/ |
H A D | print_system_win.cc | 754 DWORD bytes_needed = 0; local 755 GetJob(printer_handle.Get(), job_id, 1, NULL, 0, &bytes_needed); 760 scoped_ptr<BYTE[]> job_info_buffer(new BYTE[bytes_needed]); 762 bytes_needed, &bytes_needed)) {
|
/external/chromium_org/media/base/ |
H A D | container_names.cc | 410 // is the current location in the buffer, and is updated. |bytes_needed| is the 417 int bytes_needed, 420 DCHECK_GE(bytes_needed, 3); 426 while (*offset + bytes_needed < buffer_size) { 414 AdvanceToStartCode(const uint8* buffer, int buffer_size, int* offset, int bytes_needed, int num_bits, uint32 start_code) argument
|
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_media_task.c | 2562 UINT16 bytes_needed = blocm_x_subband * btif_media_cb.encoder.s16NumOfChannels * \ local 2593 read_size = bytes_needed - btif_media_cb.media_feeding_state.pcm.aa_feed_residue; 2697 if(btif_media_cb.media_feeding_state.pcm.aa_feed_residue >= bytes_needed) 2702 bytes_needed); 2704 btif_media_cb.media_feeding_state.pcm.aa_feed_residue -= bytes_needed; 2709 (UINT8 *)up_sampled_buffer + bytes_needed, 2716 APPL_TRACE_DEBUG("btif_media_aa_read_feeding residue:%d, dst_size_used %d, bytes_needed %d", 2717 btif_media_cb.media_feeding_state.pcm.aa_feed_residue, dst_size_used, bytes_needed);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | nucnvtst.c | 5381 int32_t rules_length, target_cap, bytes_needed, buff_size; local 5411 bytes_needed = ucnv_fromUChars(utf8cnv, buff, target_cap, 5413 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; 5414 if(numNeeded!=0 && numNeeded!= bytes_needed){ 5418 numNeeded = bytes_needed; 5433 int32_t target_cap, bytes_needed, numNeeded = 0; local 5442 bytes_needed = ucnv_fromUChars(conv,target,256,src,u_strlen(src),&status); 5443 target_cap = (bytes_needed > target_cap) ? bytes_needed [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | nucnvtst.c | 5386 int32_t rules_length, target_cap, bytes_needed, buff_size; local 5422 bytes_needed = ucnv_fromUChars(utf8cnv, buff, target_cap, 5424 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; 5425 if(numNeeded!=0 && numNeeded!= bytes_needed){ 5429 numNeeded = bytes_needed; 5444 int32_t target_cap, bytes_needed, numNeeded = 0; local 5453 bytes_needed = ucnv_fromUChars(conv,target,256,src,u_strlen(src),&status); 5454 target_cap = (bytes_needed > target_cap) ? bytes_needed [all...] |