Searched refs:old_env_len (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mac.cc | 616 uptr old_env_len = dyld_insert_libraries ? in MaybeReexec() local 634 new_env = (char*)allocator_for_env.Allocate(old_env_len + fname_len + 2); in MaybeReexec() 635 internal_strncpy(new_env, dyld_insert_libraries, old_env_len); in MaybeReexec() 636 new_env[old_env_len] = ':'; in MaybeReexec() 638 internal_strncpy(new_env + old_env_len + 1, info.dli_fname, in MaybeReexec() 687 old_env_len + 2 + env_name_len); in MaybeReexec() 689 internal_memset(new_env, '\0', old_env_len + 2 + env_name_len); in MaybeReexec() 697 char *old_env_end = dyld_insert_libraries + old_env_len; in MaybeReexec() 701 if (!piece_end) piece_end = dyld_insert_libraries + old_env_len; in MaybeReexec() 702 if ((uptr)(piece_start - dyld_insert_libraries) > old_env_len) break; in MaybeReexec()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mac.cpp | 939 uptr old_env_len = dyld_insert_libraries ? in MaybeReexec() local 957 new_env = (char*)allocator_for_env.Allocate(old_env_len + fname_len + 2); in MaybeReexec() 958 internal_strncpy(new_env, dyld_insert_libraries, old_env_len); in MaybeReexec() 959 new_env[old_env_len] = ':'; in MaybeReexec() 961 internal_strncpy(new_env + old_env_len + 1, info.dli_fname, in MaybeReexec() 1013 old_env_len + 2 + env_name_len); in MaybeReexec() 1015 internal_memset(new_env, '\0', old_env_len + 2 + env_name_len); in MaybeReexec() 1023 char *old_env_end = dyld_insert_libraries + old_env_len; in MaybeReexec() 1027 if (!piece_end) piece_end = dyld_insert_libraries + old_env_len; in MaybeReexec() 1028 if ((uptr)(piece_start - dyld_insert_libraries) > old_env_len) break; in MaybeReexec()
|