HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 51 - 75 of 479) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/bluetooth/glib/tests/
slice-concurrent.c 52 int bytes = rand() % MAX_BLOCK_SIZE + 1; local
53 char *mem = g_slice_alloc (bytes);
55 for (f = 0; f < bytes; f++)
62 tdata[t].bytes_to_free[tdata[t].n_to_free] = bytes;
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DERInteger.java 11 byte[] bytes; field in class:DERInteger
57 bytes = BigInteger.valueOf(value).toByteArray();
63 bytes = value.toByteArray();
67 byte[] bytes)
69 this.bytes = bytes;
74 return new BigInteger(bytes);
83 return new BigInteger(1, bytes);
90 out.writeEncoded(INTEGER, bytes);
97 for (int i = 0; i != bytes.length; i++
    [all...]
  /external/chromium/base/
string_number_conversions_unittest.cc 439 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local
440 hex = HexEncode(bytes, sizeof(bytes));
  /external/chromium/chrome/browser/ui/webui/
screenshot_source.cc 63 std::vector<unsigned char> bytes; local
66 &bytes, &read_complete));
68 return bytes;
  /external/dhcpcd/
bpf.c 167 ssize_t bytes; local
177 bytes = read(fd, iface->buffer, iface->buffer_size);
178 if (bytes == -1)
180 else if ((size_t)bytes < sizeof(packet))
182 iface->buffer_len = bytes;
185 bytes = -1;
194 bytes = packet.bh_caplen - ETHER_HDR_LEN;
195 if (bytes > len)
196 bytes = len;
197 memcpy(data, payload, bytes);
    [all...]
lpf.c 157 ssize_t bytes; local
164 bytes = read(fd, data, len);
165 if (bytes == -1)
167 return bytes;
arp.c 113 ssize_t bytes; local
121 bytes = get_raw_packet(iface, ETHERTYPE_ARP,
123 if (bytes == 0 || bytes == -1)
126 if ((size_t)bytes < sizeof(ar))
143 if ((hw_t + ar.ar_hln + ar.ar_pln) - arp_buffer > bytes)
control.c 76 ssize_t bytes; local
81 bytes = read(l->fd, buffer, sizeof(buffer) - 1);
82 if (bytes == -1 || bytes == 0) {
86 buffer[bytes] = '\0';
88 e = buffer + bytes;
  /external/openssl/crypto/bn/
bn_rand.c 121 int ret=0,bit,bytes,mask; local
130 bytes=(bits+7)/8;
134 buf=(unsigned char *)OPENSSL_malloc(bytes);
147 if (RAND_pseudo_bytes(buf, bytes) == -1)
152 if (RAND_bytes(buf, bytes) <= 0)
164 for (i = 0; i < bytes; i++)
198 buf[bytes-1]|=1;
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
204 OPENSSL_cleanse(buf,bytes);
  /external/skia/src/animator/
SkBase64.cpp 53 unsigned char bytes[4]; local
64 bytes[byte] = decoded;
87 int one = (uint8_t) (bytes[0] << 2);
88 two = bytes[1];
91 three = bytes[2];
94 three |= bytes[3];
  /external/webkit/Source/WebCore/platform/graphics/android/
FontCacheAndroid.cpp 91 size_t bytes = SkUTF16_ToUTF8(uni, utf16.length(), 0); local
92 char* utf8 = (char*)sk_malloc_throw(bytes + 1);
95 utf8[bytes] = 0;
  /external/webkit/Source/WebCore/platform/graphics/win/
GraphicsContextCairoWin.cpp 90 static void setRGBABitmapAlpha(unsigned char* bytes, size_t length, unsigned char level)
93 bytes[i + 3] = level;
142 unsigned char* bytes = reinterpret_cast<unsigned char*>(pixelData.buffer()); local
144 setRGBABitmapAlpha(bytes, pixelData.size().height() * pixelData.bytesPerRow(), 255);
  /external/webkit/Source/WebCore/platform/text/
TextCodecUserDefined.cpp 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, bool, bool, bool&)
58 signed char c = bytes[i];
68 char* bytes = result.data(); local
76 bytes[resultLength++] = signedByte;
82 bytes = result.data();
83 memcpy(bytes + resultLength, replacement, replacementLength);
88 return CString(bytes, resultLength);
93 char* bytes; local
94 CString string = CString::newUninitialized(length, bytes);
100 bytes[i] = c
    [all...]
  /external/webkit/Source/WebCore/svg/
SVGPathByteStream.h 33 unsigned char bytes[sizeof(bool)]; member in union:WebCore::__anon13260
38 unsigned char bytes[sizeof(float)]; member in union:WebCore::__anon13261
43 unsigned char bytes[sizeof(unsigned short)]; member in union:WebCore::__anon13262
  /external/webkit/Source/WebKit2/Shared/
WebData.h 43 static PassRefPtr<WebData> createWithoutCopying(const unsigned char* bytes, size_t size, FreeDataFunction freeDataFunction, const void* context)
45 return adoptRef(new WebData(bytes, size, freeDataFunction, context));
48 static PassRefPtr<WebData> create(const unsigned char* bytes, size_t size)
54 memcpy(copiedBytes, bytes, size);
70 const unsigned char* bytes() const { return m_bytes; } function in class:WebKit::WebData
74 WebData(const unsigned char* bytes, size_t size, FreeDataFunction freeDataFunction, const void* context)
75 : m_bytes(bytes)
82 static void fastFreeBytes(unsigned char* bytes, const void*)
84 if (bytes)
85 fastFree(static_cast<void*>(bytes));
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
BitwiseInputStream.java 96 int bytes = (bits >>> 3) + ((bits & 0x07) > 0 ? 1 : 0); // &7==%8 local
97 byte[] arr = new byte[bytes];
98 for (int i = 0; i < bytes; i++) {
  /dalvik/dx/src/com/android/dx/cf/direct/
AttributeFactory.java 56 * Parses and makes an attribute based on the bytes at the
64 * @param offset offset into {@code dcf}'s {@code bytes}
82 ByteArray bytes = cf.getBytes(); local
84 int nameIdx = bytes.getUnsignedShort(offset);
85 int length = bytes.getInt(offset + 2);
90 observer.parsed(bytes, offset, 2,
92 observer.parsed(bytes, offset + 2, 4,
115 * @param offset offset into {@code bytes} to start parsing at; this
124 ByteArray bytes = cf.getBytes(); local
126 Attribute result = new RawAttribute(name, bytes, offset, length, pool)
    [all...]
  /external/chromium/android/net/
android_network_library_impl.cc 16 // Convert X509 chain to DER format bytes.
38 jbyte* bytes = env->GetByteArrayElements(byte_array, NULL); local
39 DCHECK(bytes);
40 size_t copied = cert_chain[i].copy(reinterpret_cast<char*>(bytes), len);
42 env->ReleaseByteArrayElements(byte_array, bytes, 0);
  /external/chromium/net/tools/dump_cache/
cache_dumper.cc 185 // we know that the last two bytes are CRLF.
195 DWORD bytes; local
196 if (!WriteFile(entry_, data, len, &bytes, 0))
199 return bytes;
  /external/dbus/tools/
dbus-print-message.c 57 print_hex (unsigned char *bytes, unsigned int len, int depth)
61 printf ("array of bytes [\n");
75 printf ("%02x", bytes[i]);
105 unsigned char *bytes = malloc (DEFAULT_SIZE + 1); local
117 bytes[len] = val;
126 bytes = realloc (bytes, max + 1);
134 bytes[len] = '\0';
135 printf ("array of bytes \"%s\"\n", bytes);
    [all...]
  /external/e2fsprogs/lib/blkid/
getsize.c 54 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */
73 * Returns the number of bytes in a partition
189 long long bytes; local
201 bytes = blkid_get_dev_size(fd);
203 (unsigned long long) bytes >> 10);
  /external/icu4c/samples/uciter8/
uciter8.c 300 static const uint8_t bytes[]={ local
315 uiter_setLenient8(&iter2, (const char *)bytes, sizeof(bytes)-1);
319 uiter_setLenient8(&iter2, (const char *)bytes, -1);
324 uiter_setLenient8(&iter1, (const char*)bytes, -1);
  /external/icu4c/tools/toolutil/
unewdata.c 41 uint8_t bytes[16]; local
130 /* write padding bytes to align the data section to 16 bytes */
134 uprv_memset(bytes, 0, headerSize);
135 T_FileStream_write(pData->file, bytes, headerSize);
  /external/iproute2/include/linux/
gen_stats.h 18 * @bytes: number of seen bytes
22 __u64 bytes; member in struct:gnet_stats_basic
26 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/jpeg/
jmemmac.c 158 long bytes = byte_count; local
164 retVal = FSRead ( info->temp_file, &bytes,
166 if ( retVal != noErr || bytes != byte_count )
176 long bytes = byte_count; local
182 retVal = FSWrite ( info->temp_file, &bytes,
184 if ( retVal != noErr || bytes != byte_count )
279 * Note that FreeMem returns the total number of free bytes;

Completed in 448 milliseconds

1 23 4 5 6 7 8 91011>>