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

12

/osnet-11/usr/src/lib/libc/port/gen/
H A Dtruncate.c33 * ftruncate() and truncate() set a file to a specified
46 #define truncate truncate64 macro
73 truncate(const char *path, off_t len) function
81 * truncate() is not a cancellation point,
/osnet-11/usr/src/lib/libpp/common/
H A Dppmisc.c41 if ((pp.state & COMPILE) && pp.truncate && strlen(name) > pp.truncate)
42 name[pp.truncate] = 0;
121 if ((pp.state & COMPILE) && pp.truncate) return;
H A Dppfsm.c819 if (pp.truncate && strlen(s) >= pp.truncate)
821 x = s[pp.truncate];
822 s[pp.truncate] = 0;
H A Dpplex.c1334 tp = op - ((pp.truncate && pp.truncate < (HITN - HIT0)) ? (pp.truncate - 1) : (HITN - HIT0));
1399 if (pp.truncate && (op - tp) > pp.truncate) tp[pp.truncate] = 0;
1404 if ((sym->flags & SYM_KEYWORD) && (!pp.truncate || (op - tp) <= pp.truncate || (tp[pp.truncate] = '_', tp[pp.truncate
[all...]
H A Dppop.c33 #define REFONE (pp.truncate?(Hash_table_t*)0:pp.symtab)
34 #define REFALL (pp.truncate?pp.dirtab:pp.symtab)
244 * compare up to pp.truncate chars
252 return !strchr(b, ' ') && !strneq(b, "__STD", 5) ? strncmp(a, b, pp.truncate) : strcmp(a, b);
256 * hash up to pp.truncate chars
266 return memhash(a, (n = strlen(a)) > pp.truncate && !strchr(a, ' ') && !strneq(a, "__STD", 5) ? pp.truncate : n);
947 if (!pp.truncate)
1501 pp.truncate = op;
1503 pp.symtab = hashalloc(NiL, HASH_set, tab ? HASH_ALLOCATE : 0, HASH_compare, trunccomp, HASH_hash, trunchash, HASH_name, "truncate",
[all...]
H A Dpp.h81 #define ppsymref(t,n) (struct ppsymbol*)hashlook(t,n,pp.truncate?HASH_LOOKUP:HASH_LOOKUP|HASH_INTERNAL,NiL)
188 #define PP_TRUNCATE 58 /* truncate macro names */
H A Dppexpr.c690 return pp.truncate;
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_compat.h32 int (*truncate) (const char *, off_t); member in struct:fuse_operations_compat25
91 int (*truncate) (const char *, off_t); member in struct:fuse_operations_compat22
142 int (*truncate) (const char *, off_t); member in struct:fuse_operations_compat2
190 int (*truncate) (const char *, off_t); member in struct:fuse_operations_compat1
H A Dfuse_impl.h80 ((fs)->op.truncate ? (fs)->op.truncate(path, size) : ENOSYS)
H A Dfuse.h142 int (*truncate) (const char *, off_t); member in struct:fuse_operations
357 * This method is called instead of the truncate() method if the
361 * versions earlier than 2.6.15, the truncate() method will be
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsundelete.h49 int truncate; /* Truncate files to exact size. */ member in struct:options
H A Dntfsundelete.c260 " -T, --truncate Truncate 100%% recoverable file to exact size.\n"
450 { "truncate", no_argument, NULL, 'T' },
595 opts.truncate++;
648 if (opts.output || opts.dest || opts.truncate ||
663 "--output, --destination, --byte and --truncate.\n");
668 if ((opts.fillbyte != (char)-1) || opts.truncate ||
1836 * The following block of code implements the --truncate option.
1838 * IF opts.truncate is set AND data stream currently being recovered is
1849 if (opts.truncate) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/io/
H A Dfs.t272 eval { truncate "Iofs.tmp", 5; };
274 skip("no truncate - $@", 8) if $@;
278 truncate "Iofs.tmp", 0;
299 ok(truncate(FH, 200), "fh resize to 200");
313 ok(truncate(FH, 0), "fh resize to zero");
333 ok(truncate(*FH{IO}, 100), "fh resize by IO slot");
/osnet-11/usr/src/lib/libcmd/common/
H A Dtr.c42 "[t:truncate-set1?Truncate \aset1\a to the length of \aset2\a.]"
117 int truncate; member in struct:__anon1499
171 c = tr->level ? -2 : tr->type && !tr->truncate ? tr->prev : -1;
324 tr->truncate = flags & TR_TRUNCATE;
372 else if (tr->truncate)
390 tr->truncate = 1;
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dast_std.h300 #if !defined(truncate) && _lib_truncate64
301 #define truncate truncate64 macro
/osnet-11/usr/src/lib/libast/common/include/
H A Dast_std.h286 #if !defined(truncate) && _lib_truncate64
287 #define truncate truncate64 macro
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dast_std.h300 #if !defined(truncate) && _lib_truncate64
301 #define truncate truncate64 macro
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dast_std.h300 #if !defined(truncate) && _lib_truncate64
301 #define truncate truncate64 macro
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_std.h300 #if !defined(truncate) && _lib_truncate64
301 #define truncate truncate64 macro
/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c688 bool truncate; local
741 truncate = bitset(O_TRUNC, omode);
742 if (truncate)
758 if (truncate &&
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DAutoSplit.t233 testtesttesttest4_1.al, testtesttesttest4_2.al truncate to testtest
235 testtesttesttest4_1.al, testtesttesttest4_2.al truncate to testtest
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Safe/t/
H A Dsafeops.t288 truncate truncate FOO, 42
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A DFunctions.t102 sysread, sysseek, syswrite, tell, telldir, truncate, warn,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtaint.t348 # There is no feature test in $Config{} for truncate,
350 test 47, eval { truncate 'NoSuChFiLe', $TAINT0 } eq '', 'truncate';
351 test 48, $@ =~ /^(?:Insecure dependency|truncate not implemented)/, $@;
/osnet-11/usr/src/lib/libast/common/comp/
H A Domitted.c153 #define systruncate truncate
843 truncate(const char* path, off_t offset) function

Completed in 1161 milliseconds

12