/ohos5.0/base/startup/init/services/etc/ |
H A D | group | 1 root:x:0: 2 bin:x:2: 3 system:x:1000: 4 radio:x:1001: 9 log:x:1007: 11 dfs:x:1009: 12 wifi:x:1010: 16 vpn:x:1016: 18 usb:x:1018: 19 drm:x:1019: [all …]
|
H A D | passwd | 1 root:x:0:0:::/bin/false 2 bin:x:2:2:::/bin/false 3 system:x:1000:1000:::/bin/false 4 radio:x:1001:1001:::/bin/false 9 log:x:1007:1007:::/bin/false 11 dfs:x:1009:1009:::/bin/false 12 wifi:x:1010:1010:::/bin/false 15 vpn:x:1016:1016:::/bin/false 17 usb:x:1018:1018:::/bin/false 18 drm:x:1019:1019:::/bin/false [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/ |
H A D | hci_def_feature.h | 29 #define HCI_SUPPORT_ROLE_SWITCH(x) !!GET_FEATURE_FLAG(x, 0, 5) argument 30 #define HCI_SUPPORT_HOLD_MODE(x) !!GET_FEATURE_FLAG(x, 0, 6) argument 31 #define HCI_SUPPORT_SNIFF_MODE(x) !!GET_FEATURE_FLAG(x, 0, 7) argument 32 #define HCI_SUPPORT_SCO(x) !!GET_FEATURE_FLAG(x, 1, 3) argument 33 #define HCI_SUPPORT_HV2_PACKET(x) !!GET_FEATURE_FLAG(x, 1, 4) argument 34 #define HCI_SUPPORT_HV3_PACKET(x) !!GET_FEATURE_FLAG(x, 1, 5) argument 38 #define HCI_SUPPORT_ESCO_EV3(x) !!GET_FEATURE_FLAG(x, 3, 7) argument 39 #define HCI_SUPPORT_ESCO_EV4(x) !!GET_FEATURE_FLAG(x, 4, 0) argument 40 #define HCI_SUPPORT_ESCO_EV5(x) !!GET_FEATURE_FLAG(x, 4, 1) argument 41 #define HCI_SUPPORT_BREDR(x) !GET_FEATURE_FLAG(x, 4, 5) argument [all …]
|
H A D | hci_def_le_feature.h | 27 #define HCI_SUPPORT_CONNECTION_PARAMETERS_REQUEST_PROCEDURE(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 1) argument 28 #define HCI_SUPPORT_LE_PING(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 4) argument 29 #define HCI_SUPPORT_LE_DATA_PACKET_LENGTH_EXTENSION(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 5) argument 30 #define HCI_SUPPORT_LL_PRIVACY(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 6) argument 31 #define HCI_SUPPORT_LE_2M_PHY(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 8) argument 32 #define HCI_SUPPORT_LE_CODED_PHY(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 11) argument 33 #define HCI_SUPPORT_LE_EXTENDED_ADVERTISING(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 12) argument 34 #define HCI_SUPPORT_LE_PERIODIC_ADVERTISING(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 13) argument 35 #define HCI_SUPPURT_CHANNEL_SELECTION_ALGORITHM_2(x) !!GET_LINK_LAYER_FEATURE_FLAG(x, 14) argument
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/ |
H A D | bt_endian.h | 20 #define H2BE_16(x) (x) argument 21 #define H2LE_16(x) (x) argument 22 #define BE2H_16(x) (x) argument 23 #define LE2H_16(x) (x) argument 25 #define H2BE_32(x) (x) argument 26 #define H2LE_32(x) (x) argument 27 #define BE2H_32(x) (x) argument 28 #define LE2H_32(x) (x) argument 30 #define H2BE_64(x) (x) argument 31 #define H2LE_64(x) (x) argument [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | fillp_os.h | 35 …((((x)&0x000000ff) << 24) | (((x)&0x0000ff00) << 8) | (((x)&0x00ff0000) >> 8) | (((x)&0xff000000) … 45 #define FILLP_HTONL(x) FILLP_NTOHL(x) argument 46 #define FILLP_HTONS(x) FILLP_NTOHS(x) argument 47 #define FILLP_HTONLL(x) FILLP_NTOHLL(x) argument 50 #define FILLP_NTOHL(x) (x) 51 #define FILLP_NTOHS(x) (x) 52 #define FILLP_HTONL(x) (x) 53 #define FILLP_HTONS(x) (x) 54 #define FILLP_HTONLL(x) (x) 55 #define FILLP_NTOHLL(x) (x) [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | matrix_util.h | 37 result.x.x = m.x.x; in BASE_BEGIN_NAMESPACE() 57 result.x.x = m.x.x; in BASE_BEGIN_NAMESPACE() 84 result.x = { mat.x.x * vec.x, mat.x.y * vec.y, mat.x.z }; in BASE_BEGIN_NAMESPACE() 94 result.x = { mat.x.x * vec.x, mat.x.y * vec.y, mat.x.z * vec.z, mat.x.w }; in BASE_BEGIN_NAMESPACE() 190 return Vec4(mat.x.x, mat.y.x, mat.z.x, mat.w.x); in BASE_BEGIN_NAMESPACE() 239 result.x = { mat.x.x, mat.x.y, 0, mat.x.z }; in BASE_BEGIN_NAMESPACE() 304 res.x = mat.x.x * vec.x + mat.y.x * vec.y + mat.z.x * vec.z; in BASE_BEGIN_NAMESPACE() 314 result.x = mat4X4.x.x * point.x + mat4X4.y.x * point.y + mat4X4.w.x; in BASE_BEGIN_NAMESPACE() 332 result.x = mat3X3.x.x * point.x + mat3X3.y.x * point.y + mat3X3.z.x; in BASE_BEGIN_NAMESPACE() 412 const Vec4 vec0(m.y.x, m.x.x, m.x.x, m.x.x); in BASE_BEGIN_NAMESPACE() [all …]
|
H A D | vector.h | 73 x += rhs.x; in BASE_BEGIN_NAMESPACE() 92 x -= rhs.x; in BASE_BEGIN_NAMESPACE() 105 x *= rhs.x; in BASE_BEGIN_NAMESPACE() 118 x /= rhs.x; in BASE_BEGIN_NAMESPACE() 899 x += rhs.x; in BASE_BEGIN_NAMESPACE() 919 x -= rhs.x; in BASE_BEGIN_NAMESPACE() 933 x *= rhs.x; in BASE_BEGIN_NAMESPACE() 947 x /= rhs.x; in BASE_BEGIN_NAMESPACE() 1023 x += rhs.x; in BASE_BEGIN_NAMESPACE() 1044 x -= rhs.x; in BASE_BEGIN_NAMESPACE() [all …]
|
H A D | vector_util.h | 32 return (lhs.x * rhs.x) + (lhs.y * rhs.y); in BASE_BEGIN_NAMESPACE() 38 return lhs.x * rhs.y - lhs.y * rhs.x; in BASE_BEGIN_NAMESPACE() 45 return Vec2(v1.x + (v2.x - v1.x) * t, v1.y + (v2.y - v1.y) * t); in BASE_BEGIN_NAMESPACE() 51 return vec.x * vec.x + vec.y * vec.y; in BASE_BEGIN_NAMESPACE() 57 return Math::sqrt(vec.x * vec.x + vec.y * vec.y); in BASE_BEGIN_NAMESPACE() 69 return Vec2(min(lhs.x, rhs.x), min(lhs.y, rhs.y)); in BASE_BEGIN_NAMESPACE() 75 return Vec2(max(lhs.x, rhs.x), max(lhs.y, rhs.y)); in BASE_BEGIN_NAMESPACE() 151 return (lhs.x * rhs.x) + (lhs.y * rhs.y) + (lhs.z * rhs.z); in BASE_BEGIN_NAMESPACE() 157 …urn Vec3(lhs.y * rhs.z - lhs.z * rhs.y, lhs.z * rhs.x - lhs.x * rhs.z, lhs.x * rhs.y - lhs.y * rhs… in BASE_BEGIN_NAMESPACE() 164 return Vec3(v1.x + (v2.x - v1.x) * t, v1.y + (v2.y - v1.y) * t, v1.z + (v2.z - v1.z) * t); in BASE_BEGIN_NAMESPACE() [all …]
|
H A D | quaternion_util.h | 35 const float roll = euler.x; in BASE_BEGIN_NAMESPACE() 52 return quat.x * quat.x + quat.y * quat.y + quat.z * quat.z + quat.w * quat.w; in BASE_BEGIN_NAMESPACE() 64 return q1.x * q2.x + q1.y * q2.y + q1.z * q2.z + q1.w * q2.w; in BASE_BEGIN_NAMESPACE() 107 const float m10 = up.x; in BASE_BEGIN_NAMESPACE() 127 x = std::copysign(x, m12 - m21); in BASE_BEGIN_NAMESPACE() 131 return { x, y, z, w }; in BASE_BEGIN_NAMESPACE() 149 angles.x = NormalizeAngle(angles.x); in BASE_BEGIN_NAMESPACE() 160 const float cosrCosp = +1.0f - 2.0f * (q.x * q.x + q.y * q.y); in BASE_BEGIN_NAMESPACE() 225 return Quat(q.x + p.x, q.y + p.y, q.z + p.z, q.w + p.w); in BASE_BEGIN_NAMESPACE() 234 z.x = -z.x; in BASE_BEGIN_NAMESPACE() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | rb_tree.c | 38 if (x == x->rbParent->rbLeft) { in FillpRbRotateLeft() 69 if (x == x->rbParent->rbRight) { in FillpRbRotateRight() 85 if (x == x->rbParent->rbRight) { in EqualRight() 87 x = x->rbParent; in EqualRight() 95 if (x == x->rbParent->rbLeft) { in EqualLeft() 96 x = x->rbParent; in EqualLeft() 117 x = x->rbParent->rbParent; in FillpRbInsertColor() 120 x = EqualRight(x, root); in FillpRbInsertColor() 135 x = x->rbParent->rbParent; in FillpRbInsertColor() 138 x = EqualLeft(x, root); in FillpRbInsertColor() [all …]
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | rbtree.c | 102 } else if (x == x->p->left) { in LeftRotate() 121 } else if (x == x->p->right) { in RightRotate() 209 x = x->left; in RbTreeInsert() 211 x = x->right; in RbTreeInsert() 250 x = x->left; in Minimum() 268 x = x->p; in DeleteFixUpBlack() 300 x = x->p; in DeleteFixUpRed() 321 if (x == x->p->left) { in DeleteFixUp() 403 handler(KEY(x), x->value, context); in TraverseInOrder() 413 handler(KEY(x), x->value, context); in TraversePreOrder() [all …]
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-appendix-rk3568.md | 23 | Display| - 1 x HDMI 2.0 (Type-A) port, supporting 4K/60 fps output<br>- 2 x MIPI, supporting 1920… 24 | Audio| - 1 x 8ch I2S/TDM/PDM<br>- 1 x HDMI<br>- 1 x speaker output<br>- 1 x headset output<br>- 1… 28 | USB | - 2 x USB 2.0 Host, Type-A<br>- 1 x USB 3.0 Host, Type-A<br>- 1 x USB3.0 OTG | 31 | SDMMC | 1 x memory card 3.0 | 32 | Keys| - 1 x Vol+/Recovery<br>- 1 x Reset<br>- 1 x Power<br>- 1 x Vol-<br>- 1 x Mute | 34 | RTC | 1 x RTC | 35 | IR | 1 x IR | 36 | Tri-color indicator| 3 x LED | 37 | G-sensor | 1 x G-sensor | 38 | Fan| 1 x fan| [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_util.h | 26 #define PP_HTON64(x) ((((x) & (uint64_t)0x00000000000000ffULL) << 56) | \ argument 27 (((x) & (uint64_t)0xff00000000000000ULL) >> 56) | \ 33 (((x) & (uint64_t)0x000000ff00000000ULL) >> 8)) 35 #define htobe64(x) (x) argument 36 #define htole64(x) PP_HTON64(x) argument 37 #define be64toh(x) (x) argument 38 #define le64toh(x) PP_HTON64(x) argument 40 #define htobe64(x) PP_HTON64(x) 41 #define htole64(x) (x) 42 #define be64toh(x) PP_HTON64(x) [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_tonemap_common.h | 25 vec3 TonemapAces(vec3 x) in TonemapAces() argument 32 return (x * (a * x + b)) / (x * (c * x + d) + e); in TonemapAces() 39 vec3 TonemapAcesFilmRec2020(vec3 x) in TonemapAcesFilmRec2020() argument 46 return (x * (a * x + b)) / (x * (c * x + d) + e); in TonemapAcesFilmRec2020() 53 float TonemapFilmic(float x) in TonemapFilmic() argument 61 return ((x * (a * x + c * b) + d * e) / (x * (a * x + b) + d * f)) - e / f; in TonemapFilmic() 63 vec3 TonemapFilmic(vec3 x) in TonemapFilmic() argument 72 const vec3 curr = ((x * (a * x + c * b) + d * e) / (x * (a * x + b) + d * f)) - e / f; in TonemapFilmic()
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | relative-position.md | 11 组件.position({x,y}) 14 开发者可以通过position属性来固定组件的位置。以父组件的左上角为坐标原点,添加了position属性的子组件左上角固定在参数x、y指定的坐标点。x,y均延坐标箭头方向递增。 16 参考坐标图如下(以x>0,y>0为例): 25 Text('.postion({x:30,y:20})') 39 组件.markAnchor({x,y}) 45 添加了markAnchor属性的组件的左上角固定在参数x、y指定的坐标点,与position属性不同的是,x轴和y轴的递增方向相反。 67 - 当跟position属性一起使用时,此时会先以父组件的左上角为原点移动到position参数x,y指定的坐标点,然后以position中x,y的值为坐标原点,再将组件按照markAnchor中x… 71 其坐标图如下(以x>0,y>0为例): 80 Text('.markAnchor({x:25,y:25}) .position({x:50,y:50})') 95 组件.offset({x,y}) [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | par_iter.rs | 30 .map(|x| *x + 1) in sdv_par_iter_test() 31 .filter(|x| *x < 5) in sdv_par_iter_test() 33 .map(|x| x.0 * (*x.1)) in sdv_par_iter_test() 46 .map(|x| (*x.0, *x.1)) in sdv_par_iter_test() 48 let sum = m.into_par_iter().map(|x| x.0 * x.1).sum().await.unwrap(); in sdv_par_iter_test() 53 .map(|x| x + 1) in sdv_par_iter_test() 54 .filter(|x| *x < 5) in sdv_par_iter_test() 56 .map(|x| x.0 * x.1) in sdv_par_iter_test()
|
/ohos5.0/foundation/resourceschedule/ffrt/examples/ |
H A D | submit.cpp | 20 int x = 0; in ffrt_submit_example1() local 21 ffrt::submit([&]() { x = 2; }, {}, {&x}); in ffrt_submit_example1() 22 ffrt::submit([&]() { x = x * 3; }, {&x}, {}); in ffrt_submit_example1() 24 printf("hello ffrt. x=%d\n", x); in ffrt_submit_example1() 29 int x = 0; in ffrt_submit_example2() local 30 ffrt::submit([&]() { x = 2; }, {}, {&x}, ffrt::task_attr().name("add2")); in ffrt_submit_example2() 31 ffrt::submit([&]() { x = x * 3; }, {&x}, {}, in ffrt_submit_example2() 34 printf("hello ffrt. x=%d\n", x); in ffrt_submit_example2() 40 int x = 0; in ffrt_submit_example3() local 41 ffrt::task_handle h = ffrt::submit_h([&]() { x = 2; }, {}, {}); in ffrt_submit_example3() [all …]
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/scanline/ |
H A D | geometry_scanline.h | 49 int16_t x; member 85 void AddCell(int32_t x, uint32_t cover) in AddCell() argument 87 x -= minScaneLineXCoord_; in AddCell() 88 arrayCovers_[x] = (uint8_t)cover; in AddCell() 89 if (x == lastScaneLineXCoord_ + 1) { in AddCell() 93 curSpanBlock_->x = static_cast<int16_t>(x + minScaneLineXCoord_); in AddCell() 97 lastScaneLineXCoord_ = x; in AddCell() 107 x -= minScaneLineXCoord_; in AddCells() 116 curSpanBlock_->x = static_cast<int16_t>(x + minScaneLineXCoord_); in AddCells() 131 x -= minScaneLineXCoord_; in AddSpan() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/ |
H A D | image_codec_log.h | 40 #define LOGE(x, ...) \ argument 42 #define LOGW(x, ...) \ argument 44 #define LOGI(x, ...) \ argument 46 #define LOGD(x, ...) \ argument 53 #define HLOGW(x, ...) HILOG_WARN(LOG_CORE, HLOG_FMT x, compUniqueStr_.c_str(), \ argument 55 #define HLOGI(x, ...) HILOG_INFO(LOG_CORE, HLOG_FMT x, compUniqueStr_.c_str(), \ argument 57 #define HLOGD(x, ...) \ argument 66 #define SLOGE(x, ...) HILOG_ERROR(LOG_CORE, HLOG_FMT x, \ argument 68 #define SLOGW(x, ...) HILOG_WARN(LOG_CORE, HLOG_FMT x, \ argument 70 #define SLOGI(x, ...) HILOG_INFO(LOG_CORE, HLOG_FMT x, \ argument [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_triangle.cpp | 35 if ((p1.x == p2.x) && ((p1.y == p2.y) || (p1.x == p3.x))) { in Draw() 38 if ((p2.x == p3.x) && (p2.y == p3.y)) { in Draw() 41 if (((p1.x == p3.x) || (p1.y == p2.y)) && (p1.y == p3.y)) { in Draw() 59 area.SetLeft(MATH_MIN(edge1.curPoint.x, edge2.curPoint.x)); in Draw() 60 area.SetRight(MATH_MAX(edge1.curPoint.x, edge2.curPoint.x)); in Draw() 97 edge.curPoint.x += edge.uPoint.x; in StepToNextPointOnEdge() 105 edge.eps += edge.dPoint.x; in StepToNextPointOnEdge() 107 edge.curPoint.x += edge.uPoint.x; in StepToNextPointOnEdge() 117 edge.dPoint.x = startP.x - endP.x; in InitEdge() 119 edge.uPoint.x = (edge.dPoint.x < 0) ? 1 : -1; in InitEdge() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/ |
H A D | checked_cast.h | 91 T t = dynamic_cast<T>(x); 94 BAD_CHECKED_CAST(x, T); 98 return static_cast<T>(x); 105 T t = dynamic_cast<T>(x); 113 return static_cast<T>(x); 123 T t = dynamic_cast<T>(x); 130 return static_cast<T>(x); 137 T t = dynamic_cast<T>(x); 144 return static_cast<T>(x); 152 inline T checked_cast(X &x) [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/common/ |
H A D | bloom_common.h | 146 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ts.x, uv.y - ts.y), 0).xyz; in bloomDownscaleWeighted() 152 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x - ts.x, uv.y), 0).xyz; in bloomDownscaleWeighted() 162 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ts.x, uv.y), 0).xyz; in bloomDownscaleWeighted() 168 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x - ts.x, uv.y + ts.y), 0).xyz; in bloomDownscaleWeighted() 178 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ts.x, uv.y + ts.y), 0).xyz; in bloomDownscaleWeighted() 186 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x - ths.x, uv.y - ths.y), 0).xyz; in bloomDownscaleWeighted() 191 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ths.x, uv.y - ths.y), 0).xyz; in bloomDownscaleWeighted() 196 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x - ths.x, uv.y + ths.y), 0).xyz; in bloomDownscaleWeighted() 201 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ths.x, uv.y + ths.y), 0).xyz; in bloomDownscaleWeighted() 233 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ths.x, uv.y - ths.y), 0).xyz; in bloomDownscaleWeighted() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_bitmap.h | 30 #define SOFTBUS_BITGET(x, bit) ((x) & (DATA_ONE(x) << (bit))) argument 31 #define SOFTBUS_BITSHIFT (x, bit) (((x) >> (bit)) & 1) 32 #define SOFTBUS_BITSGET(x, high, low) ((x) & (((DATA_ONE(x) << ((high) + 1)) - 1) & ~((DATA_ONE(x) … argument 33 #define SOFTBUS_BITSSHIFT(x, high, low) (((x) >> (low)) & ((DATA_ONE(x) << ((high) - (low) + 1)) - … argument 34 #define SOFTBUS_BITISSET (x, bit) (((x) & (DATA_ONE(x) << (bit))) ? 1 : 0)
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_path_storage.h | 49 float x; variable 52 AddVertex(x, y, cmd); 111 coordPtr[0] = float(x); in AddVertex() 166 *x = pv[0]; in GenerateVertex() 308 float x, float y) in ArcTo() argument 319 LineTo(x, y); in ArcTo() 330 LineTo(x, y); in ArcTo() 333 LineTo(x, y); in ArcTo() 336 MoveTo(x, y); in ArcTo() 425 float x; variable [all …]
|