Searched defs:filename_len (Results 1 - 25 of 34) sorted by relevance

12

/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c234 size_t filename_len; local
238 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
240 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &filename, &filename_len) == FAILURE) {
247 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Op", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
249 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len) == FAILURE) {
257 if (strlen(filename) != filename_len) {
881 size_t filename_len; local
888 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|ll", &filename, &filename_len, &start, &length) == FAILURE) {
890 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &filename, &filename_len, &start, &length) == FAILURE) {
906 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Op|ll", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len,
[all...]
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c29 size_t filename_len; local
41 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|z", &filename, &filename_len, &zcontext) == FAILURE) {
45 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) {
63 entry = estrndup(filename, filename_len);
65 entry_len = filename_len;
97 size_t filename_len; local
115 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "p|br!ll", &filename, &filename_len, &use_include_path, &zcontext, &offset, &maxlen) == FAILURE) {
119 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) {
137 entry_len = filename_len;
227 size_t filename_len; local
323 size_t filename_len, mode_len; local
892 size_t filename_len; local
959 size_t filename_len; local
[all...]
H A Dpharzip.h32 char filename_len[2]; /* file name length 2 bytes */ member in struct:_phar_zip_file_header
162 char filename_len[2]; /* file name length 2 bytes */ member in struct:_phar_zip_central_dir_file
H A Dutil.c170 int phar_mount_entry(phar_archive_data *phar, char *filename, int filename_len, char *path, int path_len) /* {{{ */ argument
186 is_phar = (filename_len > 7 && !memcmp(filename, "phar://", 7));
193 entry.filename_len = path_len;
195 entry.tmp = estrndup(filename, filename_len);
199 entry.tmp = estrndup(filename, filename_len);
253 char *phar_find_in_include_path(char *filename, int filename_len, phar_archive_data **pphar) /* {{{ */ argument
266 return phar_save_resolve_path(filename, filename_len);
280 return phar_save_resolve_path(filename, filename_len);
290 return phar_save_resolve_path(filename, filename_len);
297 try_len = filename_len;
926 phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len) argument
1922 phar_add_virtual_dirs(phar_archive_data *phar, char *filename, int filename_len) argument
[all...]
H A Dphar_object.c2265 newentry.filename = estrndup(newentry.filename, newentry.filename_len);
2283 zend_hash_str_add_mem(&(phar->manifest), newentry.filename, newentry.filename_len, (void*)&newentry, sizeof(phar_entry_info));
2284 phar_add_virtual_dirs(phar, newentry.filename, newentry.filename_len);
3454 newentry.filename_len = newfile_len;
3567 static void phar_add_file(phar_archive_data **pphar, char *filename, int filename_len, char *cont_str, size_t cont_len, zval *zresource) argument
3574 if (filename_len >= sizeof(".phar")-1 && !memcmp(filename, ".phar", sizeof(".phar")-1)) {
3579 if (!(data = phar_get_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, filename, filename_len, "w+b", 0, &error, 1))) {
4066 if (entry->filename_len >= sizeof(".phar")-1 && !memcmp(entry->filename, ".phar", sizeof(".phar")-1)) {
4076 if (entry->filename_len > 50) {
4107 slash = zend_memrchr(entry->filename, '/', entry->filename_len);
4206 size_t pathto_len, filename_len; local
[all...]
/PHP_TRUNK/ext/posix/
H A Dposix.c951 size_t filename_len, ret; local
954 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &mode) == FAILURE) {
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c377 size_t filename_len; local
387 &filename, &filename_len, &remember)) {
440 size_t filename_len; local
451 &filename, &filename_len, &flags)) {
/PHP_TRUNK/ext/ftp/
H A Dftp.c590 ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len) argument
594 if (ftp == NULL || filename_len <= 0) {
H A Dphp_ftp.c624 size_t filename_len; local
627 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlp", &z_ftp, &mode, &filename, &filename_len) == FAILURE) {
635 if (!ftp_chmod(ftp, mode, filename, filename_len)) {
/PHP_TRUNK/ext/standard/
H A Dfilestat.c423 size_t filename_len; local
431 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/", &filename, &filename_len, &group) == FAILURE) {
560 size_t filename_len; local
568 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/", &filename, &filename_len, &user) == FAILURE) {
670 size_t filename_len; local
676 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pl", &filename, &filename_len, &mode) == FAILURE) {
716 size_t filename_len; local
724 if (zend_parse_parameters(argc, "p|ll", &filename, &filename_len, &filetime, &fileatime) == FAILURE) {
728 if (!filename_len) {
803 PHPAPI void php_clear_stat_cache(zend_bool clear_realpath_cache, const char *filename, int filename_len) argument
832 size_t filename_len = 0; local
[all...]
H A Ddl.c57 size_t filename_len; local
59 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &filename, &filename_len) == FAILURE) {
68 if (filename_len >= MAXPATHLEN) {
H A Dstreamsfuncs.c1493 size_t filename_len; local
1495 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &filename, &filename_len) == FAILURE) {
1499 resolved_path = zend_resolve_path(filename, (int)filename_len);
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c897 size_t filename_len; local
900 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "p!", &filename, &filename_len) == SUCCESS) {
906 intern->profiling = estrndup(filename, filename_len);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dirent.c335 zip_uint16_t filename_len, comment_len, ef_len; local
387 filename_len = _zip_read2(&cur);
408 size += filename_len+ef_len+comment_len;
415 if (filename_len) {
416 zde->filename = _zip_read_string(bufp ? &cur : NULL, fp, filename_len, 1, error);
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h82 int filename_len; member in struct:_ze_zip_object
H A Dphp_zip.c279 static int php_zip_add_file(struct zip *za, const char *filename, size_t filename_len, argument
1445 ze_obj->filename_len = strlen(resolved_path);
1505 ze_obj->filename_len = 0;
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c75 size_t filename_len; local
78 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
122 size_t filename_len; local
124 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/Zend/
H A Dzend_exceptions.c229 size_t message_len, filename_len; local
231 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc, "|sllslO!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, default_exception_ce) == FAILURE) {
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c655 size_t table_name_len, filename_len, pg_delim_len = 0, pg_null_as_len = 0, pg_fields_len; local
662 &table_name, &table_name_len, &filename, &filename_len,
754 size_t table_name_len, pg_delim_len = 0, pg_null_as_len = 0, pg_fields_len, filename_len; local
763 &table_name, &table_name_len, &filename, &filename_len,
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c281 static int filename_is_in_cache(char *filename, int filename_len) argument
291 if (IS_ABSOLUTE_PATH(filename, filename_len)) {
292 persistent_script = zend_accel_hash_find(&ZCSG(hash), filename, filename_len);
299 if ((key = accel_make_persistent_key_ex(&handle, filename_len, &key_length)) != NULL) {
/PHP_TRUNK/ext/hash/
H A Dhash.c465 size_t filename_len, n; local
467 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|r", &zhash, &filename, &filename_len, &zcontext) == FAILURE) {
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1345 size_t filename_len; local
1352 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
2109 size_t filename_len; local
2117 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|C!lsb", &filename, &filename_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) {
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c1783 size_t filename_len; local
1785 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &filename, &filename_len) == FAILURE) {
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c104 size_t filename_len, encryption_key_len = 0; local
111 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "p|ls", &filename, &filename_len, &flags, &encryption_key, &encryption_key_len)) {
122 if (strlen(filename) != filename_len) {
/PHP_TRUNK/ext/zlib/
H A Dzlib.c544 size_t filename_len; local
551 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &use_include_path)) {
586 size_t filename_len, mode_len; local
591 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|l", &filename, &filename_len, &mode, &mode_len, &use_include_path) == FAILURE) {
613 size_t filename_len; local
619 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &filename, &filename_len, &use_include_path) == FAILURE) {

Completed in 69 milliseconds

12