Lines Matching refs:pRuntime
132 static void DefineGlobalConstString(CJS_Runtime* pRuntime,
135 FXJS_DefineGlobalConst(pRuntime->GetIsolate(), pConstName,
136 FXJS_NewString(pRuntime->GetIsolate(), pValue));
139 void CJS_GlobalConsts::DefineJSObjects(CJS_Runtime* pRuntime) {
141 pRuntime, L"IDS_GREATER_THAN",
144 pRuntime, L"IDS_GT_AND_LT",
147 DefineGlobalConstString(pRuntime, L"IDS_LESS_THAN",
149 DefineGlobalConstString(pRuntime, L"IDS_INVALID_MONTH", L"**Invalid**");
151 pRuntime, L"IDS_INVALID_DATE",
154 pRuntime, L"IDS_INVALID_VALUE",
156 DefineGlobalConstString(pRuntime, L"IDS_AM", L"am");
157 DefineGlobalConstString(pRuntime, L"IDS_PM", L"pm");
159 pRuntime, L"IDS_MONTH_INFO",
165 DefineGlobalConstString(pRuntime, L"IDS_STARTUP_CONSOLE_MSG", L"** ^ _ ^ **");
170 void DefineGlobalConstStringArray(CJS_Runtime* pRuntime,
174 CJS_Array array(pRuntime);
176 array.SetElement(i, CJS_Value(pRuntime, pValues[i]));
178 CJS_PropValue prop(pRuntime);
180 FXJS_DefineGlobalConst(pRuntime->GetIsolate(), sConstName, prop.ToV8Value());
183 void CJS_GlobalArrays::DefineJSObjects(CJS_Runtime* pRuntime) {
187 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
198 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
206 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
217 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
224 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
231 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
238 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
245 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
264 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
276 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
284 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,
292 DefineGlobalConstStringArray(pRuntime, ArrayName, ArrayContent,