/external/clang/bindings/python/tests/cindex/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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")
|
H A D | 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()) 81 del tu 90 tu = get_tu(source) 93 for cursor in tu.cursor.get_children(): 103 tu = get_tu(source, lang='cpp') 105 cls = get_cursor(tu, 'X') 106 foo = get_cursor(tu, 'fo [all...] |
H A D | 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 [all...] |
H A D | test_comment.py | 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')
|
H A D | 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))
|
H A D | test_file.py | 5 tu = index.parse('t.c', unsaved_files = [('t.c', "")]) 6 file = File.from_name(tu, "t.c")
|
H A D | test_index.py | 14 tu = index.parse(os.path.join(kInputsDir, 'hello.cpp')) 15 assert isinstance(tu, TranslationUnit)
|
H A D | 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)
|
H A D | 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 105 tu = get_tu(constarrayInput) 107 teststruct = get_cursor(tu, 'teststruct') 119 tu = get_tu(source) 121 a = get_cursor(tu, 'a') 122 b = get_cursor(tu, ' [all...] |
/external/clang/bindings/python/examples/cindex/ |
H A D | cindex-includes.py | 33 tu = index.parse(None, args) 34 if not tu: 44 for i in tu.get_includes():
|
H A D | 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/ |
H A D | test.c | 55 pthread_t tu; local 58 if (pthread_create(&tu, NULL, thread_update, NULL)) 62 if (pthread_join(tu, NULL))
|
/external/clang/test/CodeGen/ |
H A D | nonnull.c | 41 int bar6(TransparentUnion tu) __attribute__((nonnull(1))) { argument 42 return *tu.p;
|
/external/clang/tools/libclang/ |
H A D | CXTranslationUnit.h | 68 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { } argument
|
/external/clang/test/Sema/ |
H A D | transparent-union.c | 18 TU tu; local 19 tu.ip = ip;
|
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/ |
H A D | 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/hostapd/src/p2p/ |
H A D | p2p_dev_disc.c | 312 unsigned int tu; local 323 tu = 100; 324 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,
|
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_dev_disc.c | 312 unsigned int tu; local 323 tu = 100; 324 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,
|
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_dev_disc.c | 312 unsigned int tu; local 323 tu = 100; 324 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,
|
/external/clang/bindings/python/clang/ |
H A D | 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) 437 def __init__(self, tu, memory, count): 438 self._tu = tu 446 def get_tokens(tu, extent): 455 conf.lib.clang_tokenize(tu, extent, byref(tokens_memory), 467 token_group = TokenGroup(tu, tokens_memor [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | 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/wpa_supplicant_8/src/ap/ |
H A D | 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/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | 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;
|