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

1 2 3 4

  /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 21 tu = TranslationUnit.from_source(path)
22 assert tu.spelling == path
26 tu = get_tu(path)
27 c = tu.cursor
33 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
34 spellings = [c.spelling for c in tu.cursor.get_children()]
40 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
41 tu.reparse()
42 spellings = [c.spelling for c in tu.cursor.get_children()]
47 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_access_specifiers.py 12 tu = get_tu("""
23 test_class = get_cursor(tu, "test_class")
26 public = get_cursor(tu.cursor, "public_member_function")
29 protected = get_cursor(tu.cursor, "protected_member_function")
32 private = get_cursor(tu.cursor, "private_member_function")
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_cursor.py 33 tu = get_tu(kInput)
35 it = tu.cursor.get_children()
73 tu = get_tu('int x;')
74 cursors = list(tu.cursor.get_children())
80 # Delete reference to TU and perform a full GC.
81 del tu
85 # If the TU was destroyed, this should cause a segfault.
90 tu = get_tu(source)
93 for cursor in tu.cursor.get_children():
103 tu = get_tu(source, lang='cpp'
    [all...]
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_comment.py 17 # make a comment-aware TU
18 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
20 test1 = get_cursor(tu, 'test1')
28 test2 = get_cursor(tu, 'test2')
34 f = get_cursor(tu, 'f')
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...]
  /prebuilts/go/darwin-x86/src/debug/dwarf/
typeunit.go 94 tu := d.typeSigs[sig]
95 if tu == nil {
98 if tu.cache != nil {
99 return tu.cache, nil
102 b := makeBuf(d, tu, tu.name, tu.off, tu.data)
103 r := &typeUnitReader{d: d, tu: tu, b: b
    [all...]
  /prebuilts/go/linux-x86/src/debug/dwarf/
typeunit.go 94 tu := d.typeSigs[sig]
95 if tu == nil {
98 if tu.cache != nil {
99 return tu.cache, nil
102 b := makeBuf(d, tu, tu.name, tu.off, tu.data)
103 r := &typeUnitReader{d: d, tu: tu, b: b
    [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/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/store_buffering/
test.c 54 pthread_t tu; local
57 if (pthread_create(&tu, NULL, thread_update, NULL))
61 if (pthread_join(tu, NULL))
  /external/clang/test/CodeGen/
nonnull.c 41 int bar6(TransparentUnion tu) __attribute__((nonnull(1))) {
42 return *tu.p;
  /external/clang/tools/libclang/
CXTranslationUnit.h 43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) {
44 if (!TU)
46 return TU->TheASTUnit;
53 static inline bool isNotUsableTU(CXTranslationUnit TU) {
54 return !TU;
57 #define LOG_BAD_TU(TU) \
60 *Log << "called with a bad TU: " << TU; \
65 CXTranslationUnitImpl *TU;
68 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) {
    [all...]
  /frameworks/base/core/jni/android/opengl/
poly_clip.cpp 65 float t, tu, tv; local
71 tu = sign*COORD(u, index) - u->sw*k;
72 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) {
76 if ((tu <= 0.0f) ^ (tv <= 0.0f)) {
78 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) {
  /libcore/jsr166-tests/src/test/java/jsr166/
TimeUnitTest.java 322 TimeUnit tu = MILLISECONDS;
325 tu.timedWait(o, LONG_DELAY_MS);
341 TimeUnit tu = MILLISECONDS;
346 tu.timedWait(o, LONG_DELAY_MS);
355 tu.timedWait(o, LONG_DELAY_MS);
379 TimeUnit tu = MILLISECONDS;
382 tu.timedJoin(s, LONG_DELAY_MS);
389 tu.timedJoin(s, LONG_DELAY_MS);
410 TimeUnit tu = MILLISECONDS;
413 tu.sleep(LONG_DELAY_MS)
    [all...]
  /system/bt/bta/gatt/
bta_gatts_utils.cc 181 uint8_t su[LEN_UUID_128], tu[LEN_UUID_128]; local
204 bta_gatt_convert_uuid16_to_uuid128(tu, tar.uu.uuid16);
205 pt = tu;
  /art/runtime/base/
timing_logger.cc 205 TimeUnit tu = GetAppropriateTimeUnit(longest_split); local
206 uint64_t divisor = GetNsToTimeUnitDivisor(tu);
223 os << FormatDuration(exclusive_time, tu, kFractionalDigits);
226 os << "/" << FormatDuration(total_time, tu, kFractionalDigits);
  /external/swiftshader/third_party/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);

Completed in 327 milliseconds

1 2 3 4