/base/security/device_auth/common_lib/interfaces/ |
D | hc_parcel.h | 41 HcBool ParcelReadWithoutPopData(HcParcel *parcel, void *dst, uint32_t dataSize); 42 HcBool ParcelRead(HcParcel *parcel, void *dst, uint32_t dataSize); 44 HcBool ParcelReadRevert(HcParcel *parcel, void *dst, uint32_t dataSize); 50 HcBool ParcelReadInt32(HcParcel *parcel, int *dst); 51 HcBool ParcelReadUint32(HcParcel *parcel, uint32_t *dst); 52 HcBool ParcelReadInt16(HcParcel *parcel, short *dst); 53 HcBool ParcelReadUint16(HcParcel *parcel, uint16_t *dst); 54 HcBool ParcelReadInt8(HcParcel *parcel, char *dst); 55 HcBool ParcelReadUint8(HcParcel *parcel, uint8_t *dst); 56 HcBool ParcelReadUint64(HcParcel *parcel, uint64_t *dst); [all …]
|
/base/security/device_auth/common_lib/impl/src/ |
D | hc_parcel.c | 99 HcBool ParcelReadWithoutPopData(HcParcel *parcel, void *dst, uint32_t dataSize) in ParcelReadWithoutPopData() argument 102 HcBool ret = ParcelReadRevert(parcel, dst, dataSize); in ParcelReadWithoutPopData() 104 HcBool ret = ParcelRead(parcel, dst, dataSize); in ParcelReadWithoutPopData() 112 HcBool ParcelRead(HcParcel *parcel, void *dst, uint32_t dataSize) in ParcelRead() argument 115 if (parcel == NULL || dst == NULL || dataSize == 0) { in ParcelRead() 124 rc = memmove_s(dst, dataSize, parcel->data + parcel->beginPos, dataSize); in ParcelRead() 132 HcBool ParcelEraseBlock(HcParcel *parcel, uint32_t start, uint32_t dataSize, void *dst) in ParcelEraseBlock() argument 135 if (parcel == NULL || dst == NULL || dataSize == 0) { in ParcelEraseBlock() 148 rc = memmove_s(dst, dataSize, beginCopy, dataSize); in ParcelEraseBlock() 162 HcBool ParcelReadRevert(HcParcel *parcel, void *dst, uint32_t dataSize) in ParcelReadRevert() argument [all …]
|
/base/useriam/user_auth_framework/frameworks/native/common/attributes/src/ |
D | attributes.cpp | 73 static bool EncodeBoolValue(bool src, std::vector<uint8_t> &dst); 74 static bool EncodeUint64Value(uint64_t src, std::vector<uint8_t> &dst); 75 static bool EncodeUint32Value(uint32_t src, std::vector<uint8_t> &dst); 76 static bool EncodeUint16Value(uint16_t src, std::vector<uint8_t> &dst); 77 static bool EncodeUint8Value(uint8_t src, std::vector<uint8_t> &dst); 78 static bool EncodeInt32Value(int32_t src, std::vector<uint8_t> &dst); 79 static bool EncodeStringValue(const std::string &src, std::vector<uint8_t> &dst); 80 static bool EncodeUint64ArrayValue(const std::vector<uint64_t> &src, std::vector<uint8_t> &dst); 81 static bool EncodeUint32ArrayValue(const std::vector<uint32_t> &src, std::vector<uint8_t> &dst); 82 static bool EncodeUint16ArrayValue(const std::vector<uint16_t> &src, std::vector<uint8_t> &dst); [all …]
|
/base/security/crypto_framework/common/src/ |
D | hcf_string.c | 158 bool StringSubString(const HcString *self, uint32_t begin, uint32_t len, HcString* dst) in StringSubString() argument 160 if (self == NULL || dst == NULL) { in StringSubString() 167 return StringSetPointerWithLength(dst, beingPointer, len); in StringSubString() 179 int StringCompare(const HcString *self, const char* dst) in StringCompare() argument 181 if (self == NULL || dst == NULL) { in StringCompare() 191 if ((*src) > (*dst)) { in StringCompare() 193 } else if ((*src) < (*dst)) { in StringCompare() 200 ++dst; in StringCompare()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/ |
D | key_agreement.c | 70 static bool is_version_bigger(struct key_agreement_version *dst, struct key_agreement_version *src); 71 static bool is_version_lesser(struct key_agreement_version *dst, struct key_agreement_version *src); 88 static bool is_version_bigger(struct key_agreement_version *dst, struct key_agreement_version *src) in is_version_bigger() argument 90 uint32_t *dst_ptr = (uint32_t *)dst; in is_version_bigger() 104 static bool is_version_lesser(struct key_agreement_version *dst, struct key_agreement_version *src) in is_version_lesser() argument 106 uint32_t *dst_ptr = (uint32_t *)dst; in is_version_lesser()
|
/base/hiviewdfx/hiview/build/ |
D | copy_plugin_config.py | 21 def copy_file(src, dst): argument 22 dest_dir = os.path.dirname(dst) 25 shutil.copy2(src, dst)
|
/base/useriam/user_auth_framework/common/utils/ |
D | iam_mem.h | 26 inline void Pack(std::vector<uint8_t> &dst, const T &data) in Pack() argument 29 dst.insert(dst.end(), src, src + sizeof(T)); in Pack()
|
/base/hiviewdfx/hisysevent/frameworks/native/util/ |
D | string_util.cpp | 22 int CopyCString(char* dst, const std::string& src, size_t len) in CopyCString() argument 27 return strcpy_s(dst, src.length() + 1, src.c_str()); in CopyCString() 30 int CreateCString(char** dst, const std::string& src, size_t len) in CreateCString() argument 40 *dst = data; in CreateCString()
|
/base/global/i18n_lite/frameworks/i18n/include/ |
D | str_util.h | 37 void Split(const std::string &src, std::string *dst, const int32_t size, const char &sep); 39 bool CompareLocaleItem(const char *src, const char *dst);
|
/base/security/crypto_framework/common/inc/ |
D | hcf_string.h | 88 bool StringSubString(const HcString *self, uint32_t begin, uint32_t len, HcString* dst); 99 int StringCompare(const HcString *self, const char* dst);
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
D | hc_file.c | 72 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() argument 75 if (fp == HAL_FAILED || dstSize < 0 || dst == NULL) { in HcFileRead() 78 int ret = UtilsFileRead(fp, (char *)dst, dstSize); in HcFileRead()
|
D | hc_file_posix.c | 110 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() argument 113 if (fp == -1 || dstSize < 0 || dst == NULL) { in HcFileRead() 117 char *dstBuffer = (char *)dst; in HcFileRead()
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | str_util.cpp | 98 void Split(const std::string &src, std::string *dst, const int32_t size, const char &sep) in Split() argument 100 if (dst == nullptr || size <= 0) { in Split() 115 dst[current++] = std::string(src, begin, end - begin); in Split() 120 dst[current++] = std::string(src, begin, end - begin); in Split()
|
/base/hiviewdfx/hisysevent/frameworks/native/util/include/ |
D | string_util.h | 24 int CopyCString(char* dst, const std::string& src, size_t len); 25 int CreateCString(char** dst, const std::string& src, size_t len = 1024); // default maxLen is 1024
|
/base/web/webview/ohos_nweb/src/ |
D | nweb_surface_adapter.cpp | 132 char *dst = reinterpret_cast<char *>(surfaceBuffer->GetVirAddr()); in CopyFrame() local 133 if (dst == nullptr) { in CopyFrame() 147 … errno_t ret = memcpy_s(dst, static_cast<size_t>(srcStride), src, static_cast<size_t>(srcStride)); in CopyFrame() 153 dst += dstStride; in CopyFrame()
|
/base/startup/init/scripts/ |
D | param_cfg_to_code.py | 158 dst = "".join([out_dir, "param_cfg.h"]) 160 if os.path.exists(dst): 161 dst_dict = get_param_from_c_code(dst) 166 write_map_to_code(dst, dst_dict)
|
/base/hiviewdfx/faultloggerd/common/util/ |
D | dfx_cutil.c | 39 bool ReadStringFromFile(const char* path, char* dst, size_t dstSz) in ReadStringFromFile() argument 69 if (memcpy_s(dst, dstSz, nameFilter, strlen(nameFilter) + 1) != 0) { in ReadStringFromFile()
|
D | musl_cutil.h | 39 bool ReadStringFromFile(const char* path, char* dst, size_t dstSz) in ReadStringFromFile() argument 72 memcpy(dst, nameFilter, cpyLen); in ReadStringFromFile()
|
D | dfx_cutil.h | 32 AT_SYMBOL_HIDDEN bool ReadStringFromFile(const char* path, char* dst, size_t dstSz);
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
D | hc_file.c | 114 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() argument 117 if (fp == NULL || dstSize < 0 || dst == NULL) { in HcFileRead() 121 char *dstBuffer = (char *)dst; in HcFileRead()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/ |
D | mock_pixel_map.cpp | 103 bool PixelMap::IsSameSize(const Size &src, const Size &dst) in IsSameSize() argument 256 uint32_t PixelMap::ReadPixels(const uint64_t &bufferSize, uint8_t *dst) in ReadPixels() argument 261 bool PixelMap::CheckPixelsInput(const uint8_t *dst, const uint64_t &bufferSize, const uint32_t &off… in CheckPixelsInput() argument 268 const Rect ®ion, uint8_t *dst) in ReadPixels() argument 273 uint32_t PixelMap::ReadPixel(const Position &pos, uint32_t &dst) in ReadPixel() argument
|
/base/security/device_auth/deps_adapter/os_adapter/interfaces/linux/ |
D | hc_file.h | 37 int HcFileRead(FileHandle file, void *dst, int dstSize);
|
/base/security/device_auth/deps_adapter/os_adapter/interfaces/liteos/ |
D | hc_file.h | 41 int HcFileRead(FileHandle file, void *dst, int dstSize);
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
D | Utils.java | 242 public static void generateTypesFile(File src, File dst, ArrayList<ConfigItem> configItems) { in generateTypesFile() argument 245 … BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(dst), in generateTypesFile() 345 public static void generateI18nPatternFile(File src, File dst, ArrayList<ConfigItem> items) { in generateI18nPatternFile() argument 347 … BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(dst)))) { in generateI18nPatternFile()
|
/base/hiviewdfx/hiview/base/utility/ |
D | string_util.cpp | 44 string ReplaceStr(const string& str, const string& src, const string& dst) in ReplaceStr() argument 53 strTmp.replace(pos, src.length(), dst); in ReplaceStr() 54 pos += dst.length(); in ReplaceStr()
|