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

1 2 3 4 5 6 7 8 91011>>

  /toolchain/binutils/binutils-2.25/gold/testsuite/
testmain.cc 36 Test_framework tf; local
37 Register_test::run_tests(&tf);
39 exit(tf.failures());
  /external/clang/test/PCH/
headersearch.cpp 10 // RUN: echo 'template <typename T> void tf() { orig_sub2_1(); T::foo(); }' >> %t_orig/sub2/orig_sub2.h
44 tf<int>();
missing-file.cpp 5 // RUN: echo 'template <typename T> void tf() { T::foo(); }' >> %t.h
25 tf<int>();
  /external/curl/packages/vms/
config_h.com 171 $ write tf ""
172 $ write tf -
174 $ write tf -
176 $ write tf -
180 $ write tf -
183 $ write tf -
185 $ write tf ""
256 $ write tf ""
267 $ write tf line_in
293 $ write tf "/* ", xline, " */
    [all...]
  /system/core/adb/
adb_io_test.cpp 42 TemporaryFile tf; local
43 ASSERT_NE(-1, tf.fd);
45 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno);
46 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET));
50 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)) << strerror(errno);
56 TemporaryFile tf; local
57 ASSERT_NE(-1, tf.fd);
59 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno);
60 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET));
64 ASSERT_FALSE(ReadFdExactly(tf.fd, buf, sizeof(buf)))
70 TemporaryFile tf; local
87 TemporaryFile tf; local
102 TemporaryFile tf; local
128 TemporaryFile tf; local
141 TemporaryFile tf; local
    [all...]
  /bionic/tests/
sys_uio_test.cpp 24 TemporaryFile tf; local
30 ASSERT_EQ(10, writev(tf.fd, ios, 2));
32 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET));
37 ASSERT_EQ(10, readv(tf.fd, ios, 2));
45 TemporaryFile tf; local
50 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 5));
51 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR));
54 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 0));
55 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR));
57 ASSERT_EQ(5, read_fn(tf.fd, ios, 1, 5))
    [all...]
sys_xattr_test.cpp 25 TemporaryFile tf; local
27 ASSERT_EQ(0, setxattr(tf.filename, "user.foo", "bar", 4, 0));
28 ASSERT_EQ(4, getxattr(tf.filename, "user.foo", buf, sizeof(buf)));
31 ASSERT_EQ(4, lgetxattr(tf.filename, "user.foo", buf, sizeof(buf)));
36 TemporaryFile tf; local
38 ASSERT_EQ(0, fsetxattr(tf.fd, "user.foo", "bar", 4, 0));
39 ASSERT_EQ(4, fgetxattr(tf.fd, "user.foo", buf, sizeof(buf)));
44 TemporaryFile tf; local
46 ASSERT_EQ(0, fsetxattr(tf.fd, "user.foo", "", 0, 0));
47 ASSERT_EQ(0, fgetxattr(tf.fd, "user.foo", buf, sizeof(buf)))
51 TemporaryFile tf; local
69 TemporaryFile tf; local
87 TemporaryFile tf; local
105 TemporaryFile tf; local
114 TemporaryFile tf; local
    [all...]
sys_mman_test.cpp 39 TemporaryFile tf; local
41 void* map = mmap(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1);
46 TemporaryFile tf; local
48 void* map = mmap64(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1);
58 TemporaryFile tf; local
60 ASSERT_EQ(STR_SSIZE(STRING_MSG), write(tf.fd, STRING_MSG, sizeof(STRING_MSG)));
62 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_READ, MAP_SHARED, tf.fd, 0);
72 TemporaryFile tf; local
74 ASSERT_EQ(STR_SSIZE(INITIAL_MSG), write(tf.fd, INITIAL_MSG, sizeof(INITIAL_MSG)));
75 lseek(tf.fd, 0, SEEK_SET)
99 TemporaryFile tf; local
135 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...]
unistd_test.cpp 155 TemporaryFile tf; local
156 ASSERT_EQ(0, close(tf.fd));
157 ASSERT_EQ(0, truncate(tf.filename, 123));
160 ASSERT_EQ(0, stat(tf.filename, &sb));
165 TemporaryFile tf; local
166 ASSERT_EQ(0, close(tf.fd));
167 ASSERT_EQ(0, truncate64(tf.filename, 123));
170 ASSERT_EQ(0, stat(tf.filename, &sb));
175 TemporaryFile tf; local
176 ASSERT_EQ(0, ftruncate(tf.fd, 123))
185 TemporaryFile tf; local
195 TemporaryFile tf; local
375 TemporaryFile tf; local
521 TemporaryFile tf; local
871 TemporaryFile tf; local
894 TemporaryFile tf; local
916 TemporaryFile tf; local
931 TemporaryFile tf; local
958 TemporaryFile tf; local
    [all...]
sys_stat_test.cpp 75 TemporaryFile tf; local
76 path = tf.filename;
149 TemporaryFile tf; local
151 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.filename, 0751, 0));
152 AssertFileModeEquals(0751, tf.filename);
156 TemporaryFile tf; local
158 int result = fchmodat(AT_FDCWD, tf.filename, 0751, AT_SYMLINK_NOFOLLOW);
163 AssertFileModeEquals(0751, tf.filename);
173 TemporaryFile tf; local
176 snprintf(linkname, sizeof(linkname), "%s.link", tf.filename)
185 TemporaryFile tf; local
206 TemporaryFile tf; local
229 TemporaryFile tf; local
    [all...]
  /system/core/base/
file_test.cpp 38 TemporaryFile tf; local
39 ASSERT_TRUE(tf.fd != -1);
40 ASSERT_TRUE(android::base::WriteStringToFile("abc", tf.path))
43 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &s))
52 TemporaryFile tf; local
53 ASSERT_TRUE(tf.fd != -1);
54 ASSERT_TRUE(android::base::WriteStringToFile("abc", tf.path, 0660,
58 ASSERT_EQ(0, stat(tf.path, &sb));
63 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &s))
70 TemporaryFile tf; local
82 TemporaryFile tf; local
101 TemporaryFile tf; local
    [all...]
  /external/skia/src/utils/
SkWhitelistTypefaces.cpp 40 static int whitelist_name_index(const SkTypeface* tf) {
44 SkOTUtils::LocalizedStrings_NameTable::CreateForFamilyNames(*tf));
57 SkOTUtils::LocalizedStrings_NameTable::CreateForFamilyNames(*tf));
65 static uint32_t compute_checksum(const SkTypeface* tf) {
66 SkFontData* fontData = tf->createFontData();
106 static bool is_local(const SkTypeface* tf) {
108 SkFontDescriptor desc(tf->style());
109 tf->getFontDescriptor(&desc, &isLocal);
113 static void serialize_full(const SkTypeface* tf, SkWStream* wstream) {
115 SkFontDescriptor desc(tf->style())
209 SkTypeface* tf = SkTypeface::CreateFromName(fontName, SkTypeface::kNormal); local
264 SkTypeface* tf = SkTypeface::CreateFromName(fontName, SkTypeface::kNormal); local
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
CustomClassLoaderTest.java 26 File tf; field in class:CustomClassLoaderTest
45 tf = File.createTempFile("CustomClassLoaderTest_TestClass", ".dex");
46 tf.deleteOnExit();
49 OutputStream fos = new FileOutputStream(tf);
66 tf.getAbsolutePath(),
85 tf.getAbsolutePath(),
  /external/chromium-trace/catapult/telemetry/telemetry/core/
platform_unittest.py 34 tf = tempfile.NamedTemporaryFile(delete=False, suffix='.png')
35 tf.close()
38 self._platform.TakeScreenshot(tf.name)
41 img = image_util.FromPngFile(tf.name)
46 os.remove(tf.name)
  /frameworks/base/core/java/android/text/style/
StyleSpan.java 103 Typeface tf; local
105 tf = Typeface.defaultFromStyle(want);
107 tf = Typeface.create(old, want);
110 int fake = want & ~tf.getStyle();
120 paint.setTypeface(tf);
  /development/tools/findunused/
removeunusedresources 61 xmlstarlet ed -P -S -d "/resources/string[@name='$LINE']" $RESLINE > tf$$
62 mv tf$$ $RESLINE
66 xmlstarlet ed -P -S -d "/resources/*[@name='$LINE']" $RESLINE > tf$$
67 mv tf$$ $RESLINE
  /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/icu/icu4c/source/test/perf/unisetperf/
unisetperf.cpp 98 UBool tf=FALSE; local
100 i=span(s, length, i, tf);
101 tf=(UBool)(!tf);
105 int32_t span(const UChar *s, int32_t length, int32_t start, UBool tf) const {
110 if(tf!=set.contains(c)) {
180 UBool tf=FALSE; local
182 i+=span(set, s+i, length-i, tf);
183 tf=(UBool)(!tf);
242 UBool tf=FALSE; local
297 UBool tf=(UBool)((testcase.spanCount&1)==0); local
343 UBool tf=FALSE; local
393 UBool tf=(UBool)((testcase.spanCount&1)==0); local
    [all...]
  /external/opencv3/3rdparty/libtiff/
tif_aux.c 94 uint16 **tf = td->td_transferfunction; local
97 tf[0] = tf[1] = tf[2] = 0;
103 if (!(tf[0] = (uint16 *)_TIFFmalloc(nbytes)))
105 tf[0][0] = 0;
108 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5);
112 if (!(tf[1] = (uint16 *)_TIFFmalloc(nbytes)))
114 _TIFFmemcpy(tf[1], tf[0], nbytes)
    [all...]
  /external/pdfium/third_party/libtiff/
tif_aux.c 94 uint16 **tf = td->td_transferfunction; local
97 tf[0] = tf[1] = tf[2] = 0;
103 if (!(tf[0] = (uint16 *)_TIFFmalloc(nbytes)))
105 tf[0][0] = 0;
108 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5);
112 if (!(tf[1] = (uint16 *)_TIFFmalloc(nbytes)))
114 _TIFFmemcpy(tf[1], tf[0], nbytes)
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/
p4.cpp 7 void tf() { function
  /external/clang/test/Sema/
fp16-sema.c 10 typedef void(*tf) (__fp16); // expected-error {{parameters cannot have __fp16 type; did you forget * ?}} typedef
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericSignatureFormatErrorTest.java 24 File tf = File.createTempFile("classes", ".dex"); local
26 // +tf.getAbsolutePath()+", canRead: "+tf.canRead()
27 // +", canWrite: "+tf.canWrite());
53 File tf = File.createTempFile("classes", ".dex"); local
55 // tf.getAbsolutePath() + ", canRead: " + tf.canRead() +
56 // ", canWrite: "+tf.canWrite());
59 OutputStream fos = new FileOutputStream(tf);
66 //System.out.println("file length:"+tf.length())
    [all...]
  /external/chromium-trace/catapult/catapult_base/catapult_base/
lock_unittest.py 49 tf = tempfile.NamedTemporaryFile(delete=False)
50 tf.close()
51 self.temp_file_path = tf.name
76 tf = tempfile.NamedTemporaryFile(delete=False)
77 tf.close()
78 temp_write_file = tf.name
105 tf = tempfile.NamedTemporaryFile(delete=False)
106 tf.close()
107 temp_status_file = tf.name
122 tf = tempfile.NamedTemporaryFile(delete=False
    [all...]

Completed in 584 milliseconds

1 2 3 4 5 6 7 8 91011>>