Searched refs:np (Results 1 - 5 of 5) sorted by relevance
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/cpp/ |
H A D | sa_cpp_interface_code_emitter.cpp | 129 std::string np;
in EmitInterfaceUsings() local 136 np = GetNamespace(seqType->GetNamespace()->ToString());
in EmitInterfaceUsings() 137 if (np.empty()) {
in EmitInterfaceUsings() 140 fullName = CppFullName(np + seqType->GetName());
in EmitInterfaceUsings() 149 np = GetNamespace(interface->GetNamespace()->ToString());
in EmitInterfaceUsings() 150 if (np.empty()) {
in EmitInterfaceUsings() 153 fullName = CppFullName(np + interface->GetName());
in EmitInterfaceUsings()
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | LightJS.cpp | 109 BASE_NS::vector<napi_property_descriptor>& np, napi_callback ctor) in Init() 111 NodeImpl::GetPropertyDescs(np); in Init() 113 np.push_back(TROGetProperty<float, BaseLight, &BaseLight::GetlightType>("lightType")); in Init() 114 np.push_back(TROGetSetProperty<Object, BaseLight, &BaseLight::GetColor, &BaseLight::SetColor>("color")); in Init() 115 np.push_back(TROGetSetProperty<float, BaseLight, &BaseLight::GetIntensity, &BaseLight::SetIntensity>("intensity")); in Init() 116 np.push_back(TROGetSetProperty<bool, BaseLight, &BaseLight::GetShadowEnabled, &BaseLight::SetShadowEnabled>( in Init() 118 np.push_back(TROGetSetProperty<bool, BaseLight, &BaseLight::GetEnabled, &BaseLight::SetEnabled>("enabled")); in Init() 121 auto status = napi_define_class(env, class_name, NAPI_AUTO_LENGTH, ctor, nullptr, np.size(), np.data(), &func); in Init() 108 Init(const char* class_name, napi_env env, napi_value exports, BASE_NS::vector<napi_property_descriptor>& np, napi_callback ctor) Init() argument
|
/foundation/ability/idl_tool/codegen/ |
H A D | cpp_code_emitter.cpp | 174 String np = GetNamespace(String(mp->namespace_)); in EmitInterfaceUsings() local 175 if (np.IsEmpty()) { in EmitInterfaceUsings() 178 String fullName = CppFullName(np + mp->name_); in EmitInterfaceUsings() 186 String np = GetNamespace(String(mi->namespace_)); in EmitInterfaceUsings() local 187 if (np.IsEmpty()) { in EmitInterfaceUsings() 190 String fullName = CppFullName(np + mi->name_); in EmitInterfaceUsings()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_web_controller.cpp | 636 auto np = webSrc.find_first_of("/"); in LoadUrl() local 637 url = (np == std::string::npos) ? webSrc : webSrc.erase(np, 1); in LoadUrl()
|
H A D | js_web.cpp | 1192 auto np = resourceUrl.find_first_of("/"); in SetResponseData() local 1193 url = (np == std::string::npos) ? resourceUrl : resourceUrl.erase(np, 1); in SetResponseData() 2346 int np = static_cast<int>(webSrc.find_first_of("/")); in Create() local 2347 dstSrc = np < 0 ? webSrc : webSrc.erase(np, 1); in Create()
|
Completed in 16 milliseconds