Searched defs:bytes (Results 326 - 350 of 1496) sorted by relevance

<<11121314151617181920>>

/external/libvncserver/common/
H A Dvncauth.c151 * Generate CHALLENGESIZE random bytes for use in challenge-response
156 rfbRandomBytes(unsigned char *bytes) argument
167 bytes[i] = (unsigned char)(random() & 255);
174 * Encrypt CHALLENGESIZE bytes in memory using a password.
178 rfbEncryptBytes(unsigned char *bytes, char *passwd) argument
196 rfbDes(bytes+i, bytes+i);
/external/ltp/testcases/kernel/syscalls/setrlimit/
H A Dsetrlimit01.c54 static int nofiles, fd, bytes, i, status; variable
121 * Since its filesize is truncated to only 10 bytes, the
152 bytes = write(fd, buf, 26);
153 if (bytes != 10) {
154 if (write(pipefd[1], &bytes, sizeof(bytes))
155 < sizeof(bytes)) {
180 if (read(pipefd[0], &bytes, sizeof(bytes)) < sizeof(bytes))
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/
H A D2-1.c218 ssize_t bytes; local
221 bytes = write(write_pipe, &send, 1);
222 if (bytes == -1) {
229 bytes = read(read_pipe, reply, 1);
230 if (bytes == -1) {
233 } else if (bytes == 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/
H A D2-1.c164 ssize_t bytes; local
167 bytes = write(write_pipe, &send, 1);
168 if (bytes == -1) {
174 bytes = read(read_pipe, reply, 1);
175 if (bytes == -1) {
178 } else if (bytes == 0) {
H A D2-2.c180 ssize_t bytes; local
182 bytes = write(write_pipe, &send, 1);
183 if (bytes == -1) {
189 bytes = read(read_pipe, reply, 1);
190 if (bytes == -1) {
193 } else if (bytes == 0) {
/external/ltp/utils/ffsb-6.0-rc2/
H A Dffsb_op.h81 uint64_t bytes[FFSB_NUMOPS]; member in struct:ffsb_op_results
H A Drand.c90 uint8_t bytes[4]; local
93 bytes[0] = genrand8(state);
94 bytes[1] = genrand8(state);
95 bytes[2] = genrand8(state);
96 bytes[3] = genrand8(state);
98 ret = *((uint32_t *) bytes); /* !!! hack */
141 uint8_t bytes[4] = { 0, 0, 0, 0 }; local
157 bytes[i] = genrand8(state);
159 ret = (bytes[3] << 24) + (bytes[
[all...]
/external/lzma/CPP/7zip/UI/Common/
H A DArchiveOpenCallback.cpp16 STDMETHODIMP COpenCallbackImp::SetTotal(const UInt64 *files, const UInt64 *bytes) argument
20 return ReOpenCallback->SetTotal(files, bytes);
23 return Callback->Open_SetTotal(files, bytes);
27 STDMETHODIMP COpenCallbackImp::SetCompleted(const UInt64 *files, const UInt64 *bytes) argument
31 return ReOpenCallback->SetCompleted(files, bytes);
34 return Callback->Open_SetCompleted(files, bytes);
/external/mdnsresponder/mDNSWindows/DLLX/
H A DTXTRecord.cpp362 const unsigned char * bytes,
370 check ( bytes != NULL );
378 m_byteArray.assign( bytes, bytes + len );
358 SetBytes( const unsigned char * bytes, uint16_t len ) argument
/external/mesa3d/src/compiler/glsl/glcpp/
H A Dglcpp.c53 size_t bytes; local
64 bytes = fread (text + total_read, 1, CHUNK, fp);
65 total_read += bytes;
67 if (bytes < CHUNK) {
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_buffer.c149 unsigned bytes,
164 buf->b.b.width0 = bytes;
147 i915_user_buffer_create(struct pipe_screen *screen, void *ptr, unsigned bytes, unsigned bind) argument
/external/mesa3d/src/gallium/state_trackers/omx/
H A Dvid_dec_mpeg12.c157 unsigned bytes = priv->bytes_left - (vl_vlc_bits_left(vlc) / 8); local
159 1, &priv->slice, &bytes);
345 unsigned bytes = (vl_vlc_valid_bits(vlc) / 8) + 4; local
357 for (i = 4; i < bytes; ++i)
361 1, &ptr, &bytes);
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_batchbuffer.c245 const void *data, GLuint bytes)
247 assert((bytes & 3) == 0);
248 intel_batchbuffer_require_space(intel, bytes);
249 memcpy(intel->batch.map + intel->batch.used, data, bytes);
250 intel->batch.used += bytes >> 2;
244 intel_batchbuffer_data(struct intel_context *intel, const void *data, GLuint bytes) argument
/external/mesa3d/src/mesa/main/
H A Dimports.c75 * \param bytes number of bytes to allocate.
84 _mesa_align_malloc(size_t bytes, unsigned long alignment) argument
88 int err = posix_memalign(& mem, alignment, bytes);
93 return _aligned_malloc(bytes, alignment);
99 ptr = (uintptr_t)malloc(bytes + alignment + sizeof(void *));
123 _mesa_align_calloc(size_t bytes, unsigned long alignment) argument
128 mem = _mesa_align_malloc(bytes, alignment);
130 (void) memset(mem, 0, bytes);
137 mem = _aligned_malloc(bytes, alignmen
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
H A DPlayReadyHeader.java33 * The sample Id is used as the IV in CTR mode. Block offset, starting at 0 and incremented by 1 after every 16 bytes, from the beginning of the sample is used as the Counter.
35 * The sample ID for each sample (media object) is stored as an ASF payload extension system with the ID of ASF_Payload_Extension_Encryption_SampleID = {6698B84E-0AFA-4330-AEB2-1C0A98D7A44D}. The payload extension can be stored as a fixed size extension of 8 bytes.
141 public abstract void parse(ByteBuffer bytes); argument
164 public void parse(ByteBuffer bytes) { argument
166 byte[] str = new byte[bytes.slice().limit()];
167 bytes.get(str);
212 public void parse(ByteBuffer bytes) { argument
213 this.value = bytes.duplicate();
240 public void parse(ByteBuffer bytes) { argument
241 this.value = bytes
[all...]
/external/nanopb-c/tests/decode_unittests/
H A Ddecode_unittests.c33 if (byte != ref->bytes[i])
171 struct { size_t size; uint8_t bytes[5]; } d; member in struct:__anon17390
176 TEST((s = S("\x01\xFF"), pb_dec_bytes(&s, &f, &d) && d.size == 1 && d.bytes[0] == 0xFF))
180 /* Note: the size limit on bytes-fields is not strictly obeyed, as
185 * 6 bytes should error out.
252 struct { size_t size; uint8_t bytes[10]; } ref; member in struct:__anon17391
258 ref.size = 1; ref.bytes[0] = 0x55;
261 ref.size = 3; ref.bytes[0] = ref.bytes[1] = ref.bytes[
[all...]
/external/nanopb-c/tests/encode_unittests/
H A Dencode_unittests.c39 * Y is a string, which may contain null bytes. Null terminator is ignored.
172 struct { size_t size; uint8_t bytes[5]; } value = {5, {'x', 'y', 'z', 'z', 'y'}}; member in struct:__anon17392
266 COMMENT("Test pb_encode with bytes message.")
/external/oj-libjdwp/src/solaris/npt/
H A Dutf_md.c98 iconvConvert(iconv_t ic, char *bytes, int len, char *output, int outputMaxLen) argument
102 UTF_ASSERT(bytes);
117 inbuf = bytes;
132 /* Just copy bytes */
134 (void)memcpy(output, bytes, len);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
H A DHuffman.java115 int encodedLength(byte[] bytes) { argument
118 for (int i = 0; i < bytes.length; i++) {
119 int b = bytes[i] & 0xFF;
/external/pcre/dist2/src/
H A Dpcre2_serialize.c76 uint8_t *bytes; local
109 bytes = memctl->malloc(total_size + sizeof(pcre2_memctl), memctl->memory_data);
110 if (bytes == NULL) return PCRE2_ERROR_NOMEMORY;
113 memcpy(bytes, memctl, sizeof(pcre2_memctl));
114 bytes += sizeof(pcre2_memctl);
116 data = (pcre2_serialized_data *)bytes;
123 dst_bytes = bytes + sizeof(pcre2_serialized_data);
134 *serialized_bytes = bytes;
146 const uint8_t *bytes, pcre2_general_context *gcontext)
148 const pcre2_serialized_data *data = (const pcre2_serialized_data *)bytes;
145 pcre2_serialize_decode(pcre2_code **codes, int32_t number_of_codes, const uint8_t *bytes, pcre2_general_context *gcontext) argument
238 pcre2_serialize_get_number_of_codes(const uint8_t *bytes) argument
256 pcre2_serialize_free(uint8_t *bytes) argument
[all...]
/external/perfetto/src/perfetto_cmd/
H A Drate_limiter.cc111 bool RateLimiter::OnTraceDone(const Args& args, bool success, size_t bytes) { argument
129 state_.set_total_bytes_uploaded(state_.total_bytes_uploaded() + bytes);
166 ssize_t bytes = PERFETTO_EINTR(read(in_fd.get(), &buf, sizeof(buf))); local
167 if (bytes <= 0)
169 return state->ParseFromArray(&buf, static_cast<int>(bytes));
/external/protobuf/conformance/
H A Dconformance_cpp.cc159 uint32_t bytes; local
161 if (!CheckedRead(STDIN_FILENO, &bytes, sizeof(uint32_t))) {
166 serialized_input.resize(bytes);
168 if (!CheckedRead(STDIN_FILENO, (char*)serialized_input.c_str(), bytes)) {
181 bytes = serialized_output.size();
182 CheckedWrite(STDOUT_FILENO, &bytes, sizeof(uint32_t));
183 CheckedWrite(STDOUT_FILENO, serialized_output.c_str(), bytes);
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DLazyField.java55 ExtensionRegistryLite extensionRegistry, ByteString bytes) {
56 super(extensionRegistry, bytes);
54 LazyField(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes) argument
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
H A DByteStringMicro.java36 * Immutable array of bytes.
42 private final byte[] bytes; field in class:ByteStringMicro
44 private ByteStringMicro(final byte[] bytes) { argument
45 this.bytes = bytes;
54 return bytes[index];
58 * Gets the number of bytes.
61 return bytes.length;
68 return bytes.length == 0;
80 * Copies the given bytes int
82 copyFrom(final byte[] bytes, final int offset, final int size) argument
92 copyFrom(final byte[] bytes) argument
[all...]
/external/python/cpython2/Modules/_ctypes/libffi/src/
H A Dprep_cif.c113 unsigned bytes = 0; local
159 bytes = STACK_ARG_SIZE(sizeof(void*));
179 bytes += sizeof(void*);
184 if (((*ptr)->alignment - 1) & bytes)
185 bytes = (unsigned)ALIGN(bytes, (*ptr)->alignment);
188 if (bytes < 10 * FFI_SIZEOF_ARG &&
189 bytes + STACK_ARG_SIZE((*ptr)->size) > 10 * FFI_SIZEOF_ARG)
193 bytes = 10 * FFI_SIZEOF_ARG;
197 if (bytes <
[all...]

Completed in 1064 milliseconds

<<11121314151617181920>>