Lines Matching refs:save_path_len
276 int save_path_len = strlen(PS(save_path)); in PHP_MINIT_FUNCTION() local
294 ps_mm_path = emalloc(save_path_len + 1 + (sizeof(PS_MM_FILE) - 1) + mod_name_len + euid_len + 1); in PHP_MINIT_FUNCTION()
296 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION()
297 if (save_path_len && PS(save_path)[save_path_len - 1] != DEFAULT_SLASH) { in PHP_MINIT_FUNCTION()
298 ps_mm_path[save_path_len] = DEFAULT_SLASH; in PHP_MINIT_FUNCTION()
299 save_path_len++; in PHP_MINIT_FUNCTION()
301 memcpy(ps_mm_path + save_path_len, PS_MM_FILE, sizeof(PS_MM_FILE) - 1); in PHP_MINIT_FUNCTION()
302 save_path_len += sizeof(PS_MM_FILE) - 1; in PHP_MINIT_FUNCTION()
303 memcpy(ps_mm_path + save_path_len, sapi_module.name, mod_name_len); in PHP_MINIT_FUNCTION()
304 save_path_len += mod_name_len; in PHP_MINIT_FUNCTION()
305 memcpy(ps_mm_path + save_path_len, euid, euid_len); in PHP_MINIT_FUNCTION()
306 ps_mm_path[save_path_len + euid_len] = '\0'; in PHP_MINIT_FUNCTION()