Searched refs:path_translated_len (Results 1 - 2 of 2) sorted by relevance

/PHP_5_3/sapi/cgi/
H A Dcgi_main.c1238 int path_translated_len = 0; local
1251 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1252 path_translated = (char *) emalloc(path_translated_len + 1);
1255 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1257 path_translated[path_translated_len] = '\0';
1268 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1271 path_translated = (char *) emalloc(path_translated_len + 1);
1274 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1276 path_translated[path_translated_len] = '\0';
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c1249 int path_translated_len = 0; local
1262 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1263 path_translated = (char *) emalloc(path_translated_len + 1);
1266 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1268 path_translated[path_translated_len] = '\0';
1279 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1282 path_translated = (char *) emalloc(path_translated_len + 1);
1285 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1287 path_translated[path_translated_len] = '\0';

Completed in 13 milliseconds