Home
last modified time | relevance | path

Searched refs:newObj (Results 1 - 19 of 19) sorted by relevance

/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/
H A Dindex.js8 function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
H A Dtokenize.js9 function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
H A Dparser.js24 function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
/third_party/skia/modules/particles/include/
H A DSkReflected.h176 sk_sp<SkReflected> newObj = obj; in visit() local
177 this->visit(newObj, T::GetType()); in visit()
178 if (newObj != obj) { in visit()
179 if (!newObj || newObj->isOfType(T::GetType())) { in visit()
180 obj.reset(static_cast<T*>(newObj.release())); in visit()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkModifier.js39 let newObj = { ...obj };
40 newObj.applyStage = obj === null || obj === void 0 ? void 0 : obj.applyStage;
41 newObj.applyPeer = obj === null || obj === void 0 ? void 0 : obj.applyPeer;
42 newObj.checkObjectDiff = obj === null || obj === void 0 ? void 0 : obj.checkObjectDiff;
43 return newObj;
53 let newObj = { ...obj };
54 newObj.applyStage = obj === null || obj === void 0 ? void 0 : obj.applyStage;
55 newObj.applyPeer = obj === null || obj === void 0 ? void 0 : obj.applyPeer;
56 newObj.checkObjectDiff = obj === null || obj === void 0 ? void 0 : obj.checkObjectDiff;
57 return newObj;
[all...]
/third_party/cups-filters/filter/
H A Dimagetopdf.c92 static int newObj(void);
221 pageObjects[i] = newObj(); in allocPageObjects()
225 static int newObj(void) in newObj() function
341 newObj(); /* dummy for no 0 object */ in outPrologue()
354 catalogObj = newObj(); in outPrologue()
355 pagesObj = newObj(); in outPrologue()
425 trfuncObj = newObj(); in outPageObject()
426 lengthObj = newObj(); in outPageObject()
467 lengthObj = newObj(); in outPageContents()
537 lengthObj = newObj(); in outImage()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dcurrpinf.cpp169 CurrencyPluralInfo* newObj = new CurrencyPluralInfo(*this); in clone() local
172 if (newObj != nullptr && U_FAILURE(newObj->fInternalStatus)) { in clone()
173 delete newObj; in clone()
174 newObj = nullptr; in clone()
176 return newObj; in clone()
H A Dplurrule.cpp111 LocalPointer<PluralRules> newObj(new PluralRules(*this), status); in clone()
112 if (U_SUCCESS(status) && U_FAILURE(newObj->mInternalStatus)) { in clone()
113 status = newObj->mInternalStatus; in clone()
114 newObj.adoptInstead(nullptr); in clone()
116 return newObj.orphan(); in clone()
252 LocalPointer<PluralRules> newObj(new PluralRules(status), status); in internalForLocale()
256 UnicodeString locRule = newObj->getRuleFromResource(locale, type, status); in internalForLocale()
270 parser.parse(locRule, newObj.getAlias(), status); in internalForLocale()
276 newObj->mStandardPluralRanges = StandardPluralRanges::forLocale(locale, status) in internalForLocale()
280 return newObj in internalForLocale()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dcurrpinf.cpp169 CurrencyPluralInfo* newObj = new CurrencyPluralInfo(*this); in clone() local
172 if (newObj != nullptr && U_FAILURE(newObj->fInternalStatus)) { in clone()
173 delete newObj; in clone()
174 newObj = nullptr; in clone()
176 return newObj; in clone()
H A Dplurrule.cpp115 LocalPointer<PluralRules> newObj(new PluralRules(*this), status); in clone()
116 if (U_SUCCESS(status) && U_FAILURE(newObj->mInternalStatus)) { in clone()
117 status = newObj->mInternalStatus; in clone()
118 newObj.adoptInstead(nullptr); in clone()
120 return newObj.orphan(); in clone()
256 LocalPointer<PluralRules> newObj(new PluralRules(status), status); in internalForLocale()
260 UnicodeString locRule = newObj->getRuleFromResource(locale, type, status); in internalForLocale()
274 parser.parse(locRule, newObj.getAlias(), status); in internalForLocale()
280 newObj->mStandardPluralRanges = StandardPluralRanges::forLocale(locale, status) in internalForLocale()
284 return newObj in internalForLocale()
[all...]
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/
H A Dcontainer.js8 function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcurrpinf.cpp169 CurrencyPluralInfo* newObj = new CurrencyPluralInfo(*this); in clone() local
172 if (newObj != nullptr && U_FAILURE(newObj->fInternalStatus)) { in clone()
173 delete newObj; in clone()
174 newObj = nullptr; in clone()
176 return newObj; in clone()
H A Dplurrule.cpp108 LocalPointer<PluralRules> newObj(new PluralRules(*this), status); in clone()
109 if (U_SUCCESS(status) && U_FAILURE(newObj->mInternalStatus)) { in clone()
110 status = newObj->mInternalStatus; in clone()
111 newObj.adoptInstead(nullptr); in clone()
113 return newObj.orphan(); in clone()
249 LocalPointer<PluralRules> newObj(new PluralRules(status), status); in internalForLocale()
253 UnicodeString locRule = newObj->getRuleFromResource(locale, type, status); in internalForLocale()
267 parser.parse(locRule, newObj.getAlias(), status); in internalForLocale()
273 newObj->mStandardPluralRanges = StandardPluralRanges::forLocale(locale, status) in internalForLocale()
277 return newObj in internalForLocale()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_navigation.cpp155 JSRef<JSObject> newObj; in Create() local
178 newObj = JSRef<JSObject>::Cast(info[0]); in Create()
200 newObj = JSRef<JSObject>::Cast(info[0]); in Create()
213 auto stackUpdater = [&newObj, &info](RefPtr<NG::NavigationStack> stack) { in Create()
214 NavigationModel::GetInstance()->SetNavigationStackProvided(!newObj->IsEmpty()); in Create()
220 if (newObj->IsEmpty()) { in Create()
221 newObj = JSNavPathStack::CreateNewNavPathStackJSObject(); in Create()
224 JSNavPathStack::SetNativeNavPathStack(newObj, nativeObj); in Create()
225 jsStack->SetDataSourceObj(newObj); in Create()
226 } else if (!newObj in Create()
[all...]
/third_party/node/deps/npm/node_modules/diff/lib/diff/
H A Djson.js87 function diffJson(oldObj, newObj, options) {
88 return jsonDiff.diff(oldObj, newObj, options);
/third_party/mesa3d/src/mesa/main/
H A Darrayobj.c916 struct gl_vertex_array_object *newObj = NULL; in bind_vertex_array() local
924 * Get pointer to new array object (newObj) in bind_vertex_array()
930 newObj = ctx->Array.DefaultVAO; in bind_vertex_array()
934 newObj = _mesa_lookup_vao(ctx, id); in bind_vertex_array()
935 if (!no_error && !newObj) { in bind_vertex_array()
941 newObj->EverBound = GL_TRUE; in bind_vertex_array()
956 _mesa_reference_vao(ctx, &ctx->Array.VAO, newObj); in bind_vertex_array()
962 (oldObj == ctx->Array.DefaultVAO) != (newObj == ctx->Array.DefaultVAO)) in bind_vertex_array()
H A Dpipelineobj.c444 struct gl_pipeline_object *newObj = NULL; in bind_program_pipeline() local
470 /* Get pointer to new pipeline object (newObj) in bind_program_pipeline()
474 newObj = _mesa_lookup_pipeline_object(ctx, pipeline); in bind_program_pipeline()
475 if (!no_error && !newObj) { in bind_program_pipeline()
484 newObj->EverBound = GL_TRUE; in bind_program_pipeline()
487 _mesa_bind_pipeline(ctx, newObj); in bind_program_pipeline()
/third_party/node/lib/
H A Dbuffer.js381 const newObj = createUnsafeBuffer(items.length);
383 newObj[k] = items[k];
384 return newObj;
/third_party/node/deps/npm/node_modules/diff/lib/
H A Dindex.es6.js566 function diffJson(oldObj, newObj, options) {
567 return jsonDiff.diff(oldObj, newObj, options);

Completed in 18 milliseconds