Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 207) sorted by relevance

123456789

/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_common.c18 long long HapGetInt64(const unsigned char *buf, int len) in HapGetInt64()
33 int HapGetInt(const unsigned char *buf, int len) in HapGetInt()
39 unsigned int HapGetUnsignedInt(const unsigned char *buf, int len) in HapGetUnsignedInt()
54 short HapGetShort(const unsigned char *buf, int len) in HapGetShort()
69 void HapPutInt32(unsigned char *buf, int len, int value) in HapPutInt32()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethod_extension_context/
Dinputmethod_extension_context_module.cpp34 const char **buf, int *bufLen) in NAPI_InputMethodExtensionContext_GetJSCode()
46 const char **buf, int *buflen) in NAPI_InputMethodExtensionContext_GetABCCode()
/base/theme/wallpaper_mgr/interfaces/kits/napi/wallpaper_extension_context/
Dwallpaper_extension_context_module.cpp36 void NAPI_WallpaperExtensionContext_GetJSCode(const char **buf, int *bufLen) in NAPI_WallpaperExtensionContext_GetJSCode()
49 void NAPI_WallpaperExtensionContext_GetABCCode(const char **buf, int *buflen) in NAPI_WallpaperExtensionContext_GetABCCode()
/base/theme/wallpaper_mgr/interfaces/kits/napi/wallpaperextension/
Dwallpaper_extension_module.cpp36 void NAPI_WallpaperExtension_GetJSCode(const char **buf, int *bufLen) in NAPI_WallpaperExtension_GetJSCode()
49 void NAPI_WallpaperExtension_GetABCCode(const char **buf, int *buflen) in NAPI_WallpaperExtension_GetABCCode()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethod_extension_ability/
Dinputmethod_extension_ability_module.cpp34 const char **buf, int *bufLen) in NAPI_InputMethodExtensionAbility_GetJSCode()
46 const char **buf, int *buflen) in NAPI_InputMethodExtensionAbility_GetABCCode()
/base/customization/enterprise_device_management/interfaces/kits/enterprise_admin_extension/
Denterprise_admin_extension_ability_module.cpp35 const char **buf, int *bufLen) in NAPI_enterprise_EnterpriseAdminExtensionAbility_GetJSCode()
49 const char **buf, int *buflen) in NAPI_enterprise_EnterpriseAdminExtensionAbility_GetABCCode()
/base/customization/enterprise_device_management/interfaces/kits/enterprise_admin_extension_context/
Denterprise_admin_extension_context_module.cpp35 const char **buf, int *bufLen) in NAPI_enterprise_EnterpriseAdminExtensionContext_GetJSCode()
49 const char **buf, int *buflen) in NAPI_enterprise_EnterpriseAdminExtensionContext_GetABCCode()
/base/security/device_auth/deps_adapter/os_adapter/interfaces/linux/
Dhc_log.h51 #define DEV_AUTH_LOG_DEBUG(buf) HiLogPrint(LOG_CORE, LOG_DEBUG, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "… argument
52 #define DEV_AUTH_LOG_INFO(buf) HiLogPrint(LOG_CORE, LOG_INFO, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "%{… argument
53 #define DEV_AUTH_LOG_WARN(buf) HiLogPrint(LOG_CORE, LOG_WARN, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "%{… argument
54 #define DEV_AUTH_LOG_ERROR(buf) HiLogPrint(LOG_CORE, LOG_ERROR, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "… argument
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_file_operator.c98 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead()
143 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
201 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead()
236 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
287 uint32_t HksTestFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uin… in HksTestFileRead()
304 …FileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t le… in HksTestFileWrite()
/base/startup/appspawn/interfaces/innerkits/client/
Dclient_socket.cpp98 int ClientSocket::WriteSocketMessage(const void *buf, int len) in WriteSocketMessage()
103 int ClientSocket::ReadSocketMessage(void *buf, int len) in ReadSocketMessage()
Dappspawn_socket.cpp97 int AppSpawnSocket::ReadSocketMessage(int socketFd, void *buf, int len) in ReadSocketMessage()
116 int AppSpawnSocket::WriteSocketMessage(int socketFd, const void *buf, int len) in WriteSocketMessage()
/base/security/crypto_framework/common/inc/
Dlog.h50 #define HCF_LOG_INFO(buf) HiLogPrint(LOG_CORE, LOG_INFO, CRYPTO_LOG_DOMAIN, "[HCF]", "%{public}s", … argument
51 #define HCF_LOG_WARN(buf) HiLogPrint(LOG_CORE, LOG_WARN, CRYPTO_LOG_DOMAIN, "[HCF]", "%{public}s", … argument
52 #define HCF_LOG_ERROR(buf) HiLogPrint(LOG_CORE, LOG_ERROR, CRYPTO_LOG_DOMAIN, "[HCF]", "%{public}s"… argument
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_file_operator.c88 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead()
133 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
191 uint32_t HksFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uint32_… in HksFileRead()
208 int32_t HksFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, u… in HksFileWrite()
/base/hiviewdfx/blackbox/
Dblackbox_detector.c27 int UploadEventByStream(const char *buf, unsigned int bufSize) in UploadEventByStream()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_asn1.c59 static int32_t Asn1InsertValue(struct HksBlob *buf, struct HksAsn1Obj *obj, const struct HksAsn1Blo… in Asn1InsertValue()
98 int32_t HksAsn1InsertValue(struct HksBlob *buf, struct HksAsn1Obj *obj, const struct HksAsn1Blob *t… in HksAsn1InsertValue()
132 uint8_t *buf = data->data; in Asn1GetObj() local
/base/powermgr/thermal_manager/utils/native/src/
Dfile_operation.cpp63 int32_t FileOperation::WriteFile(std::string path, std::string buf, size_t size) in WriteFile()
85 int32_t FileOperation::ReadFile(const char *path, char *buf, size_t size) in ReadFile()
/base/update/updater/services/script/script_interpreter/
Dscript_scanner.cpp21 int Scanner::LexerInput(char *buf, int maxSize) in LexerInput()
/base/security/huks/utils/file_operator/
Dhks_file_operator_lite.c106 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead()
137 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
302 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead()
338 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
384 uint32_t HksFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uint32_… in HksFileRead()
399 int32_t HksFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, u… in HksFileWrite()
455 int32_t HksOldVersionFileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in HksOldVersionFileRead()
/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_utils_test.cpp40 char* buf = nullptr; variable
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_util.cpp39 char buf[STATUS_LINE_SIZE]; in GetProcStatusByPath() local
114 bool ReadStringFromFile(const std::string &path, std::string &buf, size_t len) in ReadStringFromFile()
199 int PrintFormat(char *buf, int size, const char *format, ...) in PrintFormat()
Ddfx_ring_buffer_wrapper.cpp83 char buf[LOG_BUF_LEN] = {0}; in AppendBuf() local
123 int DfxRingBufferWrapper::DefaultWrite(int32_t fd, const char *buf, const int len) in DefaultWrite()
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c158 static bool _decode_octets(struct hvb_buf *buf, size_t size, uint8_t **p, uint8_t *end) in _decode_octets()
175 struct hvb_buf buf; in _hvb_cert_payload_parser() local
195 struct hvb_buf buf; in _hvb_cert_signature_parser() local
225 struct hvb_buf buf; in hvb_cert_parser() local
276 struct hvb_buf buf; in hvb_cert_pubk_parser() local
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_protector_utils.cpp27 int32_t ThermalProtectorUtil::WriteFile(std::string path, std::string buf, size_t size) in WriteFile()
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_log_lite.c27 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog() local
Dcipher_log.c26 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog() local

123456789