/external/chromium_org/ppapi/cpp/dev/ |
H A D | crypto_dev.cc | 21 bool Crypto_Dev::GetRandomBytes(char* buffer, uint32_t num_bytes) { argument 23 get_interface<PPB_Crypto_Dev_0_1>()->GetRandomBytes(buffer, num_bytes);
|
H A D | crypto_dev.h | 24 /// @param[in] num_bytes A number of random bytes to produce. 26 bool GetRandomBytes(char* buffer, uint32_t num_bytes);
|
H A D | memory_dev.h | 22 /// @param[in] num_bytes A number of bytes to allocate. 25 void* MemAlloc(uint32_t num_bytes);
|
H A D | memory_dev.cc | 21 void* Memory_Dev::MemAlloc(uint32_t num_bytes) { argument 24 return get_interface<PPB_Memory_Dev>()->MemAlloc(num_bytes);
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | ppb_crypto_shared.cc | 18 void GetRandomBytes(char* buffer, uint32_t num_bytes) { argument 19 base::RandBytes(buffer, num_bytes);
|
H A D | ppb_memory_shared.cc | 19 void* MemAlloc(uint32_t num_bytes) { argument 20 return malloc(num_bytes);
|
/external/chromium_org/base/ |
H A D | rand_util_nacl.cc | 25 void GetRandomBytes(char* buffer, uint32_t num_bytes) { argument 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/ppapi/c/dev/ |
H A D | ppb_crypto_dev.h | 32 void (*GetRandomBytes)(char* buffer, uint32_t num_bytes);
|
H A D | ppb_memory_dev.h | 37 * @param[in] num_bytes A number of bytes to allocate. 41 void* (*MemAlloc)(uint32_t num_bytes);
|
/external/libnfc-nci/src/nfa/include/ |
H A D | nfa_mem_co.h | 54 NFC_API extern void *nfa_mem_co_alloc (UINT32 num_bytes);
|
/external/chromium_org/ppapi/api/dev/ |
H A D | ppb_crypto_dev.idl | 19 void GetRandomBytes([out] str_t buffer, [in] uint32_t num_bytes);
|
H A D | ppb_memory_dev.idl | 24 * @param[in] num_bytes A number of bytes to allocate. 28 mem_t MemAlloc([in] uint32_t num_bytes);
|
/external/chromium_org/mojo/system/ |
H A D | 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, 48 WriteMessageImplNoLock( const void* bytes, uint32_t num_bytes, const std::vector<Dispatcher*>* dispatchers, MojoWriteMessageFlags flags) argument 68 ReadMessageImplNoLock( void* bytes, uint32_t* num_bytes, std::vector<scoped_refptr<Dispatcher> >* dispatchers, uint32_t* num_dispatchers, MojoReadMessageFlags flags) argument
|
H A D | 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); 45 Create(Type type, Subtype subtype, const void* bytes, uint32_t num_bytes) argument
|
/external/chromium/net/base/ |
H A D | 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/ceres-solver/internal/ceres/ |
H A D | file.cc | 61 int num_bytes = ftell(file_descriptor); local 62 data->resize(num_bytes); 68 num_bytes, 70 if (num_read != num_bytes) { 72 << "expected bytes: " << num_bytes * sizeof((*data)[0])
|
/external/chromium_org/ppapi/cpp/private/ |
H A D | udp_socket_private.h | 30 int32_t num_bytes, 34 int32_t num_bytes,
|
H A D | 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, 83 RecvFrom(char* buffer, int32_t num_bytes, const CompletionCallback& callback) argument 113 SendTo(const char* buffer, int32_t num_bytes, const PP_NetAddress_Private* addr, const CompletionCallback& callback) argument
|
/external/chromium_org/mojo/public/bindings/lib/ |
H A D | buffer.h | 25 virtual void* Allocate(size_t num_bytes, Destructor func = NULL) = 0; 42 virtual void* Allocate(size_t num_bytes, Destructor func = NULL) 54 void* AllocateInSegment(Segment* segment, size_t num_bytes); 99 // Grows the buffer by |num_bytes| and returns a pointer to the start of the 102 virtual void* Allocate(size_t num_bytes, Destructor func = NULL)
|
/external/chromium_org/ppapi/proxy/ |
H A D | 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); 58 RecvFrom( char* buffer, int32_t num_bytes, scoped_refptr<TrackedCallback> callback) argument 70 SendTo( const char* buffer, int32_t num_bytes, const PP_NetAddress_Private* addr, scoped_refptr<TrackedCallback> callback) argument
|
H A D | 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(), 55 RecvFrom(char* buffer, int32_t num_bytes, PP_Resource* addr, scoped_refptr<TrackedCallback> callback) argument 62 SendTo(const char* buffer, int32_t num_bytes, PP_Resource addr, scoped_refptr<TrackedCallback> callback) argument
|
/external/chromium_org/mojo/apps/js/bindings/ |
H A D | 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/c/private/ |
H A D | 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/jpeg/ |
H A D | jdatasrc.c | 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 136 if (num_bytes > 0) { 137 while (num_bytes > (long) src->pub.bytes_in_buffer) { 138 num_bytes -= (long) src->pub.bytes_in_buffer; 144 src->pub.next_input_byte += (size_t) num_bytes; 145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
|
/external/qemu/distrib/jpeg-6b/ |
H A D | jdatasrc.c | 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 136 if (num_bytes > 0) { 137 while (num_bytes > (long) src->pub.bytes_in_buffer) { 138 num_bytes -= (long) src->pub.bytes_in_buffer; 144 src->pub.next_input_byte += (size_t) num_bytes; 145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
|