Lines Matching refs:path_len
151 size_t path_len; local
160 path_len = strlen(path);
161 if (path_len > (MAXPATHLEN - 1)) {
171 path_len = strlen(resolved_name);
172 memcpy(path_tmp, resolved_name, path_len + 1); /* safe */
203 path_len = path_file - path_tmp + 1;
205 if (path_len > 1 && path_tmp[path_len - 2] == ':') {
206 if (path_len != 3) {
210 path_tmp[path_len] = '\0';
212 path_tmp[path_len - 1] = '\0';
215 path_tmp[path_len - 1] = '\0';
245 if (path_tmp[path_len - 1] == PHP_DIR_SEPARATOR) {
429 size_t path_len = strlen(path_info); local
430 filename = zend_string_alloc(length + path_len + 2, 0);
438 strncpy(ZSTR_VAL(filename) + length, path_info, path_len + 1);
439 ZSTR_LEN(filename) = length + path_len;
786 size_t path_len; local
792 path_len = strlen(filepath);
794 if (IS_ABSOLUTE_PATH(filepath, path_len)) {
817 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;