HomeSort by relevance Sort by last modified time
    Searched full:num_bytes (Results 1 - 25 of 261) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/base/
rand_util_nacl.cc 25 void GetRandomBytes(char* buffer, uint32_t num_bytes) {
26 while (num_bytes > 0) {
28 int error = random_.get_random_bytes(buffer, num_bytes, &nread);
30 CHECK_LE(nread, num_bytes);
32 num_bytes -= nread;
  /art/runtime/gc/space/
dlmalloc_space-inl.h 26 inline mirror::Object* DlMallocSpace::AllocNonvirtual(Thread* self, size_t num_bytes,
31 obj = AllocWithoutGrowthLocked(num_bytes, bytes_allocated);
35 memset(obj, 0, num_bytes);
40 inline mirror::Object* DlMallocSpace::AllocWithoutGrowthLocked(size_t num_bytes, size_t* bytes_allocated) {
41 mirror::Object* result = reinterpret_cast<mirror::Object*>(mspace_malloc(mspace_, num_bytes));
  /external/chromium_org/ppapi/cpp/dev/
crypto_dev.cc 21 bool Crypto_Dev::GetRandomBytes(char* buffer, uint32_t num_bytes) {
23 get_interface<PPB_Crypto_Dev_0_1>()->GetRandomBytes(buffer, num_bytes);
memory_dev.cc 21 void* Memory_Dev::MemAlloc(uint32_t num_bytes) {
24 return get_interface<PPB_Memory_Dev>()->MemAlloc(num_bytes);
crypto_dev.h 24 /// @param[in] num_bytes A number of random bytes to produce.
26 bool GetRandomBytes(char* buffer, uint32_t num_bytes);
memory_dev.h 22 /// @param[in] num_bytes A number of bytes to allocate.
25 void* MemAlloc(uint32_t num_bytes);
  /external/chromium_org/ppapi/proxy/
udp_socket_private_resource.cc 60 int32_t num_bytes,
62 return RecvFromImpl(buffer, num_bytes, NULL, callback);
72 int32_t num_bytes,
75 return SendToImpl(buffer, num_bytes, addr, callback);
udp_socket_resource.cc 56 int32_t num_bytes,
59 return RecvFromImpl(buffer, num_bytes, addr, callback);
63 int32_t num_bytes,
70 return SendToImpl(buffer, num_bytes, &enter.object()->GetNetAddressPrivate(),
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/
d3d11_misc.h 3 SIZE_T num_bytes,
8 SIZE_T num_bytes,
12 void* data = malloc(num_bytes);
15 *out_buffer = new GalliumD3DBlob(data, num_bytes);
  /external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
d3d11_misc.h 3 SIZE_T num_bytes,
8 SIZE_T num_bytes,
12 void* data = malloc(num_bytes);
15 *out_buffer = new GalliumD3DBlob(data, num_bytes);
  /external/chromium_org/ppapi/cpp/private/
udp_socket_private.cc 84 int32_t num_bytes,
88 pp_resource(), buffer, num_bytes, callback.pp_completion_callback());
92 pp_resource(), buffer, num_bytes, callback.pp_completion_callback());
114 int32_t num_bytes,
119 pp_resource(), buffer, num_bytes, addr,
124 pp_resource(), buffer, num_bytes, addr,
udp_socket_private.h 30 int32_t num_bytes,
34 int32_t num_bytes,
  /external/chromium_org/ppapi/api/dev/
ppb_memory_dev.idl 24 * @param[in] num_bytes A number of bytes to allocate.
28 mem_t MemAlloc([in] uint32_t num_bytes);
ppb_crypto_dev.idl 19 void GetRandomBytes([out] str_t buffer, [in] uint32_t num_bytes);
  /external/chromium_org/ppapi/shared_impl/
ppb_crypto_shared.cc 18 void GetRandomBytes(char* buffer, uint32_t num_bytes) {
19 base::RandBytes(buffer, num_bytes);
ppb_memory_shared.cc 19 void* MemAlloc(uint32_t num_bytes) {
20 return malloc(num_bytes);
  /external/chromium_org/ppapi/thunk/
ppb_udp_socket_api.h 26 int32_t num_bytes,
30 int32_t num_bytes,
ppb_udp_socket_private_api.h 28 int32_t num_bytes,
32 int32_t num_bytes,
  /art/runtime/mirror/
art_field.cc 43 void ArtField::SetOffset(MemberOffset num_bytes) {
49 DCHECK_ALIGNED(num_bytes.Uint32Value(), 8);
52 SetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_), num_bytes.Uint32Value(), false);
  /external/chromium/crypto/
rsa_private_key.cc 178 int num_bytes,
180 PrependIntegerImpl(val, num_bytes, data, big_endian_);
184 int num_bytes,
190 tmp.assign(val, val + num_bytes);
198 while (start < (num_bytes - 1) && val[start] == 0x00) {
200 num_bytes--;
202 PrependBytes(val, start, num_bytes, data);
211 num_bytes++;
214 PrependTypeHeaderAndLength(kIntegerTag, num_bytes, data);
280 int num_bytes,
294 uint8 num_bytes = 0; local
    [all...]
  /external/chromium_org/crypto/
rsa_private_key.cc 175 int num_bytes,
177 PrependIntegerImpl(val, num_bytes, data, big_endian_);
181 int num_bytes,
187 tmp.assign(val, val + num_bytes);
195 while (start < (num_bytes - 1) && val[start] == 0x00) {
197 num_bytes--;
199 PrependBytes(val, start, num_bytes, data);
208 num_bytes++;
211 PrependTypeHeaderAndLength(kIntegerTag, num_bytes, data);
274 int num_bytes,
288 uint8 num_bytes = 0; local
    [all...]
  /external/chromium/net/base/
asn1_util.cc 31 const unsigned num_bytes = data[1] & 0x7f; local
32 if (num_bytes == 0 || num_bytes > 2)
34 if (in->size() < 2 + num_bytes)
37 if (num_bytes == 2) {
51 *out_header_len = 2 + num_bytes;
52 len += 2 + num_bytes;
  /external/chromium/chrome/common/
zip.cc 78 int num_bytes = 0; local
81 num_bytes = unzReadCurrentFile(zip_file, buf, kZipBufSize);
82 if (num_bytes < 0) {
83 // If num_bytes < 0, then it's a specific UNZ_* error code.
86 err = num_bytes;
89 if (num_bytes > 0) {
90 if (num_bytes != stream.Write(buf, num_bytes, NULL)) {
95 } while (num_bytes > 0);
213 int num_bytes; local
    [all...]
  /external/chromium_org/ppapi/c/private/
ppb_udp_socket_private.h 94 int32_t num_bytes,
107 int32_t num_bytes,
124 int32_t num_bytes,
130 int32_t num_bytes,
146 int32_t num_bytes,
152 int32_t num_bytes,
  /external/chromium_org/tools/android/forwarder2/
socket.h 56 // Calls Read() multiple times until num_bytes is written to the provided
58 // Returns number of bytes read, which can be different from num_bytes in case
60 int ReadNumBytes(void* buffer, size_t num_bytes);
62 // Calls Write() multiple times until num_bytes is written. No bounds checking
64 // num_bytes in case of errror.
65 int WriteNumBytes(const void* buffer, size_t num_bytes);

Completed in 602 milliseconds

1 2 3 4 5 6 7 8 91011