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