HomeSort by relevance Sort by last modified time
    Searched refs:tu (Results 1 - 25 of 40) sorted by null

1 2

  /external/clang/bindings/python/tests/cindex/
test_diagnostics.py 7 tu = get_tu('int f0() {}\n')
8 assert len(tu.diagnostics) == 1
9 assert tu.diagnostics[0].severity == Diagnostic.Warning
10 assert tu.diagnostics[0].location.line == 1
11 assert tu.diagnostics[0].location.column == 11
12 assert (tu.diagnostics[0].spelling ==
17 tu = get_tu('#define A x\nvoid *A = 1;\n')
18 assert len(tu.diagnostics) == 1
19 assert tu.diagnostics[0].severity == Diagnostic.Warning
20 assert tu.diagnostics[0].location.line ==
    [all...]
test_location.py 16 tu = get_tu(baseInput)
17 one = get_cursor(tu, 'one')
18 two = get_cursor(tu, 'two')
27 tu = get_tu('\n' + baseInput)
28 one = get_cursor(tu, 'one')
29 two = get_cursor(tu, 'two')
38 tu = get_tu(' ' + baseInput)
39 one = get_cursor(tu, 'one')
40 two = get_cursor(tu, 'two')
47 tu = get_tu(baseInput
    [all...]
test_file.py 5 tu = index.parse('t.c', unsaved_files = [('t.c', "")])
6 file = File.from_name(tu, "t.c")
test_cursor.py 34 tu = get_tu(kInput)
37 it = tu.cursor.get_children()
78 tu = get_tu('int x;')
79 cursors = list(tu.cursor.get_children())
85 # Delete reference to TU and perform a full GC.
86 del tu
90 # If the TU was destroyed, this should cause a segfault.
95 tu = get_tu(source)
98 for cursor in tu.cursor.get_children():
109 tu = get_tu(source, lang='cpp'
    [all...]
test_translation_unit.py 19 tu = TranslationUnit.from_source(path)
20 assert tu.spelling == path
24 tu = get_tu(path)
25 c = tu.cursor
31 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
32 spellings = [c.spelling for c in tu.cursor.get_children()]
38 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
39 tu.reparse()
40 spellings = [c.spelling for c in tu.cursor.get_children()]
45 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files =
    [all...]
test_code_completion.py 25 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
28 cr = tu.codeComplete('fake.c', 9, 1, unsaved_files=files, include_brief_comments=True)
55 tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files)
57 cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files)
68 cr = tu.codeComplete('fake.cpp', 13, 5, unsaved_files=files)
test_tokens.py 13 tu = get_tu('int i = 5;')
14 r = tu.get_extent('t.c', (0, 9))
15 tokens = list(tu.get_tokens(extent=r))
28 tu = get_tu('int foo = 10;')
29 r = tu.get_extent('t.c', (0, 11))
31 tokens = list(tu.get_tokens(extent=r))
42 tu = get_tu('int foo = 10;')
43 r = tu.get_extent('t.c', (0, 11))
45 tokens = list(tu.get_tokens(extent=r))
test_index.py 14 tu = index.parse(os.path.join(kInputsDir, 'hello.cpp'))
15 assert isinstance(tu, TranslationUnit)
test_type.py 28 tu = get_tu(kInput)
30 teststruct = get_cursor(tu, 'teststruct')
82 tu = get_tu('int x;')
83 children = list(tu.cursor.get_children())
92 del tu
96 # If the TU was destroyed, this should cause a segfault.
105 tu = get_tu(constarrayInput)
107 teststruct = get_cursor(tu, 'teststruct')
119 tu = get_tu(source)
121 a = get_cursor(tu, 'a'
    [all...]
  /external/clang/bindings/python/examples/cindex/
cindex-includes.py 33 tu = index.parse(None, args)
34 if not tu:
44 for i in tu.get_includes():
cindex-dump.py 78 tu = index.parse(None, args)
79 if not tu:
82 pprint(('diags', map(get_diag_info, tu.diagnostics)))
83 pprint(('nodes', get_info(tu.cursor)))
  /external/clang/tools/libclang/
CXTranslationUnit.h 41 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) {
42 return TU->TheASTUnit;
46 CXTranslationUnitImpl *TU;
49 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { }
52 CXTranslationUnitImpl *getTU() const { return TU; }
55 CXTranslationUnitImpl *retTU = TU;
56 TU = 0;
  /external/yaffs2/yaffs2/
yaffs_tagscompat.c 123 yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr; local
127 sparePtr->tagByte0 = tu->asBytes[0];
128 sparePtr->tagByte1 = tu->asBytes[1];
129 sparePtr->tagByte2 = tu->asBytes[2];
130 sparePtr->tagByte3 = tu->asBytes[3];
131 sparePtr->tagByte4 = tu->asBytes[4];
132 sparePtr->tagByte5 = tu->asBytes[5];
133 sparePtr->tagByte6 = tu->asBytes[6];
134 sparePtr->tagByte7 = tu->asBytes[7];
140 yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr local
    [all...]
  /frameworks/base/core/jni/android/opengl/
poly_clip.cpp 66 float t, tu, tv; local
72 tu = sign*COORD(u, index) - u->sw*k;
73 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) {
77 if ((tu <= 0.0f) ^ (tv <= 0.0f)) {
79 t = tu/(tu-tv);
  /external/clang/test/Sema/
transparent-union.c 7 } TU __attribute__((transparent_union));
9 void f(TU); // expected-note{{passing argument to parameter here}}
17 TU tu_ip = ip; // expected-error{{incompatible type}}
18 TU tu; local
19 tu.ip = ip;
25 void fip(TU);
28 void ffp(TU);
31 void flp(TU);
34 void fvp(TU); // expected-note{{previous declaration is here}
    [all...]
  /development/tools/mkstubs/tests/data/
TestTemplateClass.java 53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) {
  /external/bluetooth/bluedroid/bta/gatt/
bta_gatts_utils.c 195 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; local
223 bta_gatt_convert_uuid16_to_uuid128(tu, tar.uu.uuid16);
224 pt = tu;
bta_gattc_utils.c 72 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; local
103 bta_gatt_convert_uuid16_to_uuid128(tu, tar.uu.uuid16);
104 pt = tu;
  /external/yaffs2/yaffs2/utils/
mkyaffsimage.c 189 yaffs_TagsUnion *tu = (yaffs_TagsUnion *)tagsPtr; local
193 sparePtr->tagByte0 = tu->asBytes[0];
194 sparePtr->tagByte1 = tu->asBytes[1];
195 sparePtr->tagByte2 = tu->asBytes[2];
196 sparePtr->tagByte3 = tu->asBytes[3];
197 sparePtr->tagByte4 = tu->asBytes[4];
198 sparePtr->tagByte5 = tu->asBytes[5];
199 sparePtr->tagByte6 = tu->asBytes[6];
200 sparePtr->tagByte7 = tu->asBytes[7];
  /external/llvm/test/Bindings/Ocaml/
executionengine.ml 41 let tu = (1, 2) in
42 let ptrgv = GenericValue.of_pointer tu in
43 assert (tu = GenericValue.as_pointer ptrgv);
  /external/clang/bindings/python/clang/
cindex.py 180 def from_position(tu, file, line, column):
185 return conf.lib.clang_getLocation(tu, file, line, column)
188 def from_offset(tu, file, offset):
191 tu -- TranslationUnit file belongs to
195 return conf.lib.clang_getLocationForOffset(tu, file, offset)
397 def __init__(self, tu, memory, count):
398 self._tu = tu
406 def get_tokens(tu, extent):
415 conf.lib.clang_tokenize(tu, extent, byref(tokens_memory),
427 token_group = TokenGroup(tu, tokens_memory, tokens_count
    [all...]
  /external/wpa_supplicant_8/src/p2p/
p2p_dev_disc.c 284 * Peer is expected to be awake for at least 100 TU; try to
338 unsigned int tu; local
343 "100 TU");
349 /* Remain awake 100 TU on operating channel */
351 tu = 100;
352 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,
  /external/icu4c/config/
Makefile.inc.in 96 TOOLUTIL_STUBNAME = tu
112 ICULIBS_TOOLUTIL = -l$(ICUPREFIX)tu$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
  /external/wpa_supplicant_8/src/ap/
ieee802_11_shared.c 26 u32 timeout, tu; local
34 tu = (passed.sec * 1000000 + passed.usec) / 1024;
35 if (hapd->conf->assoc_sa_query_max_timeout > tu)
36 timeout = hapd->conf->assoc_sa_query_max_timeout - tu;
  /external/quake/quake/src/QW/dxsdk/sdk/inc/
d3dtypes.h 220 D3DVALUE tu; /* Texture coordinates */ member in union:_D3DTLVERTEX::__anon14260
255 D3DVALUE tu; /* Texture coordinates */ member in union:_D3DLVERTEX::__anon14267
294 D3DVALUE tu; /* Texture coordinates */ member in union:_D3DVERTEX::__anon14275

Completed in 371 milliseconds

1 2