Searched refs:strlen (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/PHP_TRUNK/ext/fileinfo/
H A Dcreate_data_file.php5 $dta_l = strlen($dta);
/PHP_TRUNK/ext/pcre/
H A Dupgrade-pcre.php30 $dirlen = strlen('pcrelib');
98 $file2 = 'pcrelib'.substr($file, strlen($newpcre));
/PHP_TRUNK/ext/pdo_mysql/
H A Dget_error_codes.php10 $maxlen = max($maxlen, strlen($matches[1]));
/PHP_TRUNK/ext/phar/
H A Dbuild_precommand.php34 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) {
46 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) {
H A Dmakestub.php13 $token[1] = strlen($n) ? $n : ' ';
21 $slen = strlen($s) - strlen('index.php') - strlen("000");
27 $s = substr($s, strlen($webs) + strlen("000"));
29 $s2 = substr($s, strlen($s1) + strlen('index.php'));
31 $s3 = substr($s, strlen($s2) + 4 + strlen(
[all...]
H A Dshortarc.php67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename));
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen(
[all...]
/PHP_TRUNK/ext/phar/phar/
H A Dclicommand.inc46 if (strlen($argv[$i]) == 2 && isset($this->args[$argv[$i][1]])) {
77 if (strlen($arg) && !isset($inf['val']) && isset($inf['required']) && $inf['required']) {
82 if (strlen($missing)) {
116 $l = strlen($prefix);
121 $what = substr($m->name, $l+strlen($sub)+1);
162 if (strlen($arg)) {
163 if (strlen($arg) > 1 && $arg[0] == $arg[strlen($arg)-1] && strpos('/,', $arg) !== false) {
250 if (strlen($arg)) {
257 $l2 = strlen(
[all...]
/PHP_TRUNK/ext/phar/tests/cache_list/files/
H A Dphar_test.inc37 if (empty($ulen)) $ulen = strlen($cont);
38 if (empty($clen)) $clen = strlen($comp);
43 $manifest .= pack('V', strlen($name)) . (binary)$name;
44 $manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$meta;
55 $manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) . (binary)$alias . pack('V', strlen($pmeta)) . (binary)$pmeta . $manifest;
57 $file .= pack('V', strlen($manifest)) . $manifest;
/PHP_TRUNK/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc93 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) .
100 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) .
107 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) .
114 pack("VVVvv", $crc32 + 1, $complength, $uncomplength, strlen($filename), 0x00) .
121 pack("VVVvv", $crc32, $complength + 1, $uncomplength, strlen($filename), 0x00) .
128 pack("VVVvv", $crc32, $complength, $uncomplength - 1, strlen($filename), 0x00) .
135 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename) - 1, 0x00) .
142 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 1) .
149 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) .
156 pack("VVVvv", $crc32, $complength, $uncomplength, strlen(
[all...]
/PHP_TRUNK/ext/sqlite3/tests/
H A Dstream_test.inc18 $this->position += strlen($ret);
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c70 if(strlen(to_enc) >= ICONV_CSNMAXLEN || strlen(from_enc) >= ICONV_CSNMAXLEN) {
/PHP_TRUNK/ext/zip/lib/
H A Dzip_error_strerror.c80 if ((s=(char *)malloc(strlen(ss)
81 + (zs ? strlen(zs)+2 : 0) + 1)) == NULL)
H A Dzip_file_rename.c50 if (idx >= za->nentry || (name != NULL && strlen(name) > ZIP_UINT16_MAX)) {
63 new_is_dir = (name != NULL && name[strlen(name)-1] == '/');
64 old_is_dir = (old_name[strlen(old_name)-1] == '/');
/PHP_TRUNK/scripts/dev/generate-phpt/
H A DgtPackage.php15 $pharPath = substr($thisDir, 0, -strlen('/generate-phpt'));
/PHP_TRUNK/ext/imap/tests/
H A Dclean.inc17 if (strlen($match[1]) >= strlen($mailbox_prefix)
18 && substr_compare($match[1], $mailbox_prefix, 0, strlen($mailbox_prefix)) == 0) {
/PHP_TRUNK/ext/mbstring/libmbfl/tests/
H A Dsample.c30 string.len = strlen(input);
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregposerr.c91 len = strlen(s) + 1; /* use strlen() because s is ascii encoding. */
/PHP_TRUNK/win32/
H A Dreaddir.c35 filespec = (char *)malloc(strlen(resolved_path_buff) + 2 + 1);
40 index = strlen(filespec) - 1;
86 dp->dent.d_reclen = strlen(dp->dent.d_name);
110 dp->dent.d_reclen = strlen(dp->dent.d_name);
149 filespec = (char *)malloc(strlen(dp->dir) + 2 + 1);
155 index = strlen(filespec) - 1;
/PHP_TRUNK/Zend/tests/use_function/includes/
H A Dfoo_strlen.php5 function strlen($str) { function
/PHP_TRUNK/Zend/
H A Dzend_sprintf.c39 return strlen(buffer);
/PHP_TRUNK/main/
H A Dstrlcat.c65 * Returns strlen(src); if retval >= siz, truncation occurred.
84 return(dlen + strlen(s));
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_env.c36 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) {
46 int name_len = strlen(name);
47 int value_len = strlen(value);
127 if (fpm_env_argv != NULL && fpm_env_argv_len > strlen(SETPROCTITLE_PREFIX) + 3) {
130 strncpy(fpm_env_argv[0] + strlen(SETPROCTITLE_PREFIX), title, fpm_env_argv_len - strlen(SETPROCTITLE_PREFIX) - 2);
232 last = fpm_globals.argv[i] + strlen(fpm_globals.argv[i]);
241 last = environ[i] + strlen(environ[i]);
/PHP_TRUNK/ext/interbase/tests/
H A Dinterbase.inc102 if (strlen($n) < $len) {
103 $n .= "." . substr(rand(), 0, rand() % ($len - strlen($n)) + 1);
/PHP_TRUNK/ext/phar/tests/files/
H A Dphar_test.inc37 if (empty($ulen)) $ulen = strlen($cont);
38 if (empty($clen)) $clen = strlen($comp);
43 $manifest .= pack('V', strlen($name)) . (binary)$name;
44 $manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$meta;
55 $manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) . (binary)$alias . pack('V', strlen($pmeta)) . (binary)$pmeta . $manifest;
57 $file .= pack('V', strlen($manifest)) . $manifest;
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_locale.c69 RETVAL_STRINGL( locale_name, strlen(locale_name) );

Completed in 51 milliseconds

1234567891011>>