Searched refs:baselen (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.9.5/libutil-34/
H A Dhumanize_number.c67 size_t baselen; local
107 baselen = 3; /* sign, digit, prefix */
111 baselen = 2; /* digit, prefix */
117 baselen++;
119 baselen += strlen(suffix);
122 if (len < baselen + 1)
127 for (max = 100, i = len - baselen; i-- > 0;)
141 /* baselen + \0 + .N */
142 if (len < baselen + 1 + 2)
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dbackupfile.c104 size_t baselen = base_len (base); local
107 if (HAVE_DOS_FILE_NAMES || NAME_MAX_MINIMUM < baselen)
143 if (baselen_max < baselen)
145 baselen = file + filelen - base;
146 if (baselen_max <= baselen)
147 baselen = baselen_max - 1;
148 base[baselen] = e;
149 base[baselen + 1] = '\0';
190 size_t baselen = base_len (base); local
199 strcpy (base + baselen, "
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/uwin/
H A Drcmd.c326 int baselen = -1; local
334 if (baselen == -1)
335 baselen = sp - rhost;
345 if (!_validuser(hostf, fhost, luser, ruser, baselen)) {
381 const char *ruser, int baselen)
430 && _checkhost(rhost, &ahost[1], baselen))
434 && _checknetgrouphost(rhost, &ahost[2], baselen))
446 hostvalid = _checknetgrouphost(rhost, &ahost[2], baselen);
448 hostvalid = _checkhost(rhost, ahost, baselen);
459 hostvalid = hostvalid ? 1 : _checkhost(rhost, ahost, baselen);
380 _validuser(FILE *hostf, const char *rhost, const char *luser, const char *ruser, int baselen) argument
507 _checknetgrouphost(const char *rhost, const char *netgr, int baselen) argument
[all...]
H A Drlib.h57 const char *luser, const char *ruser, int baselen);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/win32/
H A Dfilepath.c362 apr_size_t baselen; /* the length of basepath (excluding baseroot) */ local
472 baselen = strlen(basepath);
571 keptlen = pathlen = rootlen + baselen;
575 memcpy(path + rootlen, basepath, baselen);
612 keptlen = pathlen = rootlen + baselen;
616 memcpy(path + rootlen, basepath, baselen);
827 /* keptlen will be the baselen unless the addpath contained
834 if ((flags & APR_FILEPATH_NOTABOVEROOT) && baselen) {
835 if (memcmp(basepath, path + rootlen, baselen) != 0)
841 if (basepath[baselen
[all...]
/macosx-10.9.5/apr-30/apr/apr/file_io/win32/
H A Dfilepath.c362 apr_size_t baselen; /* the length of basepath (excluding baseroot) */ local
472 baselen = strlen(basepath);
571 keptlen = pathlen = rootlen + baselen;
575 memcpy(path + rootlen, basepath, baselen);
612 keptlen = pathlen = rootlen + baselen;
616 memcpy(path + rootlen, basepath, baselen);
827 /* keptlen will be the baselen unless the addpath contained
834 if ((flags & APR_FILEPATH_NOTABOVEROOT) && baselen) {
835 if (memcmp(basepath, path + rootlen, baselen) != 0)
841 if (basepath[baselen
[all...]
/macosx-10.9.5/file_cmds-230/mv/
H A Dmv.c93 size_t baselen, len; local
188 baselen = strlen(path);
189 endp = &path[baselen];
190 if (!baselen || *(endp - 1) != '/') {
192 ++baselen;
205 if ((baselen + (len = strlen(p))) >= PATH_MAX) {
/macosx-10.9.5/libpcap-42/libpcap/Win32/Include/
H A Dinetprivate.h49 const char *luser, const char *ruser, int baselen);
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/include/lwres/
H A Dlwres.h149 size_t baselen; member in struct:__anon6662
173 size_t baselen; member in struct:__anon6664
206 size_t baselen; member in struct:__anon6666
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/
H A Dfts.c61 size_t baselen; /* current strlen(base) */ \
908 if ((fts->baselen = f->fts_namelen) >= (fts->endbuf - fts->base) && resize(fts, fts->baselen))
910 memcpy(fts->base, f->name, fts->baselen + 1);
933 if (fts->base[fts->baselen - 1] != '/')
934 memcpy(fts->base + fts->baselen, "/.", 3);
937 fts->base[fts->baselen] = 0;
949 f->fts_pathlen = (fts->base - f->fts_path) + fts->baselen;
991 fts->endbase = fts->base + fts->baselen;
1043 fts->endbase = fts->base + fts->baselen;
[all...]
/macosx-10.9.5/bind9-45.100/bind9/contrib/zkt/
H A Dmisc.c72 int baselen; local
82 baselen = strlen (basename);
83 if ( strncmp (p, basename, baselen-1) == 0 && *(p+baselen) == '-' )
85 p += baselen + 1;
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/
H A Dlwresutil.c54 * size_t baselen;
336 response->baselen = LWRES_RECVLENGTH;
446 response->baselen = LWRES_RECVLENGTH;
561 response->baselen = LWRES_RECVLENGTH;
H A Dlwres_gnba.c53 size_t baselen;
413 CTXFREE(gnba->base, gnba->baselen);
H A Dlwres_gabn.c59 size_t baselen;
503 CTXFREE(gabn->base, gabn->baselen);
H A Dlwres_grbn.c424 CTXFREE(grbn->base, grbn->baselen);
/macosx-10.9.5/apache-786.1/httpd/support/
H A Dhtcacheclean.c100 static int baselen; /* string length of the path to the proxy directory */ variable
322 skip = baselen + 1;
440 path[baselen] = '\0';
976 baselen = strlen(path);
/macosx-10.9.5/bind9-45.100/bind9/bin/named/
H A Dlwdgnba.c202 client->gnba.baselen = 0;
H A Dlwdgabn.c570 client->gabn.baselen = 0;
H A Dlwdgrbn.c436 client->grbn.baselen = 0;
/macosx-10.9.5/ruby-104/ruby/
H A Druby.c403 size_t baselen; local
482 baselen = p - libpath;
483 #define PREFIX_PATH() rb_str_new(libpath, baselen)
485 baselen = p - libpath;
486 rb_str_resize(sopath, baselen);
491 #define BASEPATH() rb_str_buf_cat(rb_str_buf_new(baselen+len), libpath, baselen)
/macosx-10.9.5/syslog-217.1.4/aslcommon/
H A Dasl_common.c1948 size_t baselen, nparts; local
1955 baselen = strlen(base);
1956 if (baselen == 0) return false;
1960 if (strncmp(name, base, baselen)) return false;
1962 p = name + baselen;
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/fileutil/
H A Dfileutil.tcl2078 set baselen [llength $base]
2080 if {($dstlen == 0) && ($baselen == 0)} {
2093 while {$baselen > 0} {
2095 incr baselen -1
/macosx-10.9.5/gnudiff-19/diffutils/src/
H A Dsdiff.c334 size_t namelen = strlen (name), baselen = strlen (base); local
336 char *r = xmalloc (namelen + insert_slash + baselen + 1);
339 memcpy (r + namelen + insert_slash, base, baselen + 1);
/macosx-10.9.5/pcre-7/pcre/
H A Dpcregrep.c1972 int baselen = opbra - op->long_name; local
1977 sprintf(buff1, "%.*s", baselen, op->long_name);
1978 sprintf(buff2, "%s%.*s", buff1, fulllen - baselen - 2, opbra + 1);
/macosx-10.9.5/ruby-104/ruby/include/ruby/
H A Dencoding.h221 const char *ruby_enc_find_basename(const char *name, long *baselen, long *alllen, rb_encoding *enc);

Completed in 191 milliseconds

12