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