Home
last modified time | relevance | path

Searched refs:newfile_len (Results 1 – 1 of 1) sorted by relevance

/PHP-8.1/ext/phar/
H A Dphar_object.c3391 size_t oldfile_len, newfile_len; in PHP_METHOD() local
3395 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3414 if (newfile_len >= sizeof(".phar")-1 && !memcmp(newfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3427 if (zend_hash_str_exists(&phar_obj->archive->manifest, newfile, (uint32_t) newfile_len)) { in PHP_METHOD()
3428 …nd_hash_str_find_ptr(&phar_obj->archive->manifest, newfile, (uint32_t) newfile_len)) || !temp->is_… in PHP_METHOD()
3435 tmp_len = newfile_len; in PHP_METHOD()
3441 newfile_len = tmp_len; in PHP_METHOD()
3456 newentry.filename = estrndup(newfile, newfile_len); in PHP_METHOD()
3457 newentry.filename_len = newfile_len; in PHP_METHOD()
3470 …zend_hash_str_add_mem(&oldentry->phar->manifest, newfile, newfile_len, &newentry, sizeof(phar_entr… in PHP_METHOD()

Completed in 16 milliseconds