Home
last modified time | relevance | path

Searched refs:self_exe (Results 1 – 25 of 39) sorted by relevance

12

/dports/lang/racket/racket-8.3/src/cs/c/
H A Dmain.c164 self_exe_t self_exe; in bytes_main() local
184 self_exe = get_self_path(exec_file); in bytes_main()
186 extract_built_in_arguments(self_exe, &exec_file, &run_file, &argc, &argv); in bytes_main()
203 dll_path = self_exe; in bytes_main()
212 boot_exe = self_exe; in bytes_main()
216 segment_offset = get_segment_offset(self_exe); in bytes_main()
281 ba.k_file = SELF_PATH_TO_BYTES(self_exe); in bytes_main()
/dports/lang/racket-minimal/racket-8.3/src/cs/c/
H A Dmain.c164 self_exe_t self_exe; in bytes_main() local
184 self_exe = get_self_path(exec_file); in bytes_main()
186 extract_built_in_arguments(self_exe, &exec_file, &run_file, &argc, &argv); in bytes_main()
203 dll_path = self_exe; in bytes_main()
212 boot_exe = self_exe; in bytes_main()
216 segment_offset = get_segment_offset(self_exe); in bytes_main()
281 ba.k_file = SELF_PATH_TO_BYTES(self_exe); in bytes_main()
/dports/lang/racket-minimal/racket-8.3/src/start/
H A Dconfig.inc9 void extract_built_in_arguments(const self_exe_t self_exe,
143 #include "self_exe.inc"
313 /* Replacing `prog` with `self_exe` has the effect of stripping trailing spaces
317 prog = string_to_utf8(self_exe);
342 wchar_t *path = self_exe;
357 start += get_segment_offset(self_exe);
403 fileoff = get_segment_offset(self_exe);
416 fd = open(self_exe, O_RDONLY);
440 int mlen = strlen(self_exe);
443 while (mlen && (self_exe[mlen - 1] != '/')) {
[all …]
/dports/lang/racket/racket-8.3/src/start/
H A Dconfig.inc9 void extract_built_in_arguments(const self_exe_t self_exe,
143 #include "self_exe.inc"
313 /* Replacing `prog` with `self_exe` has the effect of stripping trailing spaces
317 prog = string_to_utf8(self_exe);
342 wchar_t *path = self_exe;
357 start += get_segment_offset(self_exe);
403 fileoff = get_segment_offset(self_exe);
416 fd = open(self_exe, O_RDONLY);
440 int mlen = strlen(self_exe);
443 while (mlen && (self_exe[mlen - 1] != '/')) {
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/service_manager/embedder/
H A Dset_process_title.cc57 base::FilePath self_exe(base::kProcSelfExe); in SetProcessTitleFromCommandLine() local
58 if (base::ReadSymbolicLink(self_exe, &target)) { in SetProcessTitleFromCommandLine()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/common/
H A Dset_process_title.cc67 base::FilePath self_exe(base::kProcSelfExe); in SetProcessTitleFromCommandLine() local
68 if (base::ReadSymbolicLink(self_exe, &target)) { in SetProcessTitleFromCommandLine()
/dports/graphics/darktable38/darktable-3.8.0/src/external/whereami/src/
H A Dwhereami.c477 FILE* self_exe = NULL;
482 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
483 if (!self_exe)
486 if (!fgets(buffer1, sizeof(buffer1), self_exe))
516 fclose(self_exe);
/dports/graphics/darktable/darktable-3.6.1/src/external/whereami/src/
H A Dwhereami.c477 FILE* self_exe = NULL;
482 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
483 if (!self_exe)
486 if (!fgets(buffer1, sizeof(buffer1), self_exe))
516 fclose(self_exe);
/dports/devel/rabs/rabs-2.19.5/src/
H A Dwhereami.c471 FILE* self_exe = NULL;
476 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
477 if (!self_exe)
480 if (!fgets(buffer1, sizeof(buffer1), self_exe))
510 fclose(self_exe);
/dports/math/cadabra2/cadabra2-2.3.6.8/libs/whereami/
H A Dwhereami.c470 FILE* self_exe = NULL;
475 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
476 if (!self_exe)
479 if (!fgets(buffer1, sizeof(buffer1), self_exe))
509 fclose(self_exe);
/dports/devel/rabs/rabs-2.19.5/minilang/src/
H A Dwhereami.c471 FILE* self_exe = NULL;
476 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
477 if (!self_exe)
480 if (!fgets(buffer1, sizeof(buffer1), self_exe))
510 fclose(self_exe);
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/cpp/whereami/
H A Dwhereami.c475 FILE* self_exe = NULL;
480 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
481 if (!self_exe)
484 if (!fgets(buffer1, sizeof(buffer1), self_exe))
514 fclose(self_exe);
/dports/lang/yabasic/yabasic-2.90.1/unix/lang/
H A Dwhereami.c490 FILE* self_exe = NULL;
495 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
496 if (!self_exe)
499 if (!fgets(buffer1, sizeof(buffer1), self_exe))
529 fclose(self_exe);
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/ext/whereami/
H A Dwhereami.c495 FILE* self_exe = NULL;
500 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
501 if (!self_exe)
504 if (!fgets(buffer1, sizeof(buffer1), self_exe))
534 fclose(self_exe);
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/libs/whereami/
H A Dwhereami.c485 FILE* self_exe = NULL;
491 self_exe = fopen(WAI_PROC_SELF_EXE, "r");
492 if (!self_exe)
495 if (!fgets(buffer1, sizeof(buffer1), self_exe))
523 fclose(self_exe);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc278 const char *self_exe; in FilterElfHeader() local
280 self_exe = info->dlpi_name; in FilterElfHeader()
282 self_exe = "/proc/self/exe"; in FilterElfHeader()
287 info->dlpi_phdr[i].p_offset, self_exe); in FilterElfHeader()
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc278 const char *self_exe; in FilterElfHeader() local
280 self_exe = info->dlpi_name; in FilterElfHeader()
282 self_exe = "/proc/self/exe"; in FilterElfHeader()
287 info->dlpi_phdr[i].p_offset, self_exe); in FilterElfHeader()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc282 const char *self_exe; in FilterElfHeader() local
284 self_exe = info->dlpi_name; in FilterElfHeader()
286 self_exe = "/proc/self/exe"; in FilterElfHeader()
291 info->dlpi_phdr[i].p_offset, self_exe); in FilterElfHeader()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc282 const char *self_exe; in FilterElfHeader() local
284 self_exe = info->dlpi_name; in FilterElfHeader()
286 self_exe = "/proc/self/exe"; in FilterElfHeader()
291 info->dlpi_phdr[i].p_offset, self_exe); in FilterElfHeader()
/dports/devel/bloaty/bloaty-1.1/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc252 const char *self_exe; in FilterElfHeader() local
254 self_exe = info->dlpi_name; in FilterElfHeader()
256 self_exe = "/proc/self/exe"; in FilterElfHeader()
261 info->dlpi_phdr[i].p_offset, self_exe); in FilterElfHeader()
/dports/devel/abseil/abseil-cpp-20211102.0/absl/debugging/
H A Dsymbolize_test.cc296 const char *self_exe; in FilterElfHeader() local
298 self_exe = info->dlpi_name; in FilterElfHeader()
300 self_exe = "/proc/self/exe"; in FilterElfHeader()
305 info->dlpi_phdr[i].p_offset, self_exe); in FilterElfHeader()
/dports/devel/py-grpcio/grpcio-1.43.0/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc296 const char *self_exe; in FilterElfHeader() local
298 self_exe = info->dlpi_name; in FilterElfHeader()
300 self_exe = "/proc/self/exe"; in FilterElfHeader()
305 info->dlpi_phdr[i].p_offset, self_exe); in FilterElfHeader()
/dports/security/openvpn-devel/openvpn-0033811e0215af76f469d78912c95a2f59813454/src/openvpn/
H A Dwin32.c1079 char self_exe[256]; in fork_to_self() local
1085 CLEAR(self_exe); in fork_to_self()
1087 status = GetModuleFileName(NULL, self_exe, sizeof(self_exe)); in fork_to_self()
1088 if (status == 0 || status == sizeof(self_exe)) in fork_to_self()
1100 if (CreateProcess(self_exe, cl, NULL, NULL, FALSE, 0, NULL, NULL, &start_info, &proc_info)) in fork_to_self()
/dports/security/openvpn/openvpn-2.5.6/src/openvpn/
H A Dwin32.c1181 char self_exe[256]; in fork_to_self() local
1187 CLEAR(self_exe); in fork_to_self()
1189 status = GetModuleFileName(NULL, self_exe, sizeof(self_exe)); in fork_to_self()
1190 if (status == 0 || status == sizeof(self_exe)) in fork_to_self()
1202 if (CreateProcess(self_exe, cl, NULL, NULL, FALSE, 0, NULL, NULL, &start_info, &proc_info)) in fork_to_self()
/dports/security/openvpn-mbedtls/openvpn-2.5.6/src/openvpn/
H A Dwin32.c1181 char self_exe[256]; in fork_to_self() local
1187 CLEAR(self_exe); in fork_to_self()
1189 status = GetModuleFileName(NULL, self_exe, sizeof(self_exe)); in fork_to_self()
1190 if (status == 0 || status == sizeof(self_exe)) in fork_to_self()
1202 if (CreateProcess(self_exe, cl, NULL, NULL, FALSE, 0, NULL, NULL, &start_info, &proc_info)) in fork_to_self()

12