Home
last modified time | relevance | path

Searched refs:directive (Results 1 - 25 of 57) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
H A DtypeofImportTypeOnlyExport.js12 export const directive =
15 directive: class_,
18 export const classMap = directive(ClassMapDirective);
24 exports.classMap = exports.directive = void 0;
30 var directive = function (class_) { function
32 directive: class_
35 exports.directive = directive;
36 exports.classMap = (0, exports.directive)(ClassMapDirective);
49 export declare const directive
[all...]
H A DindexSignatures1.js252 const directive = Symbol('directive');
253 declare function foo<TArg, TRet, TDir>(options: { [x in string]: (arg: TArg) => TRet } & { [directive]?: TDir }): void;
256 [directive]: (x: string) => 'str',
264 [directive]: (x: string) => 'str',
268 [directive]: 'str',
458 const directive = Symbol('directive');
460 [directive]: (x) => 'str',
467 [directive]
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/config/extension-highlighter/
H A Dextension.rb28 def preprocess_conditional_directive directive, target, delimiter, text
34 if @tracking_target != nil && directive == 'endif' && @tracking_target == target.downcase
37 return super(directive, target, delimiter, text)
40 # If it is an ifdef or ifndef, push the directive onto a stack
44 status = directive
45 if directive == 'endif'
66 result = super(directive, modified_target, delimiter, text)
74 if directive != 'endif'
91 def preprocess_conditional_inclusion directive, target, delimiter, text
97 if @tracking_target != nil && directive
[all...]
/third_party/protobuf/objectivec/DevTools/
H A Dpddm.py208 directive = line.split(' ', 1)[0]
209 if directive == 'PDDM-DEFINE':
216 if directive == 'PDDM-DEFINE-END':
218 raise PDDMError('Got DEFINE-END directive without an active macro:'
222 raise PDDMError('Hit a line with an unknown directive: "%s"' % line)
232 raise PDDMError('Hit a line that wasn\'t a directive and no open macro'
456 directive = line.split(' ', 1)[0]
457 if directive == '//%PDDM-EXPAND':
460 if directive == '//%PDDM-EXPAND-END':
463 raise PDDMError('Ran into directive ("
[all...]
/third_party/node/deps/v8/src/snapshot/embedded/
H A Dplatform-embedded-file-writer-aix.cc16 const char* DirectiveAsString(DataDirective directive) { in DirectiveAsString() argument
17 switch (directive) { in DirectiveAsString()
132 DataDirective directive) { in IndentedDataDirective()
133 return fprintf(fp_, " %s ", DirectiveAsString(directive)); in IndentedDataDirective()
131 IndentedDataDirective( DataDirective directive) IndentedDataDirective() argument
H A Dplatform-embedded-file-writer-mac.cc14 const char* DirectiveAsString(DataDirective directive) { in DirectiveAsString() argument
15 switch (directive) { in DirectiveAsString()
134 DataDirective directive) { in IndentedDataDirective()
135 return fprintf(fp_, " %s ", DirectiveAsString(directive)); in IndentedDataDirective()
133 IndentedDataDirective( DataDirective directive) IndentedDataDirective() argument
H A Dplatform-embedded-file-writer-generic.cc20 const char* DirectiveAsString(DataDirective directive) { in DirectiveAsString() argument
21 switch (directive) { in DirectiveAsString()
160 DataDirective directive) { in IndentedDataDirective()
161 return fprintf(fp_, " %s ", DirectiveAsString(directive)); in IndentedDataDirective()
159 IndentedDataDirective( DataDirective directive) IndentedDataDirective() argument
H A Dplatform-embedded-file-writer-win.cc272 DataDirective directive) { in DirectiveAsString()
275 switch (directive) { in DirectiveAsString()
286 switch (directive) { in DirectiveAsString()
298 switch (directive) { in DirectiveAsString()
448 // directive is IMAGE_REL_ARM64_ADDR64 which represents relocation for in DeclareRvaToSymbol()
562 DataDirective directive) { in IndentedDataDirective()
563 return fprintf(fp_, " %s ", DirectiveAsString(directive)); in IndentedDataDirective()
683 // Windows ARM64 assembly is in GAS syntax, but ".type" is invalid directive in DeclareFunctionBegin()
715 DataDirective directive) { in IndentedDataDirective()
716 return fprintf(fp_, " %s ", DirectiveAsString(directive)); in IndentedDataDirective()
271 DirectiveAsString( DataDirective directive) DirectiveAsString() argument
561 IndentedDataDirective( DataDirective directive) IndentedDataDirective() argument
714 IndentedDataDirective( DataDirective directive) IndentedDataDirective() argument
[all...]
H A Dembedded-file-writer.cc22 DataDirective directive) { in WriteDirectiveOrSeparator()
25 printed_chars = w->IndentedDataDirective(directive); in WriteDirectiveOrSeparator()
101 // Write source directive. in WriteBuiltin()
242 const DataDirective directive = w->ByteChunkDataDirective(); in WriteBinaryContentsAsInlineAssembly() local
243 const int byte_chunk_size = DataDirectiveSize(directive); in WriteBinaryContentsAsInlineAssembly()
246 WriteDirectiveOrSeparator(w, current_line_length, directive); in WriteBinaryContentsAsInlineAssembly()
20 WriteDirectiveOrSeparator(PlatformEmbeddedFileWriterBase* w, int current_line_length, DataDirective directive) WriteDirectiveOrSeparator() argument
H A Dplatform-embedded-file-writer-base.h27 int DataDirectiveSize(DataDirective directive);
84 virtual int IndentedDataDirective(DataDirective directive) = 0;
H A Dplatform-embedded-file-writer-win.h48 int IndentedDataDirective(DataDirective directive) override;
69 const char* DirectiveAsString(DataDirective directive);
H A Dplatform-embedded-file-writer-base.cc32 int DataDirectiveSize(DataDirective directive) { in DataDirectiveSize() argument
33 switch (directive) { in DataDirectiveSize()
/third_party/mbedtls/scripts/
H A Dgenerate_ssl_debug_helpers.py47 If the directive pair does not match , raise CondDirectiveNotMatch.
54 r"(?P<directive>(if[ \t]|ifndef[ \t]|ifdef[ \t]|else|endif))" +
85 directive = match.groupdict()['directive'].strip()
89 if directive in ('if', 'ifndef', 'ifdef'):
90 stack.append((directive, param, start, end))
103 if directive == 'endif':
107 directive = 'if'
110 directive = 'ifndef'
113 directive
[all...]
/third_party/python/Lib/test/
H A Dtest_strptime.py33 def compare_against_time(self, testing, directive, tuple_position,
35 """Helper method that tests testing against directive based on the
39 strftime_output = time.strftime(directive, self.time_tuple).lower()
131 "did not find 'd' directive pattern string '%s'" %
161 for directive in ('a','A','b','B','c','d','G','H','I','j','m','M','p',
163 compiled = self.time_re.compile("%" + directive)
164 found = compiled.match(time.strftime("%" + directive))
166 (time.strftime("%" + directive),
261 def helper(self, directive, position):
263 strf_output = time.strftime("%" + directive, sel
[all...]
/third_party/icu/icu4c/source/python/icutools/databuilder/
H A D__main__.py210 for directive in json_data["replacements"]:
211 if type(directive) == str:
212 input_file = LocalFile(dirname, directive)
213 output_file = InFile(directive)
215 input_file = LocalFile(dirname, directive["src"])
216 output_file = InFile(directive["dest"])
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/
H A D__main__.py210 for directive in json_data["replacements"]:
211 if type(directive) == str:
212 input_file = LocalFile(dirname, directive)
213 output_file = InFile(directive)
215 input_file = LocalFile(dirname, directive["src"])
216 output_file = InFile(directive["dest"])
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/scripts/
H A Dupdate.py308 directive = '#if '
310 print(directive + conds[arch], file=dst_file)
313 directive = '#elif '
322 directive = '#if'
324 print(directive + ' defined(' + defs + ')',
328 directive = '#elif'
/third_party/libuv/test/
H A Drunner.c114 const char* directive; in log_tap_result() local
121 directive = ""; in log_tap_result()
125 directive = " # SKIP "; in log_tap_result()
129 directive = ""; in log_tap_result()
141 fprintf(stdout, "%s %d - %s%s%s\n", result, test_count, test, directive, reason); in log_tap_result()
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Dsource_helpers.js178 function isStrictDirective(directive) {
179 return (directive.value &&
180 babelTypes.isDirectiveLiteral(directive.value) &&
181 directive.value.value === 'use strict');
220 * Specifies if the source has a top-level 'use strict' directive.
280 directive => !isStrictDirective(directive));
/third_party/rust/crates/bindgen/ci/
H A Dtest.bat13 echo Found a test with an #include directive of a system header file!
17 echo include directive won't reliably produce the consistent bindings across systems.
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A DDirectiveParser.cpp94 bool isConditionalDirective(DirectiveType directive) in isConditionalDirective() argument
96 switch (directive) in isConditionalDirective()
205 DirectiveType directive = getDirective(token); in parseDirective() local
209 if (skipping() && !isConditionalDirective(directive)) in parseDirective()
215 switch (directive) in parseDirective()
903 DirectiveType directive = getDirective(token); in parseConditionalIf() local
906 switch (directive) in parseConditionalIf()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
H A DDirectiveParser.cpp98 static bool isConditionalDirective(DirectiveType directive) in isConditionalDirective() argument
100 switch (directive) in isConditionalDirective()
272 DirectiveType directive = getDirective(token); in parseDirective() local
276 if (skipping() && !isConditionalDirective(directive)) in parseDirective()
282 switch(directive) in parseDirective()
934 DirectiveType directive = getDirective(token); in parseConditionalIf() local
937 switch (directive) in parseConditionalIf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp64 const std::string &directive = ".jmptable");
187 const std::string &directive) { in printInlineJT()
193 O << "\t" << directive << " "; in printInlineJT() local
186 printInlineJT(const MachineInstr *MI, int opNum, raw_ostream &O, const std::string &directive) printInlineJT() argument
/third_party/python/Lib/
H A D_strptime.py130 for offset,directive in ((0,'%c'), (1,'%x'), (2,'%X')):
143 if '00' in time.strftime(directive, time_tuple):
219 def __seqToRE(self, to_convert, directive):
220 """Convert a list to a regex string for matching a directive.
235 regex = '(?P<%s>%s' % (directive, regex)
277 # If we are dealing with the %U directive (week starts on Sunday), it's
341 raise ValueError("'%s' is a bad directive in format '%s'" %
490 raise ValueError("ISO year directive '%G' must be used with "
491 "the ISO week directive '%V' and a weekday "
492 "directive ('
[all...]
/third_party/rust/crates/env_logger/src/filter/
H A Dmod.rs6 //! for directive strings see [Enabling Logging].
192 /// Adds a directive to the filter for a specific module.
197 /// Adds a directive to the filter for all modules.
202 /// Adds a directive to the filter.
221 for directive in directives { in parse()
222 self.directives.insert(directive.name, directive.level); in parse()
364 for directive in directives.iter().rev() { in enabled()
365 match directive.name { in enabled()
367 Some(..) | None => return level <= directive in enabled()
[all...]

Completed in 14 milliseconds

123