Lines Matching refs:save_path_len
269 int save_path_len = strlen(PS(save_path)); in PHP_MINIT_FUNCTION() local
287 ps_mm_path = emalloc(save_path_len + 1 + (sizeof(PS_MM_FILE) - 1) + mod_name_len + euid_len + 1); in PHP_MINIT_FUNCTION()
289 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION()
290 if (save_path_len && PS(save_path)[save_path_len - 1] != DEFAULT_SLASH) { in PHP_MINIT_FUNCTION()
291 ps_mm_path[save_path_len] = DEFAULT_SLASH; in PHP_MINIT_FUNCTION()
292 save_path_len++; in PHP_MINIT_FUNCTION()
294 memcpy(ps_mm_path + save_path_len, PS_MM_FILE, sizeof(PS_MM_FILE) - 1); in PHP_MINIT_FUNCTION()
295 save_path_len += sizeof(PS_MM_FILE) - 1; in PHP_MINIT_FUNCTION()
296 memcpy(ps_mm_path + save_path_len, sapi_module.name, mod_name_len); in PHP_MINIT_FUNCTION()
297 save_path_len += mod_name_len; in PHP_MINIT_FUNCTION()
298 memcpy(ps_mm_path + save_path_len, euid, euid_len); in PHP_MINIT_FUNCTION()
299 ps_mm_path[save_path_len + euid_len] = '\0'; in PHP_MINIT_FUNCTION()