Lines Matching refs:filename_len
426 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
430 entry.filename_len = PHAR_GET_16(zipentry.filename_len); in phar_parse_zipfile()
431 entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent); in phar_parse_zipfile()
433 if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) { in phar_parse_zipfile()
438 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile()
440 if (entry.filename[entry.filename_len - 1] == '/') { in phar_parse_zipfile()
442 if(entry.filename_len > 1) { in phar_parse_zipfile()
443 entry.filename_len--; in phar_parse_zipfile()
470 if (entry.filename_len != PHAR_GET_16(local.filename_len)) { in phar_parse_zipfile()
477 + entry.filename_len in phar_parse_zipfile()
482 + entry.filename_len in phar_parse_zipfile()
486 …if (entry.filename_len == sizeof(".phar/signature.bin")-1 && !strncmp(entry.filename, ".phar/signa… in phar_parse_zipfile()
546 phar_add_virtual_dirs(mydata, entry.filename, entry.filename_len); in phar_parse_zipfile()
629 …if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename,… in phar_parse_zipfile()
741 …zend_hash_str_add_mem(&mydata->manifest, entry.filename, entry.filename_len, (void *)&entry, sizeo… in phar_parse_zipfile()
895 phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); in phar_zip_changed_apply_int()
928 PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply_int()
929 PHAR_SET_16(local.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply_int()
1055 …offset = entry->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + si… in phar_zip_changed_apply_int()
1068 if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply_int()
1078 if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply_int()
1088 if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply_int()
1093 if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply_int()
1216 entry.filename_len = sizeof(".phar/signature.bin")-1; in phar_zip_applysignature()
1302 entry.filename_len = sizeof(".phar/alias.txt")-1; in phar_zip_flush()
1304 …zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeo… in phar_zip_flush()
1350 entry.filename_len = sizeof(".phar/stub.php")-1; in phar_zip_flush()
1352 …zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeo… in phar_zip_flush()
1370 entry.filename_len = sizeof(".phar/stub.php")-1; in phar_zip_flush()
1374 …if (NULL == zend_hash_str_add_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&ent… in phar_zip_flush()
1387 …zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeo… in phar_zip_flush()