Lines Matching refs:path_length
97 if (p + blacklist->entries[i].path_length < end) { in zend_accel_blacklist_update_regexp()
244 int path_length, blacklist_path_length = 0; in zend_accel_blacklist_loadone() local
263 path_length = strlen(buf); in zend_accel_blacklist_loadone()
264 if (path_length > 0 && buf[path_length - 1] == '\n') { in zend_accel_blacklist_loadone()
265 buf[--path_length] = 0; in zend_accel_blacklist_loadone()
266 if (path_length > 0 && buf[path_length - 1] == '\r') { in zend_accel_blacklist_loadone()
267 buf[--path_length] = 0; in zend_accel_blacklist_loadone()
275 path_length--; in zend_accel_blacklist_loadone()
279 if (path_length > 0 && pbuf[0] == '\"' && pbuf[path_length - 1]== '\"') { in zend_accel_blacklist_loadone()
281 path_length -= 2; in zend_accel_blacklist_loadone()
284 if (path_length <= 0) { in zend_accel_blacklist_loadone()
293 path_dup = zend_strndup(pbuf, path_length); in zend_accel_blacklist_loadone()
299 path_length = strlen(real_path); in zend_accel_blacklist_loadone()
304 blacklist->entries[blacklist->pos].path_length = path_length; in zend_accel_blacklist_loadone()
305 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone()
312 memcpy(blacklist->entries[blacklist->pos].path, real_path, path_length + 1); in zend_accel_blacklist_loadone()