Home
last modified time | relevance | path

Searched refs:paramLength (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ble_scan_filter/src/
H A Dble_scan_filter_lsf.cpp414 size_t paramLength = 0; in BleScanFilterUuidAdd() local
420 paramLength = uuidType; in BleScanFilterUuidAdd()
446 if (memcpy_s(param.uuidAndMask + paramLength, sizeof(param.uuidAndMask) - paramLength, in BleScanFilterUuidAdd()
451 paramLength += uuidType; in BleScanFilterUuidAdd()
463 size_t paramLength = 0; in BleScanFilterNameAdd() local
473 paramLength += param.length + 1; in BleScanFilterNameAdd()
491 size_t paramLength = 0; in BleScanFilterManufacturerDataAdd() local
513 if (memcpy_s(param.data + paramLength, sizeof(param.data) - paramLength, in BleScanFilterManufacturerDataAdd()
522 if (memcpy_s(param.data + paramLength, sizeof(param.data) - paramLength, in BleScanFilterManufacturerDataAdd()
530 if (memcpy_s(param.data + paramLength, sizeof(param.data) - paramLength, in BleScanFilterManufacturerDataAdd()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/cmd/
H A Dhci_cmd.c188 static Packet *HciCreateCmdPacketWithParam(uint16_t opCode, const void *param, uint8_t paramLength) in HciCreateCmdPacketWithParam() argument
190 Packet *packet = PacketMalloc(sizeof(HciCmdHeader), 0, paramLength); in HciCreateCmdPacketWithParam()
195 header->parameterTotalLength = paramLength; in HciCreateCmdPacketWithParam()
197 PacketPayloadWrite(packet, param, 0, paramLength); in HciCreateCmdPacketWithParam()
201 HciCmd *HciAllocCmd(uint16_t opCode, const void *param, size_t paramLength) in HciAllocCmd() argument
206 if (param != NULL && paramLength > 0) { in HciAllocCmd()
207 cmd->param = MEM_MALLOC.alloc(paramLength); in HciAllocCmd()
209 (void)memcpy_s(cmd->param, paramLength, param, paramLength); in HciAllocCmd()
211 cmd->packet = HciCreateCmdPacketWithParam(opCode, param, paramLength); in HciAllocCmd()
H A Dhci_cmd.h43 HciCmd *HciAllocCmd(uint16_t opCode, const void *param, size_t paramLength);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dhci_vendor_if.h35 …void (*hciCommandCompleteEvent)(uint16_t opCode, const void *param, uint8_t paramLength, void *con…
66 int BTSTACK_API HCIVIF_SendCmd(uint16_t opCode, const void *param, size_t paramLength);
75 void HciEventOnVendorCommandComplete(uint16_t opCode, const void *param, uint8_t paramLength);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci_vendor_if.c147 int HCIVIF_SendCmd(uint16_t opCode, const void *param, size_t paramLength) in HCIVIF_SendCmd() argument
149 HciCmd *cmd = HciAllocCmd(opCode, param, paramLength); in HCIVIF_SendCmd()
153 …cfi") void HciEventOnVendorCommandComplete(uint16_t opCode, const void *param, uint8_t paramLength) in HciEventOnVendorCommandComplete() argument
165 block->callback->hciCommandCompleteEvent(opCode, param, paramLength, block->context); in HciEventOnVendorCommandComplete()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ble_scan_filter/include/
H A Dble_scan_filter_lsf.h144 uint16_t opCode, const void *param, uint8_t paramLength, void *context);
146 void BleScanFilterCommandComplete(const void *param, uint8_t paramLength);
165 void BleScanFilterGetCapabilitiesComplete(const void *param, uint8_t paramLength);
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dutils.cpp63 std::string ReadSystemParameter(const char *paramKey, const int paramLength) in ReadSystemParameter() argument
65 char param[paramLength]; in ReadSystemParameter()
66 int status = GetParameter(paramKey, "", param, paramLength); in ReadSystemParameter()
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dutils.h35 std::string ReadSystemParameter(const char *paramKey, const int paramLength);
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/
H A Dability_command.h259 bool CheckPerfCmdString(const char* optarg, const size_t paramLength, std::string &perfCmd);
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test.cpp1938 int paramLength = 128; variable
1939 string res = ReadSystemParameter(paramKey.c_str(), paramLength);
1943 res = ReadSystemParameter(paramKey.c_str(), paramLength);
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp830 const char* optarg, const size_t paramLength, std::string &perfCmd) in CheckPerfCmdString() argument
837 if (strlen(optarg) >= paramLength) { in CheckPerfCmdString()