/external/toybox/toys/other/ |
H A D | pwdx.c | 24 int num_bytes; local 27 num_bytes = readlink(path, toybuf, sizeof(toybuf)-1); 30 if (num_bytes==-1) { 35 toybuf[num_bytes] = 0;
|
/external/libnfc-nci/src/nfa/include/ |
H A D | nfa_mem_co.h | 54 NFC_API extern void *nfa_mem_co_alloc (UINT32 num_bytes);
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
H A D | proxyshaper_test.py | 61 num_bytes = 1024 64 f = StringIO.StringIO(' ' * num_bytes) 67 self.assertEqual(num_bytes, len(limited_f.read())) 68 expected_ms = 8.0 * num_bytes / bps * 1000.0 73 num_bytes = 1024 * 8 + 512 76 f = StringIO.StringIO(' ' * num_bytes) 79 self.assertEqual(num_bytes, len(limited_f.readline())) 80 expected_ms = 8.0 * num_bytes / bps * 1000.0 85 num_bytes = 1024 89 f = StringIO.StringIO(' ' * num_bytes) [all...] |
H A D | proxyshaper.py | 62 def transfer_seconds(self, num_bytes): 63 """Seconds to read/write |num_bytes| with |self.bps|.""" 64 return 8.0 * num_bytes / self.bps 67 num_bytes = len(data) 69 while num_sent_bytes < num_bytes: 70 num_write_bytes = min(self.BYTES_PER_WRITE, num_bytes - num_sent_bytes) 84 num_bytes = len(data) 86 wait = self.transfer_seconds(num_bytes) * num_requests - read_seconds
|
H A D | trafficshaper_test.py | 158 def GetTcpSendTimeMs(self, num_bytes): 159 """Return time in milliseconds to send |num_bytes|.""" 163 request_data = '\x00' * num_bytes 171 def GetTcpReceiveTimeMs(self, num_bytes): 172 """Return time in milliseconds to receive |num_bytes|.""" 175 s.sendall('%s%s\n' % (RESPONSE_SIZE_KEY, num_bytes)) 178 num_remaining_bytes = num_bytes 205 num_bytes = 1024 * 100 207 expected_ms = 8.0 * num_bytes / bandwidth_kbits 210 self.assertValuesAlmostEqual(expected_ms, self.GetTcpSendTimeMs(num_bytes)) [all...] |
/external/libavc/common/ |
H A D | ih264_mem_fns.c | 75 * @param[in] num_bytes 85 void ih264_memcpy(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument 87 memcpy(pu1_dst, pu1_src, num_bytes); 91 void ih264_memcpy_mul_8(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument 93 memcpy(pu1_dst, pu1_src, num_bytes); 111 * @param[in] num_bytes 121 void ih264_memset(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument 123 memset(pu1_dst, value, num_bytes); 127 void ih264_memset_mul_8(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument 129 memset(pu1_dst, value, num_bytes); [all...] |
H A D | ih264_mem_fns.h | 39 typedef void ih264_memcpy_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 41 typedef void ih264_memcpy_mul_8_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 57 * @param[in] num_bytes 66 typedef void ih264_memset_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes); 68 typedef void ih264_memset_mul_8_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes);
|
/external/libhevc/common/ |
H A D | ihevc_mem_fns.c | 65 * @param[in] num_bytes 75 void ihevc_memcpy(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument 77 memcpy(pu1_dst, pu1_src, num_bytes); 81 void ihevc_memcpy_mul_8(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument 83 memcpy(pu1_dst, pu1_src, num_bytes); 101 * @param[in] num_bytes 111 void ihevc_memset(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument 113 memset(pu1_dst, value, num_bytes); 117 void ihevc_memset_mul_8(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument 119 memset(pu1_dst, value, num_bytes); [all...] |
H A D | ihevc_mem_fns.h | 37 typedef void ihevc_memcpy_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 39 typedef void ihevc_memcpy_mul_8_ft(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes); 55 * @param[in] num_bytes 64 typedef void ihevc_memset_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes); 66 typedef void ihevc_memset_mul_8_ft(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes);
|
/external/libavc/common/x86/ |
H A D | ih264_mem_fns_ssse3.c | 68 * @param[in] num_bytes 81 void ih264_memcpy_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument 84 for(col = num_bytes; col >= 8; col -= 8) 109 * @param[in] num_bytes 120 void ih264_memset_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument 125 for(col = num_bytes; col >= 8; col -= 8)
|
/external/libhevc/common/x86/ |
H A D | ihevc_mem_fns_ssse3_intr.c | 67 * @param[in] num_bytes 80 void ihevc_memcpy_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument 83 for(col = num_bytes; col >= 8; col -= 8) 108 * @param[in] num_bytes 119 void ihevc_memset_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument 124 for(col = num_bytes; col >= 8; col -= 8)
|
/external/libjpeg-turbo/ |
H A D | jdatasrc-tj.c | 106 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 114 if (num_bytes > 0) { 115 while (num_bytes > (long) src->bytes_in_buffer) { 116 num_bytes -= (long) src->bytes_in_buffer; 122 src->next_input_byte += (size_t) num_bytes; 123 src->bytes_in_buffer -= (size_t) num_bytes;
|
H A D | jdatasrc.c | 162 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 170 if (num_bytes > 0) { 171 while (num_bytes > (long) src->bytes_in_buffer) { 172 num_bytes -= (long) src->bytes_in_buffer; 178 src->next_input_byte += (size_t) num_bytes; 179 src->bytes_in_buffer -= (size_t) num_bytes;
|
/external/ceres-solver/internal/ceres/ |
H A D | file.cc | 61 int num_bytes = ftell(file_descriptor); local 62 data->resize(num_bytes); 68 num_bytes, 70 if (num_read != num_bytes) { 72 << "expected bytes: " << num_bytes * sizeof((*data)[0])
|
/external/tpm2/ |
H A D | marshal_test.c | 30 const uint16_t num_bytes = sizeof(type); \ 31 INT32 size = num_bytes; \ 37 const uint16_t num_bytes = sizeof(type); \ 38 INT32 size = num_bytes; \ 47 size = num_bytes; 52 size = num_bytes; 84 CHECK_EQ(bytes_marshalled, num_bytes) 86 CHECK_EQ(buffer_ptr, buffer+num_bytes) 92 CHECK_EQ(buffer_ptr, buffer+num_bytes); 102 CHECK_EQ(size, num_bytes [all...] |
/external/libweave/third_party/libuweave/src/ |
H A D | crypto_hmac.h | 14 size_t num_bytes; member in struct:__anon11745
|
H A D | crypto_hmac.c | 26 if (messages[i].num_bytes && 28 !HMAC_Update(&context, messages[i].bytes, messages[i].num_bytes))) {
|
/external/valgrind/memcheck/tests/vbit-test/ |
H A D | valgrind.c | 66 unsigned rc, num_bytes; local 69 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type); 70 rc = VALGRIND_SET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes); 75 rc = VALGRIND_GET_VBITS(&opnd->value, &actual.bits, num_bytes); 85 unsigned rc, num_bytes; local 89 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type); 91 rc = VALGRIND_GET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes);
|
/external/libhevc/common/arm/ |
H A D | ihevc_mem_fns.s | 55 @* ,:param[in] num_bytes 66 @ UWORD8 num_bytes) 70 @ r2 => num_bytes 98 @ UWORD8 num_bytes) 102 @ r2 => num_bytes 137 @ UWORD8 num_bytes) 141 @ r2 => num_bytes 169 @ UWORD8 num_bytes) 173 @ r2 => num_bytes
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/ |
H A D | polowireinterface.h | 43 // @param num_bytes the number of bytes to receive 44 virtual void Receive(size_t num_bytes) = 0;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
H A D | d3d11_misc.h | 3 SIZE_T num_bytes, 8 SIZE_T num_bytes, 12 void* data = malloc(num_bytes); 15 *out_buffer = new GalliumD3DBlob(data, num_bytes); 7 D3D10CreateBlob( SIZE_T num_bytes, LPD3D10BLOB *out_buffer ) argument
|
/external/dng_sdk/source/ |
H A D | dng_jpeg_memory_source.cpp | 20 void SkipInputData(j_decompress_ptr cinfo, long num_bytes) { argument 21 if (num_bytes > 0) { 22 // Convert num_bytes to a size_t. 23 // We've established that num_bytes is positive, to it's safe to cast it 27 ConvertUnsigned(static_cast<unsigned long>(num_bytes),
|
/external/libavc/test/encoder/ |
H A D | output.c | 49 IV_STATUS_T write_output(FILE *fp, UWORD8 *pu1_buf, WORD32 num_bytes) argument 53 bytes = fwrite(pu1_buf, sizeof(UWORD8), num_bytes, fp); 54 if(bytes != num_bytes)
|
/external/libchrome/crypto/ |
H A D | rsa_private_key.cc | 176 int num_bytes, 178 PrependIntegerImpl(val, num_bytes, data, big_endian_); 182 int num_bytes, 188 tmp.assign(val, val + num_bytes); 196 while (start < (num_bytes - 1) && val[start] == 0x00) { 198 num_bytes--; 200 PrependBytes(val, start, num_bytes, data); 209 num_bytes++; 212 PrependTypeHeaderAndLength(kIntegerTag, num_bytes, data); 276 int num_bytes, 175 PrependInteger(uint8_t* val, int num_bytes, std::list<uint8_t>* data) argument 181 PrependIntegerImpl(uint8_t* val, int num_bytes, std::list<uint8_t>* data, bool big_endian) argument 274 PrependBytes(uint8_t* val, int start, int num_bytes, std::list<uint8_t>* data) argument 290 uint8_t num_bytes = 0; local 309 PrependBitString(uint8_t* val, int num_bytes, std::list<uint8_t>* output) argument [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
H A D | ls_helper.py | 64 def PrintDirSummary(num_bytes, bucket_listing_ref): 68 num_bytes: Number of bytes contained in the directory. 81 (num_objects, num_bytes). 147 (num_objects, num_bytes) total number of objects and bytes iterated. 151 num_bytes = 0 194 num_bytes += nb 195 return num_dirs, num_objects, num_bytes 207 (num_objects, num_bytes) total number of objects and bytes iterated. 211 num_bytes = 0 243 num_bytes [all...] |