HomeSort by: relevance | last modified time | path
    Searched refs:spelling (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/
util.py 43 def get_cursor(source, spelling):
47 spelling within a source. The first argument can be either a
56 if cursor.spelling == spelling:
61 def get_cursors(source, spelling):
62 """Obtain all cursors from a source object with a specific spelling.
65 specific spelling within a source. The first argument can be either a
75 if cursor.spelling == spelling:
test_type.py 51 self.assertEqual(fields[0].spelling, 'a')
59 self.assertEqual(fields[1].spelling, 'b')
63 self.assertEqual(fields[1].type.get_declaration().spelling, 'I')
68 self.assertEqual(fields[2].spelling, 'c')
76 self.assertEqual(fields[3].spelling, 'd')
84 self.assertEqual(fields[4].spelling, 'e')
92 self.assertEqual(fields[5].spelling, 'f')
100 self.assertEqual(fields[6].spelling, 'g')
108 self.assertEqual(fields[7].spelling, 'h')
142 self.assertEqual(fields[0].spelling, 'A'
    [all...]
test_exception_specification_kind.py 15 declarations.append((node.spelling, node.exception_specification_kind))
test_translation_unit.py 57 self.assertEqual(tu.spelling, path)
69 spellings = [c.spelling for c in tu.cursor.get_children()]
77 spellings = [c.spelling for c in tu.cursor.get_children()]
92 spellings = [c.spelling for c in tu.cursor.get_children()]
103 spellings = [c.spelling for c in tu.cursor.get_children()]
118 spellings = [c.spelling for c in tu.cursor.get_children()]
311 self.assertEqual(tokens[0].spelling, 'int')
313 self.assertEqual(tokens[0].spelling, 'int')
317 self.assertEqual(tokens[0].spelling, 'int')
test_diagnostics.py 22 self.assertEqual(tu.diagnostics[0].spelling,
32 self.assertIn('incompatible', tu.diagnostics[0].spelling)
36 # self.assertEqual(tu.diagnostics[1].spelling, 'instantiated from')
44 self.assertRegex(tu.diagnostics[0].spelling,
59 self.assertRegex(tu.diagnostics[0].spelling,
100 self.assertRegex(children[0].spelling,
110 self.assertEqual(repr(d), '<Diagnostic severity 3, location <SourceLocation file \'t.c\', line 1, column 26>, spelling "expected \';\' after struct">')
test_cursor.py 69 self.assertEqual(tu_nodes[0].spelling, 's0')
80 self.assertEqual(s0_nodes[0].spelling, 'a')
83 self.assertEqual(s0_nodes[1].spelling, 'b')
87 self.assertEqual(tu_nodes[1].spelling, 's1')
92 self.assertEqual(tu_nodes[2].spelling, 'f0')
119 if cursor.spelling == 'X':
480 self.assertEqual(tokens[0].spelling, 'int')
481 self.assertEqual(tokens[1].spelling, 'foo')
495 self.assertEqual(len(tokens), 4, [t.spelling for t in tokens])
496 self.assertEqual(tokens[0].spelling, '='
    [all...]
test_tokens.py 25 self.assertEqual(tokens[1].spelling, 'i')
test_location.py 76 for n in [n for n in tu.cursor.get_children() if n.spelling == 'one']:
  /src/external/apache2/llvm/dist/clang/bindings/python/examples/cindex/
cindex-dump.py 19 'spelling' : diag.spelling,
47 'spelling' : node.spelling,
  /src/external/mit/xorg/lib/fontconfig/etc/
fonts.conf 46 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
69 Accept alternate 'system ui' spelling, replacing it with 'system-ui'
  /src/external/gpl3/gcc/dist/libcpp/
lex.cc 2246 struct normalize_state *nst, cpp_hashnode **spelling)
2280 *spelling = cpp_lookup (pfile, base, pfile->buffer->cur - base);
2289 *spelling = result;
2386 /* Create a token of type TYPE with a literal spelling. */
2554 /* Lexes a raw string. The stored string contains the spelling,
2563 The spelling is NUL-terminated, but it is not guaranteed that this
2861 name. The stored string contains the spelling, including opening
2867 The spelling is NUL-terminated, but it is not guaranteed that this
3976 &result->val.node.spelling);
4287 &result->val.node.spelling);
4457 const unsigned char *spelling; local
4536 const unsigned char *spelling; local
5675 location_t spelling; local
    [all...]
macro.cc 86 /* The canonical (UTF-8) spelling of this identifier. */
1751 spelling location of the returned token. */
2605 replacement list), PARM_DEF_LOC is the spelling location of the
2983 related to macro expansion or a spelling location. */
3227 separate from the spelling location carried by the returned token.
3231 expansion; in that case the token's spelling location indicates the
3242 - the spelling location of the token
3262 location is just the same thing as its spelling location. */
3434 /* Save parameter NODE (spelling SPELLING) to the parameter list o
3627 cpp_hashnode *spelling = token->val.node.spelling; local
    [all...]
  /src/external/gpl3/gcc.old/dist/libcpp/
lex.cc 2015 struct normalize_state *nst, cpp_hashnode **spelling)
2049 *spelling = cpp_lookup (pfile, base, pfile->buffer->cur - base);
2058 *spelling = result;
2146 /* Create a token of type TYPE with a literal spelling. */
2277 /* Lexes a raw string. The stored string contains the spelling,
2286 The spelling is NUL-terminated, but it is not guaranteed that this
2592 name. The stored string contains the spelling, including opening
2598 The spelling is NUL-terminated, but it is not guaranteed that this
3687 &result->val.node.spelling);
3995 &result->val.node.spelling);
4137 const unsigned char *spelling; local
4216 const unsigned char *spelling; local
5355 location_t spelling; local
    [all...]
macro.cc 86 /* The canonical (UTF-8) spelling of this identifier. */
1742 spelling location of the returned token. */
2596 replacement list), PARM_DEF_LOC is the spelling location of the
2974 related to macro expansion or a spelling location. */
3218 separate from the spelling location carried by the returned token.
3222 expansion; in that case the token's spelling location indicates the
3233 - the spelling location of the token
3253 location is just the same thing as its spelling location. */
3425 /* Save parameter NODE (spelling SPELLING) to the parameter list o
3618 cpp_hashnode *spelling = token->val.node.spelling; local
    [all...]
  /src/external/apache2/llvm/dist/clang/utils/analyzer/
exploded-graph-rewriter.py 57 self.spelling = SourceLocation(json_loc['spelling']) \
58 if 'spelling' in json_loc else None
61 return self.spelling is not None
472 '(<i>spelling at </i> %s)</font>' \
473 % (make_plain_loc(loc), make_plain_loc(loc.spelling))
  /src/external/lgpl3/gmp/dist/demos/
pexpr.c 691 char *spelling; member in struct:functions
756 cnt = matchp (fns[i].spelling, str);
776 cnt = matchp (fns[i].spelling, str);
  /src/external/apache2/llvm/dist/clang/bindings/python/clang/
cindex.py 221 _fields_ = [("spelling", c_char_p), ("free", c_int)]
403 def spelling(self): member in class:Diagnostic
495 return "<Diagnostic severity %r, location %r, spelling %r>" % (
496 self.severity, self.location, self.spelling)
716 # declaration; one can extract their location information, spelling, find their
893 # expression; one can extract their location information, spelling, children,
1091 # one can extract their location information, spelling, children, etc. However,
1544 def spelling(self): member in class:Cursor
1545 """Return the spelling of the entity pointed at by the cursor."""
2023 def spelling(self) member in class:TypeKind
2427 def spelling(self): member in class:Type
2510 def spelling(self): member in class:CompletionChunk
2883 def spelling(self): member in class:TranslationUnit
3287 def spelling(self): member in class:Token
    [all...]
  /src/external/gpl3/gcc/dist/libcpp/include/
cpplib.h 228 /* The original spelling of the macro argument token. */
233 spelling;
238 /* The canonical (UTF-8) spelling of the identifier. */
244 /* The original spelling of the identifier. */
249 spelling;
273 /* Argument no. (and original spelling) for a CPP_MACRO_ARG. */
866 the original spelling of those identifiers, not the canonical
867 UTF-8 spelling, goes here. */
  /src/external/gpl3/gcc.old/dist/libcpp/include/
cpplib.h 220 /* The original spelling of the macro argument token. */
225 spelling;
230 /* The canonical (UTF-8) spelling of the identifier. */
236 /* The original spelling of the identifier. */
241 spelling;
265 /* Argument no. (and original spelling) for a CPP_MACRO_ARG. */
819 the original spelling of those identifiers, not the canonical
820 UTF-8 spelling, goes here. */
  /src/external/gpl3/gcc/dist/gcc/c/
c-typeck.cc 7095 The component name is taken from the spelling stack. */
7135 component name is taken from the spelling stack. */
7161 component name is taken from the spelling stack. */
8441 /* Implement a spelling stack that allows components of a name to be pushed
8444 struct spelling
8458 static struct spelling *spelling; /* Next stack element (unused). */
8459 static struct spelling *spelling_base; /* Spelling stack base. */
8460 static int spelling_size; /* Size of the spelling stack. *
8418 struct spelling struct
8432 static struct spelling *spelling; \/* Next stack element (unused). *\/ variable in typeref:struct:spelling
9229 struct spelling *spelling; member in struct:initializer_stack
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/c/
c-typeck.cc 6578 The component name is taken from the spelling stack. */
6601 component name is taken from the spelling stack. */
6624 component name is taken from the spelling stack. */
7855 /* Implement a spelling stack that allows components of a name to be pushed
7858 struct spelling
7872 static struct spelling *spelling; /* Next stack element (unused). */
7873 static struct spelling *spelling_base; /* Spelling stack base. */
7874 static int spelling_size; /* Size of the spelling stack. *
7834 struct spelling struct
7848 static struct spelling *spelling; \/* Next stack element (unused). *\/ variable in typeref:struct:spelling
8435 struct spelling *spelling; member in struct:initializer_stack
    [all...]
  /src/usr.bin/make/unit-tests/
var-scope-local.mk 96 # common in BSD makefiles, but with parentheses. This alternative spelling
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaObjCProperty.cpp 2303 StringRef spelling = "__attribute__((objc_method_family(none)))"; local
2306 spelling = macroName;
2309 << method->getDeclName() << spelling;
2312 fixItText += spelling;
  /src/external/apache2/llvm/include/
Makefile 200 clang/Sema/AttrSpellingListIndex.inc|-gen-clang-attr-spelling-index \
  /src/external/apache2/llvm/dist/clang/lib/Lex/
Lexer.cpp 179 /// spelling loc that indicates the bytes to be lexed for the token and an
268 // Token Spelling
272 /// spelling of this token from the provided input buffer.
274 const LangOptions &LangOpts, char *Spelling) {
284 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
287 if (Spelling[Length - 1] == '"')
295 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') {
302 // Everything between the quotes is included verbatim in the spelling.
303 memcpy(Spelling + Length, BufPtr, RawLength)
    [all...]

Completed in 121 milliseconds

1 2