Home
last modified time | relevance | path

Searched refs:fromObject (Results 1 – 25 of 267) sorted by relevance

1234567891011

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/devtools-frontend/src/test/unittests/front_end/text_utils/
H A DTextRange_test.ts58 const textRange = TextRange.fromObject(range);
127 const textRangeA = TextRange.fromObject(rangeA);
129 const textRangeB = TextRange.fromObject(rangeB);
144 const textRangeA = TextRange.fromObject(rangeA);
146 const textRangeB = TextRange.fromObject(rangeB);
159 const textRangeA = TextRange.fromObject(rangeA);
161 const textRangeB = TextRange.fromObject(rangeB);
173 const textRangeA = TextRange.fromObject(rangeA);
182 const textRangeA = TextRange.fromObject(rangeA);
183 const textRangeB = TextRange.fromObject(rangeA);
[all …]
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/t/sass-spec/test/test-case/
H A Dmutation.test.ts11 function fromObject(files: Record<string, string>): Promise<SpecDirectory> { function
18 const dir = await fromObject({
29 const dir = await fromObject({
40 const dir = await fromObject({
54 const dir = await fromObject({
69 const dir = await fromObject({
82 const dir = await fromObject({
95 const dir = await fromObject({
110 const dir = await fromObject({
123 const dir = await fromObject({
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui.tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/
H A DUnsettableUpdateValueStrategy.java62 public Object convert(Object fromObject) { in createConverter()
63 final String value = fromObject == null ? null : fromObject.toString(); in createConverter()
87 public Object convert(Object fromObject) { in createConverter()
90 for (final Object value : (List<?>) fromObject) { in createConverter()
99 if (fromObject == SetCommand.UNSET_VALUE || fromObject == null in createConverter()
100 || fromObject.equals(eAttribute.getDefaultValue())) { in createConverter()
103 return eFactory.convertToString(eDataType, fromObject); in createConverter()
H A DMenuItemEditor.java260 public ItemType convert(Boolean fromObject) { in createForm()
268 public Boolean convert(ItemType fromObject) { in createForm()
269 return fromObject == ItemType.CHECK || fromObject == ItemType.RADIO; in createForm()
393 public Object convert(T fromObject) { in convert() argument
394 if (fromObject == null) { in convert()
397 return ((EObject) fromObject).eClass(); in convert()
411 public T convert(Object fromObject) { in convert() argument
412 if (fromObject == null || fromObject.toString().equals(Messages.MenuItemEditor_NoExpression)) { in convert()
415 return (T) EcoreUtil.create((EClass) fromObject); in convert()
H A DToolItemEditor.java281 public ItemType convert(Boolean fromObject) { in createFormSubTypeForm()
289 public Boolean convert(ItemType fromObject) { in createFormSubTypeForm()
290 return fromObject == ItemType.CHECK || fromObject == ItemType.RADIO; in createFormSubTypeForm()
426 public Object convert(T fromObject) { in convert() argument
427 if (fromObject == null) { in convert()
430 return ((EObject) fromObject).eClass(); in convert()
444 public T convert(Object fromObject) { in convert() argument
445 if (fromObject == null || fromObject.toString().equals(Messages.MenuItemEditor_NoExpression)) { in convert()
448 return (T) EcoreUtil.create((EClass) fromObject); in convert()
H A DPlaceholderEditor.java203 public MUIElement convert(String fromObject) { in createForm()
211 public String convert(MUIElement fromObject) { in createForm()
212 if (fromObject != null) { in createForm()
213 final EObject o = (EObject) fromObject; in createForm()
222 return o.eClass().getName() + " - " + fromObject.getElementId(); //$NON-NLS-1$ in createForm()
/dports/www/firefox/firefox-99.0/js/public/experimental/
H A DTypedData.h368 static ArrayBuffer fromObject(JSObject* unwrapped) { in fromObject() function
405 ArrayBufferView view = fromObject(maybeWrapped); in unwrap()
433 static DataView fromObject(JSObject* unwrapped) { in fromObject() function
444 DataView view = fromObject(maybeWrapped); in unwrap()
466 TypedArray_base view = fromObject(maybeWrapped); in unwrap()
502 static TypedArray fromObject(JSObject* unwrapped) { in fromObject() function
513 TypedArray view = fromObject(maybeWrapped); in unwrap()
543 if (ArrayBuffer::fromObject(unwrapped) || in fromObject()
544 ArrayBufferView::fromObject(unwrapped)) { in fromObject()
551 if (TypedArray_base::fromObject(unwrapped) || in fromObject()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/
H A DCharacterToStringConverter.java34 public String convert(Object fromObject) { in convert() argument
36 if (fromObject == null) { in convert()
43 if (!(fromObject instanceof Character)) { in convert()
48 return String.valueOf(((Character) fromObject).charValue()); in convert()
H A DAbstractNumberToStringConverter.java105 public String convert(Object fromObject) { in convert() argument
107 if (fromObject == null && !fromType.isPrimitive()) { in convert()
111 Number number = (Number) fromObject; in convert()
130 BigDecimal o = (BigDecimal) fromObject; in convert()
132 fromObject = icuBigDecimalCtr.newInstance(o.unscaledValue(), Integer.valueOf(o.scale())); in convert()
138 result = numberFormat.format(fromObject); in convert()
H A DNumberToNumberConverter.java47 public final T convert(Object fromObject) { in convert() argument
48 if (fromObject == null) { in convert()
57 if (!(fromObject instanceof Number)) { in convert()
62 Number number = (Number) fromObject; in convert()
H A DIntegerToStringConverter.java49 public String convert(Object fromObject) { in convert() argument
51 if (fromObject == null && !primitive) { in convert()
55 if (!boxedType.isInstance(fromObject)) { in convert()
60 return numberFormat.format(((Number) fromObject).longValue()); in convert()
H A DStatusToStringConverter.java35 public String convert(IStatus fromObject) { in convert() argument
36 if (fromObject == null) { in convert()
41 return fromObject.getMessage(); in convert()
H A DStringToByteConverter.java61 public Byte convert(Object fromObject) { in convert() argument
62 ParseResult result = StringToNumberParser.parse(fromObject, in convert()
70 .createParseErrorMessage((String) fromObject, result in convert()
H A DStringToShortConverter.java44 public Short convert(Object fromObject) { in convert() argument
45 ParseResult result = StringToNumberParser.parse(fromObject, in convert()
53 .createParseErrorMessage((String) fromObject, result in convert()
H A DAbstractStringToNumberConverter.java140 public T convert(Object fromObject) { in convert() argument
141 ParseResult result = StringToNumberParser.parse(fromObject, in convert()
149 .createParseErrorMessage((String) fromObject, result in convert()
235 …"Could not convert [" + fromObject + "] to type [" + toType + "]"); //$NON-NLS-1$ //$NON-NLS-2$ //… in convert()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/conversion/
H A DIConverter.java61 public T convert(F fromObject); in convert() argument
85 public T convert(F fromObject) { in create() argument
86 return conversion.apply(fromObject); in create()
H A DNumberToStringConverter.java50 public String convert(Object fromObject) { in convert() argument
51 return super.convert(fromObject); in convert()
/dports/www/firefox/firefox-99.0/js/src/jsapi-tests/
H A DtestArrayBufferOrViewAPI.cpp65 cx, JS::ArrayBufferOrView::fromObject(obj)); in TestType()
80 auto deny = APIType::fromObject(u16array); in TestType()
98 abov = JS::ArrayBufferOrView::fromObject(wrapped); in TestType()
103 JS::Rooted<APIType> dummy(cx, APIType::fromObject(obj)); in TestType()
/dports/audio/py-music21/music21-7.1.0/music21/vexflow/
H A DtoMusic21j.py29 def fromObject(thisObject, mode='html', local=False): function
75 return conv.fromObject(thisObject)
119 def fromObject(self, thisObject, mode=None): member in VexflowPickler
297 data = vfp.fromObject(s)
/dports/graphics/quesa/quesa-1.8/Source/Core/System/
H A DE3Texture.c176 e3texture_pixmap_duplicate( TQ3Object fromObject, const void *fromPrivateData,
183 #pragma unused(fromObject)
189 Q3_REQUIRE_OR_RESULT(Q3_VALID_PTR(fromObject), kQ3Failure);
330 e3texture_mipmap_duplicate( TQ3Object fromObject, const void *fromPrivateData,
336 #pragma unused(fromObject)
342 Q3_REQUIRE_OR_RESULT(Q3_VALID_PTR(fromObject), kQ3Failure);
484 e3texture_compressed_duplicate( TQ3Object fromObject, const void *fromPrivateData,
490 #pragma unused(fromObject)
496 Q3_REQUIRE_OR_RESULT(Q3_VALID_PTR(fromObject), kQ3Failure);
H A DE3String.c138 e3string_c_duplicate(TQ3Object fromObject, const void *fromPrivateData,
142 #pragma unused(fromObject)
148 Q3_REQUIRE_OR_RESULT(Q3_VALID_PTR(fromObject), kQ3Failure);
H A DE3Shader.c173 e3shader_duplicate( TQ3Object fromObject, const void *fromPrivateData,
178 #pragma unused(fromObject)
183 Q3_REQUIRE_OR_RESULT(Q3_VALID_PTR(fromObject), kQ3Failure);
363 e3shader_texture_duplicate( TQ3Object fromObject, const void *fromPrivateData,
368 #pragma unused(fromObject)
374 Q3_REQUIRE_OR_RESULT(Q3_VALID_PTR(fromObject), kQ3Failure);
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui.tools/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/
H A DAbstractNewClassPage.java546 public String convert(IPackageFragmentRoot fromObject) { in convert() argument
547 if (fromObject == null) { in convert()
550 return fromObject.getPath().makeRelative().toString(); in convert()
561 public String convert(IPackageFragment fromObject) { in convert() argument
562 if (fromObject == null) { in convert()
565 return fromObject.getElementName(); in convert()
579 public IPackageFragment convert(String fromObject) { in convert() argument
583 if (fromObject == null) { in convert()
587 return clazz.getFragmentRoot().getPackageFragment(fromObject); in convert()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/declarative/qml/
H A Dqdeclarativecustomparser.cpp98 QDeclarativeCustomParserNodePrivate::fromObject(QDeclarativeParser::Object *root) in fromObject() function in QDeclarativeCustomParserNodePrivate
128 QDeclarativeCustomParserNode node = fromObject(p->value); in fromProperty()
138 QDeclarativeCustomParserNode node = fromObject(v->object); in fromProperty()
/dports/devel/qbs/qbs-src-1.21.0/src/lib/corelib/jsextensions/
H A Dpropertylistutils.mm48 static QVariant fromObject(id obj); function
52 static QVariant fromObject(id obj) function
107 map[QString::fromNSString(key)] = fromObject([dict objectForKey:key]);
115 list.push_back(fromObject(obj));
121 return fromObject(plist);

1234567891011