/bionic/tests/ |
unistd_test.cpp | 167 TemporaryFile tf; local 168 ASSERT_EQ(0, close(tf.fd)); 169 ASSERT_EQ(0, truncate(tf.filename, 123)); 172 ASSERT_EQ(0, stat(tf.filename, &sb)); 177 TemporaryFile tf; local 178 ASSERT_EQ(0, close(tf.fd)); 179 ASSERT_EQ(0, truncate64(tf.filename, 123)); 182 ASSERT_EQ(0, stat(tf.filename, &sb)); 187 TemporaryFile tf; local 188 ASSERT_EQ(0, ftruncate(tf.fd, 123)) 197 TemporaryFile tf; local 207 TemporaryFile tf; local 387 TemporaryFile tf; local 661 TemporaryFile tf; local 1044 TemporaryFile tf; local 1067 TemporaryFile tf; local 1089 TemporaryFile tf; local 1104 TemporaryFile tf; local 1131 TemporaryFile tf; local 1324 TemporaryFile tf; local [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...] |
/system/core/adb/sysdeps/ |
stat_test.cpp | 27 TemporaryFile tf; local 54 ASSERT_EQ(0, stat(tf.path, &st)); 58 ASSERT_EQ(-1, stat((std::string(tf.path) + '/').c_str(), &st)); 62 ASSERT_EQ(-1, stat((std::string(tf.path) + '\\').c_str(), &st));
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
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...] |
/device/lge/bullhead/ |
releasetools.py | 77 tf = FindRadio(info.target_zip) 78 if not tf: 85 tf = common.File("radio.img", tf) 93 WriteRadio(info, tf.data) 97 if tf.sha1 == sf.sha1: 100 diff = common.Difference(tf, sf, diff_program="bsdiff") 103 if d is None or len(d) > tf.size * common.OPTIONS.patch_threshold: 106 WriteRadio(info, tf.data) 114 sf.size, sf.sha1, tf.size, tf.sha1) [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
opc-i.s | 226 tf.z p2, p3 = 39 227 tf.z.unc p2, p3 = 39 228 tf.z.and p2, p3 = 39 229 tf.z.or p2, p3 = 39 230 tf.z.or.andcm p2, p3 = 39 231 tf.z.orcm p2, p3 = 39 232 tf.z.andcm p2, p3 = 39 233 tf.z.and.orcm p2, p3 = 39 234 tf.nz p2, p3 = 39 235 tf.nz.unc p2, p3 = 3 [all...] |
opc-i.d | 264 acc: f0 04 0c 50 tf\.z p2,p3=39 266 ad6: 20 7c 02 06 28 40 tf\.z\.unc p2,p3=39 267 adc: f0 04 0c 58 tf\.z\.and p2,p3=39 269 ae6: 20 78 02 86 28 40 tf\.z\.or p2,p3=39 270 aec: f0 04 0c 59 tf\.z\.or\.andcm p2,p3=39 272 af6: 30 7c 02 84 28 60 tf\.nz\.or p3,p2=39 273 afc: f8 04 08 58 tf\.nz\.and p3,p2=39 275 b06: 30 7c 02 84 2c 60 tf\.nz\.or\.andcm p3,p2=39 276 b0c: f0 04 08 50 tf\.z p3,p2=39 278 b16: 30 7c 02 04 28 40 tf\.z\.unc p3,p2=3 [all...] |
/external/clang/test/CXX/except/except.spec/ |
p2-dynamic-types.cpp | 18 void tf() throw(TEx<int>); // expected-error {{implicit instantiation of undefined template}}
|
/external/testng/src/test/java/test/junit4/ |
JUnit4Sample2.java | 16 public static final String[] FAILED = {"tf"}; 32 public void tf() { method in class:JUnit4Sample2
|
/external/testng/src/main/java/org/testng/internal/thread/ |
ExecutorAdapter.java | 18 public ExecutorAdapter(int threadCount, IThreadFactory tf) { 24 (ThreadFactory) tf.getThreadFactory()); 25 m_threadFactory = tf;
|
/frameworks/base/core/java/android/text/style/ |
TextAppearanceSpan.java | 75 int tf = a.getInt(com.android.internal.R.styleable.TextAppearance_typeface, 0); local 77 switch (tf) { 230 Typeface tf = ds.getTypeface(); local 233 if (tf != null) { 234 style = tf.getStyle(); 240 tf = Typeface.create(mTypeface, style); 241 } else if (tf == null) { 242 tf = Typeface.defaultFromStyle(style); 244 tf = Typeface.create(tf, style) [all...] |
TypefaceSpan.java | 93 Typeface tf = Typeface.create(family, oldStyle); local 94 int fake = oldStyle & ~tf.getStyle(); 104 paint.setTypeface(tf);
|
/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...] |
/external/toybox/toys/pending/ |
syslogd.c | 279 static int write_rotate(struct logfile *tf, int len) 283 isreg = (!fstat(tf->logfd, &statf) && S_ISREG(statf.st_mode)); 289 int i = strlen(tf->filename) + 3 + 1; 294 sprintf(new_file, "%s.%d", tf->filename, i); 296 sprintf(old_file, "%s.%d", tf->filename, --i); 299 rename(tf->filename, new_file); 300 unlink(tf->filename); 301 close(tf->logfd); 302 tf->logfd = open(tf->filename, O_CREAT | O_WRONLY | O_APPEND, 0666) 321 struct logfile *tf = TT.lfiles; local [all...] |
/external/ltp/testcases/kernel/fs/fsx-linux/ |
fsx-linux.c | 425 struct test_file *tf = get_tf(); local 426 return tf->fd; 431 struct test_file *tf; local 444 for (i = 0, tf = test_files; i < num_test_files; i++, tf++) { 446 tf->path = argv[i]; 447 tf->fd = open(tf->path, O_RDWR | (lite ? 0 : O_CREAT | O_TRUNC), 449 if (tf->fd < 0) { 450 prterr(tf->path) 465 struct test_file *tf; local 592 struct test_file *tf = get_tf(); local 647 struct test_file *tf = get_tf(); local 725 struct test_file *tf = get_tf(); local 785 struct test_file *tf = get_tf(); local 883 struct test_file *tf = get_tf(); local 944 struct test_file *tf = get_tf(); local [all...] |
/cts/tools/vm-tests-tf/ |
Android.mk | 24 LOCAL_MODULE := cts-tf-dalvik-lib 31 cts-tf-dalvik-lib.jack := $(full_classes_jack) 39 LOCAL_JAR_PATH := android.core.vm-tests-tf.jar 43 LOCAL_MODULE := cts-tf-dalvik-buildutil 53 # Buid android.core.vm-tests-tf.jar 60 LOCAL_MODULE := vm-tests-tf 66 # Install the module as $(intermediates)/android.core.vm-tests-tf.jar. 67 LOCAL_INSTALLED_MODULE_STEM := android.core.vm-tests-tf.jar 75 vmteststf_dep_jars := $(addprefix $(HOST_OUT_JAVA_LIBRARIES)/, cts-tf-dalvik-buildutil.jar dasm.jar dx.jar cfassembler.jar junit-host.jar) 80 vmteststf_dep_jars += $(cts-tf-dalvik-lib.jack [all...] |
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
F_nullptr.pass.cpp | 166 TestFn tf = nullptr; local 167 std::function<Fn> f = tf; 171 TestFn tf = Creator<TestFn>::create(); local 172 assert(tf != nullptr); 173 std::function<Fn> f = tf; 175 assert(*f.template target<TestFn>() == tf);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
F_nullptr.pass.cpp | 166 TestFn tf = nullptr; local 167 std::function<Fn> f = tf; 171 TestFn tf = Creator<TestFn>::create(); local 172 assert(tf != nullptr); 173 std::function<Fn> f = tf; 175 assert(*f.template target<TestFn>() == tf);
|
/external/skia/tools/ |
SkShaper_primitive.cpp | 16 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { 17 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault();
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_filesystem_unittest_test.py | 97 with tempfile.NamedTemporaryFile() as tf: 98 tf.write(b'Temporary file contents\n') 99 name = tf.name 100 self.assertTrue(self.fs.Exists(tf.name))
|
/external/clang/test/Index/ |
file-refs.cpp | 28 T tf(T t) { function
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/d30v/ |
guard.s | 12 add/tf r1,r2,r3 22 ADD/tf r1,r2,r3
|
/external/deqp/modules/gles3/functional/ |
es3fLifetimeTests.cpp | 72 void draw (GLuint vao, GLfloat scale, bool tf, Surface* dst); 126 void ScaleProgram::draw (GLuint vao, GLfloat scale, bool tf, Surface* dst) 143 if (tf) 146 if (tf) 313 void attach (GLuint buffer, GLuint tf); 314 void detach (GLuint buffer, GLuint tf); 316 GLuint getAttachment (GLuint tf); 326 void BufferTfAttacher::attach (GLuint buffer, GLuint tf) 328 glBindTransformFeedback(GL_TRANSFORM_FEEDBACK, tf); 334 void BufferTfAttacher::detach (GLuint buffer, GLuint tf) 504 GLuint tf = 0; local [all...] |