HomeSort by relevance Sort by last modified time
    Searched full:num_bytes (Results 1 - 25 of 306) 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;
  /external/chromium_org/mojo/system/
message_pipe_dispatcher.cc 49 const void* bytes, uint32_t num_bytes,
57 if (!VerifyUserPointer<void>(bytes, num_bytes))
59 if (num_bytes > kMaxMessageNumBytes)
63 bytes, num_bytes,
69 void* bytes, uint32_t* num_bytes,
75 if (num_bytes) {
76 if (!VerifyUserPointer<uint32_t>(num_bytes, 1))
78 if (!VerifyUserPointer<void>(bytes, *num_bytes))
83 bytes, num_bytes,
message_in_transit.cc 48 uint32_t num_bytes) {
49 const size_t size_with_header = sizeof(MessageInTransit) + num_bytes;
60 new (buffer) MessageInTransit(num_bytes, type, subtype);
61 memcpy(buffer + sizeof(MessageInTransit), bytes, num_bytes);
  /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/mojo/public/bindings/generators/cpp_templates/
struct_definition 7 _header_.num_bytes = sizeof(*this);
params_definition 17 _header_.num_bytes = sizeof(*this);
  /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/mojo/apps/js/bindings/
core.cc 42 static_cast<uint32_t>(buffer.num_bytes()),
50 uint32_t num_bytes = 0; local
53 handle, NULL, &num_bytes, NULL, &num_handles, flags);
61 v8::ArrayBuffer::New(args.isolate(), num_bytes);
66 CHECK(buffer.num_bytes() == num_bytes);
70 &num_bytes,
75 CHECK(buffer.num_bytes() == 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,
  /external/chromium_org/mojo/public/system/
core_private.cc 48 uint32_t num_bytes,
53 return g_core->WriteMessage(message_pipe_handle, bytes, num_bytes, handles,
59 uint32_t* num_bytes,
64 return g_core->ReadMessage(message_pipe_handle, bytes, num_bytes, handles,
  /external/chromium_org/mojo/public/tests/
test_support.cc 34 uint32_t num_bytes = 0, num_handles = 0; local
38 &num_bytes,
57 text->resize(num_bytes);
60 &num_bytes,

Completed in 372 milliseconds

1 2 3 4 5 6 7 8 91011>>