Home
last modified time | relevance | path

Searched refs:bytes_needed (Results 1 – 4 of 4) sorted by relevance

/external/flac/libFLAC/
Dmd5.c493 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample; in FLAC__MD5Accumulate() local
501 if (ctx->capacity < bytes_needed) { in FLAC__MD5Accumulate()
502 if (0 == (ctx->internal_buf.p8 = safe_realloc_(ctx->internal_buf.p8, bytes_needed))) { in FLAC__MD5Accumulate()
503 if (0 == (ctx->internal_buf.p8 = safe_malloc_(bytes_needed))) { in FLAC__MD5Accumulate()
508 ctx->capacity = bytes_needed; in FLAC__MD5Accumulate()
513 FLAC__MD5Update(ctx, ctx->internal_buf.p8, bytes_needed); in FLAC__MD5Accumulate()
/external/boringssl/src/ssl/
Ds3_both.cc514 size_t bytes_needed; in tls_can_accept_handshake_data() local
515 if (parse_message(ssl, &msg, &bytes_needed)) { in tls_can_accept_handshake_data()
522 if (bytes_needed > 4 + ssl_max_handshake_message_len(ssl)) { in tls_can_accept_handshake_data()
/external/icu/icu4c/source/test/cintltst/
Dnucnvtst.c5396 int32_t rules_length, target_cap, bytes_needed, buff_size; in TestJitterbug981() local
5432 bytes_needed = ucnv_fromUChars(utf8cnv, buff, target_cap, in TestJitterbug981()
5434 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug981()
5435 if(numNeeded!=0 && numNeeded!= bytes_needed){ in TestJitterbug981()
5439 numNeeded = bytes_needed; in TestJitterbug981()
5454 int32_t target_cap, bytes_needed, numNeeded = 0; in TestJitterbug1293() local
5463 bytes_needed = ucnv_fromUChars(conv,target,256,src,u_strlen(src),&status); in TestJitterbug1293()
5464 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug1293()
5465 if(numNeeded!=0 && numNeeded!= bytes_needed){ in TestJitterbug1293()
5468 numNeeded = bytes_needed; in TestJitterbug1293()
/external/swiftshader/third_party/subzero/src/
DIceAssemblerX86BaseImpl.h3834 intptr_t bytes_needed = alignment - mod; in align() local
3835 while (bytes_needed > MAX_NOP_SIZE) { in align()
3837 bytes_needed -= MAX_NOP_SIZE; in align()
3839 if (bytes_needed) { in align()
3840 nop(bytes_needed); in align()