Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c1438 static bool copyTLV64(uint8_t *buf, size_t *offset, size_t max_len, uint8_t tag, uint64_t val) in copyTLV64() argument
1440 if (*offset + sizeof(uint8_t) + sizeof(uint8_t) + sizeof(uint64_t) > max_len) in copyTLV64()
1449 static bool copyTLV32(uint8_t *buf, size_t *offset, size_t max_len, uint8_t tag, uint32_t val) in copyTLV32() argument
1451 if (*offset + sizeof(uint8_t) + sizeof(uint8_t) + sizeof(uint32_t) > max_len) in copyTLV32()
1460 static bool copyTLV8(uint8_t *buf, size_t *offset, size_t max_len, uint8_t tag, uint8_t val) in copyTLV8() argument
1462 if (*offset + sizeof(uint8_t) + sizeof(uint8_t) + sizeof(uint8_t) > max_len) in copyTLV8()
1471 static bool copyTLVEmpty(uint8_t *buf, size_t *offset, size_t max_len, uint8_t tag) in copyTLVEmpty() argument
1473 if (*offset + sizeof(uint8_t) + sizeof(uint8_t) > max_len) in copyTLVEmpty()
1484 const size_t max_len = HOST_HUB_CHRE_PACKET_MAX_LEN - sizeof(struct NanohubHalRet); in processAppTags() local
1513 success = copyTLV64(data, &offset, max_len, tags[i], app->hdr.appId); in processAppTags()
[all …]
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_hal.cpp85 u32 *version, u32 *max_len);
900 u32* version, u32* max_len) in AndroidPktFilterCommand() argument
902 mVersion(version), mMaxLen(max_len), in AndroidPktFilterCommand()
1330 u32 *version, u32 *max_len) in wifi_get_packet_filter_capabilities() argument
1333 AndroidPktFilterCommand *cmd = new AndroidPktFilterCommand(handle, version, max_len); in wifi_get_packet_filter_capabilities()
1337 ALOGD("Getting APF capability, version = %d, max_len = %d\n", *version, *max_len); in wifi_get_packet_filter_capabilities()
/device/generic/goldfish/wifi/wifi_hal/
Dwifi_hal.cpp352 u32 *max_len) { in wifi_get_packet_filter_capabilities() argument
357 return asInterface(handle)->getPacketFilterCapabilities(version, max_len); in wifi_get_packet_filter_capabilities()
/device/google/cuttlefish/host/frontend/webrtc/
Daudio_handler.h37 size_t Add(const volatile uint8_t* data, size_t max_len);
Daudio_handler.cpp561 size_t max_len) { in Add() argument
562 auto added_len = std::min(max_len, buffer.size() - count); in Add()