Home
last modified time | relevance | path

Searched refs:val_ (Results 1 - 25 of 192) sorted by relevance

12345678

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_common.cpp32 return NVal::CreateInt64(env, WebGLRenderingContextBase::DEPTH_BUFFER_BIT).val_; in GetDepthBufferBit()
37 return NVal::CreateInt64(env, WebGLRenderingContextBase::STENCIL_BUFFER_BIT).val_; in GetStencilBufferBit()
42 return NVal::CreateInt64(env, WebGLRenderingContextBase::COLOR_BUFFER_BIT).val_; in GetColorBufferBit()
47 return NVal::CreateInt64(env, WebGLRenderingContextBase::POINTS).val_; in GetPoints()
52 return NVal::CreateInt64(env, WebGLRenderingContextBase::LINES).val_; in GetLines()
57 return NVal::CreateInt64(env, WebGLRenderingContextBase::LINE_LOOP).val_; in GetLineLoop()
62 return NVal::CreateInt64(env, WebGLRenderingContextBase::LINE_STRIP).val_; in GetLineStrip()
67 return NVal::CreateInt64(env, WebGLRenderingContextBase::TRIANGLES).val_; in GetTriangles()
72 return NVal::CreateInt64(env, WebGLRenderingContextBase::TRIANGLE_STRIP).val_; in GetTrianglesStrip()
77 return NVal::CreateInt64(env, WebGLRenderingContextBase::TRIANGLE_FAN).val_; in GetTrianglesStripFan()
[all...]
H A Dwebgl2_rendering_context_base.cpp52 return NVal::CreateNull(env).val_; in DrawBuffers()
56 return (context == nullptr) ? NVal::CreateNull(env).val_ : in DrawBuffers()
64 return NVal::CreateNull(env).val_; in ClearBufferfv()
71 return NVal::CreateNull(env).val_; in ClearBufferfv()
76 return NVal::CreateNull(env).val_; in ClearBufferfv()
82 return NVal::CreateNull(env).val_; in ClearBufferfv()
86 return (context == nullptr) ? NVal::CreateNull(env).val_ : in ClearBufferfv()
95 return NVal::CreateNull(env).val_; in ClearBufferiv()
102 return NVal::CreateNull(env).val_; in ClearBufferiv()
107 return NVal::CreateNull(env).val_; in ClearBufferiv()
[all...]
H A Dwebgl2_rendering_context.cpp33 return NVal::CreateInt64(env, WebGL2RenderingContextBase::READ_BUFFER).val_; in GetReadBuffer()
38 return NVal::CreateInt64(env, WebGL2RenderingContextBase::UNPACK_ROW_LENGTH).val_; in GetUnpackRowLength()
43 return NVal::CreateInt64(env, WebGL2RenderingContextBase::UNPACK_SKIP_ROWS).val_; in GetUnpackSkipRows()
48 return NVal::CreateInt64(env, WebGL2RenderingContextBase::UNPACK_SKIP_PIXELS).val_; in GetUnpackSkipPixels()
53 return NVal::CreateInt64(env, WebGL2RenderingContextBase::PACK_ROW_LENGTH).val_; in GetPackRowLength()
58 return NVal::CreateInt64(env, WebGL2RenderingContextBase::PACK_SKIP_ROWS).val_; in GetPackSkipRows()
63 return NVal::CreateInt64(env, WebGL2RenderingContextBase::PACK_SKIP_PIXELS).val_; in GetPackSkipPixels()
68 return NVal::CreateInt64(env, WebGL2RenderingContextBase::COLOR).val_; in GetColor()
73 return NVal::CreateInt64(env, WebGL2RenderingContextBase::DEPTH).val_; in GetDepth()
78 return NVal::CreateInt64(env, WebGL2RenderingContextBase::STENCIL).val_; in GetStencil()
[all...]
H A Dwebgl_rendering_context_base.cpp73 return NVal::CreateNull(env).val_; in GetContextAttributes()
77 return NVal::CreateNull(env).val_; in GetContextAttributes()
88 return NVal::CreateBool(env, res).val_; in IsContextLost()
94 return NVal::CreateNull(env).val_; in GetSupportedExtensions()
104 napi_set_element(env, result, i, NVal::CreateUTF8String(env, vec[i]).val_); in GetSupportedExtensions()
111 return NVal::CreateNull(env).val_; in LoseContext()
118 return NVal::CreateNull(env).val_; in GetExtension()
125 return NVal::CreateNull(env).val_; in GetExtension()
133 res.AddProp("COMPRESSED_RGB_S3TC_DXT1_EXT", NVal::CreateInt64(env, GL_COMPRESSED_RGB_S3TC_DXT1_EXT).val_); in GetExtension()
134 res.AddProp("COMPRESSED_RGBA_S3TC_DXT1_EXT", NVal::CreateInt64(env, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT).val_); in GetExtension()
[all...]
H A Dwebgl_rendering_context_overloads.cpp64 return NVal::CreateNull(env).val_; in BufferData()
68 return NVal::CreateNull(env).val_; in BufferData()
74 return NVal::CreateNull(env).val_; in BufferData()
79 return NVal::CreateNull(env).val_; in BufferData()
86 return NVal::CreateNull(env).val_; in BufferData()
98 return NVal::CreateNull(env).val_; in BufferData()
107 return NVal::CreateNull(env).val_; in BufferSubData()
112 return NVal::CreateNull(env).val_; in BufferSubData()
118 return NVal::CreateNull(env).val_; in BufferSubData()
123 return NVal::CreateNull(env).val_; in BufferSubData()
[all...]
H A Dwebgl2_rendering_context_impl.cpp61 napi_value objQuery = WebGLQuery::CreateObjectInstance(env, &webGlQuery).val_; in CreateQuery()
63 return NVal::CreateNull(env).val_; in CreateQuery()
79 return NVal::CreateNull(env).val_; in DeleteQuery()
93 return NVal::CreateNull(env).val_; in DeleteQuery()
101 return NVal::CreateBool(env, false).val_; in IsQuery()
108 return NVal::CreateBool(env, res).val_; in IsQuery()
116 return NVal::CreateNull(env).val_; in GetQuery()
121 return NVal::CreateNull(env).val_; in GetQuery()
137 return NVal::CreateNull(env).val_; in BeginQuery()
144 return NVal::CreateNull(env).val_; in BeginQuery()
[all...]
H A Dwebgl_rendering_context_base_impl.cpp80 return NVal::CreateNull(env).val_; in GetContextAttributes()
83 napi_value alpha = NVal::CreateBool(env, webGlContextAttributes->alpha_).val_; in GetContextAttributes()
84 napi_value antialias = NVal::CreateBool(env, webGlContextAttributes->antialias_).val_; in GetContextAttributes()
85 napi_value depth = NVal::CreateBool(env, webGlContextAttributes->depth_).val_; in GetContextAttributes()
87 NVal::CreateBool(env, webGlContextAttributes->failIfMajorPerformanceCaveat_).val_; in GetContextAttributes()
88 napi_value desynchronized = NVal::CreateBool(env, webGlContextAttributes->desynchronized_).val_; in GetContextAttributes()
89 napi_value premultipliedAlpha = NVal::CreateBool(env, webGlContextAttributes->premultipliedAlpha_).val_; in GetContextAttributes()
90 napi_value preserveDrawingBuffer = NVal::CreateBool(env, webGlContextAttributes->preserveDrawingBuffer_).val_; in GetContextAttributes()
91 napi_value stencil = NVal::CreateBool(env, webGlContextAttributes->stencil_).val_; in GetContextAttributes()
92 napi_value powerPreference = NVal::CreateUTF8String(env, webGlContextAttributes->powerPreference_).val_; in GetContextAttributes()
[all...]
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_sync_n_exporter.cpp36 NVal::CreateInt32(env, (int32_t)State::CLOUD_FILE_DOWNLOAD_RUNNING).val_), in InitState()
38 NVal::CreateInt32(env, (int32_t)State::CLOUD_FILE_DOWNLOAD_COMPLETED).val_), in InitState()
40 NVal::CreateInt32(env, (int32_t)State::CLOUD_FILE_DOWNLOAD_FAILED).val_), in InitState()
42 NVal::CreateInt32(env, (int32_t)State::CLOUD_FILE_DOWNLOAD_STOPPED).val_), in InitState()
82 DECLARE_NAPI_STATIC_PROPERTY("UPLOADING", NVal::CreateInt32(env, UPLOADING).val_), in InitCloudSyncState()
83 DECLARE_NAPI_STATIC_PROPERTY("UPLOAD_FAILED", NVal::CreateInt32(env, UPLOAD_FAILED).val_), in InitCloudSyncState()
84 DECLARE_NAPI_STATIC_PROPERTY("DOWNLOADING", NVal::CreateInt32(env, DOWNLOADING).val_), in InitCloudSyncState()
85 DECLARE_NAPI_STATIC_PROPERTY("DOWNLOAD_FAILED", NVal::CreateInt32(env, DOWNLOAD_FAILED).val_), in InitCloudSyncState()
86 DECLARE_NAPI_STATIC_PROPERTY("COMPLETED", NVal::CreateInt32(env, COMPLETED).val_), in InitCloudSyncState()
87 DECLARE_NAPI_STATIC_PROPERTY("STOPPED", NVal::CreateInt32(env, STOPPED).val_), in InitCloudSyncState()
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/
H A Dn_val.cpp29 NVal::NVal(napi_env nEnv, napi_value nVal = nullptr) : env_(nEnv), val_(nVal) {} in NVal()
33 return env_ && val_; in operator bool()
43 napi_typeof(env_, val_, &valueType); in TypeIs()
53 if (val_ == nullptr) { in IsNull()
57 napi_typeof(env_, val_, &valueType); in IsNull()
69 if (val_ == nullptr) { in IsUndefined()
73 napi_typeof(env_, val_, &valueType); in IsUndefined()
82 if (val_ == nullptr) { in IsBufferArray()
86 napi_is_dataview(env_, val_, &type); in IsBufferArray()
90 napi_is_arraybuffer(env_, val_, in IsBufferArray()
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_adpt_set_node.cpp29 adptSetAttr_[index].val_.assign(""); in DashAdptSetNode()
41 xmlParser->GetAttribute(rootElement, adptSetAttr_[index].attr_, adptSetAttr_[index].val_); in ParseNode()
50 if (adptSetAttr_[index].val_.length() > 0) { in GetAttr()
51 sAttrVal = adptSetAttr_[index].val_; in GetAttr()
64 if (adptSetAttr_[index].val_.length() > 0) { in GetAttr()
65 uiAttrVal = static_cast<uint32_t>(std::atoll(adptSetAttr_[index].val_.c_str())); in GetAttr()
78 if (adptSetAttr_[index].val_.length() > 0) { in GetAttr()
79 iAttrVal = static_cast<int32_t>(std::atoll(adptSetAttr_[index].val_.c_str())); in GetAttr()
92 if (adptSetAttr_[index].val_.length() > 0) { in GetAttr()
93 ullAttrVal = static_cast<uint64_t>(std::atoll(adptSetAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_content_comp_node.cpp27 contentCompAttr_[index].val_.assign(""); in DashContentCompNode()
37 xmlParser->GetAttribute(rootElement, contentCompAttr_[index].attr_, contentCompAttr_[index].val_); in ParseNode()
46 if (contentCompAttr_[index].val_.length() > 0) { in GetAttr()
47 sAttrVal = contentCompAttr_[index].val_; in GetAttr()
58 if (contentCompAttr_[index].val_.length() > 0) { in GetAttr()
59 uiAttrVal = static_cast<uint32_t>(std::atoll(contentCompAttr_[index].val_.c_str())); in GetAttr()
70 if (contentCompAttr_[index].val_.length() > 0) { in GetAttr()
71 iAttrVal = static_cast<int32_t>(std::atoll(contentCompAttr_[index].val_.c_str())); in GetAttr()
82 if (contentCompAttr_[index].val_.length() > 0) { in GetAttr()
83 ullAttrVal = static_cast<uint64_t>(std::atoll(contentCompAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_descriptor_node.cpp28 descriptorAttr_[index].val_.assign(""); in DashDescriptorNode()
38 xmlParser->GetAttribute(rootElement, descriptorAttr_[index].attr_, descriptorAttr_[index].val_); in ParseNode()
47 if (descriptorAttr_[index].val_.length() > 0) { in GetAttr()
48 sAttrVal = descriptorAttr_[index].val_; in GetAttr()
59 if (descriptorAttr_[index].val_.length() > 0) { in GetAttr()
60 uiAttrVal = static_cast<uint32_t>(std::atoll(descriptorAttr_[index].val_.c_str())); in GetAttr()
71 if (descriptorAttr_[index].val_.length() > 0) { in GetAttr()
72 iAttrVal = static_cast<int32_t>(std::atoll(descriptorAttr_[index].val_.c_str())); in GetAttr()
83 if (descriptorAttr_[index].val_.length() > 0) { in GetAttr()
84 ullAttrVal = static_cast<uint64_t>(std::atoll(descriptorAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_com_attrs_elements.cpp27 commonAttr_[index].val_.assign(""); in DashComAttrsElements()
37 xmlParser->GetAttribute(rootElement, commonAttr_[index].attr_, commonAttr_[index].val_); in ParseAttrs()
46 if (commonAttr_[index].val_.length() > 0) { in GetAttr()
47 sAttrVal = commonAttr_[index].val_; in GetAttr()
58 if (commonAttr_[index].val_.length() > 0) { in GetAttr()
59 uiAttrVal = static_cast<uint32_t>(std::atoll(commonAttr_[index].val_.c_str())); in GetAttr()
70 if (commonAttr_[index].val_.length() > 0) { in GetAttr()
71 iAttrVal = static_cast<int32_t>(std::atoll(commonAttr_[index].val_.c_str())); in GetAttr()
82 if (commonAttr_[index].val_.length() > 0) { in GetAttr()
83 ullAttrVal = static_cast<uint64_t>(std::atoll(commonAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_seg_template_node.cpp27 segTemplateAttr_[index].val_.assign(""); in DashSegTemplateNode()
46 xmlParser->GetAttribute(rootElement, segTemplateAttr_[index].attr_, segTemplateAttr_[index].val_)) { in ParseNode()
60 if (segTemplateAttr_[index].val_.length() > 0) { in GetAttr()
61 sAttrVal = segTemplateAttr_[index].val_; in GetAttr()
74 if (segTemplateAttr_[index].val_.length() > 0) { in GetAttr()
75 uiAttrVal = static_cast<uint32_t>(std::atoll(segTemplateAttr_[index].val_.c_str())); in GetAttr()
88 if (segTemplateAttr_[index].val_.length() > 0) { in GetAttr()
89 iAttrVal = static_cast<int32_t>(std::atoll(segTemplateAttr_[index].val_.c_str())); in GetAttr()
102 if (segTemplateAttr_[index].val_.length() > 0) { in GetAttr()
103 ullAttrVal = static_cast<uint64_t>(std::atoll(segTemplateAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_mult_seg_base_node.cpp27 multSegBaseAttr_[index].val_.assign(""); in DashMultSegBaseNode()
44 xmlParser->GetAttribute(rootElement, multSegBaseAttr_[index].attr_, multSegBaseAttr_[index].val_); in ParseNode()
57 if (multSegBaseAttr_[index].val_.length() > 0) { in GetAttr()
58 sAttrVal = multSegBaseAttr_[index].val_; in GetAttr()
71 if (multSegBaseAttr_[index].val_.length() > 0) { in GetAttr()
72 uiAttrVal = static_cast<uint32_t>(std::atoll(multSegBaseAttr_[index].val_.c_str())); in GetAttr()
85 if (multSegBaseAttr_[index].val_.length() > 0) { in GetAttr()
86 iAttrVal = static_cast<int32_t>(std::atoll(multSegBaseAttr_[index].val_.c_str())); in GetAttr()
99 if (multSegBaseAttr_[index].val_.length() > 0) { in GetAttr()
100 ullAttrVal = static_cast<uint64_t>(std::atoll(multSegBaseAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_seg_list_node.cpp27 segListAttr_[index].val_.assign(""); in DashSegListNode()
46 xmlParser->GetAttribute(rootElement, segListAttr_[index].attr_, segListAttr_[index].val_)) { in ParseNode()
60 if (segListAttr_[index].val_.length() > 0) { in GetAttr()
61 sAttrVal = segListAttr_[index].val_; in GetAttr()
74 if (segListAttr_[index].val_.length() > 0) { in GetAttr()
75 uiAttrVal = static_cast<uint32_t>(std::atoll(segListAttr_[index].val_.c_str())); in GetAttr()
88 if (segListAttr_[index].val_.length() > 0) { in GetAttr()
89 iAttrVal = static_cast<int32_t>(std::atoll(segListAttr_[index].val_.c_str())); in GetAttr()
102 if (segListAttr_[index].val_.length() > 0) { in GetAttr()
103 ullAttrVal = static_cast<uint64_t>(std::atoll(segListAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_representation_node.cpp27 representationAttr_[index].val_.assign(""); in DashRepresentationNode()
39 xmlParser->GetAttribute(rootElement, representationAttr_[index].attr_, representationAttr_[index].val_); in ParseNode()
48 if (representationAttr_[index].val_.length() > 0) { in GetAttr()
49 sAttrVal = representationAttr_[index].val_; in GetAttr()
62 if (representationAttr_[index].val_.length() > 0) { in GetAttr()
63 uiAttrVal = static_cast<uint32_t>(std::atoll(representationAttr_[index].val_.c_str())); in GetAttr()
76 if (representationAttr_[index].val_.length() > 0) { in GetAttr()
77 iAttrVal = static_cast<int32_t>(std::atoll(representationAttr_[index].val_.c_str())); in GetAttr()
90 if (representationAttr_[index].val_.length() > 0) { in GetAttr()
91 ullAttrVal = static_cast<uint64_t>(std::atoll(representationAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_seg_tmline_node.cpp27 segTmlineAttr_[index].val_.assign(""); in DashSegTmlineNode()
38 xmlParser->GetAttribute(rootElement, segTmlineAttr_[index].attr_, segTmlineAttr_[index].val_)) { in ParseNode()
48 if (segTmlineAttr_[index].val_.length() > 0) { in GetAttr()
49 sAttrVal = segTmlineAttr_[index].val_; in GetAttr()
60 if (segTmlineAttr_[index].val_.length() > 0) { in GetAttr()
61 uiAttrVal = static_cast<uint32_t>(std::atoll(segTmlineAttr_[index].val_.c_str())); in GetAttr()
72 if (segTmlineAttr_[index].val_.length() > 0) { in GetAttr()
73 iAttrVal = static_cast<int32_t>(std::atoll(segTmlineAttr_[index].val_.c_str())); in GetAttr()
84 if (segTmlineAttr_[index].val_.length() > 0) { in GetAttr()
85 ullAttrVal = static_cast<uint64_t>(std::atoll(segTmlineAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_url_type_node.cpp27 urlTypeAttr_[index].val_.assign(""); in DashUrlTypeNode()
38 xmlParser->GetAttribute(rootElement, urlTypeAttr_[index].attr_, urlTypeAttr_[index].val_)) { in ParseNode()
48 if (urlTypeAttr_[index].val_.length() > 0) { in GetAttr()
49 sAttrVal = urlTypeAttr_[index].val_; in GetAttr()
60 if (urlTypeAttr_[index].val_.length() > 0) { in GetAttr()
61 uiAttrVal = static_cast<uint32_t>(std::atoll(urlTypeAttr_[index].val_.c_str())); in GetAttr()
72 if (urlTypeAttr_[index].val_.length() > 0) { in GetAttr()
73 iAttrVal = static_cast<int32_t>(std::atoll(urlTypeAttr_[index].val_.c_str())); in GetAttr()
84 if (urlTypeAttr_[index].val_.length() > 0) { in GetAttr()
85 ullAttrVal = static_cast<uint64_t>(std::atoll(urlTypeAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_seg_url_node.cpp27 segUrlAttr_[index].val_.assign(""); in DashSegUrlNode()
38 xmlParser->GetAttribute(rootElement, segUrlAttr_[index].attr_, segUrlAttr_[index].val_)) { in ParseNode()
48 if (segUrlAttr_[index].val_.length() > 0) { in GetAttr()
49 sAttrVal = segUrlAttr_[index].val_; in GetAttr()
60 if (segUrlAttr_[index].val_.length() > 0) { in GetAttr()
61 uiAttrVal = static_cast<uint32_t>(std::atoll(segUrlAttr_[index].val_.c_str())); in GetAttr()
72 if (segUrlAttr_[index].val_.length() > 0) { in GetAttr()
73 iAttrVal = static_cast<int32_t>(std::atoll(segUrlAttr_[index].val_.c_str())); in GetAttr()
84 if (segUrlAttr_[index].val_.length() > 0) { in GetAttr()
85 ullAttrVal = static_cast<uint64_t>(std::atoll(segUrlAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_seg_base_node.cpp27 segBaseAttr_[index].val_.assign(""); in DashSegBaseNode()
37 xmlParser->GetAttribute(rootElement, segBaseAttr_[index].attr_, segBaseAttr_[index].val_); in ParseNode()
46 if (segBaseAttr_[index].val_.length() > 0) { in GetAttr()
47 sAttrVal = segBaseAttr_[index].val_; in GetAttr()
58 if (segBaseAttr_[index].val_.length() > 0) { in GetAttr()
59 uiAttrVal = static_cast<uint32_t>(std::atoll(segBaseAttr_[index].val_.c_str())); in GetAttr()
70 if (segBaseAttr_[index].val_.length() > 0) { in GetAttr()
71 iAttrVal = static_cast<int32_t>(std::atoll(segBaseAttr_[index].val_.c_str())); in GetAttr()
82 if (segBaseAttr_[index].val_.length() > 0) { in GetAttr()
83 ullAttrVal = static_cast<uint64_t>(std::atoll(segBaseAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_period_node.cpp27 periodAttr_[index].val_.assign(""); in DashPeriodNode()
37 xmlParser->GetAttribute(rootElement, periodAttr_[index].attr_, periodAttr_[index].val_); in ParseNode()
46 if (periodAttr_[index].val_.length() > 0) { in GetAttr()
47 sAttrVal = periodAttr_[index].val_; in GetAttr()
58 if (periodAttr_[index].val_.length() > 0) { in GetAttr()
59 uiAttrVal = static_cast<uint32_t>(std::atoll(periodAttr_[index].val_.c_str())); in GetAttr()
70 if (periodAttr_[index].val_.length() > 0) { in GetAttr()
71 iAttrVal = static_cast<int32_t>(std::atoll(periodAttr_[index].val_.c_str())); in GetAttr()
82 if (periodAttr_[index].val_.length() > 0) { in GetAttr()
83 ullAttrVal = static_cast<uint64_t>(std::atoll(periodAttr_[index].val_ in GetAttr()
[all...]
H A Ddash_mpd_node.cpp27 mpdAttr_[i].val_.assign(""); in DashMpdNode()
37 xmlParser->GetAttribute(rootElement, mpdAttr_[i].attr_, mpdAttr_[i].val_); in ParseNode()
46 if (mpdAttr_[index].val_.length() > 0) { in GetAttr()
47 sAttrVal = mpdAttr_[index].val_; in GetAttr()
58 if (mpdAttr_[index].val_.length() > 0) { in GetAttr()
59 uiAttrVal = static_cast<uint32_t>(std::atoll(mpdAttr_[index].val_.c_str())); in GetAttr()
70 if (mpdAttr_[index].val_.length() > 0) { in GetAttr()
71 iAttrVal = static_cast<int32_t>(std::atoll(mpdAttr_[index].val_.c_str())); in GetAttr()
82 if (mpdAttr_[index].val_.length() > 0) { in GetAttr()
83 ullAttrVal = static_cast<uint64_t>(std::atoll(mpdAttr_[index].val_ in GetAttr()
[all...]
/foundation/filemanagement/user_file_service/frameworks/js/napi/common/
H A Dfile_extension_info_napi.cpp78 DECLARE_NAPI_STATIC_PROPERTY("SUPPORTS_READ", NVal::CreateInt32(env, DEVICE_FLAG_SUPPORTS_READ).val_), in InitDeviceFlag()
79 DECLARE_NAPI_STATIC_PROPERTY("SUPPORTS_WRITE", NVal::CreateInt32(env, DEVICE_FLAG_SUPPORTS_WRITE).val_) in InitDeviceFlag()
91 DECLARE_NAPI_STATIC_PROPERTY("REPRESENTS_FILE", NVal::CreateInt32(env, DOCUMENT_FLAG_REPRESENTS_FILE).val_), in InitDocumentFlag()
92 DECLARE_NAPI_STATIC_PROPERTY("REPRESENTS_DIR", NVal::CreateInt32(env, DOCUMENT_FLAG_REPRESENTS_DIR).val_), in InitDocumentFlag()
93 DECLARE_NAPI_STATIC_PROPERTY("SUPPORTS_READ", NVal::CreateInt32(env, DOCUMENT_FLAG_SUPPORTS_READ).val_), in InitDocumentFlag()
94 DECLARE_NAPI_STATIC_PROPERTY("SUPPORTS_WRITE", NVal::CreateInt32(env, DOCUMENT_FLAG_SUPPORTS_WRITE).val_) in InitDocumentFlag()
125 DECLARE_NAPI_STATIC_PROPERTY("DEVICE_LOCAL_DISK", NVal::CreateInt32(env, DEVICE_LOCAL_DISK).val_), in InitDeviceType()
126 DECLARE_NAPI_STATIC_PROPERTY("DEVICE_SHARED_DISK", NVal::CreateInt32(env, DEVICE_SHARED_DISK).val_), in InitDeviceType()
127 DECLARE_NAPI_STATIC_PROPERTY("DEVICE_SHARED_TERMINAL", NVal::CreateInt32(env, DEVICE_SHARED_TERMINAL).val_), in InitDeviceType()
129 NVal::CreateInt32(env, DEVICE_NETWORK_NEIGHBORHOODS).val_), in InitDeviceType()
[all...]
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dvolumemanager_n_exporter.cpp76 volumeInfoObject.AddProp("id", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetId()).val_); in GetAllVolumes()
77 volumeInfoObject.AddProp("uuid", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetUuid()).val_); in GetAllVolumes()
78 volumeInfoObject.AddProp("diskId", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetDiskId()).val_); in GetAllVolumes()
80 NVal::CreateUTF8String(env, (*volumeInfo)[i].GetDescription()).val_); in GetAllVolumes()
81 volumeInfoObject.AddProp("removable", NVal::CreateBool(env, (bool)true).val_); in GetAllVolumes()
82 volumeInfoObject.AddProp("state", NVal::CreateInt32(env, (*volumeInfo)[i].GetState()).val_); in GetAllVolumes()
83 volumeInfoObject.AddProp("path", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetPath()).val_); in GetAllVolumes()
84 volumeInfoObject.AddProp("fsType", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetFsTypeString()).val_); in GetAllVolumes()
85 status = napi_set_element(env, volumeInfoArray, i, volumeInfoObject.val_); in GetAllVolumes()
95 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in GetAllVolumes()
[all...]

Completed in 20 milliseconds

12345678