Searched refs:num_bytes (Results 1 - 25 of 119) sorted by relevance

12345

/external/toybox/toys/other/
H A Dpwdx.c24 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 Dnfa_mem_co.h54 NFC_API extern void *nfa_mem_co_alloc (UINT32 num_bytes);
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
H A Dproxyshaper_test.py61 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 Dproxyshaper.py62 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 Dtrafficshaper_test.py158 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 Dih264_mem_fns.c75 * @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 Dih264_mem_fns.h39 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 Dihevc_mem_fns.c65 * @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 Dihevc_mem_fns.h37 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 Dih264_mem_fns_ssse3.c68 * @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 Dihevc_mem_fns_ssse3_intr.c67 * @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 Djdatasrc-tj.c106 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 Djdatasrc.c162 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 Dfile.cc61 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 Dmarshal_test.c30 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 Dcrypto_hmac.h14 size_t num_bytes; member in struct:__anon11745
H A Dcrypto_hmac.c26 if (messages[i].num_bytes &&
28 !HMAC_Update(&context, messages[i].bytes, messages[i].num_bytes))) {
/external/valgrind/memcheck/tests/vbit-test/
H A Dvalgrind.c66 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 Dihevc_mem_fns.s55 @* ,: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 Dpolowireinterface.h43 // @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 Dd3d11_misc.h3 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 Ddng_jpeg_memory_source.cpp20 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 Doutput.c49 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 Drsa_private_key.cc176 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 Dls_helper.py64 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...]

Completed in 907 milliseconds

12345