/third_party/typescript/src/deprecatedCompat/ |
D | deprecations.ts | 23 export const createNodeArray = Debug.deprecate(factory.createNodeArray, factoryDeprecation); 26 …export const createNumericLiteral = Debug.deprecate(factory.createNumericLiteral, factoryDeprecati… 29 …export const createBigIntLiteral = Debug.deprecate(factory.createBigIntLiteral, factoryDeprecation… 32 …export const createStringLiteral = Debug.deprecate(factory.createStringLiteral, factoryDeprecation… 35 …export const createStringLiteralFromNode = Debug.deprecate(factory.createStringLiteralFromNode, fa… 38 …export const createRegularExpressionLiteral = Debug.deprecate(factory.createRegularExpressionLiter… 41 … export const createLoopVariable = Debug.deprecate(factory.createLoopVariable, factoryDeprecation); 44 export const createUniqueName = Debug.deprecate(factory.createUniqueName, factoryDeprecation); 47 …export const createPrivateIdentifier = Debug.deprecate(factory.createPrivateIdentifier, factoryDep… 50 export const createSuper = Debug.deprecate(factory.createSuper, factoryDeprecation); [all …]
|
/third_party/typescript/src/testRunner/unittests/ |
D | printer.ts | 127 bundle = factory.createBundle([ 150 factory.createClassDeclaration( 153 /*name*/ factory.createIdentifier("C"), 156 [factory.createPropertyDeclaration( 158 factory.createNodeArray([factory.createToken(SyntaxKind.PublicKeyword)]), 159 factory.createIdentifier("prop"), 170 factory.createNamespaceExportDeclaration("B"), 176 factory.createNewExpression( 177 factory.createPropertyAccessExpression( 178 …factory.createCallExpression(factory.createIdentifier("f"), /*typeArguments*/ undefined, /*argumen… [all …]
|
D | factory.ts | 9 const node = factory.createExportAssignment( 18 …const clazz = factory.createClassExpression(/*decorators*/ undefined, /*modifiers*/ undefined, "C"… 19 …factory.createPropertyDeclaration(/*decorators*/ undefined, [factory.createToken(SyntaxKind.Static… 22 checkExpression(factory.createPropertyAccessExpression(clazz, "prop")); 24 …factory.createFunctionExpression(/*modifiers*/ undefined, /*asteriskToken*/ undefined, "fn", /*typ… 26 …checkExpression(factory.createCallExpression(func, /*typeArguments*/ undefined, /*argumentsArray*/… 27 …checkExpression(factory.createTaggedTemplateExpression(func, /*typeArguments*/ undefined, factory.… 29 …checkExpression(factory.createBinaryExpression(factory.createStringLiteral("a"), SyntaxKind.CommaT… 30 …checkExpression(factory.createCommaListExpression([factory.createStringLiteral("a"), factory.creat… 37 const node = factory.createArrowFunction( [all …]
|
D | transform.ts | 9 node = factory.createPartiallyEmittedExpression( 12 factory.createVoidZero(), 23 return factory.createNumericLiteral("2"); 36 node = setTextRange(factory.createIdentifier("newName"), node); 46 return factory.createIdentifier("newName"); 54 return sourceFile => factory.updateSourceFile(sourceFile, [ 55 factory.createExpressionStatement( 56 factory.createTaggedTemplateExpression( 57 factory.createIdentifier("$tpl"), 59 factory.createNoSubstitutionTemplateLiteral("foo", "foo"))) [all …]
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstelementfactory.c | 74 static void gst_element_factory_cleanup (GstElementFactory * factory); 101 gst_element_factory_init (GstElementFactory * factory) in gst_element_factory_init() argument 103 factory->staticpadtemplates = NULL; in gst_element_factory_init() 104 factory->numpadtemplates = 0; in gst_element_factory_init() 106 factory->uri_type = GST_URI_UNKNOWN; in gst_element_factory_init() 107 factory->uri_protocols = NULL; in gst_element_factory_init() 109 factory->interfaces = NULL; in gst_element_factory_init() 115 GstElementFactory *factory = GST_ELEMENT_FACTORY (object); in gst_element_factory_finalize() local 117 gst_element_factory_cleanup (factory); in gst_element_factory_finalize() 150 gst_element_factory_cleanup (GstElementFactory * factory) in gst_element_factory_cleanup() argument [all …]
|
D | gstdeviceproviderfactory.c | 58 factory); 84 gst_device_provider_factory_init (GstDeviceProviderFactory * factory) in gst_device_provider_factory_init() argument 91 GstDeviceProviderFactory *factory = GST_DEVICE_PROVIDER_FACTORY (object); in gst_device_provider_factory_finalize() local 94 gst_device_provider_factory_cleanup (factory); in gst_device_provider_factory_finalize() 96 provider = g_atomic_pointer_get (&factory->provider); in gst_device_provider_factory_finalize() 135 gst_device_provider_factory_cleanup (GstDeviceProviderFactory * factory) in gst_device_provider_factory_cleanup() argument 137 if (factory->metadata) { in gst_device_provider_factory_cleanup() 138 gst_structure_free ((GstStructure *) factory->metadata); in gst_device_provider_factory_cleanup() 139 factory->metadata = NULL; in gst_device_provider_factory_cleanup() 141 if (factory->type) { in gst_device_provider_factory_cleanup() [all …]
|
D | gsttypefindfactory.c | 108 gst_type_find_factory_init (GstTypeFindFactory * factory) in gst_type_find_factory_init() argument 110 factory->user_data = factory; in gst_type_find_factory_init() 111 factory->user_data_notify = NULL; in gst_type_find_factory_init() 117 GstTypeFindFactory *factory = GST_TYPE_FIND_FACTORY (object); in gst_type_find_factory_dispose() local 119 if (factory->caps) { in gst_type_find_factory_dispose() 120 gst_caps_unref (factory->caps); in gst_type_find_factory_dispose() 121 factory->caps = NULL; in gst_type_find_factory_dispose() 123 if (factory->extensions) { in gst_type_find_factory_dispose() 124 g_strfreev (factory->extensions); in gst_type_find_factory_dispose() 125 factory->extensions = NULL; in gst_type_find_factory_dispose() [all …]
|
D | gstdynamictypefactory.c | 81 gst_dynamic_type_factory_init (GstDynamicTypeFactory * factory) in gst_dynamic_type_factory_init() argument 103 GstDynamicTypeFactory *factory = gst_dynamic_type_factory_find (factoryname); in gst_dynamic_type_factory_load() local 106 if (factory == NULL) in gst_dynamic_type_factory_load() 109 factory = in gst_dynamic_type_factory_load() 111 (factory))); in gst_dynamic_type_factory_load() 112 if (factory == NULL) in gst_dynamic_type_factory_load() 115 GST_DEBUG_OBJECT (factory, "Loaded type %s", factoryname); in gst_dynamic_type_factory_load() 117 return factory->type; in gst_dynamic_type_factory_load() 124 GstDynamicTypeFactory *factory; in gst_dynamic_type_factory_create() local 126 factory = g_object_new (GST_TYPE_DYNAMIC_TYPE_FACTORY, NULL); in gst_dynamic_type_factory_create() [all …]
|
/third_party/typescript/src/compiler/transformers/module/ |
D | module.ts | 19 factory, constant 96 …const statementOffset = factory.copyPrologue(node.statements, statements, ensureUseStrict && !isJs… 106 factory.createExpressionStatement( 109 …(prev, nextId) => factory.createAssignment(factory.createPropertyAccessExpression(factory.createId… 110 factory.createVoidZero() as Expression 122 …const updated = factory.updateSourceFile(node, setTextRange(factory.createNodeArray(statements), n… 133 const define = factory.createIdentifier("define"); 134 const moduleName = tryGetModuleNameFromFile(factory, node, host, compilerOptions); 163 const updated = factory.updateSourceFile(node, 165 factory.createNodeArray([ [all …]
|
D | system.ts | 10 factory, constant 79 exportFunction = factory.createUniqueName("exports"); 81 contextObject = contextObjectMap[id] = factory.createUniqueName("context"); 86 const moduleBodyFunction = factory.createFunctionExpression( 92 …factory.createParameterDeclaration(/*decorators*/ undefined, /*modifiers*/ undefined, /*dotDotDotT… 93 …factory.createParameterDeclaration(/*decorators*/ undefined, /*modifiers*/ undefined, /*dotDotDotT… 102 const moduleName = tryGetModuleNameFromFile(factory, node, host, compilerOptions); 103 …const dependencies = factory.createArrayLiteralExpression(map(dependencyGroups, dependencyGroup =>… 105 factory.updateSourceFile( 108 factory.createNodeArray([ [all …]
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstelementfactory.c | 37 setup_pad_template (GstElementFactory * factory, GstStaticPadTemplate * tmpl) in setup_pad_template() argument 42 factory->staticpadtemplates = g_list_append (factory->staticpadtemplates, in setup_pad_template() 44 factory->numpadtemplates++; in setup_pad_template() 51 GstElementFactory *factory; in setup_factory() local 56 factory = GST_ELEMENT_FACTORY_CAST (feature); in setup_factory() 58 gst_element_class_set_metadata (factory, "test", "test", "test", "test"); in setup_factory() 61 setup_pad_template (factory, &sink_template); in setup_factory() 62 setup_pad_template (factory, &src_template); in setup_factory() 64 return factory; in setup_factory() 70 GstElementFactory *factory; in GST_START_TEST() local [all …]
|
/third_party/typescript/src/compiler/transformers/ |
D | es2015.ts | 247 factory, constant 270 factory.createVariableDeclaration(temp)); 525 …const statementOffset = factory.copyPrologue(node.statements, prologue, /*ensureUseStrict*/ false,… 529 factory.createVariableStatement(/*modifiers*/ undefined, 530 factory.createVariableDeclarationList(taggedTemplateStringDeclarations))); 532 factory.mergeLexicalEnvironment(prologue, endLexicalEnvironment()); 535 return factory.updateSourceFile( 537 … setTextRange(factory.createNodeArray(concatenate(prologue, statements)), node.statements) 561 …return setOriginalNode(factory.createReturnStatement(factory.createUniqueName("_this", GeneratedId… 570 return factory.createReturnStatement( [all …]
|
D | es2018.ts | 42 factory, constant 104 factory.createVariableDeclaration(temp)); 273 …factory.createYieldExpression(/*asteriskToken*/ undefined, emitHelpers().createAwaitHelper(visitNo… 289 factory.createYieldExpression( 292 factory.updateYieldExpression( 315 factory.createYieldExpression( 320 : factory.createVoidZero() 334 return factory.updateReturnStatement(node, createDownlevelAwait( 335 … node.expression ? visitNode(node.expression, visitor, isExpression) : factory.createVoidZero() 348 …return factory.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory.liftToBloc… [all …]
|
D | ts.ts | 36 factory, constant 99 …return factory.createBundle(node.sourceFiles.map(transformSourceFile), mapDefined(node.prepends, p… 358 return factory.createNotEmittedStatement(node); 433 return factory.createNotEmittedStatement(node); 563 return factory.updateSourceFile( 628 …const name = node.name || (facts & ClassFacts.NeedsName ? factory.getGeneratedNameForNode(node) : … 654 const localName = factory.getInternalName(node); 658 const outer = factory.createPartiallyEmittedExpression(localName); 662 const statement = factory.createReturnStatement(outer); 669 const iife = factory.createImmediatelyInvokedArrowFunction(statements); [all …]
|
D | es2020.ts | 5 factory, constant 61 …return factory.createSyntheticReferenceExpression(factory.updateParenthesizedExpression(node, expr… 63 return factory.updateParenthesizedExpression(node, expression); 78 thisArg = factory.createTempVariable(hoistVariableDeclaration); 79 expression = factory.createAssignment(thisArg, expression); 87 …? factory.updatePropertyAccessExpression(node, expression, visitNode(node.name, visitor, isIdentif… 88 …: factory.updateElementAccessExpression(node, expression, visitNode(node.argumentExpression, visit… 89 … return thisArg ? factory.createSyntheticReferenceExpression(expression, thisArg) : expression; 117 capturedLeft = factory.createTempVariable(hoistVariableDeclaration); 118 leftExpression = factory.createAssignment(capturedLeft, leftExpression); [all …]
|
D | classFields.ts | 36 factory, constant 133 return setOriginalNode(factory.createIdentifier(""), node); 187 node = factory.updateComputedPropertyName( 189 factory.inlineExpressions(expressions) 199 return factory.updatePropertyDeclaration( 224 nodeIsSynthesized(receiver) ? receiver : factory.cloneNode(receiver), 254 …const existingValue = factory.createPrefixUnaryExpression(SyntaxKind.PlusToken, createPrivateIdent… 260 … factory.createBinaryExpression(existingValue, operator, factory.createNumericLiteral(1)), 280 …const existingValue = factory.createPrefixUnaryExpression(SyntaxKind.PlusToken, createPrivateIdent… 283 …const returnValue = valueIsDiscarded ? undefined : factory.createTempVariable(hoistVariableDeclara… [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_packing_builtins.cpp | 46 factory.instructions = &factory_instructions; in lower_packing_builtins_visitor() 74 ralloc_steal(factory.mem_ctx, op0); in handle_rvalue() 121 ir_factory factory; member in __anon66ac6cb10111::lower_packing_builtins_visitor 179 assert(factory.mem_ctx == NULL); in setup_factory() 180 assert(factory.instructions->is_empty()); in setup_factory() 182 factory.mem_ctx = mem_ctx; in setup_factory() 188 base_ir->insert_before(factory.instructions); in teardown_factory() 189 assert(factory.instructions->is_empty()); in teardown_factory() 190 factory.mem_ctx = NULL; in teardown_factory() 197 return factory.constant(x); in constant() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | MessageParser.cs | 46 private Func<IMessage> factory; field in Google.Protobuf.MessageParser 52 …internal MessageParser(Func<IMessage> factory, bool discardUnknownFields, ExtensionRegistry extens… in MessageParser() argument 54 this.factory = factory; in MessageParser() 65 return factory(); in CreateTemplate() 75 IMessage message = factory(); in ParseFrom() 89 IMessage message = factory(); in ParseFrom() 101 IMessage message = factory(); in ParseFrom() 113 IMessage message = factory(); in ParseFrom() 126 IMessage message = factory(); in ParseFrom() 142 IMessage message = factory(); in ParseDelimitedFrom() [all …]
|
/third_party/typescript/src/compiler/factory/ |
D | utilities.ts | 6 export function createEmptyExports(factory: NodeFactory) { 7 …return factory.createExportDeclaration(/*decorators*/ undefined, /*modifiers*/ undefined, /*isType… 10 …export function createMemberAccessForPropertyName(factory: NodeFactory, target: Expression, member… 12 …return setTextRange(factory.createElementAccessExpression(target, memberName.expression), location… 17 ? factory.createPropertyAccessExpression(target, memberName) 18 : factory.createElementAccessExpression(target, memberName), 37 …function createJsxFactoryExpressionFromEntityName(factory: NodeFactory, jsxFactory: EntityName, pa… 39 const left = createJsxFactoryExpressionFromEntityName(factory, jsxFactory.left, parent); 40 const right = factory.createIdentifier(idText(jsxFactory.right)) as Mutable<Identifier>; 42 return factory.createPropertyAccessExpression(left, right); [all …]
|
D | emitHelpers.ts | 40 const factory = context.factory; constant 81 …return setEmitFlags(factory.createIdentifier(name), EmitFlags.HelperName | EmitFlags.AdviseOnEmitN… 90 …argumentsArray.push(factory.createArrayLiteralExpression(decoratorExpressions, /*multiLine*/ true)… 99 return factory.createCallExpression( 108 return factory.createCallExpression( 112 factory.createStringLiteral(metadataKey), 121 factory.createCallExpression( 125 factory.createNumericLiteral(parameterOffset + ""), 137 …return factory.createCallExpression(factory.createPropertyAccessExpression(factory.createIdentifie… 142 return factory.createCallExpression( [all …]
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | textChanges.ts | 85 const newFunction = factory.createFunctionDeclaration( 92 /*type*/ factory.createKeywordTypeNode(SyntaxKind.AnyKeyword), 93 /*body */ factory.createBlock(statements) 99 const newStatement = factory.createReturnStatement( 100 factory.createCallExpression( 181 …factory.createVariableDeclaration(name, /*exclamationToken*/ undefined, /*type*/ undefined, factor… 184 return factory.createClassDeclaration( 187 factory.createToken(SyntaxKind.PublicKeyword) 192 factory.createHeritageClause( 195 …factory.createExpressionWithTypeArguments(factory.createIdentifier("interface1"), /*typeArguments*… [all …]
|
/third_party/flutter/engine/flutter/fml/memory/ |
D | weak_ptr_unittest.cc | 16 WeakPtrFactory<int> factory(&data); in TEST() local 17 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() 23 WeakPtrFactory<int> factory(&data); in TEST() local 24 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() 32 WeakPtrFactory<int> factory(&data); in TEST() local 33 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() 41 WeakPtrFactory<int> factory(&data); in TEST() local 42 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() 52 WeakPtrFactory<int> factory(&data); in TEST() local 53 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() [all …]
|
/third_party/grpc/src/core/lib/iomgr/ |
D | socket_factory_posix.cc | 32 void grpc_socket_factory_init(grpc_socket_factory* factory, in grpc_socket_factory_init() argument 34 factory->vtable = vtable; in grpc_socket_factory_init() 35 gpr_ref_init(&factory->refcount, 1); in grpc_socket_factory_init() 38 int grpc_socket_factory_socket(grpc_socket_factory* factory, int domain, in grpc_socket_factory_socket() argument 40 return factory->vtable->socket(factory, domain, type, protocol); in grpc_socket_factory_socket() 43 int grpc_socket_factory_bind(grpc_socket_factory* factory, int sockfd, in grpc_socket_factory_bind() argument 45 return factory->vtable->bind(factory, sockfd, addr); in grpc_socket_factory_bind() 62 grpc_socket_factory* grpc_socket_factory_ref(grpc_socket_factory* factory) { in grpc_socket_factory_ref() argument 63 gpr_ref(&factory->refcount); in grpc_socket_factory_ref() 64 return factory; in grpc_socket_factory_ref() [all …]
|
/third_party/typescript/src/compiler/ |
D | visitorPublic.ts | 137 const updatedArray = factory.createNodeArray(updated, hasTrailingComma); 152 if (ensureUseStrict) statements = context.factory.ensureUseStrict(statements); 153 return factory.mergeLexicalEnvironment(statements, context.endLexicalEnvironment()); 196 …return setTextRange(context.factory.createNodeArray(result, parameters.hasTrailingComma), paramete… 211 const { factory } = context; constant 213 factory.createVariableStatement( 215 factory.createVariableDeclarationList([ 216 factory.createVariableDeclaration( 221 factory.createConditionalExpression( 222 factory.createStrictEquality( [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | mxfmux.c | 29 GstElementFactory *factory = NULL; in get_mpeg2enc_element_name() local 31 if ((factory = gst_element_factory_find ("mpeg2enc"))) { in get_mpeg2enc_element_name() 32 gst_object_unref (factory); in get_mpeg2enc_element_name() 34 } else if ((factory = gst_element_factory_find ("avenc_mpeg2video"))) { in get_mpeg2enc_element_name() 35 gst_object_unref (factory); in get_mpeg2enc_element_name() 162 GstElementFactory *factory = NULL; in GST_START_TEST() local 164 if ((factory = gst_element_factory_find ("openjpegenc")) == NULL) in GST_START_TEST() 166 gst_object_unref (factory); in GST_START_TEST() 167 if ((factory = gst_element_factory_find ("alawenc")) == NULL) in GST_START_TEST() 169 gst_object_unref (factory); in GST_START_TEST() [all …]
|