HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 201 - 225 of 3210) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/libcups/cups/
langprintf.c 31 ssize_t bytes; /* Number of bytes formatted */ local
83 bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output),
86 if (bytes > 0)
87 fwrite(output, 1, (size_t)bytes, stderr);
95 int /* O - Number of bytes written */
102 ssize_t bytes; /* Number of bytes formatted */ local
136 bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output),
140 * Write the string and return the number of bytes written..
159 ssize_t bytes; \/* Number of bytes formatted *\/ local
215 ssize_t bytes; \/* Number of bytes formatted *\/ local
    [all...]
snprintf.c 28 int /* O - Number of bytes formatted */
47 int bytes; /* Total number of bytes needed */ local
56 bytes = 0;
68 bytes ++;
182 bytes += (int)templen;
213 bytes += (int)templen;
237 bytes += (int)templen;
255 bytes += width;
280 bytes += width
343 int bytes; \/* Number of bytes formatted *\/ local
    [all...]
  /external/libcups/filter/
commandtops.c 136 ssize_t bytes; /* Number of bytes read */ local
299 while ((bytes = cupsBackChannelRead(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer) - 1, 10.0)) > 0)
305 bufptr += bytes;
308 if (bytes == 0 ||
316 bytes = bufptr - buffer;
333 fprintf(stderr, "DEBUG: Got %d bytes.\n", (int)bytes);
383 if (bytes <= 0)
error.c 54 ssize_t bytes; /* Bytes in message string */ local
60 bytes = vsnprintf(s, sizeof(s), f, ap);
63 if (bytes <= 0)
68 bytes ++;
70 if ((size_t)bytes >= sizeof(s))
73 if (bytes > (ssize_t)(buf->end - buf->current))
83 size = (size_t)(buf->end - buf->start + 2 * bytes + 1024);
106 memcpy(buf->current, s, (size_t)bytes);
107 buf->current += bytes - 1
    [all...]
  /external/libmojo/base/android/linker/
linker_jni.cc 46 // Note: GetStringUTFChars() returns Java UTF-8 bytes. This is good
48 const char* bytes = env->GetStringUTFChars(str, nullptr); local
49 ::memcpy(ptr_, bytes, size_);
52 env->ReleaseStringUTFChars(str, bytes);
152 size_t bytes = kAddressSpaceReservationSize; local
156 bytes += kBreakpadGuardRegionBytes;
160 mmap(nullptr, bytes, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
165 munmap(address, bytes);
  /external/libmojo/mojo/edk/system/
message_for_transit.h 70 const void* bytes() const { function in class:mojo::edk::MessageForTransit
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/
2-1.c 218 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/
2-1.c 164 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) {
2-2.c 180 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/
rand.c 90 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[2] << 16) + (bytes[1] << 8) + bytes[0]
    [all...]
  /external/mesa3d/src/gallium/state_trackers/omx/
vid_dec_mpeg12.c 157 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/main/
texcompress.c 926 GLuint bytes, bw, bh; local
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
DecoderSpecificInfo.java 34 byte[] bytes; field in class:DecoderSpecificInfo
39 bytes = new byte[sizeOfInstance];
40 bb.get(bytes);
45 return bytes.length;
49 ByteBuffer out = ByteBuffer.wrap(bytes);
58 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
74 if (!Arrays.equals(bytes, that.bytes)) {
    [all...]
  /external/nanopb-c/tests/decode_unittests/
decode_unittests.c 33 if (byte != ref->bytes[i])
171 struct { size_t size; uint8_t bytes[5]; } d; member in struct:__anon30729
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:__anon30730
258 ref.size = 1; ref.bytes[0] = 0x55;
261 ref.size = 3; ref.bytes[0] = ref.bytes[1] = ref.bytes[2] = 0x55
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
ResponseBody.java 37 * Returns the number of bytes in that will returned by {@link #bytes}, or
48 public final byte[] bytes() throws IOException { method in class:ResponseBody
55 byte[] bytes;
57 bytes = source.readByteArray();
61 if (contentLength != -1 && contentLength != bytes.length) {
64 return bytes;
83 return new String(bytes(), charset().name());
  /external/pcre/dist2/src/
pcre2_serialize.c 76 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;
    [all...]
  /external/protobuf/conformance/
ConformanceJava.java 105 int bytes = readLittleEndianIntFromStdin(); local
107 if (bytes == -1) {
111 byte[] serializedInput = new byte[bytes];
113 if (!readFromStdin(serializedInput, bytes)) {
ConformanceJavaLite.java 90 int bytes = readLittleEndianIntFromStdin(); local
92 if (bytes == -1) {
96 byte[] serializedInput = new byte[bytes];
98 if (!readFromStdin(serializedInput, bytes)) {
  /external/python/cpython2/Modules/_multiprocessing/
pipe_connection.c 28 PyErr_Format(PyExc_ValueError, "Cannnot send %" PY_FORMAT_SIZE_T "d bytes over connection", length);
38 * Returns number of bytes read. Assumes in message oriented mode.
95 DWORD bytes, deadline, delay; local
99 if (!PeekNamedPipe(conn->handle, NULL, 0, NULL, &bytes, NULL))
103 return bytes > 0;
114 if (!PeekNamedPipe(conn->handle, NULL, 0, NULL, &bytes, NULL))
116 else if (bytes > 0)
  /external/skia/src/utils/
SkBase64.cpp 44 unsigned char bytes[4]; local
55 bytes[byte] = decoded;
79 int one = (uint8_t) (bytes[0] << 2);
80 two = bytes[1];
83 three = bytes[2];
86 three |= bytes[3];
  /external/skqp/src/utils/
SkBase64.cpp 44 unsigned char bytes[4]; local
55 bytes[byte] = decoded;
79 int one = (uint8_t) (bytes[0] << 2);
80 two = bytes[1];
83 three = bytes[2];
86 three |= bytes[3];
  /external/squashfs-tools/kernel/fs/squashfs/
block.c 44 * bytes of the metadata block.
77 * filesystem), otherwise the length is obtained from the first two bytes of
89 int bytes, compressed, b = 0, k = 0, page = 0, avail; local
101 bytes = -offset;
114 for (b = 0; bytes < length; b++, cur_index++) {
118 bytes += msblk->devblksize;
133 bytes = msblk->devblksize - offset;
146 for (; bytes < length; b++) {
150 bytes += msblk->devblksize;
167 bytes = length
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/cpu/
xfeed_manager_test.cc 67 string bytes = shape.SerializeAsString(); local
69 length, bytes.data(), bytes.size());
71 bytes.data(), bytes.size());
77 string bytes = shape.SerializeAsString(); local
79 length, bytes.data(), bytes.size());
81 length, buffer, bytes.data(), bytes.size())
    [all...]
  /external/tensorflow/tensorflow/contrib/lite/
allocation.cc 61 size_t MMAPAllocation::bytes() const { return buffer_size_bytes_; } function in class:tflite::MMAPAllocation
92 error_reporter_->Report("Read of '%s' failed (too few bytes read).",
103 size_t FileCopyAllocation::bytes() const { return buffer_size_bytes_; } function in class:tflite::FileCopyAllocation
118 size_t MemoryAllocation::bytes() const { return buffer_size_bytes_; } function in class:tflite::MemoryAllocation
  /external/tensorflow/tensorflow/core/kernels/
decode_compressed_op.cc 40 return errors::InvalidArgument("Can't read a negative number of bytes: ",
43 int64 bytes = bytes_to_read; variable
46 bytes = len_ - pos_;
49 if (bytes > 0) {
50 result->resize(bytes);
51 memcpy(&(*result)[0], &buf_[pos_], bytes);
52 pos_ += bytes;
86 OP_REQUIRES_OK(context, context->input("bytes", &bytes_tensor));

Completed in 953 milliseconds

1 2 3 4 5 6 7 891011>>