/third_party/node/src/crypto/ |
H A D | crypto_clienthello.cc | 27 void ClientHelloParser::Parse(const uint8_t* data, size_t avail) { in Parse() argument 30 if (!ParseRecordHeader(data, avail)) in Parse() 34 ParseHeader(data, avail); in Parse() 47 bool ClientHelloParser::ParseRecordHeader(const uint8_t* data, size_t avail) { in ParseRecordHeader() argument 49 if (avail < 5) in ParseRecordHeader() 75 void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) { in ParseHeader() argument 84 if (body_offset_ + frame_len_ > avail) in ParseHeader() 103 if (!ParseTLSClientHello(data, avail)) in ParseHeader() 113 session_id_ + session_size_ > data + avail) { in ParseHeader() 169 bool ClientHelloParser::ParseTLSClientHello(const uint8_t* data, size_t avail) { in ParseTLSClientHello() argument [all...] |
H A D | crypto_bio.cc | 267 size_t avail = read_head_->write_pos_ - read_head_->read_pos_; in Read() local 268 if (avail > left) in Read() 269 avail = left; in Read() 273 memcpy(out + offset, read_head_->data_ + read_head_->read_pos_, avail); in Read() 274 read_head_->read_pos_ += avail; in Read() 277 bytes_read += avail; in Read() 278 offset += avail; in Read() 279 left -= avail; in Read() 324 size_t avail = current->write_pos_ - current->read_pos_; in IndexOf() local 325 if (avail > lef in IndexOf() 366 size_t avail = write_head_->len_ - write_head_->write_pos_; Write() local [all...] |
H A D | crypto_clienthello.h | 66 void Parse(const uint8_t* data, size_t avail); 104 bool ParseRecordHeader(const uint8_t* data, size_t avail); 105 void ParseHeader(const uint8_t* data, size_t avail); 109 bool ParseTLSClientHello(const uint8_t* data, size_t avail);
|
/third_party/elfutils/libcpu/ |
H A D | i386_data.h | 401 size_t avail = d->bufsize - *bufcntp; in FCT_MOD$R_M() local 404 needed = snprintf (buf, avail, "%%%s", dregs[byte]); in FCT_MOD$R_M() 406 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte); in FCT_MOD$R_M() 407 if ((size_t) needed > avail) in FCT_MOD$R_M() 408 return needed - avail; in FCT_MOD$R_M() 430 size_t avail = d->bufsize - *bufcntp; in FCT_Mod$R_m() local 431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m() 433 if ((size_t) needed > avail) in FCT_Mod$R_m() 434 return needed - avail; in FCT_Mod$R_m() 472 size_t avail in generic_abs() local 561 size_t avail = d->bufsize - *bufcntp; FCT_crdb() local 594 size_t avail = d->bufsize - *bufcntp; FCT_disp8() local 625 size_t avail = d->bufsize - *bufcntp; FCT_ds_xx() local 674 size_t avail = d->bufsize - *bufcntp; FCT_es_di() local 694 size_t avail = d->bufsize - *bufcntp; FCT_imm() local 730 size_t avail = d->bufsize - *bufcntp; FCT_imm$w() local 751 size_t avail = d->bufsize - *bufcntp; FCT_imm64$w() local 779 size_t avail = d->bufsize - *bufcntp; FCT_imms() local 802 size_t avail = d->bufsize - *bufcntp; FCT_imm$s() local 842 size_t avail = d->bufsize - *bufcntp; FCT_imm16() local 855 size_t avail = d->bufsize - *bufcntp; FCT_imms8() local 879 size_t avail = d->bufsize - *bufcntp; FCT_imm8() local 896 size_t avail = d->bufsize - *bufcntp; FCT_rel() local 923 size_t avail = d->bufsize - *bufcntp; FCT_mmxreg() local 1311 size_t avail = d->bufsize - *bufcntp; FCT_freg() local 1345 size_t avail = d->bufsize - *bufcntp; FCT_sel() local 1412 size_t avail = d->bufsize - *bufcntp; FCT_xmmreg() local [all...] |
/third_party/alsa-utils/axfer/ |
H A D | xfer-libasound-irq-rw.c | 113 snd_pcm_sframes_t avail; in r_process_frames_blocking() local 119 avail = snd_pcm_avail(state->handle); in r_process_frames_blocking() 120 if (avail < 0) { in r_process_frames_blocking() 121 err = avail; in r_process_frames_blocking() 124 avail_count = (snd_pcm_uframes_t)avail; in r_process_frames_blocking() 161 snd_pcm_sframes_t avail; in r_process_frames_nonblocking() local 178 avail = snd_pcm_avail(state->handle); in r_process_frames_nonblocking() 179 if (avail < 0) { in r_process_frames_nonblocking() 180 err = avail; in r_process_frames_nonblocking() 183 avail_count = (snd_pcm_uframes_t)avail; in r_process_frames_nonblocking() 257 snd_pcm_sframes_t avail; w_process_frames_blocking() local 321 snd_pcm_sframes_t avail; w_process_frames_nonblocking() local [all...] |
H A D | xfer-libasound-irq-mmap.c | 24 snd_pcm_uframes_t avail = 0; in irq_mmap_pre_process() local 51 &avail); in irq_mmap_pre_process() 78 snd_pcm_uframes_t avail; in irq_mmap_process_frames() local 96 // Wait for hardware IRQ when no avail space in buffer. in irq_mmap_process_frames() 121 // Sync cache in user space to data in kernel space to calculate avail in irq_mmap_process_frames() 130 avail = snd_pcm_avail_update(state->handle); in irq_mmap_process_frames() 131 if ((snd_pcm_sframes_t)avail < 0) in irq_mmap_process_frames() 132 return (int)avail; in irq_mmap_process_frames() 133 if (*frame_count < avail) in irq_mmap_process_frames() 134 avail in irq_mmap_process_frames() [all...] |
H A D | xfer-libasound-timer-mmap.c | 27 snd_pcm_uframes_t avail = 0; in timer_mmap_pre_process() local 76 &avail); in timer_mmap_pre_process() 126 snd_pcm_sframes_t avail; in timer_mmap_process_frames() local 134 // Retrieve avail space on PCM buffer between kernel/user spaces. in timer_mmap_process_frames() 137 avail = snd_pcm_avail_update(state->handle); in timer_mmap_process_frames() 138 if (avail < 0) in timer_mmap_process_frames() 139 return (int)avail; in timer_mmap_process_frames() 142 avail_count = (snd_pcm_uframes_t)avail; in timer_mmap_process_frames() 188 avail = snd_pcm_avail(state->handle); in timer_mmap_process_frames() 189 if (avail < in timer_mmap_process_frames() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | basictz.cpp | 147 UBool avail; in getSimpleRulesNear() local 150 avail = getNextTransition(date, false, tr); in getSimpleRulesNear() 151 if (avail) { in getSimpleRulesNear() 185 avail = getNextTransition(nextTransitionTime, false, tr); in getSimpleRulesNear() 186 if (avail) { in getSimpleRulesNear() 204 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), true, d); in getSimpleRulesNear() 205 if (!avail || d > date in getSimpleRulesNear() 217 avail = getPreviousTransition(date, true, tr); in getSimpleRulesNear() 218 if (avail) { in getSimpleRulesNear() 237 avail in getSimpleRulesNear() 297 bool avail; getTimeZoneRulesAfter() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | basictz.cpp | 147 UBool avail; in getSimpleRulesNear() local 150 avail = getNextTransition(date, false, tr); in getSimpleRulesNear() 151 if (avail) { in getSimpleRulesNear() 185 avail = getNextTransition(nextTransitionTime, false, tr); in getSimpleRulesNear() 186 if (avail) { in getSimpleRulesNear() 204 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), true, d); in getSimpleRulesNear() 205 if (!avail || d > date in getSimpleRulesNear() 217 avail = getPreviousTransition(date, true, tr); in getSimpleRulesNear() 218 if (avail) { in getSimpleRulesNear() 237 avail in getSimpleRulesNear() 297 bool avail; getTimeZoneRulesAfter() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | basictz.cpp | 147 UBool avail; in getSimpleRulesNear() local 150 avail = getNextTransition(date, FALSE, tr); in getSimpleRulesNear() 151 if (avail) { in getSimpleRulesNear() 185 avail = getNextTransition(nextTransitionTime, FALSE, tr); in getSimpleRulesNear() 186 if (avail) { in getSimpleRulesNear() 204 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d); in getSimpleRulesNear() 205 if (!avail || d > date in getSimpleRulesNear() 217 avail = getPreviousTransition(date, TRUE, tr); in getSimpleRulesNear() 218 if (avail) { in getSimpleRulesNear() 237 avail in getSimpleRulesNear() 298 UBool avail; getTimeZoneRulesAfter() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | builtin_functions.h | 60 udiv64(void *mem_ctx, builtin_available_predicate avail); 63 idiv64(void *mem_ctx, builtin_available_predicate avail); 66 umod64(void *mem_ctx, builtin_available_predicate avail); 69 imod64(void *mem_ctx, builtin_available_predicate avail); 72 udivmod64(void *mem_ctx, builtin_available_predicate avail);
|
H A D | builtin_functions.cpp | 1068 builtin_available_predicate avail, 1075 ir_function_signature *unop(builtin_available_predicate avail, 1079 ir_function_signature *binop(builtin_available_predicate avail, 1129 ir_function_signature *_mix_sel(builtin_available_predicate avail, 1146 ir_function_signature *_packUnorm2x16(builtin_available_predicate avail); 1147 ir_function_signature *_packSnorm2x16(builtin_available_predicate avail); 1148 ir_function_signature *_packUnorm4x8(builtin_available_predicate avail); 1149 ir_function_signature *_packSnorm4x8(builtin_available_predicate avail); 1150 ir_function_signature *_unpackUnorm2x16(builtin_available_predicate avail); 1151 ir_function_signature *_unpackSnorm2x16(builtin_available_predicate avail); 5724 new_sig(const glsl_type *return_type, builtin_available_predicate avail, int num_params, ...) new_sig() argument 5757 unop(builtin_available_predicate avail, ir_expression_operation opcode, const glsl_type *return_type, const glsl_type *param_type) unop() argument 5783 binop(builtin_available_predicate avail, ir_expression_operation opcode, const glsl_type *return_type, const glsl_type *param0_type, const glsl_type *param1_type, bool swap_operands) binop() argument 6026 _mod(builtin_available_predicate avail, const glsl_type *x_type, const glsl_type *y_type) _mod() argument 6033 _modf(builtin_available_predicate avail, const glsl_type *type) _modf() argument 6048 _min(builtin_available_predicate avail, const glsl_type *x_type, const glsl_type *y_type) _min() argument 6055 _max(builtin_available_predicate avail, const glsl_type *x_type, const glsl_type *y_type) _max() argument 6062 _clamp(builtin_available_predicate avail, const glsl_type *val_type, const glsl_type *bound_type) _clamp() argument 6076 _mix_lrp(builtin_available_predicate avail, const glsl_type *val_type, const glsl_type *blend_type) _mix_lrp() argument 6089 _mix_sel(builtin_available_predicate avail, const glsl_type *val_type, const glsl_type *blend_type) _mix_sel() argument 6111 _step(builtin_available_predicate avail, const glsl_type *edge_type, const glsl_type *x_type) _step() argument 6150 _smoothstep(builtin_available_predicate avail, const glsl_type *edge_type, const glsl_type *x_type) _smoothstep() argument 6174 _isnan(builtin_available_predicate avail, const glsl_type *type) _isnan() argument 6185 _isinf(builtin_available_predicate avail, const glsl_type *type) _isinf() argument 6252 _doubleBitsToInt64(builtin_available_predicate avail, const glsl_type *type) _doubleBitsToInt64() argument 6261 _doubleBitsToUint64(builtin_available_predicate avail, const glsl_type *type) _doubleBitsToUint64() argument 6270 _int64BitsToDouble(builtin_available_predicate avail, const glsl_type *type) _int64BitsToDouble() argument 6279 _uint64BitsToDouble(builtin_available_predicate avail, const glsl_type *type) _uint64BitsToDouble() argument 6288 _packUnorm2x16(builtin_available_predicate avail) _packUnorm2x16() argument 6297 _packSnorm2x16(builtin_available_predicate avail) _packSnorm2x16() argument 6306 _packUnorm4x8(builtin_available_predicate avail) _packUnorm4x8() argument 6315 _packSnorm4x8(builtin_available_predicate avail) _packSnorm4x8() argument 6324 _unpackUnorm2x16(builtin_available_predicate avail) _unpackUnorm2x16() argument 6333 _unpackSnorm2x16(builtin_available_predicate avail) _unpackSnorm2x16() argument 6343 _unpackUnorm4x8(builtin_available_predicate avail) _unpackUnorm4x8() argument 6352 _unpackSnorm4x8(builtin_available_predicate avail) _unpackSnorm4x8() argument 6361 _packHalf2x16(builtin_available_predicate avail) _packHalf2x16() argument 6370 _unpackHalf2x16(builtin_available_predicate avail) _unpackHalf2x16() argument 6379 _packDouble2x32(builtin_available_predicate avail) _packDouble2x32() argument 6388 _unpackDouble2x32(builtin_available_predicate avail) _unpackDouble2x32() argument 6397 _packInt2x32(builtin_available_predicate avail) _packInt2x32() argument 6406 _unpackInt2x32(builtin_available_predicate avail) _unpackInt2x32() argument 6415 _packUint2x32(builtin_available_predicate avail) _packUint2x32() argument 6424 _unpackUint2x32(builtin_available_predicate avail) _unpackUint2x32() argument 6433 _length(builtin_available_predicate avail, const glsl_type *type) _length() argument 6444 _distance(builtin_available_predicate avail, const glsl_type *type) _distance() argument 6462 _dot(builtin_available_predicate avail, const glsl_type *type) _dot() argument 6472 _cross(builtin_available_predicate avail, const glsl_type *type) _cross() argument 6488 _normalize(builtin_available_predicate avail, const glsl_type *type) _normalize() argument 6515 _faceforward(builtin_available_predicate avail, const glsl_type *type) _faceforward() argument 6529 _reflect(builtin_available_predicate avail, const glsl_type *type) _reflect() argument 6542 _refract(builtin_available_predicate avail, const glsl_type *type) _refract() argument 6572 _matrixCompMult(builtin_available_predicate avail, const glsl_type *type) _matrixCompMult() argument 6588 _outerProduct(builtin_available_predicate avail, const glsl_type *type) _outerProduct() argument 6612 _transpose(builtin_available_predicate avail, const glsl_type *orig_type) _transpose() argument 6636 _determinant_mat2(builtin_available_predicate avail, const glsl_type *type) _determinant_mat2() argument 6648 _determinant_mat3(builtin_available_predicate avail, const glsl_type *type) _determinant_mat3() argument 6673 _determinant_mat4(builtin_available_predicate avail, const glsl_type *type) _determinant_mat4() argument 6748 _inverse_mat2(builtin_available_predicate avail, const glsl_type *type) _inverse_mat2() argument 6768 _inverse_mat3(builtin_available_predicate avail, const glsl_type *type) _inverse_mat3() argument 6830 _inverse_mat4(builtin_available_predicate avail, const glsl_type *type) _inverse_mat4() argument 6974 _lessThan(builtin_available_predicate avail, const glsl_type *type) _lessThan() argument 6982 _lessThanEqual(builtin_available_predicate avail, const glsl_type *type) _lessThanEqual() argument 6991 _greaterThan(builtin_available_predicate avail, const glsl_type *type) _greaterThan() argument 7000 _greaterThanEqual(builtin_available_predicate avail, const glsl_type *type) _greaterThanEqual() argument 7008 _equal(builtin_available_predicate avail, const glsl_type *type) _equal() argument 7016 _notEqual(builtin_available_predicate avail, const glsl_type *type) _notEqual() argument 7065 _textureSize(builtin_available_predicate avail, const glsl_type *return_type, const glsl_type *sampler_type) _textureSize() argument 7090 _textureSamples(builtin_available_predicate avail, const glsl_type *sampler_type) _textureSamples() argument 7128 _texture(ir_texture_opcode opcode, builtin_available_predicate avail, const glsl_type *return_type, const glsl_type *sampler_type, const glsl_type *coord_type, int flags) _texture() argument 7252 _textureCubeArrayShadow(ir_texture_opcode opcode, builtin_available_predicate avail, const glsl_type *sampler_type, int flags) _textureCubeArrayShadow() argument 7309 _texelFetch(builtin_available_predicate avail, const glsl_type *return_type, const glsl_type *sampler_type, const glsl_type *coord_type, const glsl_type *offset_type, bool sparse) _texelFetch() argument 7373 _EmitStreamVertex(builtin_available_predicate avail, const glsl_type *stream_type) _EmitStreamVertex() argument 7404 _EndStreamPrimitive(builtin_available_predicate avail, const glsl_type *stream_type) _EndStreamPrimitive() argument 7433 _textureQueryLod(builtin_available_predicate avail, const glsl_type *sampler_type, const glsl_type *coord_type) _textureQueryLod() argument 7452 _textureQueryLevels(builtin_available_predicate avail, const glsl_type *sampler_type) _textureQueryLevels() argument 7468 _textureSamplesIdentical(builtin_available_predicate avail, const glsl_type *sampler_type, const glsl_type *coord_type) _textureSamplesIdentical() argument 7645 _countLeadingZeros(builtin_available_predicate avail, const glsl_type *type) _countLeadingZeros() argument 7653 _countTrailingZeros(builtin_available_predicate avail, const glsl_type *type) _countTrailingZeros() argument 7667 _fma(builtin_available_predicate avail, const glsl_type *type) _fma() argument 7762 _addSaturate(builtin_available_predicate avail, const glsl_type *type) _addSaturate() argument 7783 _subtractSaturate(builtin_available_predicate avail, const glsl_type *type) _subtractSaturate() argument 7790 _absoluteDifference(builtin_available_predicate avail, const glsl_type *type) _absoluteDifference() argument 7803 _average(builtin_available_predicate avail, const glsl_type *type) _average() argument 7810 _averageRounded(builtin_available_predicate avail, const glsl_type *type) _averageRounded() argument 7863 _multiply32x16(builtin_available_predicate avail, const glsl_type *type) _multiply32x16() argument 7908 _atomic_counter_intrinsic(builtin_available_predicate avail, enum ir_intrinsic_id id) _atomic_counter_intrinsic() argument 7917 _atomic_counter_intrinsic1(builtin_available_predicate avail, enum ir_intrinsic_id id) _atomic_counter_intrinsic1() argument 7927 _atomic_counter_intrinsic2(builtin_available_predicate avail, enum ir_intrinsic_id id) _atomic_counter_intrinsic2() argument 7938 _atomic_intrinsic2(builtin_available_predicate avail, const glsl_type *type, enum ir_intrinsic_id id) _atomic_intrinsic2() argument 7949 _atomic_intrinsic3(builtin_available_predicate avail, const glsl_type *type, enum ir_intrinsic_id id) _atomic_intrinsic3() argument 7961 _atomic_counter_op(const char *intrinsic, builtin_available_predicate avail) _atomic_counter_op() argument 7975 _atomic_counter_op1(const char *intrinsic, builtin_available_predicate avail) _atomic_counter_op1() argument 8016 _atomic_counter_op2(const char *intrinsic, builtin_available_predicate avail) _atomic_counter_op2() argument 8032 _atomic_op2(const char *intrinsic, builtin_available_predicate avail, const glsl_type *type) _atomic_op2() argument 8050 _atomic_op3(const char *intrinsic, builtin_available_predicate avail, const glsl_type *type) _atomic_op3() argument 8317 _memory_barrier_intrinsic(builtin_available_predicate avail, enum ir_intrinsic_id id) _memory_barrier_intrinsic() argument 8325 _memory_barrier(const char *intrinsic_name, builtin_available_predicate avail) _memory_barrier() argument 8406 _invocation_interlock_intrinsic(builtin_available_predicate avail, enum ir_intrinsic_id id) _invocation_interlock_intrinsic() argument 8414 _invocation_interlock(const char *intrinsic_name, builtin_available_predicate avail) _invocation_interlock() argument 8424 _shader_clock_intrinsic(builtin_available_predicate avail, const glsl_type *type) _shader_clock_intrinsic() argument 8432 _shader_clock(builtin_available_predicate avail, const glsl_type *type) _shader_clock() argument 8452 _vote_intrinsic(builtin_available_predicate avail, enum ir_intrinsic_id id) _vote_intrinsic() argument 8461 _vote(const char *intrinsic_name, builtin_available_predicate avail) _vote() argument [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | alsa-time-test.c | 157 snd_pcm_sframes_t avail, delay; in main() local 176 avail = snd_pcm_avail(pcm); in main() 177 assert(avail >= 0); in main() 183 /* assert(avail == (snd_pcm_sframes_t) snd_pcm_status_get_avail(status)); */ in main() 184 /* printf("%lu %lu\n", (unsigned long) avail, (unsigned long) snd_pcm_status_get_avail(status)); */ in main() 193 assert(!revents || avail > 0); in main() 195 if ((!cap && (avail >= fillrate)) || (cap && (unsigned)avail >= buffer_size)) { in main() 210 avail == last_avail && in main() 233 (signed long) avail, in main() [all...] |
/third_party/libwebsockets/lib/roles/ws/ |
H A D | server-ws.c | 808 unsigned int avail = (unsigned int)len; in lws_ws_frame_rest_is_payload() local 828 avail = (unsigned int)wsi->a.protocol->rx_buffer_size; in lws_ws_frame_rest_is_payload() 830 avail = wsi->a.context->pt_serv_buf_size; in lws_ws_frame_rest_is_payload() 834 if (avail > wsi->ws->rx_packet_length) in lws_ws_frame_rest_is_payload() 835 avail = (unsigned int)wsi->ws->rx_packet_length; in lws_ws_frame_rest_is_payload() 838 if (avail > len) in lws_ws_frame_rest_is_payload() 839 avail = (unsigned int)len; in lws_ws_frame_rest_is_payload() 841 if (!avail) in lws_ws_frame_rest_is_payload() 845 pmdrx.eb_in.len = (int)avail; in lws_ws_frame_rest_is_payload() 847 pmdrx.eb_out.len = (int)avail; in lws_ws_frame_rest_is_payload() [all...] |
/third_party/toybox/toys/posix/ |
H A D | df.c | 100 unsigned long long size, used, avail, percent, block; in show_mt() local 124 avail = getuid() ? mt->statvfs.f_favail : mt->statvfs.f_ffree; in show_mt() 129 avail= (block*(getuid()?mt->statvfs.f_bavail:mt->statvfs.f_bfree))/TT.units; in show_mt() 131 if (!(used+avail)) percent = 0; in show_mt() 133 percent = (used*100)/(used+avail); in show_mt() 134 if (used*100 != percent*(used+avail)) percent++; in show_mt() 144 measure_numeric_column(3, avail); in show_mt() 155 human_readable(avail_str, avail, hr_flags); in show_mt() 163 TT.column_widths[3], avail, in show_mt()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_dsnoop.c | 134 snd_pcm_uframes_t slave_hw_ptr, old_slave_hw_ptr, avail; in snd_pcm_dsnoop_sync_ptr() local 155 if ((avail = snd_pcm_mmap_capture_avail(pcm)) >= pcm->stop_threshold) { in snd_pcm_dsnoop_sync_ptr() 158 dsnoop->avail_max = avail; in snd_pcm_dsnoop_sync_ptr() 161 if (avail > dsnoop->avail_max) in snd_pcm_dsnoop_sync_ptr() 162 dsnoop->avail_max = avail; in snd_pcm_dsnoop_sync_ptr() 190 status->avail = snd_pcm_mmap_capture_avail(pcm); in snd_pcm_dsnoop_status() 191 status->avail_max = status->avail > dsnoop->avail_max ? status->avail : dsnoop->avail_max; in snd_pcm_dsnoop_status() 333 snd_pcm_sframes_t avail; in snd_pcm_dsnoop_rewind() local 335 avail in snd_pcm_dsnoop_rewind() 349 snd_pcm_sframes_t avail; snd_pcm_dsnoop_forward() local 429 snd_pcm_dsnoop_htimestamp(snd_pcm_t *pcm, snd_pcm_uframes_t *avail, snd_htimestamp_t *tstamp) snd_pcm_dsnoop_htimestamp() argument [all...] |
H A D | pcm_dshare.c | 165 snd_pcm_uframes_t old_slave_hw_ptr, avail; in snd_pcm_dshare_sync_ptr0() local 182 avail = snd_pcm_mmap_playback_avail(pcm); in snd_pcm_dshare_sync_ptr0() 183 if (avail > dshare->avail_max) in snd_pcm_dshare_sync_ptr0() 184 dshare->avail_max = avail; in snd_pcm_dshare_sync_ptr0() 185 if (avail >= pcm->stop_threshold) { in snd_pcm_dshare_sync_ptr0() 242 status->avail = snd_pcm_mmap_playback_avail(pcm); in snd_pcm_dshare_status() 243 status->avail_max = status->avail > dshare->avail_max ? status->avail : dshare->avail_max; in snd_pcm_dshare_status() 329 snd_pcm_sframes_t avail; in snd_pcm_dshare_start() local 334 avail in snd_pcm_dshare_start() 441 snd_pcm_sframes_t avail; snd_pcm_dshare_rewind() local 457 snd_pcm_sframes_t avail; snd_pcm_dshare_forward() local 552 snd_pcm_dshare_htimestamp(snd_pcm_t *pcm, snd_pcm_uframes_t *avail, snd_htimestamp_t *tstamp) snd_pcm_dshare_htimestamp() argument [all...] |
H A D | pcm_share.c | 123 snd_pcm_sframes_t avail; in snd_pcm_share_slave_avail() local 125 avail = slave->hw_ptr - *pcm->appl.ptr; in snd_pcm_share_slave_avail() 127 avail += pcm->buffer_size; in snd_pcm_share_slave_avail() 128 if (avail < 0) in snd_pcm_share_slave_avail() 129 avail += pcm->boundary; in snd_pcm_share_slave_avail() 130 else if ((snd_pcm_uframes_t) avail >= pcm->boundary) in snd_pcm_share_slave_avail() 131 avail -= pcm->boundary; in snd_pcm_share_slave_avail() 132 return avail; in snd_pcm_share_slave_avail() 143 snd_pcm_uframes_t avail, slave_avail; in _snd_pcm_share_slave_forward() local 162 avail in _snd_pcm_share_slave_forward() 204 snd_pcm_uframes_t avail = 0, slave_avail; _snd_pcm_share_missing() local 795 snd_pcm_sframes_t avail; snd_pcm_share_avail_update() local 812 snd_pcm_share_htimestamp(snd_pcm_t *pcm, snd_pcm_uframes_t *avail, snd_htimestamp_t *tstamp) snd_pcm_share_htimestamp() argument [all...] |
/third_party/skia/third_party/externals/libgifcodec/ |
H A D | SkGifImageReader.cpp | 235 avail = clearCode + 2; in doLZW() 249 if (code > avail) { in doLZW() 256 if (code == avail) { in doLZW() 261 // Now we know avail is the new code we can use oldcode in doLZW() 273 // avail = oldcode + firstchar of the oldcode in doLZW() 295 // This completes the new code avail and writing the corresponding in doLZW() 297 if (tempCode == avail) { in doLZW() 303 if (avail < SK_MAX_DICTIONARY_ENTRIES && oldcode != -1) { in doLZW() 304 // now add avail to the dictionary for future reference in doLZW() 310 prefix[avail] in doLZW() [all...] |
/third_party/node/deps/base64/base64/bin/ |
H A D | base64.c | 344 find_newline (const char *p, const size_t avail) in find_newline() argument 347 for (size_t len = 0; len < avail; len++) { in find_newline() 353 return avail; in find_newline() 359 size_t avail; in decode() local 367 while ((avail = fread(buf->enc, 1, BUFFER_RAW_SIZE, config->fp)) > 0) { in decode() 375 while (avail > 0) { in decode() 379 size_t outlen, len = find_newline(start, avail); in decode() 384 avail--; in decode() 401 if (len == avail) { in decode() 407 avail in decode() [all...] |
/third_party/skia/tests/ |
H A D | SkBlockAllocatorTest.cpp | 81 REPORTER_ASSERT(r, stack.preallocUsableSpace() == (size_t) stack.currentBlock()->avail()); in DEF_TEST() 154 // Requesting an allocation of avail() should not make a new block in DEF_TEST() 155 size_t avail = pool->currentBlock()->avail<4>(); in DEF_TEST() local 156 auto pAvail = pool->allocate<4>(avail); in DEF_TEST() 157 validate_ptr(4, avail, pAvail, &p32); in DEF_TEST() 161 REPORTER_ASSERT(r, pool->currentBlock()->avail<4>() < 4); in DEF_TEST() 166 // Allocating more than avail() makes an another block in DEF_TEST() 168 size_t bigRequest = pool->currentBlock()->avail<4>() * 2; in DEF_TEST() 188 REPORTER_ASSERT(r, p.fBlock->avail< in DEF_TEST() 467 size_t avail = pool->currentBlock()->avail(); DEF_TEST() local [all...] |
/third_party/skia/src/core/ |
H A D | SkTBlockList.h | 103 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in reserve() local 104 if (n > avail) { in reserve() 105 int reserved = n - avail; in reserve() 311 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in concat() local 312 if (headItemCount > avail) { in concat() 313 // Make sure there is extra room for the items beyond what's already avail. Use the in concat() 316 fAllocator->template reserve<alignof(T)>((headItemCount - avail) * sizeof(T), in concat() 330 if (avail > in concat() [all...] |
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | testresample2.c | 50 int rate = 1000, off = 0, avail = INBLOCK; in main() local 66 in_len = avail; in main() 75 avail = avail - in_len + INBLOCK; in main()
|
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd_huffman.c | 52 size_t avail; in nghttp2_hd_huff_encode() local 55 avail = nghttp2_bufs_cur_avail(bufs); in nghttp2_hd_huff_encode() 64 if (avail >= 4) { in nghttp2_hd_huff_encode() 68 avail -= 4; in nghttp2_hd_huff_encode() 83 avail = nghttp2_bufs_cur_avail(bufs); in nghttp2_hd_huff_encode()
|
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd_huffman.c | 52 size_t avail; in nghttp2_hd_huff_encode() local 55 avail = nghttp2_bufs_cur_avail(bufs); in nghttp2_hd_huff_encode() 64 if (avail >= 4) { in nghttp2_hd_huff_encode() 68 avail -= 4; in nghttp2_hd_huff_encode() 83 avail = nghttp2_bufs_cur_avail(bufs); in nghttp2_hd_huff_encode()
|