HomeSort by relevance Sort by last modified time
    Searched defs:tf (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /bionic/tests/
sys_time_test.cpp 47 TemporaryFile tf; local
48 ASSERT_EQ(0, utimes(tf.filename, NULL));
sys_stat_test.cpp 63 TemporaryFile tf; local
64 path = tf.filename;
sys_mman_test.cpp 38 TemporaryFile tf; local
40 void* map = mmap(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1);
45 TemporaryFile tf; local
47 void* map = mmap64(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1);
57 TemporaryFile tf; local
59 ASSERT_EQ(STR_SSIZE(STRING_MSG), write(tf.fd, STRING_MSG, sizeof(STRING_MSG)));
61 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_READ, MAP_SHARED, tf.fd, 0);
71 TemporaryFile tf; local
73 ASSERT_EQ(STR_SSIZE(INITIAL_MSG), write(tf.fd, INITIAL_MSG, sizeof(INITIAL_MSG)));
74 lseek(tf.fd, 0, SEEK_SET)
98 TemporaryFile tf; local
134 TemporaryFile tf; local
    [all...]
fcntl_test.cpp 74 TemporaryFile tf; local
83 EXPECT_EQ(EINVAL, posix_fadvise(tf.fd, 0, 0, -1));
86 EXPECT_EQ(EINVAL, posix_fadvise64(tf.fd, 0, 0, -1));
89 EXPECT_EQ(0, posix_fadvise(tf.fd, 0, 0, POSIX_FADV_NORMAL));
90 EXPECT_EQ(0, posix_fadvise64(tf.fd, 0, 0, POSIX_FADV_NORMAL));
94 TemporaryFile tf; local
100 ASSERT_EQ(-1, fallocate(tf.fd, 0, 0, -1));
104 ASSERT_EQ(-1, fallocate64(tf.fd, 0, 0, -1));
108 ASSERT_EQ(EINVAL, posix_fallocate(tf.fd, 0, -1));
112 ASSERT_EQ(EINVAL, posix_fallocate64(tf.fd, 0, -1))
117 TemporaryFile tf; local
164 TemporaryFile tf; local
    [all...]
stdlib_test.cpp 166 TemporaryFile tf; local
168 ASSERT_EQ(0, fstat(tf.fd, &sb));
172 GenericTemporaryFile<mkstemp64> tf; local
174 ASSERT_EQ(0, fstat64(tf.fd, &sb));
175 ASSERT_EQ(O_LARGEFILE, fcntl(tf.fd, F_GETFL) & O_LARGEFILE);
unistd_test.cpp 141 TemporaryFile tf; local
142 ASSERT_EQ(0, close(tf.fd));
143 ASSERT_EQ(0, truncate(tf.filename, 123));
146 ASSERT_EQ(0, stat(tf.filename, &sb));
151 TemporaryFile tf; local
152 ASSERT_EQ(0, close(tf.fd));
153 ASSERT_EQ(0, truncate64(tf.filename, 123));
156 ASSERT_EQ(0, stat(tf.filename, &sb));
161 TemporaryFile tf; local
162 ASSERT_EQ(0, ftruncate(tf.fd, 123))
171 TemporaryFile tf; local
359 TemporaryFile tf; local
    [all...]
  /external/clang/test/Sema/
fp16-sema.c 10 typedef void(*tf) (__fp16); // expected-error {{parameters cannot have __fp16 type; did you forget * ?}} typedef
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/
p4.cpp 7 void tf() { function
  /external/clang/test/Index/
file-refs.cpp 28 T tf(T t) { function
  /frameworks/base/core/java/android/text/style/
TypefaceSpan.java 83 Typeface tf = Typeface.create(family, oldStyle); local
84 int fake = oldStyle & ~tf.getStyle();
94 paint.setTypeface(tf);
StyleSpan.java 93 Typeface tf; local
95 tf = Typeface.defaultFromStyle(want);
97 tf = Typeface.create(old, want);
100 int fake = want & ~tf.getStyle();
110 paint.setTypeface(tf);
TextAppearanceSpan.java 75 int tf = a.getInt(com.android.internal.R.styleable.TextAppearance_typeface, 0); local
77 switch (tf) {
220 Typeface tf = ds.getTypeface(); local
223 if (tf != null) {
224 style = tf.getStyle();
230 tf = Typeface.create(mTypeface, style);
231 } else if (tf == null) {
232 tf = Typeface.defaultFromStyle(style);
234 tf = Typeface.create(tf, style)
    [all...]
  /external/clang/test/SemaCXX/
warn-large-by-value-copy.cpp 35 void tf(TS<size> ts) {} // expected-warning {{ts' is a large (300 bytes) pass-by-value argument}} function in namespace:rdar8548050
39 tf<300>(ts); // expected-note {{instantiation}}
  /external/chromium_org/third_party/leveldatabase/src/db/
table_cache.cc 20 TableAndFile* tf = reinterpret_cast<TableAndFile*>(value); local
21 delete tf->table;
22 delete tf->file;
23 delete tf;
73 TableAndFile* tf = new TableAndFile; local
74 tf->file = file;
75 tf->table = table;
76 *handle = cache_->Insert(key, tf, 1, &DeleteEntry);
  /external/pixman/test/
matrix-test.c 88 pixman_transform_f128_t tf; local
144 tf.m[j][k] = pixman_fixed_to_float128 (ti.matrix[j][k]);
148 if (pixman_transform_point_f128 (&tf, &vf, &result_f))
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericSignatureFormatErrorTest.java 25 File tf = File.createTempFile("classes", ".dex"); local
27 // +tf.getAbsolutePath()+", canRead: "+tf.canRead()
28 // +", canWrite: "+tf.canWrite());
56 File tf = File.createTempFile("classes", ".dex"); local
58 // tf.getAbsolutePath() + ", canRead: " + tf.canRead() +
59 // ", canWrite: "+tf.canWrite());
62 OutputStream fos = new FileOutputStream(tf);
69 //System.out.println("file length:"+tf.length())
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
StyleSpanTest.java 55 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); local
56 tp.setTypeface(tf);
78 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); local
79 tp.setTypeface(tf);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
FontRenderingTests.java 64 Typeface tf = Typeface.create("sans-serif", Typeface.NORMAL); local
65 fontTestBody(tf, R.drawable.hello1);
70 Typeface tf = Typeface.create("sans-serif", Typeface.BOLD); local
71 fontTestBody(tf, R.drawable.bold1);
76 Typeface tf = Typeface.create("sans-serif", Typeface.ITALIC); local
77 fontTestBody(tf, R.drawable.italic1);
82 Typeface tf = Typeface.create("sans-serif", Typeface.BOLD | Typeface.ITALIC); local
83 fontTestBody(tf, R.drawable.bolditalic1);
88 Typeface tf = Typeface.create("sans-serif-medium", Typeface.NORMAL); local
89 fontTestBody(tf, R.drawable.medium1)
95 Typeface tf = Typeface.create("sans-serif-medium", Typeface.BOLD); local
101 Typeface tf = Typeface.create("sans-serif-medium", Typeface.ITALIC); local
107 Typeface tf = Typeface.create("sans-serif-medium", Typeface.BOLD | Typeface.ITALIC); local
113 Typeface tf = Typeface.create("sans-serif-light", Typeface.NORMAL); local
120 Typeface tf = Typeface.create("sans-serif-light", Typeface.BOLD); local
126 Typeface tf = Typeface.create("sans-serif-light", Typeface.ITALIC); local
132 Typeface tf = Typeface.create("sans-serif-light", Typeface.BOLD | Typeface.ITALIC); local
138 Typeface tf = Typeface.create("sans-serif-thin", Typeface.NORMAL); local
145 Typeface tf = Typeface.create("sans-serif-thin", Typeface.BOLD); local
151 Typeface tf = Typeface.create("sans-serif-thin", Typeface.ITALIC); local
157 Typeface tf = Typeface.create("sans-serif-thin", Typeface.BOLD | Typeface.ITALIC); local
163 Typeface tf = Typeface.create("sans-serif-black", Typeface.NORMAL); local
170 Typeface tf = Typeface.create("sans-serif-black", Typeface.BOLD); local
176 Typeface tf = Typeface.create("sans-serif-black", Typeface.ITALIC); local
182 Typeface tf = Typeface.create("sans-serif-black", Typeface.BOLD | Typeface.ITALIC); local
190 Typeface tf = Typeface.create("sans-serif-condensed", Typeface.NORMAL); local
196 Typeface tf = Typeface.create("sans-serif-condensed", Typeface.BOLD); local
202 Typeface tf = Typeface.create("sans-serif-condensed", Typeface.ITALIC); local
208 Typeface tf = Typeface.create("sans-serif-condensed", Typeface.BOLD | Typeface.ITALIC); local
214 Typeface tf = Typeface.create("sans-serif-condensed-light", Typeface.NORMAL); local
220 Typeface tf = Typeface.create("sans-serif-condensed-light", Typeface.ITALIC); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontCacheSkiaWin.cpp 177 static bool typefacesMatchesFamily(const SkTypeface* tf, const AtomicString& family)
179 SkTypeface::LocalizedStrings* actualFamilies = tf->createFamilyNameIterator();
196 tf->getFamilyName(&familyName);
207 RefPtr<SkTypeface> tf = createTypeface(fontDescription, family, name); local
208 if (!tf)
216 if (!typefacesMatchesFamily(tf.get(), family)) {
220 FontPlatformData* result = new FontPlatformData(tf,
223 fontDescription.weight() >= FontWeightBold && !tf->isBold() || fontDescription.isSyntheticBold(),
224 fontDescription.style() == FontStyleItalic && !tf->isItalic() || fontDescription.isSyntheticItalic(),
240 if (typefacesMatchesFamily(tf.get(), entry.family))
    [all...]
FontFallbackWin.cpp 50 RefPtr<SkTypeface> tf = adoptRef(fontManager->legacyCreateTypeface(family.utf8().data(), SkTypeface::kNormal)); local
51 if (!tf)
54 SkTypeface::LocalizedStrings* actualFamilies = tf->createFamilyNameIterator();
  /external/chromium_org/third_party/skia/gm/
gammatext.cpp 29 SkTypeface* tf = SkTypeface::CreateFromName(name, SkTypeface::kNormal); local
30 if (tf) {
31 paint->setTypeface(tf)->unref();
  /external/clang/test/SemaTemplate/
constructor-template.cpp 109 X5<X6> tf; local
110 X5<X6> tf2(tf);
  /external/skia/gm/
gammatext.cpp 29 SkTypeface* tf = SkTypeface::CreateFromName(name, SkTypeface::kNormal); local
30 if (tf) {
31 paint->setTypeface(tf)->unref();
  /frameworks/base/core/tests/coretests/src/android/text/
SpannedTest.java 99 TypefaceSpan[] tf = s2.getSpans(8, 9, TypefaceSpan.class); local
100 assertEquals(1, tf.length);
101 assertEquals(8, s2.getSpanStart(tf[0]));
102 assertEquals(9, s2.getSpanEnd(tf[0]));
  /libcore/luni/src/test/java/libcore/xml/
XmlPullParserFactoryTest.java 50 TestXmlPullParserFactory tf = new TestXmlPullParserFactory(null, null); local
53 tf.newPullParser();
59 tf.newPullParser();
66 TestXmlPullParserFactory tf = new TestXmlPullParserFactory( local
70 assertTrue(tf.newPullParser() instanceof XmlPullParserStub);
71 assertTrue(tf.newSerializer() instanceof XmlSerializerStub);
75 tf = new TestXmlPullParserFactory(
83 assertTrue(tf.newPullParser() instanceof XmlPullParserStub);
84 assertTrue(tf.newSerializer() instanceof XmlSerializerStub);
89 TestXmlPullParserFactory tf = new TestXmlPullParserFactory local
    [all...]

Completed in 654 milliseconds

1 2 3 4 5