Home
last modified time | relevance | path

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

1234567

/system/connectivity/dhcp_client/
Ddhcp_options_parser.cc34 uint8_t length, in GetOption()
46 uint8_t length, in GetOption()
58 uint8_t length, in GetOption()
70 uint8_t length, in GetOption()
87 uint8_t length, in GetOption()
106 uint8_t length, in GetOption()
125 uint8_t length, in GetOption()
147 uint8_t length, in GetOption()
167 uint8_t length, in GetOption()
179 uint8_t length, in GetOption()
Ddhcp_options_writer.cc45 uint8_t length = sizeof(uint8_t); in WriteUInt8Option() local
58 uint8_t length = sizeof(uint16_t); in WriteUInt16Option() local
72 uint8_t length = sizeof(uint32_t); in WriteUInt32Option() local
91 uint8_t length = value.size() * sizeof(uint8_t); in WriteUInt8ListOption() local
109 uint8_t length = value.size() * sizeof(uint16_t); in WriteUInt16ListOption() local
130 uint8_t length = value.size() * sizeof(uint32_t); in WriteUInt32ListOption() local
151 uint8_t length = value.size() * sizeof(uint32_t) * 2; in WriteUInt32PairListOption() local
170 uint8_t length = sizeof(uint8_t); in WriteBoolOption() local
189 uint8_t length = value.size(); in WriteStringOption() local
202 uint8_t length = value.GetLength(); in WriteByteArrayOption() local
Ddhcp_options_writer_unittest.cc55 int length = options_writer_->WriteUInt8Option(&option, in TEST_F() local
74 int length = options_writer_->WriteUInt16Option(&option, in TEST_F() local
93 int length = options_writer_->WriteUInt32Option(&option, in TEST_F() local
112 int length = options_writer_->WriteUInt8ListOption(&option, in TEST_F() local
132 int length = options_writer_->WriteUInt16ListOption(&option, in TEST_F() local
153 int length = options_writer_->WriteUInt32ListOption(&option, in TEST_F() local
175 int length = in TEST_F() local
194 int length = options_writer_->WriteStringOption(&option, in TEST_F() local
213 int length = options_writer_->WriteBoolOption(&option, in TEST_F() local
231 int length = options_writer_->WriteBoolOption(&option, in TEST_F() local
[all …]
Ddhcp_options_parser_unittest.cc114 uint8_t length = kFakeUInt8ListOptionLength; in TEST_F() local
129 int length = kFakeUInt16ListOptionLength / sizeof(uint16_t); in TEST_F() local
148 int length = kFakeUInt32ListOptionLength / sizeof(uint32_t); in TEST_F() local
164 int length = kFakeUInt32PairListOptionLength / (2 * sizeof(uint32_t)); in TEST_F() local
/system/connectivity/shill/net/
Dbyte_string.h37 explicit ByteString(size_t length) : data_(length) {} in ByteString()
39 ByteString(const unsigned char* data, size_t length) in ByteString()
42 ByteString(const char* data, size_t length) in ByteString()
45 ByteString(const signed char* data, size_t length) in ByteString()
/system/update_engine/common/
Dhash_calculator.cc38 bool HashCalculator::Update(const void* data, size_t length) { in Update()
47 off_t HashCalculator::UpdateFile(const string& name, off_t length) { in UpdateFile()
90 size_t length, in RawHashOfBytes()
104 off_t HashCalculator::RawHashOfFile(const string& name, off_t length, in RawHashOfFile()
118 string HashCalculator::HashOfBytes(const void* data, size_t length) { in HashOfBytes()
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.c59 size_t ringbuffer_insert(ringbuffer_t *rb, const uint8_t *p, size_t length) { in ringbuffer_insert()
76 size_t ringbuffer_delete(ringbuffer_t *rb, size_t length) { in ringbuffer_delete()
90 size_t ringbuffer_peek(const ringbuffer_t *rb, off_t offset, uint8_t *p, size_t length) { in ringbuffer_peek()
108 size_t ringbuffer_pop(ringbuffer_t *rb, uint8_t *p, size_t length) { in ringbuffer_pop()
/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.h25 size_t length; member
97 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()
160 size_t length = in.tellg(); in ReadFileToData() local
/system/bt/btif/src/
Dbtif_debug_btsnoop.c47 static void btsnoop_cb(const uint16_t type, const uint8_t *data, const size_t length) { in btsnoop_cb()
75 static size_t btsnoop_calculate_packet_length(uint16_t type, const uint8_t *data, size_t length) { in btsnoop_calculate_packet_length()
150 const size_t length = BLOCK_SIZE - zs.avail_out; in btsnoop_compress() local
/system/extras/verity/
Dverify_boot_signature.c45 ASN1_INTEGER *length; member
164 static int validate_signature_block(const BootSignature *bs, uint64_t length) in validate_signature_block()
222 static int hash_image(int fd, uint64_t length, const AuthAttrs *aa, in hash_image()
313 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/update_engine/payload_consumer/
Dmtd_file_descriptor.h45 uint64_t length, in BlkIoctl()
80 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/connectivity/shill/
Deap_protocol.h29 uint16_t length; member
48 uint16_t length; // including code and identifier; network byte order member
/system/vold/
DProcess.cpp37 int length; in readSymLink() local
53 int length = strlen(mountPoint); in pathMatchesMountPoint() local
73 int length = read(fd, buffer, max - 1); in getProcessName() local
/system/bt/hci/src/
Dbtsnoop_mem.c38 size_t length = 0; in btsnoop_mem_capture() local
/system/core/libziparchive/
Dentry_name_utils-inl.h25 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName()
/system/core/adb/
Dshell_service_protocol.cpp56 bool ShellProtocol::Write(Id id, size_t length) { in Write()
/system/bt/osi/test/
Deager_reader_test.cpp89 int length = strlen(data); in expect_data() local
102 size_t length = strlen(data); in expect_data_multibyte() local

1234567