/dports/lang/racket-minimal/racket-8.3/src/expander/common/ |
H A D | module-path.rkt | 13 resolved-module-path? 14 make-resolved-module-path 15 resolved-module-path-name 17 resolved-module-path->module-path 71 (fprintf port "~a" (format-resolved-module-path-name (resolved-module-path-name r))) 126 (weak-intern! resolved-module-paths (resolved-module-path p))) 128 (define (resolved-module-path->module-path r) 304 (define r (resolved-module-path-to-generic-resolved-module-path 318 (define (resolved-module-path-to-generic-resolved-module-path r) 320 (make-resolved-module-path [all …]
|
/dports/lang/racket/racket-8.3/src/expander/common/ |
H A D | module-path.rkt | 13 resolved-module-path? 14 make-resolved-module-path 15 resolved-module-path-name 17 resolved-module-path->module-path 71 (fprintf port "~a" (format-resolved-module-path-name (resolved-module-path-name r))) 126 (weak-intern! resolved-module-paths (resolved-module-path p))) 128 (define (resolved-module-path->module-path r) 304 (define r (resolved-module-path-to-generic-resolved-module-path 318 (define (resolved-module-path-to-generic-resolved-module-path r) 320 (make-resolved-module-path [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger-text-lib/macro-debugger/analysis/private/ |
H A D | util.rkt | 151 (define (get-module-code* resolved) 152 (let* ([path (if (pair? resolved) (car resolved) resolved)] 166 (define (get-module-info/no-cache resolved) 167 (let ([compiled (get-module-code* resolved)] 171 [(dir) (path-only (if (pair? resolved) (car resolved) resolved))]) 181 ;; get-module-info : (or module-path module-path-index) -> modinfo 188 (hash-ref! cache resolved (lambda () (get-module-info/no-cache resolved))))) 190 ;; resolve : (or module-path resolved-module-path module-path-index) 194 (resolved-module-path-name (module-path-index-resolve mod))] 195 [(resolved-module-path? mod) [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger-text-lib/macro-debugger/analysis/ |
H A D | show-dependencies.rkt | 12 ;; A Table is hash[resolved-module-path => (listof mpi-list)] 17 (let* ([resolved (resolve-module-path-index* m relto)] 25 (let* ([resolved-mod (resolved-module-path-name resolved)] 36 ;; resolve-module-path-index* : mpi file-path -> resolved-module-path 40 [(? path?) (make-resolved-module-path (simplify-path v))] 41 [(? symbol?) (make-resolved-module-path v)] 43 (make-resolved-module-path (cons (simplify-path base) syms))] 57 module-path<? 73 ;; get-dependencies : module-path ... #:exclude (listof module-path) 74 ;; -> (listof (list module-path (listof module-path))) [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/reference/ |
H A D | module-reflect.scrbl | 34 @defproc[(make-resolved-module-path [path (or/c symbol? 39 resolved-module-path?]{ 52 @defproc[(resolved-module-path-name [module-path resolved-module-path?]) 75 (or/c #f resolved-module-path?) 79 resolved-module-path?))]{ 256 and either a @tech{resolved module path} or another @tech{module path 276 a @tech{resolved module path}, then the @tech{resolved module path} is 298 resolved-module-path?]{ 300 Returns a @tech{resolved module path} for the resolved module name, 325 (or/c module-path-index? resolved-module-path? #f))]{ [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/expander/namespace/ |
H A D | api-module.rkt | 2 (require "../common/module-path.rkt" 27 (define name (reference->resolved-module-path mod #:load? load?)) 33 (define name (reference->resolved-module-path mod #:load? #f)) 43 (reference->resolved-module-path mod #:load? load?))) 74 (define name (reference->resolved-module-path mod #:load? #t)) 100 (define name (reference->resolved-module-path mod #:load? #f)) 121 (or (module-path? mod) 123 (resolved-module-path? mod))) 126 "(or/c module-path? module-path-index? resolved-module-path?)") 128 (define (reference->resolved-module-path mod #:load? load?) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/namespace/ |
H A D | api-module.rkt | 2 (require "../common/module-path.rkt" 27 (define name (reference->resolved-module-path mod #:load? load?)) 33 (define name (reference->resolved-module-path mod #:load? #f)) 43 (reference->resolved-module-path mod #:load? load?))) 74 (define name (reference->resolved-module-path mod #:load? #t)) 100 (define name (reference->resolved-module-path mod #:load? #f)) 121 (or (module-path? mod) 123 (resolved-module-path? mod))) 126 "(or/c module-path? module-path-index? resolved-module-path?)") 128 (define (reference->resolved-module-path mod #:load? load?) [all …]
|
/dports/lang/racket/racket-8.3/collects/syntax/private/ |
H A D | modresolve-noctc.rkt | 5 (provide resolve-module-path 6 resolve-module-path-index) 66 (resolved-module-path-name 67 (module-path-index-resolve 91 (resolved-module-path-name 92 (module-path-index-resolve 115 (resolve-module-path path (resolve-possible-module-path-index base relto)) 124 (cond [(module-path-index? base) 126 [(and (resolved-module-path? base) 127 (path? (resolved-module-path-name base))) [all …]
|
/dports/lang/racket-minimal/racket-8.3/collects/syntax/private/ |
H A D | modresolve-noctc.rkt | 5 (provide resolve-module-path 6 resolve-module-path-index) 66 (resolved-module-path-name 67 (module-path-index-resolve 91 (resolved-module-path-name 92 (module-path-index-resolve 115 (resolve-module-path path (resolve-possible-module-path-index base relto)) 124 (cond [(module-path-index? base) 126 [(and (resolved-module-path? base) 127 (path? (resolved-module-path-name base))) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/boot/ |
H A D | handler.rkt | 269 (unless (resolved-module-path? s) 271 "resolved-module-path?" 290 (make-resolved-module-path (car (resolved-module-path-name s))) 312 (unless (or (not relto) (resolved-module-path? relto)) 314 "(or/c #f resolved-module-path?)" 342 (make-resolved-module-path (cadr s))] 345 (make-resolved-module-path (flatten-sub-path (cadadr s) (cddr s)))] 350 (let ([p (resolved-module-path-name relto)]) 353 (define rp (resolved-module-path-name relto)) 547 (make-resolved-module-path [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/expander/boot/ |
H A D | handler.rkt | 269 (unless (resolved-module-path? s) 271 "resolved-module-path?" 290 (make-resolved-module-path (car (resolved-module-path-name s))) 312 (unless (or (not relto) (resolved-module-path? relto)) 314 "(or/c #f resolved-module-path?)" 342 (make-resolved-module-path (cadr s))] 345 (make-resolved-module-path (flatten-sub-path (cadadr s) (cddr s)))] 350 (let ([p (resolved-module-path-name relto)]) 353 (define rp (resolved-module-path-name relto)) 547 (make-resolved-module-path [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger-text-lib/macro-debugger/util/ |
H A D | mpi.rkt | 13 (cond [(module-path-index? mpi) 22 (if (module-path-index? mpi) 46 ;; mp = module-path 47 ;; mpi = module-path-index 48 ;; rmp = resolved-module-path 57 ;; (list 'resolved path/symbol) 64 [(resolved-module-path? mpi) 80 [(list (list 'resolved path)) 87 (list 'resolved (resolved-module-path-name rmp))) 91 (make-resolved-module-path (cadr sexpr))) [all …]
|
/dports/graphics/darktable38/darktable-3.8.0/src/external/whereami/src/ |
H A D | whereami.c | 63 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 75 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 90 path = path_; in WAI_PREFIX() 91 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 99 path = buffer1; in WAI_PREFIX() 131 WAI_FREE(path); in WAI_PREFIX() 145 HMODULE module; in WAI_PREFIX() local 157 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 275 resolved = realpath(path, buffer); 382 resolved = realpath(path, buffer2); [all …]
|
/dports/graphics/darktable/darktable-3.6.1/src/external/whereami/src/ |
H A D | whereami.c | 63 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 75 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 90 path = path_; in WAI_PREFIX() 91 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 99 path = buffer1; in WAI_PREFIX() 131 WAI_FREE(path); in WAI_PREFIX() 145 HMODULE module; in WAI_PREFIX() local 157 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 275 resolved = realpath(path, buffer); 382 resolved = realpath(path, buffer2); [all …]
|
/dports/devel/rabs/rabs-2.19.5/src/ |
H A D | whereami.c | 61 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 73 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 88 path = path_; in WAI_PREFIX() 89 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 97 path = buffer1; in WAI_PREFIX() 129 WAI_FREE(path); in WAI_PREFIX() 143 HMODULE module; in WAI_PREFIX() local 155 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 269 resolved = realpath(path, buffer); 376 resolved = realpath(path, buffer2); [all …]
|
/dports/math/cadabra2/cadabra2-2.3.6.8/libs/whereami/ |
H A D | whereami.c | 59 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 71 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 86 path = path_; in WAI_PREFIX() 87 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 95 path = buffer1; in WAI_PREFIX() 127 WAI_FREE(path); in WAI_PREFIX() 143 HMODULE module; in WAI_PREFIX() local 155 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 271 resolved = realpath(path, buffer); 374 resolved = realpath(path, buffer2); [all …]
|
/dports/devel/rabs/rabs-2.19.5/minilang/src/ |
H A D | whereami.c | 61 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 73 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 88 path = path_; in WAI_PREFIX() 89 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 97 path = buffer1; in WAI_PREFIX() 129 WAI_FREE(path); in WAI_PREFIX() 143 HMODULE module; in WAI_PREFIX() local 155 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 269 resolved = realpath(path, buffer); 376 resolved = realpath(path, buffer2); [all …]
|
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/cpp/whereami/ |
H A D | whereami.c | 61 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 73 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 88 path = path_; in WAI_PREFIX() 89 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 97 path = buffer1; in WAI_PREFIX() 129 WAI_FREE(path); in WAI_PREFIX() 143 HMODULE module; in WAI_PREFIX() local 155 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 273 resolved = realpath(path, buffer); 380 resolved = realpath(path, buffer2); [all …]
|
/dports/lang/racket/racket-8.3/src/expander/extract/ |
H A D | module.rkt | 7 (prefix-in new: "../common/module-path.rkt")) 11 module-path-index->module-name) 55 ;; a module path index in the host Racket: 56 (define (build-native-module-path-index mpi wrt-name) 57 (define-values (mod-path base) (new:module-path-index-split mpi)) 59 [(not mod-path) (make-resolved-module-path wrt-name)] 61 (module-path-index-join mod-path 67 (define (module-path-index->module-name mod name) 69 (resolved-module-path-name 70 (if (resolved-module-path? p) [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/expander/extract/ |
H A D | module.rkt | 7 (prefix-in new: "../common/module-path.rkt")) 11 module-path-index->module-name) 55 ;; a module path index in the host Racket: 56 (define (build-native-module-path-index mpi wrt-name) 57 (define-values (mod-path base) (new:module-path-index-split mpi)) 59 [(not mod-path) (make-resolved-module-path wrt-name)] 61 (module-path-index-join mod-path 67 (define (module-path-index->module-name mod name) 69 (resolved-module-path-name 70 (if (resolved-module-path? p) [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/expander/compile/ |
H A D | module-use.rkt | 2 (require "../common/module-path.rkt") 4 ;; A `module-use` record is just a part of module path index plus 9 (struct module-use (module phase) 12 (define a-mod (module-use-module a)) 13 (define b-mod (module-use-module b)) 19 (let-values ([(a-path a-base) (module-path-index-split a-mod)] 20 [(b-path b-base) (module-path-index-split b-mod)]) 21 (or a-path 22 b-path 23 (eq? (module-path-index-resolved a-mod) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/compile/ |
H A D | module-use.rkt | 2 (require "../common/module-path.rkt") 4 ;; A `module-use` record is just a part of module path index plus 9 (struct module-use (module phase) 12 (define a-mod (module-use-module a)) 13 (define b-mod (module-use-module b)) 19 (let-values ([(a-path a-base) (module-path-index-split a-mod)] 20 [(b-path b-base) (module-path-index-split b-mod)]) 21 (or a-path 22 b-path 23 (eq? (module-path-index-resolved a-mod) [all …]
|
/dports/lang/yabasic/yabasic-2.90.1/unix/lang/ |
H A D | whereami.c | 71 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 83 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 98 path = path_; in WAI_PREFIX() 99 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 107 path = buffer1; in WAI_PREFIX() 139 WAI_FREE(path); in WAI_PREFIX() 153 HMODULE module; in WAI_PREFIX() local 165 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 288 resolved = realpath(path, buffer); 395 resolved = realpath(path, buffer2); [all …]
|
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/ext/whereami/ |
H A D | whereami.c | 72 static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length) in WAI_PREFIX() 84 size = GetModuleFileNameW(module, buffer1, sizeof(buffer1) / sizeof(buffer1[0])); in WAI_PREFIX() 99 path = path_; in WAI_PREFIX() 100 size = GetModuleFileNameW(module, path, size_); in WAI_PREFIX() 108 path = buffer1; in WAI_PREFIX() 140 WAI_FREE(path); in WAI_PREFIX() 154 HMODULE module; in WAI_PREFIX() local 166 length = WAI_PREFIX(getModulePath_)(module, out, capacity, dirname_length); in WAI_PREFIX() 284 resolved = realpath(path, buffer); 400 resolved = realpath(path, buffer2); [all …]
|
/dports/lang/racket/racket-8.3/src/expander/eval/ |
H A D | dynamic-require.rkt | 9 "../common/module-path.rkt" 18 (unless (or (module-path? mod-path) 19 (module-path-index? mod-path) 20 (resolved-module-path? mod-path)) 22 "(or/c module-path? module-path-index? resolved-module-path?)" 34 [(module-path? mod-path) (module-path-index-join mod-path #f)] 35 [(module-path-index? mod-path) mod-path] 36 [else (module-path-index-join (resolved-module-path->module-path mod-path) #f)])) 37 (define mod-name (module-path-index-resolve mpi #t)) 77 (module-path-index-shift [all …]
|