Home
last modified time | relevance | path

Searched refs:tu (Results 1 – 25 of 175) sorted by relevance

1234567

/external/clang/bindings/python/tests/cindex/
Dtest_diagnostics.py7 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 == 2
[all …]
Dtest_translation_unit.py21 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 …]
Dtest_cursor.py31 tu = get_tu(kInput)
33 it = tu.cursor.get_children()
71 tu = get_tu('int x;')
72 cursors = list(tu.cursor.get_children())
79 del tu
88 tu = get_tu(source)
91 for cursor in tu.cursor.get_children():
102 tu = get_tu(source, lang='cpp')
104 cls = get_cursor(tu, 'X')
105 foo = get_cursor(tu, 'foo')
[all …]
Dtest_type.py28 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, 'b')
[all …]
Dtest_location.py16 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 …]
Dtest_tokens.py13 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))
Dtest_access_specifiers.py12 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")
Dtest_code_completion.py25 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)
Dtest_comment.py18 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')
Dtest_file.py5 tu = index.parse('t.c', unsaved_files = [('t.c', "")])
6 file = File.from_name(tu, "t.c")
Dtest_index.py14 tu = index.parse(os.path.join(kInputsDir, 'hello.cpp'))
15 assert isinstance(tu, TranslationUnit)
/external/yaffs2/yaffs2/
Dyaffs_tagscompat.c123 yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr; in yaffs_LoadTagsIntoSpare() local
127 sparePtr->tagByte0 = tu->asBytes[0]; in yaffs_LoadTagsIntoSpare()
128 sparePtr->tagByte1 = tu->asBytes[1]; in yaffs_LoadTagsIntoSpare()
129 sparePtr->tagByte2 = tu->asBytes[2]; in yaffs_LoadTagsIntoSpare()
130 sparePtr->tagByte3 = tu->asBytes[3]; in yaffs_LoadTagsIntoSpare()
131 sparePtr->tagByte4 = tu->asBytes[4]; in yaffs_LoadTagsIntoSpare()
132 sparePtr->tagByte5 = tu->asBytes[5]; in yaffs_LoadTagsIntoSpare()
133 sparePtr->tagByte6 = tu->asBytes[6]; in yaffs_LoadTagsIntoSpare()
134 sparePtr->tagByte7 = tu->asBytes[7]; in yaffs_LoadTagsIntoSpare()
140 yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr; in yaffs_GetTagsFromSpare() local
[all …]
/external/clang/bindings/python/examples/cindex/
Dcindex-dump.py78 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)))
Dcindex-includes.py33 tu = index.parse(None, args)
34 if not tu:
44 for i in tu.get_includes():
/external/chromium_org/third_party/icu/source/data/locales/
Dvi.txt1185 "-1"{"Thứ Sáu tuần trước"}
1186 "0"{"Thứ Sáu tuần này"}
1187 "1"{"Thứ Sáu tuần sau"}
1214 "-1"{"Thứ Hai tuần trước"}
1215 "0"{"Thứ Hai tuần này"}
1216 "1"{"Thứ Hai tuần sau"}
1237 "-1"{"Thứ Bảy tuần trước"}
1238 "0"{"Thứ Bảy tuần này"}
1239 "1"{"Thứ Bảy tuần sau"}
1258 "-1"{"Chủ Nhật tuần trước"}
[all …]
/external/icu/icu4c/source/data/locales/
Dvi.txt1185 "-1"{"Thứ Sáu tuần trước"}
1186 "0"{"Thứ Sáu tuần này"}
1187 "1"{"Thứ Sáu tuần sau"}
1214 "-1"{"Thứ Hai tuần trước"}
1215 "0"{"Thứ Hai tuần này"}
1216 "1"{"Thứ Hai tuần sau"}
1237 "-1"{"Thứ Bảy tuần trước"}
1238 "0"{"Thứ Bảy tuần này"}
1239 "1"{"Thứ Bảy tuần sau"}
1258 "-1"{"Chủ Nhật tuần trước"}
[all …]
/external/chromium_org/third_party/polymer/components-chromium/paper-ripple/
Draw-extracted.js32 function waveOpacityFn(td, tu) { argument
35 var touchUp = tu / 1000;
38 if (tu <= 0) { // before touch up
44 function waveOuterOpacityFn(td, tu) { argument
47 var touchUp = tu / 1000;
52 var waveOpacity = waveOpacityFn(td, tu);
57 function waveGravityToCenterPercentageFn(td, tu, r) { argument
60 var touchUp = tu / 1000;
Dpaper-ripple-extracted.js24 function waveOpacityFn(td, tu, anim) { argument
27 var touchUp = tu / 1000;
30 if (tu <= 0) { // before touch up
36 function waveOuterOpacityFn(td, tu, anim) { argument
39 var touchUp = tu / 1000;
44 var waveOpacity = waveOpacityFn(td, tu, anim);
/external/libgsm/
DChangeLog19 Fri Jul 5 19:26:37 1996 Jutta Degener (jutta@cs.tu-berlin.de)
25 Tue Jul 2 12:18:20 1996 Jutta Degener (jutta@cs.tu-berlin.de)
39 Tue Mar 7 01:55:10 1995 Jutta Degener (jutta@cs.tu-berlin.de)
46 Fri Dec 30 23:33:50 1994 Jutta Degener (jutta@cs.tu-berlin.de)
52 Mon Nov 28 20:49:57 1994 Jutta Degener (jutta@cs.tu-berlin.de)
58 man/*: bug reports to {jutta,cabo}@cs.tu-berlin.de, not to toast@tub
/external/yaffs2/yaffs2/utils/
Dmkyaffsimage.c189 yaffs_TagsUnion *tu = (yaffs_TagsUnion *)tagsPtr; in yaffs_LoadTagsIntoSpare() local
193 sparePtr->tagByte0 = tu->asBytes[0]; in yaffs_LoadTagsIntoSpare()
194 sparePtr->tagByte1 = tu->asBytes[1]; in yaffs_LoadTagsIntoSpare()
195 sparePtr->tagByte2 = tu->asBytes[2]; in yaffs_LoadTagsIntoSpare()
196 sparePtr->tagByte3 = tu->asBytes[3]; in yaffs_LoadTagsIntoSpare()
197 sparePtr->tagByte4 = tu->asBytes[4]; in yaffs_LoadTagsIntoSpare()
198 sparePtr->tagByte5 = tu->asBytes[5]; in yaffs_LoadTagsIntoSpare()
199 sparePtr->tagByte6 = tu->asBytes[6]; in yaffs_LoadTagsIntoSpare()
200 sparePtr->tagByte7 = tu->asBytes[7]; in yaffs_LoadTagsIntoSpare()
/external/clang/tools/libclang/
DCXTranslationUnit.h68 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { } in CXTUOwner() argument
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gatts_utils.c195 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gatts_uuid_compare() local
223 bta_gatt_convert_uuid16_to_uuid128(tu, tar.uu.uuid16); in bta_gatts_uuid_compare()
224 pt = tu; in bta_gatts_uuid_compare()
/external/clang/bindings/python/clang/
Dcindex.py180 def from_position(tu, file, line, column): argument
185 return conf.lib.clang_getLocation(tu, file, line, column)
188 def from_offset(tu, file, offset): argument
195 return conf.lib.clang_getLocationForOffset(tu, file, offset)
420 def __init__(self, tu, memory, count): argument
421 self._tu = tu
429 def get_tokens(tu, extent): argument
438 conf.lib.clang_tokenize(tu, extent, byref(tokens_memory),
450 token_group = TokenGroup(tu, tokens_memory, tokens_count)
456 token._tu = tu
[all …]
/external/clang/test/Sema/
Dtransparent-union.c18 TU tu; in g() local
19 tu.ip = ip; in g()
/external/clang/test/Index/
Dindex-module-with-vfs.m18 // RUN: c-index-test -index-tu %t.cache/ModuleNeedsVFS.pcm | FileCheck %s -check-prefix=CHECK-MOD
24 // RUN: c-index-test -index-tu %t.cache/BaseModuleNeedsVFS.pcm | FileCheck %s -check-prefix=CHECK-M…

1234567