/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | native_xcomponent.cpp | 38 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceCreatedCB() local 40 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB() 46 std::string id(idStr); in OnSurfaceCreatedCB() 67 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceChangedCB() local 69 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceChangedCB() 75 std::string id(idStr); in OnSurfaceChangedCB() 91 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceDestroyedCB() local 93 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB() 99 std::string id(idStr); in OnSurfaceDestroyedCB() 112 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local 131 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchMouseEventCB() local 149 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchHoverEventCB() local 167 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnFocusEventCB() local 184 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnKeyEventCB() local 200 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnFrameEventCB() local 217 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; UnOnFrameEventCB() local 301 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; NapiDrawPattern() local 333 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; OnSurfaceChanged() local 357 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; OnTouchEvent() local [all...] |
H A D | plugin_render.cpp | 55 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceCreatedCB() local 57 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceCreatedCB() 62 std::string id(idStr); in OnSurfaceCreatedCB() 72 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceChangedCB() local 74 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceChangedCB() 79 std::string id(idStr); in OnSurfaceChangedCB() 87 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceDestroyedCB() local 89 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceDestroyedCB() 94 std::string id(idStr); in OnSurfaceDestroyedCB() 103 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local 118 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchMouseEventCB() local 707 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; NapiChangeShape() local 744 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; NapiDrawTriangle() local 781 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; NapiChangeColor() local 817 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; TestGetXComponentId() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | my_xcomponent.cpp | 72 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceCreatedCB() local 74 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB() 78 std::string id(idStr); in OnSurfaceCreatedCB() 103 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceDestroyedCB() local 105 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB() 109 std::string id(idStr); in OnSurfaceDestroyedCB() 389 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in NapiSetTestCount() local 391 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in NapiSetTestCount() 395 DRAWING_LOGI("ID = %{public}s", idStr); in NapiSetTestCount() 396 std::string id(idStr); in NapiSetTestCount() 439 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiGetTime() local 500 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiGetTestNames() local 554 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiFunctionCpu() local 606 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiStabilityCpu() local 658 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiFunctionGpu() local 712 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiPerformanceCpu() local 764 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiPerformanceGpu() local [all...] |
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/render/ |
H A D | plugin_render.cpp | 38 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' };
in OnSurfaceCreatedCB() local 40 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceCreatedCB() 46 std::string id(idStr);
in OnSurfaceCreatedCB() 65 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' };
in OnSurfaceDestroyedCB() local 67 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceDestroyedCB() 73 std::string id(idStr);
in OnSurfaceDestroyedCB() 125 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'};
in NapiDrawRectangle() local 127 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in NapiDrawRectangle() 133 std::string id(idStr);
in NapiDrawRectangle()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/app_network_speed_limit/ |
H A D | speed_limit_configs_writer.cpp | 81 char idStr[MAX_ARRAY_LENGTH]; in SetUidPids() local 87 ret = snprintf_s(tempStr, sizeof(tempStr), MAX_ARRAY_LENGTH - 1, "%s;%d", idStr, idArray[i]); in SetUidPids() 94 if (strcpy_s(idStr, sizeof(idStr), tempStr) != 0) { in SetUidPids() 99 int len = strlen(idStr); in SetUidPids() 110 if (write(fd, idStr, len) != len) { in SetUidPids() 111 WIFI_LOGE("write idStr failed, errno = %{public}d.", errno); in SetUidPids()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | module.cpp | 73 string idStr; in Export() local 75 bool succ = Util::GetContextInfo(env, exports, idStr, vec); in Export() 88 static_cast<WebGL2RenderingContext *>(ObjectManager::GetInstance().GetWebGLContext(true, idStr)); in Export() 94 ObjectManager::GetInstance().AddWebGLObject(true, idStr, webGl2RenderingContext); in Export() 101 static_cast<WebGLRenderingContext *>(ObjectManager::GetInstance().GetWebGLContext(false, idStr)); in Export() 107 ObjectManager::GetInstance().AddWebGLObject(false, idStr, webGlRenderingContext); in Export()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/samples/ |
H A D | sample_bitmap.cpp | 213 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'};
in NapiDrawPattern() local 215 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in NapiDrawPattern() 218 DRAWING_LOGI("ID = %{public}s", idStr);
in NapiDrawPattern() 219 std::string id(idStr);
in NapiDrawPattern() 297 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'};
in OnSurfaceCreatedCB() local 299 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceCreatedCB() 302 std::string id(idStr);
in OnSurfaceCreatedCB() 326 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'};
in OnSurfaceDestroyedCB() local 328 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceDestroyedCB() 331 std::string id(idStr);
in OnSurfaceDestroyedCB() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/ |
H A D | native_texture.cpp | 56 void NativeTexture::Create(const std::function<void(int64_t)>& onCreate, const std::string& idStr) in Create() argument 66 platformTaskExecutor.PostTask([weak = WeakClaim(this), onCreate, idStr] { in Create() 69 texture->CreateTexture(onCreate, idStr); in Create() 74 void NativeTexture::CreateTexture(const std::function<void(int64_t)>& onCreate, const std::string& idStr) in CreateTexture() argument 84 XCOMPONENT_PARAM_AND << "id" << XCOMPONENT_PARAM_EQUALS << idStr; in CreateTexture() local
|
H A D | native_texture.h | 32 void Create(const std::function<void(int64_t)>& onCreate, const std::string& idStr); 33 void CreateTexture(const std::function<void(int64_t)>& onCreate, const std::string& idStr);
|
/third_party/icu/icu4c/source/i18n/ |
H A D | region.cpp | 176 r->idStr = *regionName; in loadRegionData() 178 r->idStr.extract(0,r->idStr.length(),r->id,sizeof(r->id),US_INV); in loadRegionData() 182 int32_t result = ICU_Utility::parseAsciiInteger(r->idStr, pos); in loadRegionData() 190 void* idStrAlias = (void*)&(r->idStr); // about to orphan 'r'. Save this off. in loadRegionData() 248 aliasFromRegion->idStr.setTo(*aliasFromStr); in loadRegionData() 249 aliasFromRegion->idStr.extract(0,aliasFromRegion->idStr.length(),aliasFromRegion->id,sizeof(aliasFromRegion->id),US_INV); in loadRegionData() 250 uhash_put(newRegionIDMap.getAlias(),(void *)&(aliasFromRegion->idStr),(void *)aliasFromRegion,&status); in loadRegionData() 252 int32_t result = ICU_Utility::parseAsciiInteger(aliasFromRegion->idStr, po in loadRegionData() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | region.cpp | 176 r->idStr = *regionName; in loadRegionData() 178 r->idStr.extract(0,r->idStr.length(),r->id,sizeof(r->id),US_INV); in loadRegionData() 182 int32_t result = ICU_Utility::parseAsciiInteger(r->idStr, pos); in loadRegionData() 190 void* idStrAlias = (void*)&(r->idStr); // about to orphan 'r'. Save this off. in loadRegionData() 248 aliasFromRegion->idStr.setTo(*aliasFromStr); in loadRegionData() 249 aliasFromRegion->idStr.extract(0,aliasFromRegion->idStr.length(),aliasFromRegion->id,sizeof(aliasFromRegion->id),US_INV); in loadRegionData() 250 uhash_put(newRegionIDMap.getAlias(),(void *)&(aliasFromRegion->idStr),(void *)aliasFromRegion,&status); in loadRegionData() 252 int32_t result = ICU_Utility::parseAsciiInteger(aliasFromRegion->idStr, po in loadRegionData() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | region.cpp | 188 r->idStr = *regionName; in loadRegionData() 190 r->idStr.extract(0,r->idStr.length(),r->id,sizeof(r->id),US_INV); in loadRegionData() 194 int32_t result = ICU_Utility::parseAsciiInteger(r->idStr, pos); in loadRegionData() 202 void* idStrAlias = (void*)&(r->idStr); // about to orphan 'r'. Save this off. in loadRegionData() 227 aliasFromRegion->idStr.setTo(*aliasFromStr); in loadRegionData() 228 aliasFromRegion->idStr.extract(0,aliasFromRegion->idStr.length(),aliasFromRegion->id,sizeof(aliasFromRegion->id),US_INV); in loadRegionData() 229 uhash_put(newRegionIDMap.getAlias(),(void *)&(aliasFromRegion->idStr),(void *)aliasFromRegion,&status); in loadRegionData() 231 int32_t result = ICU_Utility::parseAsciiInteger(aliasFromRegion->idStr, po in loadRegionData() [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/samples/ |
H A D | sample_bitmap.cpp | 35 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceCreatedCB() local 37 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB() 41 std::string id(idStr); in OnSurfaceCreatedCB() 63 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceDestroyedCB() local 65 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB() 69 std::string id(idStr); in OnSurfaceDestroyedCB() 407 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in NapiDrawPattern() local 409 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in NapiDrawPattern() 413 DRAWING_LOGI("ID = %{public}s", idStr); in NapiDrawPattern() 414 std::string id(idStr); in NapiDrawPattern() 455 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiDrawText() local [all...] |
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | js_environment.cpp | 376 std::string idStr = option.substr(pos + 1);
in ParseHdcRegisterOption() local 377 pos = idStr.find(DEBUGGER);
in ParseHdcRegisterOption() 381 idStr = idStr.substr(0, pos);
in ParseHdcRegisterOption() 382 pos = idStr.find("@");
in ParseHdcRegisterOption() 384 idStr = idStr.substr(pos + 1);
in ParseHdcRegisterOption() 386 return std::atoi(idStr.c_str());
in ParseHdcRegisterOption()
|
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | udmf_utils.cpp | 57 std::stringstream idStr; in GenerateId() local 61 idStr << static_cast<uint8_t>(asc); in GenerateId() 63 return idStr.str(); in GenerateId()
|
/foundation/distributeddatamgr/udmf/adapter/framework/common/ |
H A D | udmf_utils.cpp | 55 std::stringstream idStr; in GenerateId() local 59 idStr << static_cast<uint8_t>(asc); in GenerateId() 61 return idStr.str(); in GenerateId()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | ark_js_runtime.cpp | 133 std::string idStr = option.substr(pos + 1); in ParseHdcRegisterOption() local 134 if (idStr.find(DEBUGGER) == std::string::npos) { in ParseHdcRegisterOption() 137 pos = idStr.find(DEBUGGER); in ParseHdcRegisterOption() 138 idStr = idStr.substr(0, pos); in ParseHdcRegisterOption() 139 if (idStr.find("@") != std::string::npos) { in ParseHdcRegisterOption() 140 pos = idStr.find("@"); in ParseHdcRegisterOption() 141 idStr = idStr.substr(pos + 1); in ParseHdcRegisterOption() 143 return static_cast<uint32_t>(std::atol(idStr in ParseHdcRegisterOption() [all...] |
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/manager/ |
H A D | plugin_manager.cpp | 66 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in Export() local 68 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export() 74 std::string id(idStr); in Export()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/plugin/ |
H A D | plugin_manager.cpp | 68 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in Export() local 70 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export() 75 std::string id(idStr); in Export()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/plugin/ |
H A D | plugin_manager.cpp | 66 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in Export() local 68 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export() 73 std::string id(idStr); in Export()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/plugin/ |
H A D | plugin_manager.cpp | 88 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'};
in Export() local 90 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in Export() 94 std::string id(idStr);
in Export()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/manager/ |
H A D | plugin_manager.cpp | 100 char idStr[OH_XCOMPONENT_ID_LEN_MAX + PARAM_1] = {'\0'}; in Export() local 102 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export() 108 std::string id(idStr); in Export()
|
/test/xts/acts/arkui/ace_c_arkui_test_api13/entry/src/main/cpp/manager/ |
H A D | plugin_manager.cpp | 100 char idStr[OH_XCOMPONENT_ID_LEN_MAX + PARAM_1] = {'\0'}; in Export() local 102 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export() 108 std::string id(idStr); in Export()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_relative_container_modifier.cpp | 30 std::string idStr(values[i].id); in SetGuideLine() 31 info.id = idStr; in SetGuideLine() 58 std::string idStr(values[i].id); in SetBarrier() 59 info.id = idStr; in SetBarrier()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/src/ |
H A D | media_library_tab_old_photos_client.cpp | 105 std::string idStr = uri.substr(lastSlashPos + 1); in BuildPredicates() local 106 predicates.Or()->EqualTo(TabOldPhotosColumn::MEDIA_OLD_ID, idStr); in BuildPredicates() 162 std::string idStr = uri.substr(lastSlashPos + 1); in Parse() local 163 if (!(!idStr.empty() && std::all_of(idStr.begin(), idStr.end(), ::isdigit))) { in Parse() 168 obj.oldFileId = std::stoi(idStr); in Parse()
|