/commonlibrary/memory_utils/libpurgeablemem/ |
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 20 "c/include", 23 "interfaces/kits/c", 31 "c/src/purgeable_mem_builder_c.c", 32 "c/src/purgeable_mem_c.c", 33 "c/src/purgeable_memory.c", 34 "common/src/pm_state_c.c", 35 "common/src/ux_page_table_c.c", 57 include_dirs = [ "interfaces/kits/c" ] 59 sources = [ "c/src/purgeable_memory.c" ]
|
/commonlibrary/ets_utils/js_api_module/xml/ |
D | js_xml.cpp | 332 char c = s[i]; in WriteEscaped() local 333 switch (c) { in WriteEscaped() 350 out_ += c; in WriteEscaped() 688 int c = PriorDealChar(); in SkipChar() local 689 if (c != expected) { in SkipChar() 691 if (c == -1) { in SkipChar() 701 char c = 0; in ParseNameInner() local 710 c = strXml_[position_]; in ParseNameInner() 711 if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || in ParseNameInner() 712 (c >= '0' && c <= '9') || c == '_' || c == '-' || in ParseNameInner() [all …]
|
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 56 xml_obj_path = abc_output_path + "/xml.c" 67 xml_obj_path = abc_output_path + "/xml_abc.c"
|
/commonlibrary/c_utils/ |
D | README_zh.md | 77 ### [使用匿名共享内存](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-g… 78 ### [使用智能指针管理动态分配内存对象](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c… 79 ### [使用Parcel作为数据容器](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-u… 83 ### [读写锁](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-guide-… 84 ### [增强信号量功能](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-gu… 85 ### [强化线程能力](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-gui… 89 ### [线程安全Map](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-gu… 90 ### [有序Vector](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-g… 91 ### [线程安全阻塞队列](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-g… 92 ### [线程安全栈与队列](https://gitee.com/openharmony/commonlibrary_c_utils/blob/master/docs/zh-cn/c-utils-g… [all …]
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ |
D | error.rs | 34 Repr::Custom(ref c) => write!(f, "{:?}: {}", c.kind, c.error), in fmt() 48 Repr::Custom(ref c) => std::fmt::Debug::fmt(&c, f), in fmt() 160 Repr::Custom(c) => Some(c.error), in into_inner() 183 Repr::Custom(ref c) => c.kind, in kind()
|
D | select.rs | 175 $( ( $index:expr, $($_i:tt)* ) $bind:pat = $fut:expr, if $c:expr => $handle:expr, )+ 195 if (!$c) 285 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:bl… 286 …$crate::select!({ random = $bool; ( $s + 1, $($_n)*_) $($t)* ($s, $($_n)*) $p = $f, if $c => $h, }… 295 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:bl… 296 …$crate::select!({ random = $bool; ( $s + 1, $($_n)*_) $($t)* ($s, $($_n)*) $p = $f, if $c => $h, }… 305 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:e… 306 …$crate::select!({ random = $bool; ( $s + 1, $($_n)*_ ) $($t)* ($s, $($_n)*) $p = $f, if $c => $h, … 316 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:e… 317 …$crate::select!({ random = $bool; ( $s + 1, $($_n)*_ ) $($t)* ($s, $($_n)*) $p = $f, if $c => $h, … [all …]
|
/commonlibrary/ets_utils/js_api_module/buffer/ |
D | converter.cpp | 125 char c = static_cast<char>(wc & LOWER_8_BITS_MASK); in Utf16BEToANSI() local 126 ret.push_back(c); in Utf16BEToANSI() 138 bool IsBase64Char(unsigned char c) in IsBase64Char() argument 140 return (isalnum(c) || (c == '+') || (c == '/')); in IsBase64Char() 273 char c = hex.at(i); in IsValidHex() local 275 if ((c <= '9' && c >= '0') || (c <= 'F' && c >= 'A') || (c <= 'f' && c >= 'a')) { in IsValidHex()
|
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 42 "-std=c++17", 51 js_buffer_obj_path = base_output_path + "/buffer.c" 74 buffer_abc_obj_path = abc_output_path + "/buffer_abc.c"
|
/commonlibrary/c_utils/base/src/ |
D | string_ex.cpp | 138 for (const auto& c : str) { in IsNumericStr() local 139 if (!isdigit(c)) { in IsNumericStr() 153 for (const auto& c : str) { in IsAlphaStr() local 154 if (!isalpha(c)) { in IsAlphaStr() 168 for (const auto& c : str) { in IsUpperStr() local 169 if (!isupper(c)) { in IsUpperStr() 183 for (const auto& c : str) { in IsLowerStr() local 184 if (!islower(c)) { in IsLowerStr()
|
/commonlibrary/utils_lite/hals/file/ |
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 17 sources = [ "hal_file.c" ]
|
/commonlibrary/utils_lite/js/builtin/ |
D | CMakeLists.txt | 1 # Copyright (c) 2020 Huawei Device Co., Ltd. 51 ${PARAM_FRAMEWORKS_PATH}/parameter/src/parameter_common.c 52 ${PARAM_FRAMEWORKS_PATH}/parameter/src/param_impl_posix/param_impl_posix.c
|
/commonlibrary/utils_lite/kal/timer/ |
D | BUILD.gn | 1 # Copyright (c) 2020 Huawei Device Co., Ltd. 22 sources = [ "src/kal.c" ]
|
/commonlibrary/memory_utils/libdmabufheap/ |
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 21 sources = [ "src/dmabuf_alloc.c" ]
|
/commonlibrary/utils_lite/timer_task/ |
D | BUILD.gn | 1 # Copyright (c) 2020 Huawei Device Co., Ltd. 22 sources = [ "src/nativeapi_timer_task.c" ]
|
/commonlibrary/ets_utils/js_util_module/container/ |
D | BUILD.gn | 1 # Copyright (c) 2021 Huawei Device Co., Ltd. 61 "-std=c++17", 75 js_container_obj_path = base_output_path + name + ".c" 98 arraylist_abc_obj_path = abc_output_path + "/" + name + "_abc.c"
|
/commonlibrary/utils_lite/js/builtin/filekit/ |
D | BUILD.gn | 2 # Copyright (c) 2020 Huawei Device Co., Ltd. 27 "src/nativeapi_fs_impl.c",
|
/commonlibrary/utils_lite/js/builtin/kvstorekit/ |
D | BUILD.gn | 2 # Copyright (c) 2020 Huawei Device Co., Ltd. 27 "src/nativeapi_kv_impl.c",
|
/commonlibrary/memory_utils/ |
D | README_ZH.md | 46 | │ ├── c # purgeable类型内存分配的c接口目录
|
/commonlibrary/utils_lite/file/ |
D | BUILD.gn | 1 # Copyright (c) 2020 Huawei Device Co., Ltd. 17 sources = [ "src/file_impl_hal/file.c" ]
|
/commonlibrary/utils_lite/js/builtin/simulator/ |
D | BUILD.gn | 2 # Copyright (c) 2020 Huawei Device Co., Ltd. 73 "//commonlibrary/utils_lite/js/builtin/filekit/src/nativeapi_fs_impl.c", 92 "//commonlibrary/utils_lite/js/builtin/kvstorekit/src/nativeapi_kv_impl.c",
|
/commonlibrary/ets_utils/js_api_module/uri/ |
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 56 uri_obj_path = abc_output_path + "/uri.c" 67 uri_obj_path = abc_output_path + "/uri_abc.c"
|
/commonlibrary/ets_utils/js_api_module/url/ |
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 56 url_obj_path = abc_output_path + "/url.c" 67 url_obj_path = abc_output_path + "/url_abc.c"
|
/commonlibrary/ets_utils/js_api_module/convertxml/ |
D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 44 js_xml_obj_path = base_output_path + "/convertxml.c" 67 convertxml_abc_obj_path = abc_output_path + "/convertxml_abc.c"
|
/commonlibrary/ets_utils/js_util_module/util/ |
D | BUILD.gn | 1 # Copyright (c) 2021 Huawei Device Co., Ltd. 56 util_obj_path = abc_output_path + "/util.c" 67 util_obj_path = abc_output_path + "/util_abc.c"
|
/commonlibrary/rust/ylong_http/ylong_http/src/response/ |
D | status.rs | 89 let c = bytes[2].wrapping_sub(b'0') as u16; in from_bytes() localVariable 91 if a == 0 || a > 9 || b > 9 || c > 9 { in from_bytes() 96 Ok(StatusCode((a * 100) + (b * 10) + c)) in from_bytes()
|