Home
last modified time | relevance | path

Searched refs:sPropName (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/fxjs/
Dcfx_globaldata.cpp36 bool TrimPropName(ByteString* sPropName) { in TrimPropName() argument
37 sPropName->Trim(); in TrimPropName()
38 return sPropName->GetLength() != 0; in TrimPropName()
131 void CFX_GlobalData::SetGlobalVariableNumber(ByteString sPropName, in SetGlobalVariableNumber() argument
133 if (!TrimPropName(&sPropName)) in SetGlobalVariableNumber()
136 CFX_GlobalData::Element* pData = GetGlobalVariable(sPropName); in SetGlobalVariableNumber()
143 pNewData->data.sKey = std::move(sPropName); in SetGlobalVariableNumber()
149 void CFX_GlobalData::SetGlobalVariableBoolean(ByteString sPropName, in SetGlobalVariableBoolean() argument
151 if (!TrimPropName(&sPropName)) in SetGlobalVariableBoolean()
154 CFX_GlobalData::Element* pData = GetGlobalVariable(sPropName); in SetGlobalVariableBoolean()
[all …]
Dcjs_global.cpp273 ByteString sPropName = WideString(propname).ToDefANSI(); in SetProperty() local
275 return SetGlobalVariables(sPropName, CFX_Value::DataType::NUMBER, in SetProperty()
280 return SetGlobalVariables(sPropName, CFX_Value::DataType::BOOLEAN, 0, in SetProperty()
285 return SetGlobalVariables(sPropName, CFX_Value::DataType::STRING, 0, false, in SetProperty()
290 return SetGlobalVariables(sPropName, CFX_Value::DataType::OBJECT, 0, false, in SetProperty()
294 return SetGlobalVariables(sPropName, CFX_Value::DataType::NULLOBJ, 0, false, in SetProperty()
Dcfxjs_engine.cpp186 void DefineProperty(v8::Local<v8::String> sPropName, in DefineProperty() argument
189 GetInstanceTemplate()->SetAccessor(sPropName, pPropGet, pPropPut); in DefineProperty()
406 const char* sPropName, in DefineObjProperty() argument
413 pObjDef->DefineProperty(NewString(sPropName), pPropGet, pPropPut); in DefineObjProperty()
Dcfxjs_engine.h102 const char* sPropName,