/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 24 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 | 48 TemporaryFile tf; local 49 ASSERT_NE(-1, tf.fd); 51 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno); 52 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); 56 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)) << strerror(errno); 62 TemporaryFile tf; local 63 ASSERT_NE(-1, tf.fd); 65 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno); 66 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); 70 ASSERT_FALSE(ReadFdExactly(tf.fd, buf, sizeof(buf))) 76 TemporaryFile tf; local 93 TemporaryFile tf; local 108 TemporaryFile tf; local 134 TemporaryFile tf; local 147 TemporaryFile tf; local [all...] |
/bionic/tests/ |
sys_time_test.cpp | 27 TemporaryFile tf; local 28 ASSERT_EQ(0, utimes(tf.filename, nullptr)); 32 TemporaryFile tf; local 37 ASSERT_EQ(-1, utimes(tf.filename, tv)); 40 ASSERT_EQ(-1, utimes(tf.filename, tv)); 46 ASSERT_EQ(-1, utimes(tf.filename, tv)); 49 ASSERT_EQ(-1, utimes(tf.filename, tv)); 54 TemporaryFile tf; local 55 ASSERT_EQ(0, futimes(tf.fd, nullptr)); 59 TemporaryFile tf; local 81 TemporaryFile tf; local 86 TemporaryFile tf; local 108 TemporaryFile tf; local 113 TemporaryFile tf; local [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...] |
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...] |
fcntl_test.cpp | 83 TemporaryFile tf; local 92 EXPECT_EQ(EINVAL, posix_fadvise(tf.fd, 0, 0, -1)); 95 EXPECT_EQ(EINVAL, posix_fadvise64(tf.fd, 0, 0, -1)); 98 EXPECT_EQ(0, posix_fadvise(tf.fd, 0, 0, POSIX_FADV_NORMAL)); 99 EXPECT_EQ(0, posix_fadvise64(tf.fd, 0, 0, POSIX_FADV_NORMAL)); 103 TemporaryFile tf; local 109 ASSERT_EQ(-1, fallocate(tf.fd, 0, 0, -1)); 113 ASSERT_EQ(-1, fallocate64(tf.fd, 0, 0, -1)); 117 ASSERT_EQ(EINVAL, posix_fallocate(tf.fd, 0, -1)); 121 ASSERT_EQ(EINVAL, posix_fallocate64(tf.fd, 0, -1)) 126 TemporaryFile tf; local 173 TemporaryFile tf; local 263 TemporaryFile tf; local 291 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/libcutils/tests/ |
android_get_control_file_test.cpp | 32 TemporaryFile tf; local 33 ASSERT_GE(tf.fd, 0); 36 key += tf.path; 41 EXPECT_EQ(android_get_control_file(tf.path), -1); 43 EXPECT_EQ(setenv(key.c_str(), android::base::StringPrintf("%d", tf.fd).c_str(), true), 0); 45 EXPECT_EQ(android_get_control_file(tf.path), tf.fd); 46 close(tf.fd); 47 EXPECT_EQ(android_get_control_file(tf.path), -1); 49 EXPECT_EQ(android_get_control_file(tf.path), -1) [all...] |
/system/core/debuggerd/libdebuggerd/test/ |
open_files_list_test.cpp | 33 TemporaryFile tf; local 42 if (file.first == tf.fd) { 43 EXPECT_EQ(file.second, std::string(tf.path));
|
/system/core/init/ |
util_test.cpp | 37 TemporaryFile tf; local 38 ASSERT_TRUE(tf.fd != -1); 39 EXPECT_TRUE(write_file(tf.path, s)) << strerror(errno); 40 EXPECT_NE(-1, fchmodat(AT_FDCWD, tf.path, 0620, AT_SYMLINK_NOFOLLOW)) << strerror(errno); 41 EXPECT_FALSE(read_file(tf.path, &s)) << strerror(errno); 47 TemporaryFile tf; local 48 ASSERT_TRUE(tf.fd != -1); 49 EXPECT_TRUE(write_file(tf.path, s.c_str())) << strerror(errno); 50 EXPECT_NE(-1, fchmodat(AT_FDCWD, tf.path, 0602, AT_SYMLINK_NOFOLLOW)) << strerror(errno); 51 EXPECT_FALSE(read_file(tf.path, &s)) << strerror(errno) 80 TemporaryFile tf; local 108 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)) 70 TemporaryFile tf; local 71 ASSERT_TRUE(tf.fd != -1); 72 ASSERT_TRUE(android::base::WriteStringToFile("abc", tf.path, 0660, 76 ASSERT_EQ(0, stat(tf.path, &sb)); 81 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &s)) 88 TemporaryFile tf; local 100 TemporaryFile tf; local 119 TemporaryFile tf; local 219 TemporaryFile tf; local 246 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 std::unique_ptr<SkFontData> fontData = tf->makeFontData(); 107 static bool is_local(const SkTypeface* tf) { 110 tf->getFontDescriptor(&desc, &isLocal); 114 static void serialize_full(const SkTypeface* tf, SkWStream* wstream) { 117 tf->getFontDescriptor(&desc, &isLocal); 121 desc.setFontData(tf->makeFontData()) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
screenshot.py | 33 tf = tempfile.NamedTemporaryFile(delete=False, suffix='.png') 34 tf.close() 35 platform.TakeScreenshot(tf.name) 36 return file_handle.FromTempFile(tf) 38 tf = tempfile.NamedTemporaryFile(delete=False, suffix='.png') 39 tf.close() 41 image_util.WritePngFile(image, tf.name) 42 return file_handle.FromTempFile(tf)
|
/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(),
|
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
cpu.h | 141 #define TRAPF_PC(tf) ((tf)->tf_special.iip)
142 #define TRAPF_CPL(tf) ((tf)->tf_special.psr & IA64_PSR_CPL)
143 #define TRAPF_USERMODE(tf) (TRAPF_CPL(tf) != IA64_PSR_CPL_KERN)
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
platform_unittest.py | 33 tf = tempfile.NamedTemporaryFile(delete=False, suffix='.png') 34 tf.close() 37 self._platform.TakeScreenshot(tf.name) 40 img = image_util.FromPngFile(tf.name) 45 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 | 102 UBool tf=FALSE; local 104 i=span(s, length, i, tf); 105 tf=(UBool)(!tf); 109 int32_t span(const UChar *s, int32_t length, int32_t start, UBool tf) const { 114 if(tf!=set.contains(c)) { 184 UBool tf=FALSE; local 186 i+=span(set, s+i, length-i, tf); 187 tf=(UBool)(!tf); 246 UBool tf=FALSE; local 301 UBool tf=(UBool)((testcase.spanCount&1)==0); local 347 UBool tf=FALSE; local 397 UBool tf=(UBool)((testcase.spanCount&1)==0); local [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...] |