/base/startup/init_lite/services/etc/ |
D | group | 1 root:x:0: 2 bin:x:2: 3 system:x:1000: 4 radio:x:1001: 5 bluetooth:x:1002: 6 graphics:x:1003: 7 samgr:x:1005: 8 file_manager:x:1006: 9 log:x:1007: 10 user_data_rw:x:1008: [all …]
|
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 5 bluetooth:x:1002:1002:::/bin/false 6 graphics:x:1003:1003:::/bin/false 7 samgr:x:1005:1005:::/bin/false 8 file_manager:x:1006:1006:::/bin/false 9 log:x:1007:1007:::/bin/false 10 user_data_rw:x:1008:1008:::/bin/false [all …]
|
/base/security/access_token/services/tokensyncmanager/test/mock/src/ |
D | soft_bus_session_mock.cpp | 30 #define MIN_(x, y) ((x) < (y)) ? (x) : (y) argument 117 std::string x; in GetPeerSessionName() local 119 x = SoftBusManager::SESSION_NAME; in GetPeerSessionName() 121 x = "sessionid-" + std::to_string(sessionId); in GetPeerSessionName() 123 if (len < x.length()) { in GetPeerSessionName() 126 if (memcpy_s(sessionName, x.length(), x.c_str(), x.length()) != EOK) { in GetPeerSessionName() 129 sessionName[x.length()] = '\0'; in GetPeerSessionName() 141 std::string x = "deviceid-" + std::to_string(sessionId); in GetPeerDeviceId() local 142 if (len < x.length()) { in GetPeerDeviceId() 146 if (memcpy_s(devId, x.length(), x.c_str(), x.length()) != EOK) { in GetPeerDeviceId() [all …]
|
/base/startup/init_lite/services/loopevent/task/ |
D | le_task.h | 27 #define LoopMutexInit(x) argument 28 #define LoopMutexLock(x) argument 29 #define LoopMutexUnlock(x) argument 33 #define LoopMutexInit(x) pthread_mutex_init(x, NULL) argument 34 #define LoopMutexLock(x) pthread_mutex_lock(x) argument 35 #define LoopMutexUnlock(x) pthread_mutex_unlock(x) argument
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_bn.c | 31 static int32_t CheckBnExpModNx(const struct HksBlob *n, const struct HksBlob *x) in CheckBnExpModNx() argument 39 if (x->size < n->size) { in CheckBnExpModNx() 40 HKS_LOG_E("The param x's size is too samll! x size = 0x%X", x->size); in CheckBnExpModNx() 47 int32_t HksMbedtlsBnExpMod(struct HksBlob *x, const struct HksBlob *a, in HksMbedtlsBnExpMod() argument 50 int32_t ret = CheckBnExpModNx(n, x); in HksMbedtlsBnExpMod() 88 ret = mbedtls_mpi_write_binary(&bnX, x->data, x->size); in HksMbedtlsBnExpMod()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_bn.c | 55 static int32_t BnExpModExport(BIGNUM *bnX, struct HksBlob *x) in BnExpModExport() argument 58 if ((outLen < 0) || (x->size < (uint32_t)outLen)) { in BnExpModExport() 62 (void)memset_s(x->data, x->size, 0, x->size); in BnExpModExport() 82 uint32_t i = x->size - 1; in BnExpModExport() 85 x->data[i] = bnOutput[j]; in BnExpModExport() 93 int32_t HksOpensslBnExpMod(struct HksBlob *x, const struct HksBlob *a, in HksOpensslBnExpMod() argument 119 ret = BnExpModExport(bnParams.bnX, x); in HksOpensslBnExpMod()
|
/base/update/updater/services/ui/ |
D | animation_label.cpp | 196 for (int x = 0; x < copyWidth; x++) { in CopyPictureBuffer() local 197 unsigned int colorValue = rgb[x + y * attr.pictureWidth].r + in CopyPictureBuffer() 198 rgb[x + y * attr.pictureWidth].g + rgb[x + y * attr.pictureWidth].b; in CopyPictureBuffer() 200 pictureBuffer[x + y * viewWidth_].r = rgb[x + y * attr.pictureWidth].r; in CopyPictureBuffer() 201 pictureBuffer[x + y * viewWidth_].g = rgb[x + y * attr.pictureWidth].g; in CopyPictureBuffer() 202 pictureBuffer[x + y * viewWidth_].b = rgb[x + y * attr.pictureWidth].b; in CopyPictureBuffer() 203 pictureBuffer[x + y * viewWidth_].a = 0xff; in CopyPictureBuffer()
|
/base/security/deviceauth/services/frameworks/inc/ |
D | common_defs.h | 171 #define GOTO_IF_ERR(x) do { \ argument 172 int32_t res = x; \ 178 #define GOTO_ERR_AND_SET_RET(x, res) do { \ argument 179 res = x; \ 185 #define RETURN_IF_ERR(x) do { \ argument 186 int32_t res = x; \
|
/base/powermgr/battery_manager/charger/ui/src/ |
D | animation_label.cpp | 206 for (int x = 0; x < copyWidth; x++) { in CopyPictureBuffer() local 207 unsigned int colorValue = rgb[x + y * attr.pictureWidth].r + in CopyPictureBuffer() 208 rgb[x + y * attr.pictureWidth].g + rgb[x + y * attr.pictureWidth].b; in CopyPictureBuffer() 210 pictureBuffer[x + y * viewWidth_].r = rgb[x + y * attr.pictureWidth].r; in CopyPictureBuffer() 211 pictureBuffer[x + y * viewWidth_].g = rgb[x + y * attr.pictureWidth].g; in CopyPictureBuffer() 212 pictureBuffer[x + y * viewWidth_].b = rgb[x + y * attr.pictureWidth].b; in CopyPictureBuffer() 213 pictureBuffer[x + y * viewWidth_].a = 0xff; in CopyPictureBuffer()
|
D | view.cpp | 87 void View::DrawSubView(int x, int y, int w, int h, char* buf) in DrawSubView() argument 90 int minWidth = ((x + w) <= viewWidth_) ? w : (viewWidth_ - x); in DrawSubView() 92 …%{public}s, x = %{public}d, y = %{public}d, w = %{public}d, h = %{public}d", __func__, x, y, w, h); in DrawSubView() 96 …char* dst = shadowBuffer_ + (i + y) * viewWidth_ * sizeof(BRGA888Pixel) + x * sizeof(BRGA888Pixel); in DrawSubView()
|
/base/compileruntime/js_util_module/util/src/ |
D | util_js.ts | 897 public contains(x: Scope|ScopeType): boolean { 900 this.checkNull(x, 'value must not be null'); 901 if (x instanceof Scope) { 902 resLower= x._lowerLimit.compareTo(this._lowerLimit); 903 resUpper= this._upperLimit.compareTo(x._upperLimit); 905 resLower= x.compareTo(this._lowerLimit); 906 resUpper= this._upperLimit.compareTo(x); 925 public intersect(x: Scope, y?: Scope|ScopeType): Scope { 931 this.checkNull(x, 'lower limit must not be null'); 933 reLower = this._lowerLimit.compareTo(x); [all …]
|
/base/hiviewdfx/hilog/frameworks/native/ |
D | vsnprintf_s_p.cpp | 130 #define SECUREC_MALLOC(x) malloc((size_t)(x)) argument 134 #define SECUREC_FREE(x) free((void *)(x)) argument 138 #define SECUREC_MALLOC(x) (nullptr) argument 139 #define SECUREC_FREE(x) { printf("Malloc is not allowed, so free should not be possible to execut… argument 266 #define SECUREC_CHAR(x) x argument
|
/base/sensors/sensor/interfaces/plugin/test/unittest/ |
D | ExampleJsunit.test.js | 22 expect(typeof(data.x)).assertEqual("number"); 27 expect(typeof(data.x)).assertEqual("number"); 400 …console.info('SensorJsTest_020 success x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z + ',geoma… 402 expect(data.x).assertEqual(geomagneticComponent[0]) 432 …console.info('SensorJsTest_021 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z + ',geomagneticDi… 434 expect(data.x).assertEqual(geomagneticComponent[0]) 464 …console.info('SensorJsTest_022 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z + ',geomagneticDi… 466 expect(data.x).assertEqual(geomagneticComponent[0]) 496 …console.info('SensorJsTest_023 success x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z + ',geoma… 498 expect(data.x).assertEqual(geomagneticComponent[0]) [all …]
|
/base/accessibility/interfaces/kits/napi/src/ |
D | napi_accessibility_gesture_pos.cpp | 44 uint32_t x = 0, y = 0; in JSPosConstructor() local 45 ParseUint32(env, x, argv[PARAM0]); in JSPosConstructor() 47 HILOG_INFO("JSPosConstructor, x:%{public}d, y:%{public}d", x, y); in JSPosConstructor()
|
/base/startup/init_lite/services/init/include/ |
D | init.h | 35 #define UNUSED(x) (void)(x) argument
|
/base/hiviewdfx/hilog/frameworks/native/include/ |
D | hilog_common.h | 99 #define likely(x) __builtin_expect(!!(x), 1) argument 100 #define unlikely(x) __builtin_expect(!!(x), 0) argument
|
/base/startup/init_lite/services/param/watcher/include/ |
D | watcher_utils.h | 28 #define UNUSED(x) (void)(x) argument
|
/base/security/huks/interfaces/innerkits/huks_standard/test/unittest/src/ |
D | hks_test_api_performance.c | 213 int32_t HksBnExpModRun(struct HksBlob *x, const struct HksBlob *a, in HksBnExpModRun() argument 218 if (x != NULL) { in HksBnExpModRun() 219 oriXSize = x->size; in HksBnExpModRun() 223 if (x != NULL) { in HksBnExpModRun() 224 (void)memset_s(x->data, oriXSize, 0, oriXSize); in HksBnExpModRun() 225 x->size = oriXSize; in HksBnExpModRun() 227 ret = HksBnExpMod(x, a, e, n); in HksBnExpModRun()
|
D | hks_bn_exp_mod_test.cpp | 105 struct HksBlob *x = NULL; variable 109 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist, 132 ret = HksBnExpModRun(x, a, e, n, 1); 136 TestFreeBlob(&x);
|
/base/security/huks/test/unittest/src/common/ |
D | hks_test_api_performance.c | 215 int32_t HksBnExpModRun(struct HksBlob *x, const struct HksBlob *a, in HksBnExpModRun() argument 220 if (x != NULL) { in HksBnExpModRun() 221 oriXSize = x->size; in HksBnExpModRun() 225 if (x != NULL) { in HksBnExpModRun() 226 (void)memset_s(x->data, oriXSize, 0, oriXSize); in HksBnExpModRun() 227 x->size = oriXSize; in HksBnExpModRun() 229 ret = HksBnExpMod(x, a, e, n); in HksBnExpModRun()
|
/base/update/updater/services/diffpatch/diff/ |
D | blocks_diff.cpp | 27 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument 449 DataType x = suffixArrayTemp[suffixArray_[k] + h]; in SplitForLess() local 451 if (suffixArrayTemp[suffixArray_[k + i] + h] < x) { in SplitForLess() 452 x = suffixArrayTemp[suffixArray_[k + i] + h]; in SplitForLess() 455 if (suffixArrayTemp[suffixArray_[k + i] + h] == x) { in SplitForLess() 477 DataType x = suffixArrayTemp[suffixArray_[start + len / MULTIPLE_TWO] + h]; in Split() local 481 jj = (suffixArrayTemp[suffixArray_[i] + h] < x) ? (jj + 1) : jj; in Split() 482 kk = (suffixArrayTemp[suffixArray_[i] + h] == x) ? (kk + 1) : kk; in Split() 490 if (suffixArrayTemp[suffixArray_[i] + h] < x) { in Split() 492 } else if (suffixArrayTemp[suffixArray_[i] + h] == x) { in Split() [all …]
|
/base/startup/init_lite/initsync/include/ |
D | init_stage.h | 50 #define QUICKSTART_STAGE(x) _IO(QUICKSTART_IOC_MAGIC, (x)) argument
|
/base/sensors/sensor/interfaces/native/src/ |
D | geomagnetic_field.cpp | 185 uint32_t x = index >> 1; in GetLongitudeTrigonometric() local 186 sinMLongitude[index] = (sinMLongitude[index - x] * cosMLongitude[x] in GetLongitudeTrigonometric() 187 + cosMLongitude[index - x] * sinMLongitude[x]); in GetLongitudeTrigonometric() 188 cosMLongitude[index] = (cosMLongitude[index - x] * cosMLongitude[x] in GetLongitudeTrigonometric() 189 - sinMLongitude[index - x] * sinMLongitude[x]); in GetLongitudeTrigonometric()
|
/base/security/huks/test/unittest/src/liteos_a_adapter/ |
D | hks_bn_exp_mod_test.cpp | 106 struct HksBlob *x = NULL; variable 110 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist, 133 ret = HksBnExpModRun(x, a, e, n, 1); 137 TestFreeBlob(&x);
|
/base/security/huks/test/unittest/src/liteos_m_adapter/ |
D | hks_bn_exp_mod_test.c | 108 struct HksBlob *x = NULL; in LITE_TEST_CASE() local 112 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist, in LITE_TEST_CASE() 135 ret = HksBnExpModRun(x, a, e, n, 1); in LITE_TEST_CASE() 139 TestFreeBlob(&x); in LITE_TEST_CASE()
|