Searched refs:eType (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | ToneMapJS.cpp | 101 napi_value eType; in Init() local 103 napi_create_object(env, &eType); in Init() 108 DECL_ENUM(eType, ACES); in Init() 109 DECL_ENUM(eType, ACES_2020); in Init() 110 DECL_ENUM(eType, FILMIC); in Init() 112 exp.Set("ToneMappingType", eType); in Init()
|
H A D | EnvironmentJS.cpp | 67 napi_value eType; in Init() local 69 napi_create_object(env, &eType); in Init() 74 DECL_ENUM(eType, BACKGROUND_NONE); in Init() 75 DECL_ENUM(eType, BACKGROUND_IMAGE); in Init() 76 DECL_ENUM(eType, BACKGROUND_CUBEMAP); in Init() 77 DECL_ENUM(eType, BACKGROUND_EQUIRECTANGULAR); in Init() 79 exp.Set("EnvironmentBackgroundType", eType); in Init()
|
H A D | MaterialJS.cpp | 48 napi_value eType; in Init() local 50 napi_create_object(env, &eType); in Init() 55 DECL_ENUM(eType, SHADER); in Init() 57 exp.Set("MaterialType", eType); in Init()
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | native_module_buffer.cpp | 186 EncodingType eType = Buffer::GetEncodingType(type); in FromString() local 187 switch (eType) { in FromString() 198 return FromStringBase64(env, thisVar, args[0], size, eType); in FromString() 944 uint32_t GetValue(napi_env env, EncodingType &eType, std::string &str, napi_value &args) in GetValue() argument 948 switch (eType) { in GetValue() 965 str = GetStringBase64(env, args, eType); in GetValue() 987 EncodingType eType = Buffer::GetEncodingType(type); in IndexOf() local 990 len = GetValue(env, eType, str, args[0]); in IndexOf() 1000 len = (eType == UTF16LE) ? len : str.length(); in IndexOf() 1003 len = (eType == UTF16LE) ? len : str.length(); in IndexOf()
|