/external/webrtc/src/system_wrappers/source/ |
H A D | file_impl.cc | 254 size_t num_bytes = fwrite(buf, 1, length, _id); local 255 if (num_bytes > 0) 257 _sizeInBytes += num_bytes;
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_openssl.c | 857 int num_bytes, offset; local 862 num_bytes = BN_num_bytes((const BIGNUM *) a); 863 if ((size_t) num_bytes > buflen) 865 if (padlen > (size_t) num_bytes) 866 offset = padlen - num_bytes; 873 return num_bytes + offset;
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_openssl.c | 857 int num_bytes, offset; local 862 num_bytes = BN_num_bytes((const BIGNUM *) a); 863 if ((size_t) num_bytes > buflen) 865 if (padlen > (size_t) num_bytes) 866 offset = padlen - num_bytes; 873 return num_bytes + offset;
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_openssl.c | 857 int num_bytes, offset; local 862 num_bytes = BN_num_bytes((const BIGNUM *) a); 863 if ((size_t) num_bytes > buflen) 865 if (padlen > (size_t) num_bytes) 866 offset = padlen - num_bytes; 873 return num_bytes + offset;
|
/external/valgrind/main/none/tests/s390x/ |
H A D | cu12.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 2 != 0) 135 for (i = 0; i < num_bytes / 2; i++) {
|
H A D | cu12_1.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 2 != 0) 135 for (i = 0; i < num_bytes / 2; i++) {
|
H A D | cu14.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 4 != 0) 135 for (i = 0; i < num_bytes / 4; i++) {
|
H A D | cu14_1.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 4 != 0) 135 for (i = 0; i < num_bytes / 4; i++) {
|
H A D | cu24.c | 98 uint64_t num_bytes = dst_len - result.len1; local 101 if (num_bytes % 4 != 0) 104 for (i = 0; i < num_bytes / 4; i++) {
|
H A D | cu24_1.c | 98 uint64_t num_bytes = dst_len - result.len1; local 101 if (num_bytes % 4 != 0) 104 for (i = 0; i < num_bytes / 4; i++) {
|
/external/valgrind/main/tests/ |
H A D | s390x_features.c | 117 size_t num_bytes, file_buf_size; local 129 num_bytes = 0; 137 num_bytes += n; 141 if (n < 0) num_bytes = 0; /* read error; ignore contents */ 143 if (num_bytes > file_buf_size) { 146 file_buf = malloc(num_bytes + 1); 147 n = read(fh, file_buf, num_bytes); 148 if (n < 0) num_bytes = 0; 151 file_buf[num_bytes] = '\0';
|
/external/vixl/src/a64/ |
H A D | simulator-a64.cc | 778 int num_bytes = 1 << instr->SizeLS(); local 785 case LDR_x: set_xreg(srcdst, MemoryRead(address, num_bytes)); break; 789 case STR_x: MemoryWrite(address, xreg(srcdst), num_bytes); break; 946 uint64_t Simulator::MemoryRead(const uint8_t* address, unsigned num_bytes) { argument 948 VIXL_ASSERT((num_bytes > 0) && (num_bytes <= sizeof(uint64_t))); 950 memcpy(&read, address, num_bytes); 987 unsigned num_bytes) { 989 VIXL_ASSERT((num_bytes > 0) && (num_bytes < 985 MemoryWrite(uint8_t* address, uint64_t value, unsigned num_bytes) argument [all...] |
/external/valgrind/main/VEX/priv/ |
H A D | guest_s390_helpers.c | 374 s390x_dirtyhelper_CUxy(UChar *address, ULong data, ULong num_bytes) argument 378 vassert(num_bytes >= 1 && num_bytes <= 4); 382 for (i = 1; i <= num_bytes; ++i) { 383 address[num_bytes - i] = data & 0xff; 401 | 0x0 | converted bytes | num_bytes | invalid_low_surrogate | 408 UInt b1, b2, b3, b4, num_bytes, invalid_low_surrogate = 0; local 414 num_bytes = 1; 416 num_bytes = 2; 419 num_bytes 548 UInt num_bytes, invalid_character = 0; local 595 UInt num_bytes, invalid_character = 0; local 701 UInt num_bytes = 0, invalid_character = 0; local [all...] |
H A D | guest_s390_toIR.c | 13290 IRTemp num_bytes = newTemp(Ity_I64); local 13291 assign(num_bytes, binop(Iop_And64, 13295 next_insn_if(binop(Iop_CmpLT64U, mkexpr(len1), mkexpr(num_bytes))); 13302 are guarded (num_bytes == 1, num_bytes == 2, etc) such that only 13311 mkexpr(num_bytes))); 13312 d->guard = binop(Iop_CmpEQ64, mkexpr(num_bytes), mkU64(i)); 13328 put_gpr_dw0(r1, binop(Iop_Add64, mkexpr(addr1), mkexpr(num_bytes))); 13329 put_gpr_dw0(r1 + 1, binop(Iop_Sub64, mkexpr(len1), mkexpr(num_bytes))); 13492 IRTemp num_bytes local 13586 IRTemp num_bytes = newTemp(Ity_I64); local 13750 IRTemp num_bytes = newTemp(Ity_I64); local [all...] |
/external/valgrind/main/coregrind/ |
H A D | m_machine.c | 559 SizeT num_bytes, file_buf_size; local 572 num_bytes = 0; 579 num_bytes += n; 583 if (n < 0) num_bytes = 0; /* read error; ignore contents */ 585 if (num_bytes > file_buf_size) { 588 file_buf = VG_(malloc)( "cpuinfo", num_bytes + 1 ); 589 n = VG_(read)( fh, file_buf, num_bytes ); 590 if (n < 0) num_bytes = 0; 593 file_buf[num_bytes] = '\0'; 648 SizeT num_bytes, file_buf_siz local [all...] |
/external/valgrind/main/memcheck/tests/vbit-test/ |
H A D | valgrind.c | 42 unsigned rc, num_bytes; local 45 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type); 46 rc = VALGRIND_SET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes); 51 rc = VALGRIND_GET_VBITS(&opnd->value, &actual.bits, num_bytes); 61 unsigned rc, num_bytes; local 65 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type); 67 rc = VALGRIND_GET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes);
|
/external/srec/srec/EventLog/src/ |
H A D | EventLog.c | 146 ESR_ReturnCode SR_EventLogAudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) argument 153 return self->audioWrite(self, buffer, num_bytes);
|
H A D | EventLogImpl.c | 701 ESR_ReturnCode SR_EventLog_AudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) argument 705 size_t size = num_bytes / impl->waveform_bytes_per_sample; 707 if (num_bytes > 0 && pfwrite(buffer, impl->waveform_bytes_per_sample, size, impl->waveformFile) != size) 718 impl->waveform_num_bytes += num_bytes;
|
H A D | riff.c | 672 * waveform: allocated with size num_bytes 678 ESR_ReturnCode readRiff2Buf(FILE *f, void **waveform, unsigned int *num_bytes, argument 746 *num_bytes = chunk.length; /* already swapped, if need be */ 934 * INPUT: waveform, num_bytes (waveform length), audio_type, 943 unsigned int num_bytes, 975 num_samples = num_bytes / bytes_per_sample; 977 num_samples = num_bytes; 984 total_buflen = headerSize + num_bytes; 1038 header.dataLength = swapConstInt(num_bytes); 1055 header.dataLength = num_bytes; 941 convertBuf2Riff( unsigned char *waveform, unsigned int num_bytes, wchar_t *audio_type, int rate, int bytes_per_sample, SwiRiffStruct *swichunk, unsigned char **buf, unsigned int *buflen) argument [all...] |
/external/srec/srec/Recognizer/src/ |
H A D | RecognizerImpl.c | 3714 ESR_ReturnCode WaveformBuffer_Write(WaveformBuffer* waveformBuffer, void *data, size_t num_bytes) argument 3727 if (available_bytes < num_bytes) 3729 done_bytes = CircularBufferSkip(waveformBuffer->cbuffer, num_bytes - available_bytes); 3730 if (done_bytes != num_bytes - available_bytes) 3736 done_bytes = CircularBufferWrite(waveformBuffer->cbuffer, data, num_bytes); 3737 if (done_bytes != num_bytes) 3746 if (available_bytes < num_bytes) 3748 waveformBuffer->overflow_count += num_bytes; 3751 done_bytes = CircularBufferWrite(waveformBuffer->cbuffer, data, num_bytes); 3752 if (done_bytes != num_bytes) 3765 WaveformBuffer_Read(WaveformBuffer* waveformBuffer, void *data, size_t* num_bytes) argument 3808 WaveformBuffer_WindBack(WaveformBuffer* waveformBuffer, const size_t num_bytes) argument 3823 PLogError(L("%s: windback buffer is too small (needed=%d, had=%d)"), ESR_rc2str(rc), num_bytes, waveformBuffer->windback_buffer_sz); local [all...] |
/external/skia/src/images/ |
H A D | SkJpegUtility.cpp | 68 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { argument 71 if (num_bytes > (long)src->bytes_in_buffer) { 72 size_t bytesToSkip = num_bytes - src->bytes_in_buffer; 88 src->next_input_byte += num_bytes; 89 src->bytes_in_buffer -= num_bytes;
|
/external/qemu/distrib/jpeg-6b/ |
H A D | jdatasrc.c | 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 136 if (num_bytes > 0) { 137 while (num_bytes > (long) src->pub.bytes_in_buffer) { 138 num_bytes -= (long) src->pub.bytes_in_buffer; 144 src->pub.next_input_byte += (size_t) num_bytes; 145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
|
/external/qemu/distrib/libpng-1.2.46/ |
H A D | png.c | 92 /* Tells libpng that we have already handled the first "num_bytes" bytes 94 * stream we can set num_bytes = 8 so that libpng will not attempt to read 100 png_set_sig_bytes(png_structp png_ptr, int num_bytes) argument 107 if (num_bytes > 8) 110 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); 164 png_uint_32 num_bytes; local 173 num_bytes = (png_uint_32)items * size; 176 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes); 183 if (num_bytes > (png_uint_3 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fbelo.c | 135 int num_bytes; local 139 num_bytes = ELO_PACKET_SIZE; 142 num_bytes = read(fd, 147 if (num_bytes < 0) { 154 while (num_bytes) { 156 SDL_memcpy(&buffer[0], &buffer[1], num_bytes-1); 165 num_bytes--;
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_shader.c | 228 unsigned char * bytes, unsigned num_bytes); 517 unsigned char * bytes, unsigned num_bytes) 521 while (bytes_read < num_bytes) { 516 r600_bytecode_from_byte_stream(struct r600_shader_ctx *ctx, unsigned char * bytes, unsigned num_bytes) argument
|