/base/security/device_auth/deps_adapter/os_adapter/impl/src/ |
D | hc_log.c | 28 #define DEV_AUTH_LOG_DEBUG(buf) printf("[D][DEVAUTH]: %s\n", buf) argument 29 #define DEV_AUTH_LOG_INFO(buf) printf("[I][DEVAUTH]: %s\n", buf) argument 30 #define DEV_AUTH_LOG_WARN(buf) printf("[W][DEVAUTH]: %s\n", buf) argument 31 #define DEV_AUTH_LOG_ERROR(buf) printf("[E][DEVAUTH]: %s\n", buf) argument 37 #define DEV_AUTH_LOG_DEBUG(buf) HiLogPrint(LOG_CORE, LOG_DEBUG, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "… argument 38 #define DEV_AUTH_LOG_INFO(buf) HiLogPrint(LOG_CORE, LOG_INFO, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "%{… argument 39 #define DEV_AUTH_LOG_WARN(buf) HiLogPrint(LOG_CORE, LOG_WARN, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "%{… argument 40 #define DEV_AUTH_LOG_ERROR(buf) HiLogPrint(LOG_CORE, LOG_ERROR, DEV_AUTH_LOG_DOMAIN, "[DEVAUTH]", "… argument 47 static void DevAuthOutPrint(const char *buf, DevAuthLogLevel level) in DevAuthOutPrint() argument 51 DEV_AUTH_LOG_DEBUG(buf); in DevAuthOutPrint() [all …]
|
/base/hiviewdfx/faultloggerd/frameworks/unwinder/ |
D | dfx_regs_arm64.cpp | 68 char buf[REGS_PRINT_LEN] = {0}; in PrintRegs() local 71 BufferPrintf(buf, sizeof(buf), "x0:%016lx x1:%016lx x2:%016lx x3:%016lx\n", \ in PrintRegs() 74 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x4:%016lx x5:%016lx x6:%016lx x7:%016l… in PrintRegs() 77 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x8:%016lx x9:%016lx x10:%016lx x11:%01… in PrintRegs() 80 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x12:%016lx x13:%016lx x14:%016lx x15:%… in PrintRegs() 83 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x16:%016lx x17:%016lx x18:%016lx x19:%… in PrintRegs() 86 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x20:%016lx x21:%016lx x22:%016lx x23:%… in PrintRegs() 89 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x24:%016lx x25:%016lx x26:%016lx x27:%… in PrintRegs() 92 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x28:%016lx x29:%016lx\n", \ in PrintRegs() 95 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "lr:%016lx sp:%016lx pc:%016lx\n", \ in PrintRegs() [all …]
|
D | dfx_regs_riscv64.cpp | 67 char buf[REGS_PRINT_LEN] = {0}; in PrintRegs() local 70 BufferPrintf(buf, sizeof(buf), "x0:%016lx x1:%016lx x2:%016lx x3:%016lx\n", \ in PrintRegs() 73 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x4:%016lx x5:%016lx x6:%016lx x7:%016l… in PrintRegs() 76 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x8:%016lx x9:%016lx x10:%016lx x11:%01… in PrintRegs() 79 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x12:%016lx x13:%016lx x14:%016lx x15:%… in PrintRegs() 82 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x16:%016lx x17:%016lx x18:%016lx x19:%… in PrintRegs() 85 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x20:%016lx x21:%016lx x22:%016lx x23:%… in PrintRegs() 88 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x24:%016lx x25:%016lx x26:%016lx x27:%… in PrintRegs() 91 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x28:%016lx x29:%016lx\n", \ in PrintRegs() 94 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "lr:%016lx sp:%016lx pc:%016lx\n", \ in PrintRegs() [all …]
|
D | dfx_regs_arm.cpp | 54 char buf[REGS_PRINT_LEN] = {0}; in PrintRegs() local 57 BufferPrintf(buf, sizeof(buf), "r0:%08x r1:%08x r2:%08x r3:%08x\n", \ in PrintRegs() 60 … BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "r4:%08x r5:%08x r6:%08x r7:%08x\n", \ in PrintRegs() 63 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "r8:%08x r9:%08x r10:%08x\n", \ in PrintRegs() 66 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "fp:%08x ip:%08x sp:%08x lr:%08x pc:%08… in PrintRegs() 69 std::string regString = StringPrintf("Registers:\n%s", buf); in PrintRegs()
|
D | dfx_regs_x86_64.cpp | 55 char buf[REGS_PRINT_LEN] = {0}; in PrintRegs() local 58 BufferPrintf(buf, sizeof(buf), " rax:%016lx rdx:%016lx rcx:%016lx rbx:%016lx\n", \ in PrintRegs() 61 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " rsi:%016lx rdi:%016lx rbp:%016lx rsp… in PrintRegs() 64 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " r8:%016lx r9:%016lx r10:%016lx r11:%… in PrintRegs() 67 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), \ in PrintRegs() 71 std::string regString = StringPrintf("Registers:\n%s", buf); in PrintRegs()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_common.c | 18 long long HapGetInt64(const unsigned char *buf, int32_t len) in HapGetInt64() argument 20 if (buf == NULL) { in HapGetInt64() 28 value = (value << BYTE_BITS) | (*(buf + len)); in HapGetInt64() 33 int32_t HapGetInt(const unsigned char *buf, int32_t len) in HapGetInt() argument 35 uint32_t value = HapGetUnsignedInt(buf, len); in HapGetInt() 39 uint32_t HapGetUnsignedInt(const unsigned char *buf, int32_t len) in HapGetUnsignedInt() argument 41 if (buf == NULL) { in HapGetUnsignedInt() 49 value = (value << BYTE_BITS) | (*(buf + len)); in HapGetUnsignedInt() 54 short HapGetShort(const unsigned char *buf, int32_t len) in HapGetShort() argument 56 if (buf == NULL) { in HapGetShort() [all …]
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_log.c | 41 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in SelinuxHilog() local 42 if (buf == NULL) { in SelinuxHilog() 46 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in SelinuxHilog() 50 if (vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, fmt, ap) < 0) { in SelinuxHilog() 52 free(buf); in SelinuxHilog() 53 buf = NULL; in SelinuxHilog() 61 HILOG_INFO(LOG_CORE, "%{public}s\n", buf); in SelinuxHilog() 64 HILOG_WARN(LOG_CORE, "%{public}s\n", buf); in SelinuxHilog() 68 HILOG_ERROR(LOG_CORE, "%{public}s\n", buf); in SelinuxHilog() 71 free(buf); in SelinuxHilog() [all …]
|
/base/sensors/sensor/utils/ipc/src/ |
D | stream_buffer.cpp | 20 StreamBuffer::StreamBuffer(const StreamBuffer &buf) in StreamBuffer() argument 22 Clone(buf); in StreamBuffer() 58 bool StreamBuffer::Read(std::string &buf) in Read() argument 67 buf = ReadBuf(); in Read() 69 StreamBufferGetRpos(streamBufferPtr_.get()) + static_cast<int32_t>(buf.length()) + 1); in Read() 70 return (buf.length() > 0); in Read() 77 buf = ReadBuf(); in Read() 78 rPos_ += buf.length() + 1; in Read() 79 return (buf.length() > 0); in Read() 83 bool StreamBuffer::Write(const std::string &buf) in Write() argument [all …]
|
/base/security/huks/frameworks/crypto_lite/cipher/src/ |
D | cipher_log_lite.c | 27 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog() local 28 if (buf == NULL) { in CipherLog() 32 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CipherLog() 36 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CipherLog() 40 free(buf); in CipherLog() 41 buf = NULL; in CipherLog() 48 HILOG_ERROR(HILOG_MODULE_SCY, "%s[%u]: %s\n", funcName, lineNo, buf); in CipherLog() 50 … HILOG_ERROR(HILOG_MODULE_SCY, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CipherLog() 54 free(buf); in CipherLog() 55 buf = NULL; in CipherLog() [all …]
|
D | cipher_log.c | 26 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog() local 27 if (buf == NULL) { in CipherLog() 31 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CipherLog() 35 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CipherLog() 39 free(buf); in CipherLog() 40 buf = NULL; in CipherLog() 46 HILOG_ERROR(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CipherLog() 49 free(buf); in CipherLog() 50 buf = NULL; in CipherLog() 54 free(buf); in CipherLog() [all …]
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
D | dfx_regs_riscv64.cpp | 106 char buf[REGS_PRINT_LEN] = {0}; in PrintRegs() local 109 BufferPrintf(buf, sizeof(buf), "x0:%016lx x1:%016lx x2:%016lx x3:%016lx\n", \ in PrintRegs() 112 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x4:%016lx x5:%016lx x6:%016lx x7:%016l… in PrintRegs() 115 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x8:%016lx x9:%016lx x10:%016lx x11:%01… in PrintRegs() 118 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x12:%016lx x13:%016lx x14:%016lx x15:%… in PrintRegs() 121 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x16:%016lx x17:%016lx x18:%016lx x19:%… in PrintRegs() 124 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x20:%016lx x21:%016lx x22:%016lx x23:%… in PrintRegs() 127 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x24:%016lx x25:%016lx x26:%016lx x27:%… in PrintRegs() 130 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x28:%016lx x29:%016lx\n", \ in PrintRegs() 133 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "lr:%016lx sp:%016lx pc:%016lx\n", \ in PrintRegs() [all …]
|
D | dfx_regs_arm64.cpp | 107 char buf[REGS_PRINT_LEN] = {0}; in PrintRegs() local 110 BufferPrintf(buf, sizeof(buf), "x0:%016lx x1:%016lx x2:%016lx x3:%016lx\n", \ in PrintRegs() 113 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x4:%016lx x5:%016lx x6:%016lx x7:%016l… in PrintRegs() 116 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x8:%016lx x9:%016lx x10:%016lx x11:%01… in PrintRegs() 119 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x12:%016lx x13:%016lx x14:%016lx x15:%… in PrintRegs() 122 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x16:%016lx x17:%016lx x18:%016lx x19:%… in PrintRegs() 125 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x20:%016lx x21:%016lx x22:%016lx x23:%… in PrintRegs() 128 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x24:%016lx x25:%016lx x26:%016lx x27:%… in PrintRegs() 131 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "x28:%016lx x29:%016lx\n", \ in PrintRegs() 134 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "lr:%016lx sp:%016lx pc:%016lx\n", \ in PrintRegs() [all …]
|
D | dfx_regs_x86_64.cpp | 76 char buf[REGS_PRINT_LEN] = {0}; in PrintRegs() local 79 BufferPrintf(buf, sizeof(buf), " rax:%016lx rdx:%016lx rcx:%016lx rbx:%016lx\n", \ in PrintRegs() 82 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " rsi:%016lx rdi:%016lx rbp:%016lx rsp… in PrintRegs() 85 …BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " r8:%016lx r9:%016lx r10:%016lx r11:%… in PrintRegs() 88 BufferPrintf(buf + strlen(buf), sizeof(buf) - strlen(buf), \ in PrintRegs() 92 std::string regString = StringPrintf("Registers:\n%s", buf); in PrintRegs()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/log/ |
D | cm_log.c | 27 char *buf = (char *)CmMalloc(MAX_LOG_BUFF_LEN); in CmLog() local 28 if (buf == NULL) { in CmLog() 32 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CmLog() 36 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CmLog() 40 CM_FREE_PTR(buf); in CmLog() 46 HILOG_INFO(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog() 49 HILOG_ERROR(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog() 52 HILOG_WARN(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog() 55 HILOG_DEBUG(LOG_CORE, "%{public}s[%{public}u]: %{private}s\n", funcName, lineNo, buf); in CmLog() 58 CM_FREE_PTR(buf); in CmLog() [all …]
|
/base/msdp/device_status/utils/ipc/src/ |
D | stream_buffer.cpp | 22 StreamBuffer::StreamBuffer(const StreamBuffer &buf) in StreamBuffer() argument 24 Clone(buf); in StreamBuffer() 64 bool StreamBuffer::Write(const std::string &buf) in Write() argument 66 return Write(buf.c_str(), buf.length() + 1); in Write() 69 bool StreamBuffer::Read(std::string &buf) in Read() argument 76 buf = ReadBuf(); in Read() 77 rPos_ = rPos_ + static_cast<int32_t>(buf.length()) + 1; in Read() 78 return (buf.length() > 0); in Read() 81 bool StreamBuffer::Write(const StreamBuffer &buf) in Write() argument 83 return Write(buf.Data(), buf.Size()); in Write() [all …]
|
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/ |
D | dcm_asn1.c | 58 static int32_t Asn1InsertValue(struct HksBlob *buf, struct HksAsn1Obj *obj, const struct HksAsn1Blo… in Asn1InsertValue() argument 73 if (buf->size < outSize) { in Asn1InsertValue() 74 …HKS_LOG_E("output buffer too small: %" LOG_PUBLIC "u. expected%" LOG_PUBLIC "u", buf->size, outSiz… in Asn1InsertValue() 78 … if (memmove_s(buf->data + header.size, buf->size - header.size, value.data, value.size) != EOK) { in Asn1InsertValue() 82 (void)memcpy_s(buf->data, buf->size, header.data, header.size); in Asn1InsertValue() 83 buf->data += outSize; in Asn1InsertValue() 84 buf->size -= outSize; in Asn1InsertValue() 87 obj->header.data = buf->data; in Asn1InsertValue() 90 obj->value.data = buf->data + header.size; in Asn1InsertValue() 97 int32_t DcmAsn1InsertValue(struct HksBlob *buf, struct HksAsn1Obj *obj, const struct HksAsn1Blob *t… in DcmAsn1InsertValue() argument [all …]
|
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
D | dfx_log.cpp | 49 char buf[LOG_BUF_LEN] = {0}; in LogToDmesg() local 50 if (snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "%s[pid=%d %d][%s][%s]%s", in LogToDmesg() 55 if (write(g_dmesgFd, buf, strlen(buf)) < 0) { in LogToDmesg() 102 char buf[LOG_BUF_LEN] = {0}; in DfxLogPrintV() local 103 int ret = vsnprintf_s(buf, sizeof(buf), sizeof(buf) - 1, fmt, ap); in DfxLogPrintV() 108 HiLogBasePrint(LOG_CORE, logLevel, domain, tag, "%{public}s", buf); in DfxLogPrintV() 110 HiLogPrint(LOG_CORE, logLevel, domain, tag, "%{public}s", buf); in DfxLogPrintV() 114 LogToDmesg(logLevel, tag, buf); in DfxLogPrintV() 118 fprintf(stderr, "%s\n", buf); in DfxLogPrintV()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
D | app_common.h | 98 #define APPV_FREE(buf) \ argument 100 if ((buf) != NULL) { \ 101 free(buf); \ 102 (buf) = NULL; \ 106 long long HapGetInt64(const unsigned char *buf, int32_t len); 107 int32_t HapGetInt(const unsigned char *buf, int32_t len); 108 uint32_t HapGetUnsignedInt(const unsigned char *buf, int32_t len); 109 short HapGetShort(const unsigned char *buf, int32_t len); 110 void HapPutInt32(unsigned char *buf, int32_t len, int32_t value);
|
/base/update/updater/test/unittest/common/ring_buffer/ |
D | ring_buffer_unittest.cpp | 42 uint8_t buf[4] {}; // 4: test buffer size in ProducerTask() local 43 buf[0] = i % BYTE_SIZE; in ProducerTask() 44 buf[1] = i / BYTE_SIZE; in ProducerTask() 45 ringBuffer->Push(buf, sizeof(buf)); in ProducerTask() 53 uint8_t buf[4] {}; // 4: test buffer size in ConsumerTask() local 55 ringBuffer->Pop(buf, sizeof(buf), len); in ConsumerTask() 56 if (buf[0] != g_num % BYTE_SIZE || buf[1] != g_num / BYTE_SIZE) { in ConsumerTask()
|
/base/web/webview/interfaces/kits/napi/js/ |
D | webview_export_module.cpp | 21 extern "C" __attribute__((visibility("default"))) void NAPI_web_webview_GetJSCode(const char **buf,… in NAPI_web_webview_GetJSCode() argument 23 if (buf != nullptr) { in NAPI_web_webview_GetJSCode() 24 *buf = _binary_webview_export_js_start; in NAPI_web_webview_GetJSCode() 32 extern "C" __attribute__((visibility("default"))) void NAPI_web_webview_GetABCCode(const char** buf… in NAPI_web_webview_GetABCCode() argument 34 if (buf != nullptr) { in NAPI_web_webview_GetABCCode() 35 *buf = _binary_webview_export_abc_start; in NAPI_web_webview_GetABCCode()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_ring_buffer_wrapper.cpp | 82 char buf[LINE_BUF_SIZE] = {0}; in AppendBuf() local 83 (void)memset_s(&buf, sizeof(buf), 0, sizeof(buf)); in AppendBuf() 86 ret = vsnprintf_s(buf, sizeof(buf), sizeof(buf) - 1, format, args); in AppendBuf() 92 AppendMsg(std::string(buf)); in AppendBuf() 122 int DfxRingBufferWrapper::DefaultWrite(int32_t fd, const char *buf, const int len) in DefaultWrite() argument 124 if (buf == nullptr) { in DefaultWrite() 127 WriteLog(UNUSED_FD, "%s", buf); in DefaultWrite() 129 return write(fd, buf, len); in DefaultWrite()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethod_extension_ability/ |
D | inputmethod_extension_ability_module.cpp | 36 const char **buf, int *bufLen) in NAPI_InputMethodExtensionAbility_GetJSCode() argument 38 if (buf != nullptr) { in NAPI_InputMethodExtensionAbility_GetJSCode() 39 *buf = _binary_inputmethod_extension_ability_js_start; in NAPI_InputMethodExtensionAbility_GetJSCode() 48 const char **buf, int *buflen) in NAPI_InputMethodExtensionAbility_GetABCCode() argument 50 if (buf != nullptr) { in NAPI_InputMethodExtensionAbility_GetABCCode() 51 *buf = _binary_inputmethod_extension_ability_abc_start; in NAPI_InputMethodExtensionAbility_GetABCCode()
|
/base/theme/wallpaper_mgr/frameworks/js/napi/wallpaper_extension_context/ |
D | wallpaper_extension_context_module.cpp | 34 …ttribute__((visibility("default"))) void NAPI_WallpaperExtensionContext_GetJSCode(const char **buf, in NAPI_WallpaperExtensionContext_GetJSCode() argument 37 if (buf != nullptr) { in NAPI_WallpaperExtensionContext_GetJSCode() 38 *buf = _binary_wallpaper_extension_context_js_start; in NAPI_WallpaperExtensionContext_GetJSCode() 47 …tribute__((visibility("default"))) void NAPI_WallpaperExtensionContext_GetABCCode(const char **buf, in NAPI_WallpaperExtensionContext_GetABCCode() argument 50 if (buf != nullptr) { in NAPI_WallpaperExtensionContext_GetABCCode() 51 *buf = _binary_wallpaper_extension_context_abc_start; in NAPI_WallpaperExtensionContext_GetABCCode()
|
/base/theme/wallpaper_mgr/frameworks/js/napi/wallpaperextensionability/ |
D | wallpaper_extension_ability_module.cpp | 34 …ttribute__((visibility("default"))) void NAPI_WallpaperExtensionAbility_GetJSCode(const char **buf, in NAPI_WallpaperExtensionAbility_GetJSCode() argument 37 if (buf != nullptr) { in NAPI_WallpaperExtensionAbility_GetJSCode() 38 *buf = _binary_wallpaper_extension_ability_js_start; in NAPI_WallpaperExtensionAbility_GetJSCode() 47 …tribute__((visibility("default"))) void NAPI_WallpaperExtensionAbility_GetABCCode(const char **buf, in NAPI_WallpaperExtensionAbility_GetABCCode() argument 50 if (buf != nullptr) { in NAPI_WallpaperExtensionAbility_GetABCCode() 51 *buf = _binary_wallpaper_extension_ability_abc_start; in NAPI_WallpaperExtensionAbility_GetABCCode()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_extension/user_auth_extension/ |
D | user_auth_extension_ability_module.cpp | 38 const char **buf, int *bufLen) in NAPI_app_ability_UserAuthExtensionAbility_GetJSCode() argument 40 if (buf != nullptr) { in NAPI_app_ability_UserAuthExtensionAbility_GetJSCode() 41 *buf = _binary_user_auth_extension_ability_js_start; in NAPI_app_ability_UserAuthExtensionAbility_GetJSCode() 50 const char **buf, int *buflen) in NAPI_app_ability_UserAuthExtensionAbility_GetABCCode() argument 52 if (buf != nullptr) { in NAPI_app_ability_UserAuthExtensionAbility_GetABCCode() 53 *buf = _binary_user_auth_extension_ability_abc_start; in NAPI_app_ability_UserAuthExtensionAbility_GetABCCode()
|