Home
last modified time | relevance | path

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

/external/pdfium/fxjs/
Dcjs_globaldata.cpp35 bool TrimPropName(ByteString* sPropName) { in TrimPropName() argument
36 sPropName->Trim(); in TrimPropName()
37 return sPropName->GetLength() != 0; in TrimPropName()
98 ByteString sPropName(propname); in SetGlobalVariableNumber() local
99 if (!TrimPropName(&sPropName)) in SetGlobalVariableNumber()
102 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableNumber()
108 pNewData->data.sKey = sPropName; in SetGlobalVariableNumber()
116 ByteString sPropName(propname); in SetGlobalVariableBoolean() local
117 if (!TrimPropName(&sPropName)) in SetGlobalVariableBoolean()
120 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableBoolean()
[all …]
Dcjs_global.cpp314 ByteString sPropName = ByteString::FromUnicode(propname); in SetProperty() local
316 return SetGlobalVariables(sPropName, JS_GlobalDataType::NUMBER, in SetProperty()
321 return SetGlobalVariables(sPropName, JS_GlobalDataType::BOOLEAN, 0, in SetProperty()
327 sPropName, JS_GlobalDataType::STRING, 0, false, in SetProperty()
332 return SetGlobalVariables(sPropName, JS_GlobalDataType::OBJECT, 0, false, in SetProperty()
336 return SetGlobalVariables(sPropName, JS_GlobalDataType::NULLOBJ, 0, false, in SetProperty()
Dfxjs_v8.h153 const char* sPropName,
Dfxjs_v8.cpp317 const char* sPropName, in DefineObjProperty() argument
324 pObjDef->GetInstanceTemplate()->SetAccessor(NewString(sPropName), pPropGet, in DefineObjProperty()