/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 | 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 [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_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()) 86 del tu 95 tu = get_tu(source) 98 for cursor in tu.cursor.get_children(): 109 tu = get_tu(source, lang='cpp') 111 cls = get_cursor(tu, 'X') 112 foo = get_cursor(tu, 'fo [all...] |
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_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...] |
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)
|
/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/clang/tools/libclang/ |
H A D | CXString.h | 28 CXStringBuf(CXTranslationUnit tu) : TU(tu) {} argument
|
H A D | CXTranslationUnit.h | 39 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { } argument
|
H A D | CXSourceLocation.cpp | 119 CXSourceLocation clang_getLocation(CXTranslationUnit tu, argument 123 if (!tu || !file) 127 ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData); 146 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu, argument 149 if (!tu || !file) 152 ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData);
|
/external/yaffs2/yaffs2/ |
H A D | 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 local [all...] |
/external/clang/test/Sema/ |
H A D | transparent-union.c | 18 TU tu; local 19 tu.ip = ip;
|
/external/bluetooth/bluedroid/bta/gatt/ |
H A D | 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/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) 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_memor [all...] |
/external/yaffs2/yaffs2/utils/ |
H A D | 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/ |
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 | 338 unsigned int tu; local 351 tu = 100; 352 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 | 338 unsigned int tu; local 351 tu = 100; 352 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 | 338 unsigned int tu; local 351 tu = 100; 352 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,
|
/external/icu4c/config/ |
H A D | Makefile.inc.in | 91 TOOLUTIL_STUBNAME = tu 107 ICULIBS_TOOLUTIL = -l$(ICUPREFIX)tu$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
|
/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;
|