Home
last modified time | relevance | path

Searched refs:newf (Results 1 – 11 of 11) sorted by relevance

/external/toybox/toys/pending/
Dmore.c79 struct termios newf; in more_main() local
91 memcpy(&newf, &TT.inf, sizeof(struct termios)); in more_main()
92 newf.c_lflag &= ~(ICANON | ECHO); in more_main()
93 newf.c_cc[VMIN] = 1; in more_main()
94 newf.c_cc[VTIME] = 0; in more_main()
95 tcsetattr(TT.cin_fd, TCSANOW, &newf); in more_main()
/external/freetype/src/tools/ftrandom/
Dftrandom.c441 FILE *good, *newf; in copyfont() local
453 newf = fopen( newfont, "w+" ); in copyfont()
454 if ( !newf ) in copyfont()
462 fwrite( buffer, 1, len, newf ); in copyfont()
469 fseek( newf, getRandom( 0, (int)( item->len - 1 ) ), SEEK_SET ); in copyfont()
472 putc( getRandom( 0, 0xFF ), newf ); in copyfont()
474 putc( getRandom( 0x20, 0x7E ), newf ); in copyfont()
485 putc( hex, newf ); in copyfont()
489 if ( ferror( newf ) ) in copyfont()
491 fclose( newf ); in copyfont()
[all …]
/external/syzkaller/pkg/osutil/
Dfileutil.go25 newf, err := os.OpenFile(tmpFile, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, stat.Mode()&os.ModePerm)
29 defer newf.Close()
30 _, err = io.Copy(newf, oldf)
34 if err := newf.Close(); err != nil {
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py340 newf = self._new_future(loop=self.loop)
341 _copy_future_state(f, newf)
342 self.assertTrue(newf.done())
343 self.assertEqual(newf.result(), 10)
/external/e2fsprogs/contrib/
Dfsstress.c2336 pathname_t newf; in rename_f() local
2354 init_pathname(&newf); in rename_f()
2355 e = generate_fname(dfep, flp - flist, &newf, &id, &v1); in rename_f()
2363 free_pathname(&newf); in rename_f()
2367 e = rename_path(&f, &newf) < 0 ? errno : 0; in rename_f()
2379 newf.path, e); in rename_f()
2380 free_pathname(&newf); in rename_f()
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c2311 pathname_t newf; in rename_f() local
2329 init_pathname(&newf); in rename_f()
2330 e = generate_fname(dfep, flp - flist, &newf, &id, &v1); in rename_f()
2338 free_pathname(&newf); in rename_f()
2342 e = rename_path(&f, &newf) < 0 ? errno : 0; in rename_f()
2354 newf.path, e); in rename_f()
2355 free_pathname(&newf); in rename_f()
/external/python/cpython2/Lib/test/
Dtest_xmlrpc.py241 (newf,), m = xmlrpclib.loads(s)
242 self.assertEqual(newf, {'faultCode': 42, 'faultString': 'Test Fault'})
/external/python/cpython3/Lib/test/
Dtest_xmlrpc.py449 (newf,), m = xmlrpclib.loads(s)
450 self.assertEqual(newf, {'faultCode': 42, 'faultString': 'Test Fault'})
/external/protobuf/php/ext/google/protobuf/
Dupb.c640 upb_fielddef *newf = upb_fielddef_new(owner); in upb_fielddef_dup() local
641 if (!newf) return NULL; in upb_fielddef_dup()
642 upb_fielddef_settype(newf, upb_fielddef_type(f)); in upb_fielddef_dup()
643 upb_fielddef_setlabel(newf, upb_fielddef_label(f)); in upb_fielddef_dup()
644 upb_fielddef_setnumber(newf, upb_fielddef_number(f), NULL); in upb_fielddef_dup()
645 upb_fielddef_setname(newf, upb_fielddef_name(f), NULL); in upb_fielddef_dup()
648 upb_fielddef_setdefaultstr(newf, s->str, s->len, NULL); in upb_fielddef_dup()
650 newf->default_is_string = f->default_is_string; in upb_fielddef_dup()
651 newf->defaultval = f->defaultval; in upb_fielddef_dup()
662 upb_fielddef_unref(newf, owner); in upb_fielddef_dup()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c724 upb_fielddef *newf = upb_fielddef_new(owner); in upb_fielddef_dup() local
725 if (!newf) return NULL; in upb_fielddef_dup()
726 upb_fielddef_settype(newf, upb_fielddef_type(f)); in upb_fielddef_dup()
727 upb_fielddef_setlabel(newf, upb_fielddef_label(f)); in upb_fielddef_dup()
728 upb_fielddef_setnumber(newf, upb_fielddef_number(f), NULL); in upb_fielddef_dup()
729 upb_fielddef_setname(newf, upb_fielddef_name(f), NULL); in upb_fielddef_dup()
732 upb_fielddef_setdefaultstr(newf, s->str, s->len, NULL); in upb_fielddef_dup()
734 newf->default_is_string = f->default_is_string; in upb_fielddef_dup()
735 newf->defaultval = f->defaultval; in upb_fielddef_dup()
746 upb_fielddef_unref(newf, owner); in upb_fielddef_dup()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.td563 // Assembler mapped to C2_ccombinew[t|f|newt|newf].