Searched refs:bytes_needed (Results 1 – 5 of 5) sorted by relevance
/external/chromium/net/base/ |
D | sdch_filter.cc | 316 size_t bytes_needed = kServerIdLength - dictionary_hash_.size(); in InitializeDictionary() local 317 DCHECK_GT(bytes_needed, 0u); in InitializeDictionary() 320 if (static_cast<size_t>(stream_data_len_) < bytes_needed) { in InitializeDictionary() 326 dictionary_hash_.append(next_stream_data_, bytes_needed); in InitializeDictionary() 328 stream_data_len_ -= bytes_needed; in InitializeDictionary() 331 next_stream_data_ += bytes_needed; in InitializeDictionary()
|
/external/chromium/chrome/browser/ |
D | crash_upload_list_win.cc | 20 DWORD bytes_needed; in LoadCrashList() local 28 &bytes_needed); in LoadCrashList() 43 buffer.resize(bytes_needed); in LoadCrashList()
|
/external/flac/libFLAC/ |
D | md5.c | 400 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample; in FLAC__MD5Accumulate() local 408 if(ctx->capacity < bytes_needed) { in FLAC__MD5Accumulate() 409 FLAC__byte *tmp = (FLAC__byte*)realloc(ctx->internal_buf, bytes_needed); in FLAC__MD5Accumulate() 412 if(0 == (ctx->internal_buf = (FLAC__byte*)safe_malloc_(bytes_needed))) in FLAC__MD5Accumulate() 416 ctx->capacity = bytes_needed; in FLAC__MD5Accumulate() 421 FLAC__MD5Update(ctx, ctx->internal_buf, bytes_needed); in FLAC__MD5Accumulate()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_media_task.c | 1921 UINT16 bytes_needed = blocm_x_subband * btif_media_cb.encoder.s16NumOfChannels * \ in btif_media_aa_read_feeding() local 2039 if(btif_media_cb.media_feeding_state.pcm.aa_feed_residue >= bytes_needed) in btif_media_aa_read_feeding() 2044 bytes_needed); in btif_media_aa_read_feeding() 2046 btif_media_cb.media_feeding_state.pcm.aa_feed_residue -= bytes_needed; in btif_media_aa_read_feeding() 2051 (UINT8 *)up_sampled_buffer + bytes_needed, in btif_media_aa_read_feeding() 2059 btif_media_cb.media_feeding_state.pcm.aa_feed_residue, dst_size_used, bytes_needed); in btif_media_aa_read_feeding()
|
/external/icu4c/test/cintltst/ |
D | nucnvtst.c | 5401 int32_t rules_length, target_cap, bytes_needed, buff_size; in TestJitterbug981() local 5431 bytes_needed = ucnv_fromUChars(utf8cnv, buff, target_cap, in TestJitterbug981() 5433 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug981() 5434 if(numNeeded!=0 && numNeeded!= bytes_needed){ in TestJitterbug981() 5438 numNeeded = bytes_needed; in TestJitterbug981() 5453 int32_t target_cap, bytes_needed, numNeeded = 0; in TestJitterbug1293() local 5462 bytes_needed = ucnv_fromUChars(conv,target,256,src,u_strlen(src),&status); in TestJitterbug1293() 5463 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug1293() 5464 if(numNeeded!=0 && numNeeded!= bytes_needed){ in TestJitterbug1293() 5467 numNeeded = bytes_needed; in TestJitterbug1293()
|