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

1 2 3

  /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_translation_unit.py 20 tu = TranslationUnit.from_source(path)
21 assert tu.spelling == path
25 tu = get_tu(path)
26 c = tu.cursor
32 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
33 spellings = [c.spelling for c in tu.cursor.get_children()]
39 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
40 tu.reparse()
41 spellings = [c.spelling for c in tu.cursor.get_children()]
46 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files =
    [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_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_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...]
test_index.py 14 tu = index.parse(os.path.join(kInputsDir, 'hello.cpp'))
15 assert isinstance(tu, TranslationUnit)
  /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)))
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/output/
xml_log_formatter.hpp 46 void test_unit_start( std::ostream&, test_unit const& tu );
47 void test_unit_finish( std::ostream&, test_unit const& tu, unsigned long elapsed );
48 void test_unit_skipped( std::ostream&, test_unit const& tu );
compiler_log_formatter.hpp 43 void test_unit_start( std::ostream&, test_unit const& tu );
44 void test_unit_finish( std::ostream&, test_unit const& tu, unsigned long elapsed );
45 void test_unit_skipped( std::ostream&, test_unit const& tu );
  /external/clang/tools/libclang/
CXTranslationUnit.h 41 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) {
42 if (!TU)
44 return TU->TheASTUnit;
48 CXTranslationUnitImpl *TU;
51 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { }
54 CXTranslationUnitImpl *getTU() const { return TU; }
57 CXTranslationUnitImpl *retTU = TU;
58 TU = 0
    [all...]
  /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) {
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
unit_test_log_formatter.hpp 97 virtual void test_unit_start( std::ostream&, test_unit const& tu ) = 0;
98 virtual void test_unit_finish( std::ostream&, test_unit const& tu, unsigned long elapsed ) = 0;
unit_test_suite_impl.hpp 60 void depends_on( test_unit* tu );
134 void add( test_unit* tu, counter_t expected_failures = 0, unsigned timeout = 0 );
195 traverse_test_tree( test_unit const& tu, test_tree_visitor& V )
197 if( tu.p_type == tut_case )
198 traverse_test_tree( static_cast<test_case const&>( tu ), V );
200 traverse_test_tree( static_cast<test_suite const&>( tu ), V );
framework.hpp 57 BOOST_TEST_DECL void deregister_test_unit( test_unit* tu );
  /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;
  /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/wpa_supplicant_8/src/p2p/
p2p_dev_disc.c 258 * Peer is expected to be awake for at least 100 TU; try to
308 unsigned int tu; local
311 p2p_dbg(p2p, "Received GO Discoverability Request - remain awake for 100 TU");
317 /* Remain awake 100 TU on operating channel */
319 tu = 100;
320 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,

Completed in 386 milliseconds

1 2 3