Lines Matching refs:save_path_len
262 int save_path_len = strlen(PS(save_path)); in PHP_MINIT_FUNCTION() local
280 ps_mm_path = emalloc(save_path_len + 1 + (sizeof(PS_MM_FILE) - 1) + mod_name_len + euid_len + 1); in PHP_MINIT_FUNCTION()
282 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION()
283 if (save_path_len && PS(save_path)[save_path_len - 1] != DEFAULT_SLASH) { in PHP_MINIT_FUNCTION()
284 ps_mm_path[save_path_len] = DEFAULT_SLASH; in PHP_MINIT_FUNCTION()
285 save_path_len++; in PHP_MINIT_FUNCTION()
287 memcpy(ps_mm_path + save_path_len, PS_MM_FILE, sizeof(PS_MM_FILE) - 1); in PHP_MINIT_FUNCTION()
288 save_path_len += sizeof(PS_MM_FILE) - 1; in PHP_MINIT_FUNCTION()
289 memcpy(ps_mm_path + save_path_len, sapi_module.name, mod_name_len); in PHP_MINIT_FUNCTION()
290 save_path_len += mod_name_len; in PHP_MINIT_FUNCTION()
291 memcpy(ps_mm_path + save_path_len, euid, euid_len); in PHP_MINIT_FUNCTION()
292 ps_mm_path[save_path_len + euid_len] = '\0'; in PHP_MINIT_FUNCTION()