Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rand_extra/
Dpassive.c22 void RAND_need_entropy(size_t bytes_needed) { in RAND_need_entropy() argument
25 if (todo > bytes_needed) { in RAND_need_entropy()
26 todo = bytes_needed; in RAND_need_entropy()
/external/flac/src/libFLAC/
Dmd5.c494 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample; in FLAC__MD5Accumulate() local
502 if (ctx->capacity < bytes_needed) { in FLAC__MD5Accumulate()
503 if (0 == (ctx->internal_buf.p8 = safe_realloc_(ctx->internal_buf.p8, bytes_needed))) { in FLAC__MD5Accumulate()
504 if (0 == (ctx->internal_buf.p8 = safe_malloc_(bytes_needed))) { in FLAC__MD5Accumulate()
509 ctx->capacity = bytes_needed; in FLAC__MD5Accumulate()
514 FLAC__MD5Update(ctx, ctx->internal_buf.p8, bytes_needed); in FLAC__MD5Accumulate()
/external/boringssl/src/crypto/fipsmodule/rand/
Dinternal.h62 void RAND_need_entropy(size_t bytes_needed);
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Ds3_both.cc516 size_t bytes_needed; in tls_can_accept_handshake_data() local
517 if (parse_message(ssl, &msg, &bytes_needed)) { in tls_can_accept_handshake_data()
524 if (bytes_needed > 4 + ssl_max_handshake_message_len(ssl)) { in tls_can_accept_handshake_data()
/external/boringssl/src/ssl/
Ds3_both.cc516 size_t bytes_needed; in tls_can_accept_handshake_data() local
517 if (parse_message(ssl, &msg, &bytes_needed)) { in tls_can_accept_handshake_data()
524 if (bytes_needed > 4 + ssl_max_handshake_message_len(ssl)) { in tls_can_accept_handshake_data()
/external/libtextclassifier/abseil-cpp/absl/hash/internal/
Dhash.h966 const size_t bytes_needed = PiecewiseChunkSize() - position_;
967 memcpy(buf_ + position_, data, bytes_needed);
969 data += bytes_needed;
970 size -= bytes_needed;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/hash/internal/
Dhash.h966 const size_t bytes_needed = PiecewiseChunkSize() - position_;
967 memcpy(buf_ + position_, data, bytes_needed);
969 data += bytes_needed;
970 size -= bytes_needed;
/external/openscreen/third_party/abseil/src/absl/hash/internal/
Dhash.h973 const size_t bytes_needed = PiecewiseChunkSize() - position_;
974 memcpy(buf_ + position_, data, bytes_needed);
976 data += bytes_needed;
977 size -= bytes_needed;
/external/abseil-cpp/absl/hash/internal/
Dhash.h959 const size_t bytes_needed = PiecewiseChunkSize() - position_;
960 memcpy(buf_ + position_, data, bytes_needed);
962 data += bytes_needed;
963 size -= bytes_needed;
/external/webrtc/third_party/abseil-cpp/absl/hash/internal/
Dhash.h959 const size_t bytes_needed = PiecewiseChunkSize() - position_;
960 memcpy(buf_ + position_, data, bytes_needed);
962 data += bytes_needed;
963 size -= bytes_needed;
/external/icu/icu4c/source/test/cintltst/
Dnucnvtst.c5420 int32_t rules_length, target_cap, bytes_needed, buff_size; in TestJitterbug981() local
5456 bytes_needed = ucnv_fromUChars(utf8cnv, buff, target_cap, in TestJitterbug981()
5458 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug981()
5459 if(numNeeded!=0 && numNeeded!= bytes_needed){ in TestJitterbug981()
5463 numNeeded = bytes_needed; in TestJitterbug981()
5478 int32_t target_cap, bytes_needed, numNeeded = 0; in TestJitterbug1293() local
5487 bytes_needed = ucnv_fromUChars(conv,target,256,src,u_strlen(src),&status); in TestJitterbug1293()
5488 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug1293()
5489 if(numNeeded!=0 && numNeeded!= bytes_needed){ in TestJitterbug1293()
5492 numNeeded = bytes_needed; in TestJitterbug1293()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp3031 Temp offset, unsigned bytes_needed,
3057 unsigned bytes_needed = load_size - bytes_read; in emit_load() local
3066 if (bytes_needed > 2 || in emit_load()
3067 (bytes_needed == 2 && (align_mul % 2 || align_offset % 2)) || in emit_load()
3071 bytes_needed = 2; in emit_load()
3074 bytes_needed += byte_align == -1 ? 4 - info.align_mul : byte_align; in emit_load()
3075 bytes_needed = align(bytes_needed, 4); in emit_load()
3083 bytes_needed = MIN2(bytes_needed, info.swizzle_component_size); in emit_load()
3085 bytes_needed = MIN2(bytes_needed, info.component_size); in emit_load()
3156 Temp val = params.callback(bld, info, aligned_offset_tmp, bytes_needed, in emit_load()
[all …]
/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()