Home
last modified time | relevance | path

Searched defs:length (Results 1 – 25 of 174) sorted by relevance

1234567

/system/core/adb/
Dcommandline.h43 static void OnStream(std::string* string, FILE* stream, const char* buffer, int length) { in OnStream()
67 void OnStdout(const char* buffer, int length) { in OnStdout()
71 void OnStderr(const char* buffer, int length) { in OnStderr()
Dshell_service_protocol.cpp56 bool ShellProtocol::Write(Id id, size_t length) { in Write()
/system/update_engine/common/
Dhash_calculator.cc37 bool HashCalculator::Update(const void* data, size_t length) { in Update()
46 off_t HashCalculator::UpdateFile(const string& name, off_t length) { in UpdateFile()
84 size_t length, in RawHashOfBytes()
98 off_t HashCalculator::RawHashOfFile(const string& name, off_t length, in RawHashOfFile()
Dmulti_range_http_fetcher.h72 void SetLength(size_t length) override {} // unsupported in SetLength()
127 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range()
131 inline size_t length() const { return length_; } in length() function
/system/bt/osi/src/
Dringbuffer.cc59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert()
74 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length) { in ringbuffer_delete()
87 size_t length) { in ringbuffer_peek()
106 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length) { in ringbuffer_pop()
/system/nfc/src/adaptation/
Dringbuffer.cc59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert()
74 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length) { in ringbuffer_delete()
87 size_t length) { in ringbuffer_peek()
106 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length) { in ringbuffer_pop()
Ddebug_nfcsnoop.cc47 static void nfcsnoop_cb(const uint8_t* data, const size_t length, in nfcsnoop_cb()
103 const size_t length = BLOCK_SIZE - zs.avail_out; in nfcsnoop_compress() local
/system/core/libcutils/
Duevent.c32 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length) in uevent_kernel_multicast_recv()
47 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *uid) in uevent_kernel_multicast_uid_recv()
52 ssize_t uevent_kernel_recv(int socket, void *buffer, size_t length, bool require_group, uid_t *uid) in uevent_kernel_recv()
/system/core/fastboot/
Dsocket.cpp51 ssize_t Socket::ReceiveAll(void* data, size_t length, int timeout_ms) { in ReceiveAll()
135 bool UdpSocket::Send(const void* data, size_t length) { in Send()
151 ssize_t UdpSocket::Receive(void* data, size_t length, int timeout_ms) { in Receive()
182 bool TcpSocket::Send(const void* data, size_t length) { in Send()
230 ssize_t TcpSocket::Receive(void* data, size_t length, int timeout_ms) { in Receive()
Dtcp.cpp50 static void EncodeMessageLength(uint64_t length, void* buffer) { in EncodeMessageLength()
127 ssize_t TcpTransport::Read(void* data, size_t length) { in Read()
155 ssize_t TcpTransport::Write(const void* data, size_t length) { in Write()
Dsocket_mock.cpp41 bool SocketMock::Send(const void* data, size_t length) { in Send()
73 ssize_t SocketMock::Receive(void* data, size_t length, int /*timeout_ms*/) { in Receive()
/system/bt/device/include/
Dinterop_database.h26 size_t length; member
144 size_t length; member
/system/extras/perfprofd/quipper/
Dperf_utils.cc43 string HexToString(const u8* array, size_t length) { in HexToString()
55 bool StringToHex(const string& str, u8* array, size_t length) { in StringToHex()
164 size_t length = in.tellg(); in ReadFileToData() local
/system/extras/verity/
Dverify_boot_signature.c46 ASN1_INTEGER *length; member
165 static int validate_signature_block(const BootSignature *bs, uint64_t length) in validate_signature_block()
223 static int hash_image(int fd, uint64_t length, const AuthAttrs *aa, in hash_image()
316 static int verify_signature(int fd, uint64_t length, const BootSignature *bs, in verify_signature()
DBootSignature.java70 private ASN1Integer length; field in BootSignature
81 public BootSignature(String target, int length) { in BootSignature()
207 int length = pageSize // include the page aligned image header in getSignableImageSize() local
/system/bt/btif/src/
Dbtif_debug_btsnoop.cc54 const size_t length, const uint64_t timestamp_us) { in btsnoop_cb()
84 size_t length) { in btsnoop_calculate_packet_length()
166 const size_t length = BLOCK_SIZE - zs.avail_out; in btsnoop_compress() local
/system/update_engine/payload_consumer/
Dmtd_file_descriptor.h46 uint64_t length, in BlkIoctl()
82 uint64_t length, in BlkIoctl()
/system/keymaster/
Dandroid_keymaster_messages.cpp26 static void set_key_blob(keymaster_key_blob_t* key_blob, const void* key_material, size_t length) { in set_key_blob()
98 void GetKeyCharacteristicsRequest::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
130 void BeginOperationRequest::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
307 void ImportKeyRequest::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
336 void ImportKeyResponse::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
355 void ExportKeyRequest::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
376 void ExportKeyResponse::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
400 void DeleteKeyRequest::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
446 void AttestKeyRequest::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
530 void UpgradeKeyRequest::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
/system/nfc/src/nfc/llcp/
Dllcp_dlc.c628 uint16_t length, uint8_t* p_data) { in llcp_dlc_proc_connect_pdu()
746 static void llcp_dlc_proc_disc_pdu(uint8_t dsap, uint8_t ssap, uint16_t length, in llcp_dlc_proc_disc_pdu()
783 static void llcp_dlc_proc_cc_pdu(uint8_t dsap, uint8_t ssap, uint16_t length, in llcp_dlc_proc_cc_pdu()
828 static void llcp_dlc_proc_dm_pdu(uint8_t dsap, uint8_t ssap, uint16_t length, in llcp_dlc_proc_dm_pdu()
1076 uint16_t length, uint8_t* p_data) { in llcp_dlc_proc_rr_rnr_pdu()
1188 uint16_t length, uint8_t* p_data) { in llcp_dlc_proc_rx_pdu()
/system/security/keystore/
Dkeystore_aidl_hidl_marshalling_utils.cpp27 ssize_t length = in.readInt32(); in readKeymasterBlob() local
52 ssize_t length = in.readInt32(); in readBlobAsByteArray() local
149 ssize_t length = in.readInt32(); in readParamSetFromParcel() local
/system/core/libziparchive/
Dentry_name_utils-inl.h25 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName()
/system/chre/host/common/
Dsocket_server.cc105 void SocketServer::sendToAllClients(const void *data, size_t length) { in sendToAllClients()
126 bool SocketServer::sendToClientById(const void *data, size_t length, in sendToClientById()
227 bool SocketServer::sendToClientSocket(const void *data, size_t length, in sendToClientSocket()
/system/bt/hci/src/
Dbtsnoop_mem.cc34 size_t length = 0; in btsnoop_mem_capture() local
/system/nfc/src/nfc/tags/
Dce_t4t.c154 static bool ce_t4t_read_binary(uint16_t offset, uint8_t length) { in ce_t4t_read_binary()
238 static bool ce_t4t_update_binary(uint16_t offset, uint8_t length, in ce_t4t_update_binary()
553 uint8_t cla = 0, instruct = 0, select_type = 0, length = 0; in ce_t4t_data_cback() local
1038 tNFC_STATUS CE_T4TTestSetNDEFCtrlTLV(uint8_t type, uint8_t length, in CE_T4TTestSetNDEFCtrlTLV()
/system/extras/ksmutils/
Dlookup3.c176 size_t length, /* the length of the key, in uint32_ts */ in hashword()
220 size_t length, /* the length of the key, in uint32_ts */ in hashword2()
283 uint32_t hashlittle( const void *key, size_t length, uint32_t initval) in hashlittle()
465 size_t length, /* length of the key */ in hashlittle2()
645 uint32_t hashbig( const void *key, size_t length, uint32_t initval) in hashbig()

1234567