Searched refs:truncate (Results 1 - 25 of 275) sorted by relevance

1234567891011

/macosx-10.9.5/ruby-104/ruby/test/
H A Dtest_mathn.rb65 assert_equal( 2, ( 13/5).truncate)
66 assert_equal( 2, ( 5/2).truncate)
67 assert_equal( 2, ( 12/5).truncate)
68 assert_equal(-2, (-12/5).truncate)
69 assert_equal(-2, ( -5/2).truncate)
70 assert_equal(-2, (-13/5).truncate)
72 assert_equal( 2, ( 13/5).truncate(0))
73 assert_equal( 2, ( 5/2).truncate(0))
74 assert_equal( 2, ( 12/5).truncate(0))
75 assert_equal(-2, (-12/5).truncate(
[all...]
/macosx-10.9.5/groff-38/groff/src/include/
H A Dindex.h31 int truncate; member in struct:index_header
/macosx-10.9.5/ruby-104/ruby/nacl/
H A Dunistd.h7 int truncate(const char* path, off_t new_size);
/macosx-10.9.5/CPANInternal-140/DateTime/t/
H A D16truncate.t21 $dt->truncate( to => 'second' );
35 $dt->truncate( to => 'minute' );
49 $dt->truncate( to => 'hour' );
63 $dt->truncate( to => 'day' );
77 $dt->truncate( to => 'month' );
96 $dt->truncate( to => 'year' );
118 my $trunc = $dt->clone->add( days => $_ )->truncate( to => 'week' );
120 is( $trunc->day, 17, 'truncate to week should always truncate to monday of week' );
124 my $trunc = $dt->clone->add( days => 7 )->truncate( t
[all...]
H A D25add_subtract.t14 $dt->add( months => 1 )->truncate( to => 'month' )->subtract( seconds => 1 );
H A D17set_return.t35 $p = $dt->truncate( to => 'day' );
36 is( DateTime->compare( $p, $dt ), 0, "truncate() returns self" );
/macosx-10.9.5/WebCore-7537.78.1/Modules/filesystem/
H A DFileWriterSync.idl39 [RaisesException] void truncate(long long size);
H A DAsyncFileWriter.h48 virtual void truncate(long long length) = 0;
H A DFileWriterSync.h58 void truncate(long long length, ExceptionCode&);
H A DFileWriter.idl48 [RaisesException] void truncate(long long size);
H A DFileWriterSync.cpp73 void FileWriterSync::truncate(long long offset, ExceptionCode& ec) function in class:WebCore::FileWriterSync
83 writer()->truncate(offset);
/macosx-10.9.5/BerkeleyDB-21/db/docs_src/ref/am/
H A DMakefile6 stat.html sync.html truncate.html upgrade.html verify.html
/macosx-10.9.5/WebCore-7537.78.1/platform/blackberry/
H A DAsyncFileWriterBlackBerry.h53 virtual void truncate(long long length) function in class:WebCore::AsyncFileWriterBlackBerry
56 m_platformWriter->truncate(length);
H A DWorkerAsyncFileWriterBlackBerry.cpp45 platformWriter->truncate(length);
59 void WorkerAsyncFileWriterBlackBerry::truncate(long long length) function in class:WebCore::WorkerAsyncFileWriterBlackBerry
/macosx-10.9.5/postfix-252/postfix/src/cleanup/
H A Dcleanup_masquerade.c90 int truncate; local
127 for (truncate = 1; *masq == '!'; masq++)
128 truncate = !truncate;
138 if (truncate) {
/macosx-10.9.5/BerkeleyDB-21/db/test/
H A Denv004.tcl62 -truncate -mode 0644 $omethod -env $e} $args {data1/datafile1.db}]
66 -truncate -mode 0644 $omethod -env $e} $args {data2/datafile2.db}]
70 -truncate -mode 0644 $omethod -env $e} $args {data3/datafile3.db}]
H A Drep042script.tcl13 # op: operation: one of del or truncate
68 } elseif { $op == "truncate" } {
69 set stat [catch {$db truncate} ret]
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dbsd-misc.h70 int truncate (const char *, off_t);
/macosx-10.9.5/WebCore-7537.78.1/loader/
H A DFTPDirectoryParser.h134 fileSize.truncate(0);
/macosx-10.9.5/WebCore-7537.78.1/platform/
H A DFileStream.h86 bool truncate(long long position);
/macosx-10.9.5/emacs-92/emacs/lisp/erc/
H A Derc-truncate.el1 ;;; erc-truncate.el --- Functions for truncating ERC buffers
28 ;; support for the Emacs IRC client. Use `erc-truncate-mode' to switch
36 (defgroup erc-truncate nil
43 \(see `erc-truncate-buffer' and `erc-insert-post-hook')."
44 :group 'erc-truncate
47 ;;;###autoload (autoload 'erc-truncate-mode "erc-truncate" nil t)
48 (define-erc-module truncate nil function
54 ((add-hook 'erc-insert-post-hook 'erc-truncate-buffer))
56 ((remove-hook 'erc-insert-post-hook 'erc-truncate
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/MC/
H A DMCAtom.h60 /// truncate - Truncates an atom so that TruncPt is the last byte address
62 void truncate(uint64_t TruncPt);
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/markup/
H A Dto_html_snippet.rb107 text = truncate input
227 res << truncate(text)
230 res << truncate(text)
269 def truncate text method in class:RDoc.list_item_start
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dprintf.c236 boolean_t altfmt, truncate; local
330 truncate = FALSE;
462 truncate = _doprnt_truncates;
491 truncate = _doprnt_truncates;
496 truncate = _doprnt_truncates;
507 truncate = _doprnt_truncates;
517 truncate = _doprnt_truncates;
527 truncate = _doprnt_truncates;
533 truncate = _doprnt_truncates;
569 if (truncate)
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/xa/
H A Dxa_db.c32 int (*truncate) __P((DB *, DB_TXN *, u_int32_t *, u_int32_t)); member in struct:__xa_methods
142 xam->truncate = dbp->truncate;
147 dbp->truncate = __xa_truncate;
237 dbp->xa_internal)->truncate(dbp, txn, countp, flags));

Completed in 231 milliseconds

1234567891011