Searched defs:bytes (Results 351 - 375 of 1496) sorted by relevance

<<11121314151617181920>>

/external/python/cpython2/Modules/_ctypes/libffi_msvc/
H A Dwin64.asm70 bytes$ = 48
89 mov eax, DWORD PTR bytes$[rbp]
/external/python/cpython2/Modules/_multiprocessing/
H A Dpipe_connection.c28 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/python/cpython3/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...]
/external/python/cpython3/Modules/_ctypes/libffi_msvc/
H A Dwin64.asm70 bytes$ = 48
89 mov eax, DWORD PTR bytes$[rbp]
/external/python/cpython3/Modules/
H A Dspwdmodule.c133 PyObject *bytes, *retval = NULL; local
135 if ((bytes = PyUnicode_EncodeFSDefault(arg)) == NULL)
137 if (PyBytes_AsStringAndSize(bytes, &name, NULL) == -1)
148 Py_DECREF(bytes);
/external/skia/fuzz/
H A DFuzz.h21 explicit Fuzz(sk_sp<SkData> bytes) : fBytes(bytes), fNextByte(0) {} argument
23 // Returns the total number of "random" bytes available.
25 // Returns if there are no bytes remaining for fuzzing.
30 // next() loads fuzzed bytes into the variable passed in by pointer.
36 // next() in a way that does not consume fuzzed bytes in a single
49 // nextN loads n * sizeof(T) bytes into ptr
79 memcpy(n, fBytes->bytes() + fNextByte, fBytes->size() - fNextByte);
83 memcpy(n, fBytes->bytes() + fNextByte, sizeof(T));
/external/skia/src/utils/
H A DSkBase64.cpp44 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/skia/tests/
H A DImageCacheTest.cpp111 static SkDiscardableMemory* pool_factory(size_t bytes) { argument
113 return gPool->create(bytes);
H A DMemsetTest.cpp12 static void set_zero(void* dst, size_t bytes) { argument
14 for (size_t i = 0; i < bytes; ++i) {
/external/skqp/fuzz/
H A DFuzz.h21 explicit Fuzz(sk_sp<SkData> bytes) : fBytes(bytes), fNextByte(0) {} argument
23 // Returns the total number of "random" bytes available.
25 // Returns if there are no bytes remaining for fuzzing.
30 // next() loads fuzzed bytes into the variable passed in by pointer.
36 // next() in a way that does not consume fuzzed bytes in a single
49 // nextN loads n * sizeof(T) bytes into ptr
79 memcpy(n, fBytes->bytes() + fNextByte, fBytes->size() - fNextByte);
83 memcpy(n, fBytes->bytes() + fNextByte, sizeof(T));
/external/skqp/src/utils/
H A DSkBase64.cpp44 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/tests/
H A DImageCacheTest.cpp111 static SkDiscardableMemory* pool_factory(size_t bytes) { argument
113 return gPool->create(bytes);
H A DMemsetTest.cpp12 static void set_zero(void* dst, size_t bytes) { argument
14 for (size_t i = 0; i < bytes; ++i) {
/external/sl4a/Common/src/org/apache/commons/codec/binary/
H A DStringUtils.java25 * Converts String to and from bytes using the encodings required by the Java specification. These encodings are specified in <a
36 * Encodes the given string into a sequence of bytes using the ISO-8859-1 charset, storing the result into a new
41 * @return encoded bytes
52 * Encodes the given string into a sequence of bytes using the US-ASCII charset, storing the result into a new byte
57 * @return encoded bytes
68 * Encodes the given string into a sequence of bytes using the UTF-16 charset, storing the result into a new byte
73 * @return encoded bytes
84 * Encodes the given string into a sequence of bytes using the UTF-16BE charset, storing the result into a new byte
89 * @return encoded bytes
100 * Encodes the given string into a sequence of bytes usin
183 newString(byte[] bytes, String charsetName) argument
204 newStringIso8859_1(byte[] bytes) argument
218 newStringUsAscii(byte[] bytes) argument
232 newStringUtf16(byte[] bytes) argument
246 newStringUtf16Be(byte[] bytes) argument
260 newStringUtf16Le(byte[] bytes) argument
274 newStringUtf8(byte[] bytes) argument
[all...]
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
H A DLogTransformer.java165 public byte[] transform(ClassLoader loader, String className, Class<?> clazz, ProtectionDomain domain, byte[] bytes) { argument
168 return transform0(className, clazz, domain, bytes);
172 return bytes;
184 * @param bytes
188 private byte[] transform0(String className, Class<?> clazz, ProtectionDomain domain, byte[] bytes) { argument
193 return bytes;
204 return bytes;
210 return bytes;
215 return doClass(className, clazz, bytes);
218 return bytes;
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
H A DFileDeferredOutputStream.java49 @Override public void write(byte[] bytes) throws IOException { argument
50 output.write(bytes);
51 writtenBytes += bytes.length;
54 @Override public void write(byte[] bytes, int off, int len) throws IOException { argument
55 output.write(bytes, off, len);
/external/squashfs-tools/kernel/fs/squashfs/
H A Dblock.c44 * 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
[all...]
/external/strace/
H A Dsock.c81 const unsigned char *bytes = local
84 bytes[0], bytes[1], bytes[2],
85 bytes[3], bytes[4], bytes[5]);
/external/swiftshader/src/Common/
H A DMemory.cpp62 // size_t bytes;
66 inline void *allocateRaw(size_t bytes, size_t alignment) argument
68 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment];
76 // allocation->bytes = bytes;
83 void *allocate(size_t bytes, size_t alignment) argument
85 void *memory = allocateRaw(bytes, alignment);
89 memset(memory, 0, bytes);
106 void *allocateExecutable(size_t bytes) argument
110 return allocate((bytes
113 markExecutable(void *memory, size_t bytes) argument
123 deallocateExecutable(void *memory, size_t bytes) argument
[all...]
/external/syslinux/com32/libupload/
H A Dupload_ymodem.c74 size_t bytes);
88 static void send_ack(struct ymodem_state *ym, const uint8_t *blk, size_t bytes) argument
93 serial_write(&ym->serial, blk, bytes);
/external/syslinux/com32/modules/
H A Dhexdump.c19 static void hexdump(const void *memory, size_t bytes);
212 static void hexdump(const void *memory, size_t bytes) argument
218 while (bytes) {
221 for (i = 0; i < 16 && bytes; ++i) {
224 --bytes;
226 bytes += i;
233 for (i = 0; i < 16 && bytes; ++i) {
236 --bytes;
H A Dpmload.c144 int bytes = strlen(*argp) + 1; /* Including final null */ local
146 memcpy(sfp, *argp, bytes);
147 sfp += bytes;
148 sfa += bytes;
/external/syslinux/core/
H A Dfont.c95 uint8_t bytes = VGAFontSize; local
112 rows = GXPixRows / bytes;
118 ireg.ecx.b[0] = bytes; /* bytes/character */
131 ireg.ebx.b[1] = bytes; /* bytes/character */
/external/tensorflow/tensorflow/contrib/lite/
H A Dallocation.cc61 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
H A Dstring_util.cc70 // Total bytes include:
75 int32_t bytes = data_.size() // size of content local
80 char* tensor_buffer = static_cast<char*>(malloc(bytes));
99 tensor_buffer, bytes, kTfLiteDynamic, tensor->allocation,

Completed in 826 milliseconds

<<11121314151617181920>>