HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 426 - 450 of 3342) sorted by null

<<11121314151617181920>>

  /external/skia/tests/
RecordDrawTest.cpp 157 const size_t bytes = SK_ARRAY_COUNT(text); local
160 recorder.drawPosTextH(text, bytes, xpos, 30, SkPaint());
163 recorder.drawPosText(text, bytes, pos, SkPaint());
  /external/skia/tools/debugger/
SkJsonWriteBuffer.cpp 20 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local
22 SkString hexByte = SkStringPrintf("%02x", bytes[i]);
  /external/sl4a/ScriptingLayerForAndroid/jni/
com_googlecode_android_scripting_Exec.cpp 87 jbyteArray bytes = 0; local
96 bytes = (jbyteArray) env->CallObjectMethod(jstr, MID_String_getBytes);
99 jint len = env->GetArrayLength(bytes);
103 env->DeleteLocalRef(bytes);
106 env->GetByteArrayRegion(bytes, 0, len, (jbyte*) result);
111 env->DeleteLocalRef(bytes);
  /external/sonic/
wave.c 23 int bytesWritten; /* The number of bytes written so far, including header */
31 void *bytes,
39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile);
60 char bytes[4]; local
64 bytes[i] = value;
67 writeBytes(file, bytes, 4);
75 char bytes[2]; local
79 bytes[i] = value;
82 writeBytes(file, bytes, 2);
85 /* Read bytes from the input file. Return the number of bytes actually read. *
119 unsigned char bytes[4]; local
134 unsigned char bytes[2]; local
332 unsigned char bytes[WAVE_BUF_LEN]; local
356 unsigned char bytes[WAVE_BUF_LEN]; local
    [all...]
  /external/squashfs-tools/kernel/fs/squashfs/
file.c 379 int bytes, i, offset = 0, sparse = 0; local
408 bytes = index == file_end ?
424 bytes = buffer->length;
442 bytes = i_size_read(inode) & (msblk->block_size - 1);
452 for (i = start_index; i <= end_index && bytes > 0; i++,
453 bytes -= PAGE_CACHE_SIZE, offset += PAGE_CACHE_SIZE) {
455 int avail = sparse ? 0 : min_t(int, bytes, PAGE_CACHE_SIZE);
457 TRACE("bytes %d, i %d, available_bytes %d\n", bytes, i, avail);
  /external/squashfs-tools/squashfs-tools/
process_fragments.c 64 int bytes = file_buffer->size, sparse = TRUE, value; local
66 while(bytes --) {
80 static int read_filesystem(int fd, long long byte, int bytes, void *buff)
84 TRACE("read_filesystem: reading from position 0x%llx, bytes %d\n",
85 byte, bytes);
91 } else if(read_bytes(fd, buff, bytes) < bytes) {
unsquash-3.c 33 int bytes = SQUASHFS_FRAGMENT_BYTES_3(sBlk.s.fragments); local
46 fragment_table = malloc(bytes);
77 bytes & (SQUASHFS_METADATA_SIZE - 1);
119 int bytes = lookup_entry(inode_table_hash, start); local
120 char *block_ptr = inode_table + bytes + offset;
125 if(bytes == -1)
289 int bytes; local
322 bytes = lookup_entry(directory_table_hash, start);
324 if(bytes == -1)
328 bytes += (*i)->offset
    [all...]
  /external/swiftshader/src/D3D9/
Direct3DSurface9.cpp 398 int Direct3DSurface9::bytes(D3DFORMAT format) function in class:D3D9::Direct3DSurface9
400 return Surface::bytes(translateFormat(format));
  /external/syslinux/com32/lib/syslinux/
initramfs_file.c 61 Returns the number of bytes; doesn't touch the buffer if too small. */
68 size_t bytes = 0, hdr_sz; local
74 bytes += ((sizeof(struct cpio_header) + len + 1) + 3) & ~3;
79 if (buflen >= bytes) {
98 return bytes;
109 size_t bytes, hdr_sz; local
115 bytes = initramfs_mkdirs(filename, NULL, 0);
117 bytes = 0;
120 bytes += hdr_sz;
122 bp = buffer = malloc(bytes);
    [all...]
  /external/syslinux/com32/modules/
elf.c 210 int bytes = strlen(*argp) + 1; /* Including final null */ local
212 memcpy(sfp, *argp, bytes);
213 sfp += bytes;
214 sfa += bytes;
  /external/syslinux/gpxe/src/net/
ipv6.c 306 DBG ( "Packet too short (%zd bytes)\n", iob_len ( iobuf ) );
323 DBG ( "Inconsistent packet length (%d bytes)\n",
357 uint16_t *bytes = ( uint16_t* ) &in6; local
358 sprintf ( buf, "%x:%x:%x:%x:%x:%x:%x:%x", bytes[0], bytes[1], bytes[2],
359 bytes[3], bytes[4], bytes[5], bytes[6], bytes[7] )
    [all...]
  /external/toybox/toys/posix/
od.c 17 -j Skip this many bytes of input
18 -N Stop dumping after this many bytes
20 plus optional size in bytes
23 -w Total line width in bytes (default 16).
163 int bytes = 0; local
166 j = od_out_t(types+i, buf, &bytes);
167 j = (j+bytes-1)/bytes;
175 int bytes = j; local
177 // pad for as many bytes as were consumed, and indent non-numbered line
    [all...]
tail.c 21 -c output the last NUMBER bytes, +NUMBER counts from start
38 long bytes;
75 // Note: bytes and lines are negative here.
76 static int try_lseek(int fd, long bytes, long lines)
86 if (bytes) {
87 if (lseek(fd, bytes, SEEK_END)<0) lseek(fd, 0, SEEK_SET);
94 bytes = pos;
130 lseek(fd, bytes, SEEK_SET);
137 long bytes = TT.bytes, lines = TT.lines local
    [all...]
  /external/v8/src/builtins/
builtins-dataview.cc 185 uint8_t bytes[sizeof(T)]; member in union:v8::internal::__anon34077::__anon34078
192 FlipBytes<sizeof(T)>(v.bytes, source);
194 CopyBytes<sizeof(T)>(v.bytes, source);
272 uint8_t bytes[sizeof(T)]; member in union:v8::internal::__anon34077::__anon34079
280 FlipBytes<sizeof(T)>(target, v.bytes);
282 CopyBytes<sizeof(T)>(target, v.bytes);
  /external/v8/src/profiler/
tick-sample.cc 29 i::byte bytes[8]; member in struct:v8::__anon34399::Pattern
62 if (!memcmp(pc - offset, pattern->bytes, pattern->bytes_count))
65 // It is not safe to examine bytes on another page as it might not be
70 if (!memcmp(pc, pattern->bytes + offset, pattern->bytes_count - offset))
  /external/valgrind/coregrind/m_aspacemgr/
aspacemgr-common.c 417 HChar bytes[1]; member in struct:_VgStack
456 (Addr) &stack->bytes[0],
461 (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)],
466 (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)],
473 p = (UInt*)&stack->bytes[VG_STACK_GUARD_SZB];
477 *initial_sp = (Addr)&stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)];
496 /* Figure out how many bytes of the stack's active area have not
504 p = (const UInt*)&stack->bytes[VG_STACK_GUARD_SZB];
  /external/valgrind/coregrind/
vgdb-invoker-solaris.c 85 /* Copy LEN bytes of data from vgdb memory at MYADDR
104 DEBUG(1, "Writing bytes '");
115 " bytes at %#lx to %#lx.\n",
147 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags); local
148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes);
149 if ((written < 0) || (written != bytes)) {
158 bytes = sizeof(ctl.cmd);
159 written = write(ctl_fd, (void *) &ctl, bytes);
160 if ((written < 0) || (written != bytes)) {
176 bytes = read(status_fd, &pstatus, sizeof(pstatus))
229 ssize_t bytes = read(status_fd, &status, sizeof(status)); local
381 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.regs); local
470 size_t bytes = sizeof(ctl.cmd); local
    [all...]
  /external/valgrind/none/tests/solaris/
coredump_many_segments.c 121 ssize_t bytes = read(fd, &map, sizeof(map)); local
122 while (bytes == sizeof(map)) {
129 bytes = read(fd, &map, sizeof(map));
187 PRINT("Page size determined as %ld bytes.\n", page_size);
  /external/vboot_reference/firmware/lib/cgptlib/
cgptlib_internal.c 18 size_t bytes = h->number_of_entries * h->size_of_entry; local
19 size_t ret = (bytes + SECTOR_SIZE - 1) / SECTOR_SIZE;
  /external/webrtc/talk/media/base/
fakenetworkinterface.h 72 int bytes = 0; local
74 bytes += static_cast<int>(rtp_packets_[i].size());
76 return bytes;
81 int bytes = 0; local
82 GetNumRtpBytesAndPackets(ssrc, &bytes, NULL);
83 return bytes;
201 void GetNumRtpBytesAndPackets(uint32_t ssrc, int* bytes, int* packets) {
202 if (bytes) {
203 *bytes = 0;
215 if (bytes) {
    [all...]
  /external/webrtc/webrtc/base/
helpers.cc 130 char* bytes = reinterpret_cast<char*>(buf); local
132 bytes[i] = static_cast<char>(rand());
226 scoped_ptr<uint8_t[]> bytes(new uint8_t[len]);
227 if (!Rng().Generate(bytes.get(), len)) {
233 str->push_back(table[bytes[i] % table_size]);
253 scoped_ptr<uint8_t[]> bytes(new uint8_t[31]);
254 if (!Rng().Generate(bytes.get(), 31)) {
260 str.push_back(kHex[bytes[i] % 16]);
264 str.push_back(kHex[bytes[i] % 16]);
269 str.push_back(kHex[bytes[i] % 16])
    [all...]
stream_unittest.cc 78 size_t bytes; local
82 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS);
83 EXPECT_EQ(bytes, kBufSize);
85 EXPECT_TRUE(stream->GetPosition(&bytes));
86 EXPECT_EQ(13U, bytes);
90 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS);
91 EXPECT_EQ(bytes, kBufSize);
93 EXPECT_TRUE(stream->GetPosition(&bytes));
94 EXPECT_EQ(20U, bytes);
103 size_t bytes; local
    [all...]
  /external/wpa_supplicant_8/src/ap/
accounting.c 269 u64 bytes; local
304 bytes = data.rx_bytes;
306 bytes = ((u64) sta->last_rx_bytes_hi << 32) |
310 (u32) bytes)) {
316 (u32) (bytes >> 32))) {
321 bytes = data.tx_bytes;
323 bytes = ((u64) sta->last_tx_bytes_hi << 32) |
327 (u32) bytes)) {
333 (u32) (bytes >> 32))) {
  /frameworks/base/core/jni/
android_hardware_UsbDeviceConnection.cpp 103 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); local
104 if (bytes) {
105 memcpy(bytes, buffer, length);
106 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);
  /frameworks/base/media/mca/filterfw/jni/
jni_gl_frame.cpp 111 jbyte* bytes = env->GetByteArrayElements(data, NULL); local
112 if (bytes) {
113 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), length);
114 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT);

Completed in 1718 milliseconds

<<11121314151617181920>>