Lines Matching refs:stuff
62 zval **stuff; in phar_mung_server_vars() local
76 if (SUCCESS == zend_hash_find(_SERVER, "PATH_INFO", sizeof("PATH_INFO"), (void **) &stuff)) { in phar_mung_server_vars()
77 path_info = Z_STRVAL_PP(stuff); in phar_mung_server_vars()
78 code = Z_STRLEN_PP(stuff); in phar_mung_server_vars()
80 if (Z_STRLEN_PP(stuff) > entry_len && !memcmp(Z_STRVAL_PP(stuff), entry, entry_len)) { in phar_mung_server_vars()
81 ZVAL_STRINGL(*stuff, Z_STRVAL_PP(stuff) + entry_len, request_uri_len, 1); in phar_mung_server_vars()
90 …CCESS == zend_hash_find(_SERVER, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED"), (void **) &stuff)) { in phar_mung_server_vars()
91 path_info = Z_STRVAL_PP(stuff); in phar_mung_server_vars()
92 code = Z_STRLEN_PP(stuff); in phar_mung_server_vars()
93 Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry); in phar_mung_server_vars()
106 if (SUCCESS == zend_hash_find(_SERVER, "REQUEST_URI", sizeof("REQUEST_URI"), (void **) &stuff)) { in phar_mung_server_vars()
107 path_info = Z_STRVAL_PP(stuff); in phar_mung_server_vars()
108 code = Z_STRLEN_PP(stuff); in phar_mung_server_vars()
110 if (Z_STRLEN_PP(stuff) > basename_len && !memcmp(Z_STRVAL_PP(stuff), basename, basename_len)) { in phar_mung_server_vars()
111 ZVAL_STRINGL(*stuff, Z_STRVAL_PP(stuff) + basename_len, Z_STRLEN_PP(stuff) - basename_len, 1); in phar_mung_server_vars()
122 if (SUCCESS == zend_hash_find(_SERVER, "PHP_SELF", sizeof("PHP_SELF"), (void **) &stuff)) { in phar_mung_server_vars()
123 path_info = Z_STRVAL_PP(stuff); in phar_mung_server_vars()
124 code = Z_STRLEN_PP(stuff); in phar_mung_server_vars()
126 if (Z_STRLEN_PP(stuff) > basename_len && !memcmp(Z_STRVAL_PP(stuff), basename, basename_len)) { in phar_mung_server_vars()
127 ZVAL_STRINGL(*stuff, Z_STRVAL_PP(stuff) + basename_len, Z_STRLEN_PP(stuff) - basename_len, 1); in phar_mung_server_vars()
138 if (SUCCESS == zend_hash_find(_SERVER, "SCRIPT_NAME", sizeof("SCRIPT_NAME"), (void **) &stuff)) { in phar_mung_server_vars()
139 path_info = Z_STRVAL_PP(stuff); in phar_mung_server_vars()
140 code = Z_STRLEN_PP(stuff); in phar_mung_server_vars()
141 ZVAL_STRINGL(*stuff, entry, entry_len, 1); in phar_mung_server_vars()
151 …CCESS == zend_hash_find(_SERVER, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &stuff)) { in phar_mung_server_vars()
152 path_info = Z_STRVAL_PP(stuff); in phar_mung_server_vars()
153 code = Z_STRLEN_PP(stuff); in phar_mung_server_vars()
154 Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry); in phar_mung_server_vars()