/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_typeface_cache.cpp | 113 uint32_t hash_value = typeface->GetHash(); in CacheDrawingTypeface() local 120 typefaceHashCode_[uniqueId] = hash_value; in CacheDrawingTypeface() 126 auto [faceCache, ref] = typefaceHashMap_[hash_value]; in CacheDrawingTypeface() 137 typefaceHashMap_[hash_value] = std::make_tuple(typeface, 1); in CacheDrawingTypeface() 147 AddIfFound(back, hash_value); in CacheDrawingTypeface() 177 uint64_t hash_value) in RemoveHashMap() argument 180 auto [typeface, ref] = typefaceHashMap[hash_value]; in RemoveHashMap() 185 typefaceHashMap.erase(hash_value); in RemoveHashMap() 201 auto hash_value = typefaceHashCode_[globalUniqueId]; in RemoveDrawingTypefaceByGlobalUniqueId() local 213 uint32_t hash_value = typefaceHashCode_.at(uniqueId); in GetDrawingTypefaceCache() local [all …]
|
/ohos5.0/build/scripts/util/ |
H A D | zip_and_md5.py | 30 hash_value = '' 39 hash_value = sha256obj.hexdigest() 42 return hash_value 45 def _write_signature_file(signature_file, hash_value): argument 48 file_utils.write_file(signature_file, hash_value) 80 hash_value = _gen_signature(args.output_zipfile) 81 _update_signature(args.signature_file, hash_value)
|
H A D | file_utils.py | 89 hash_value = sha256_obj.hexdigest() 94 if hash_value_new == hash_value:
|
/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/ |
H A D | lib.rs | 184 img_name: *const c_char, start: T, end: T, hash_value: *const u8, len: usize) -> bool in check_data_hash_template() 187 if img_hash_data.is_null() || img_name.is_null() || hash_value.is_null() { in check_data_hash_template() 189 img_hash_data.is_null(), img_name.is_null(), hash_value.is_null()); in check_data_hash_template() 203 let hash_value_vec: Vec<u8> = unsafe {Vec::from_raw_parts(hash_value as *mut u8, len, len)}; in check_data_hash_template() 217 img_name: *const c_char, start: u32, end: u32, hash_value: *const u8, len: usize) -> bool in check_data_hash() 219 check_data_hash_template(img_hash_data, img_name, start, end, hash_value, len) in check_data_hash() 229 img_name: *const c_char, start: u64, end: u64, hash_value: *const u8, len: usize) -> bool in CheckDataHashNew() 231 check_data_hash_template(img_hash_data, img_name, start, end, hash_value, len) in CheckDataHashNew()
|
H A D | img_hash_check.rs | 203 pub fn check_img_hash(&self, img_name: String, start: T, end: T, hash_value: &[u8]) -> bool in check_img_hash() 223 if hash_data.len() != hash_value.len() { in check_img_hash() 224 updaterlog!(ERROR, "hash value len is invalid {}", hash_value.len()); in check_img_hash() 229 if hash_data[i] != hash_value[i] { in check_img_hash()
|
/ohos5.0/base/update/updater/services/include/rust/ |
H A D | image_hash_check.h | 27 const char *file_name, uint32_t start, uint32_t end, const uint8_t *hash_value, size_t len); 32 const char *file_name, uint64_t start, uint64_t end, const uint8_t *hash_value, size_t len);
|
/ohos5.0/build/scripts/ |
H A D | interface_mgr.py | 26 hash_value = None 36 hash_value = sha256obj.hexdigest() 40 return str(hash_value)
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_typeface_cache.h | 82 uint64_t hash_value);
|
/ohos5.0/build/ |
H A D | prebuilts_config.py | 130 hash_value = \ 132 download_dir = os.path.join(home_path, npm_download.get('download_dir'), hash_value)
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_rect.h | 258 int hash_value = 0; in operator() local 259 return std::hash<int>()(hash_value); in operator()
|
/ohos5.0/base/update/packaging_tools/ |
H A D | build_update.py | 508 hash_value = sha256obj.hexdigest() 509 return str(hash_value).upper()
|