/third_party/node/deps/npm/node_modules/retry/test/integration/ |
H A D | test-retry-wrap.js | 4 var retry = require(common.dir.lib + '/retry'); 15 var lib = getLib(); 16 retry.wrap(lib); 17 assert.equal(lib.fn1.name, 'bound retryWrapper'); 18 assert.equal(lib.fn2.name, 'bound retryWrapper'); 19 assert.equal(lib.fn3.name, 'bound retryWrapper'); 23 var lib = getLib(); 24 retry.wrap(lib, {retries: 2}); 25 assert.equal(lib.fn1.name, 'bound retryWrapper'); 26 assert.equal(lib [all...] |
/third_party/libuv/src/win/ |
H A D | dl.c | 25 static int uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno); 28 int uv_dlopen(const char* filename, uv_lib_t* lib) { in uv_dlopen() argument 32 lib->handle = NULL; in uv_dlopen() 33 lib->errmsg = NULL; in uv_dlopen() 37 return uv__dlerror(lib, filename, ERROR_NO_UNICODE_TRANSLATION); in uv_dlopen() 39 return uv__dlerror(lib, filename, ERROR_INSUFFICIENT_BUFFER); in uv_dlopen() 42 lib->handle = LoadLibraryExW(filename_w, NULL, LOAD_WITH_ALTERED_SEARCH_PATH); in uv_dlopen() 43 if (lib->handle == NULL) { in uv_dlopen() 44 return uv__dlerror(lib, filename, GetLastError()); in uv_dlopen() 51 void uv_dlclose(uv_lib_t* lib) { in uv_dlclose() argument 65 uv_dlsym(uv_lib_t* lib, const char* name, void** ptr) uv_dlsym() argument 72 uv_dlerror(const uv_lib_t* lib) uv_dlerror() argument 77 uv__format_fallback_error(uv_lib_t* lib, int errorno) uv__format_fallback_error() argument 92 uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno) uv__dlerror() argument [all...] |
/third_party/node/deps/uv/src/win/ |
H A D | dl.c | 25 static int uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno); 28 int uv_dlopen(const char* filename, uv_lib_t* lib) { in uv_dlopen() argument 31 lib->handle = NULL; in uv_dlopen() 32 lib->errmsg = NULL; in uv_dlopen() 40 return uv__dlerror(lib, filename, GetLastError()); in uv_dlopen() 43 lib->handle = LoadLibraryExW(filename_w, NULL, LOAD_WITH_ALTERED_SEARCH_PATH); in uv_dlopen() 44 if (lib->handle == NULL) { in uv_dlopen() 45 return uv__dlerror(lib, filename, GetLastError()); in uv_dlopen() 52 void uv_dlclose(uv_lib_t* lib) { in uv_dlclose() argument 53 if (lib in uv_dlclose() 66 uv_dlsym(uv_lib_t* lib, const char* name, void** ptr) uv_dlsym() argument 73 uv_dlerror(const uv_lib_t* lib) uv_dlerror() argument 78 uv__format_fallback_error(uv_lib_t* lib, int errorno) uv__format_fallback_error() argument 93 uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno) uv__dlerror() argument [all...] |
/third_party/libuv/src/unix/ |
H A D | dl.c | 30 static int uv__dlerror(uv_lib_t* lib); 33 int uv_dlopen(const char* filename, uv_lib_t* lib) { in uv_dlopen() argument 35 lib->errmsg = NULL; in uv_dlopen() 36 lib->handle = dlopen(filename, RTLD_LAZY); in uv_dlopen() 37 return lib->handle ? 0 : uv__dlerror(lib); in uv_dlopen() 41 void uv_dlclose(uv_lib_t* lib) { in uv_dlclose() argument 42 uv__free(lib->errmsg); in uv_dlclose() 43 lib->errmsg = NULL; in uv_dlclose() 45 if (lib in uv_dlclose() 53 uv_dlsym(uv_lib_t* lib, const char* name, void** ptr) uv_dlsym() argument 60 uv_dlerror(const uv_lib_t* lib) uv_dlerror() argument 65 uv__dlerror(uv_lib_t* lib) uv__dlerror() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | dl.c | 30 static int uv__dlerror(uv_lib_t* lib); 33 int uv_dlopen(const char* filename, uv_lib_t* lib) { in uv_dlopen() argument 35 lib->errmsg = NULL; in uv_dlopen() 36 lib->handle = dlopen(filename, RTLD_LAZY); in uv_dlopen() 37 return lib->handle ? 0 : uv__dlerror(lib); in uv_dlopen() 41 void uv_dlclose(uv_lib_t* lib) { in uv_dlclose() argument 42 uv__free(lib->errmsg); in uv_dlclose() 43 lib->errmsg = NULL; in uv_dlclose() 45 if (lib in uv_dlclose() 53 uv_dlsym(uv_lib_t* lib, const char* name, void** ptr) uv_dlsym() argument 60 uv_dlerror(const uv_lib_t* lib) uv_dlerror() argument 65 uv__dlerror(uv_lib_t* lib) uv__dlerror() argument [all...] |
/third_party/node/deps/base64/base64/ |
H A D | Makefile | 7 lib/arch/avx512/codec.o \ 8 lib/arch/avx2/codec.o \ 9 lib/arch/generic/codec.o \ 10 lib/arch/neon32/codec.o \ 11 lib/arch/neon64/codec.o \ 12 lib/arch/ssse3/codec.o \ 13 lib/arch/sse41/codec.o \ 14 lib/arch/sse42/codec.o \ 15 lib/arch/avx/codec.o \ 16 lib/li [all...] |
/third_party/ltp/testcases/commands/ar/ |
H A D | ar01.sh | 25 ROD $AR -cr"$MOD" lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in 26 ROD $AR -ra"$MOD" file1.in lib.a $TST_DATAROOT/file2.in 27 ROD $AR -t lib.a \> ar.out 38 ROD rm lib.a 43 ROD $AR -cr"$MOD" lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \ 45 ROD $AR -ma"$MOD" file1.in lib.a file4.in 46 ROD $AR -t lib.a \> ar.out 57 ROD rm lib.a 62 ROD $AR -cr"$MOD" lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in 63 ROD $AR -rb"$MOD" file3.in lib [all...] |
/third_party/curl/projects/ |
H A D | generate.bat | 102 call :generate vcxproj Windows\VC10\lib\libcurl.tmpl Windows\VC10\lib\libcurl.vcxproj
106 call :clean Windows\VC10\lib\libcurl.vcxproj
117 call :generate vcxproj Windows\VC11\lib\libcurl.tmpl Windows\VC11\lib\libcurl.vcxproj
121 call :clean Windows\VC11\lib\libcurl.vcxproj
132 call :generate vcxproj Windows\VC12\lib\libcurl.tmpl Windows\VC12\lib\libcurl.vcxproj
136 call :clean Windows\VC12\lib\libcurl.vcxproj
147 call :generate vcxproj Windows\VC14\lib\libcur [all...] |
/third_party/openssl/test/ |
H A D | simpledynamic.c | 18 int sd_load(const char *filename, SD *lib, int type) in sd_load() argument 25 *lib = dlopen(filename, dl_flags); in sd_load() 26 return *lib == NULL ? 0 : 1; in sd_load() 29 int sd_sym(SD lib, const char *symname, SD_SYM *sym) in sd_sym() argument 31 *sym = dlsym(lib, symname); in sd_sym() 35 int sd_close(SD lib) in sd_close() argument 37 return dlclose(lib) != 0 ? 0 : 1; in sd_close() 47 int sd_load(const char *filename, SD *lib, ossl_unused int type) in sd_load() argument 49 *lib = LoadLibraryA(filename); in sd_load() 50 return *lib in sd_load() 53 sd_sym(SD lib, const char *symname, SD_SYM *sym) sd_sym() argument 59 sd_close(SD lib) sd_close() argument [all...] |
/third_party/mesa3d/src/gbm/main/ |
H A D | backend.c | 50 void *lib; member 66 assert(backend_desc->lib); in free_backend_desc() 68 dlclose(backend_desc->lib); in free_backend_desc() 76 void *lib) in create_backend_desc() 91 new_desc->lib = lib; in create_backend_desc() 115 load_backend(void *lib, int fd, const char *name) in load_backend() argument 122 get_backend = dlsym(lib, GBM_GET_BACKEND_PROC_NAME); in load_backend() 128 backend_desc = create_backend_desc(name, gbm_backend, lib); in load_backend() 141 dlclose(lib); in load_backend() 74 create_backend_desc(const char *name, const struct gbm_backend *backend, void *lib) create_backend_desc() argument 150 void *lib; find_backend() local 196 void *lib; backend_from_driver_name() local [all...] |
/third_party/rust/crates/serde/serde/src/private/ |
H A D | mod.rs | 9 pub use crate::lib::clone::Clone; 10 pub use crate::lib::convert::{From, Into}; 11 pub use crate::lib::default::Default; 12 pub use crate::lib::fmt::{self, Formatter}; 13 pub use crate::lib::marker::PhantomData; 14 pub use crate::lib::option::Option::{self, None, Some}; 15 pub use crate::lib::ptr; 16 pub use crate::lib::result::Result::{self, Err, Ok}; 21 pub use crate::lib::{ToString, Vec}; 24 pub use crate::lib [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | icuplug.cpp | 55 void *lib; /**< plugin library, or NULL */ member 63 UBool dontUnload; /**< true if plugin must stay resident (leak plugin and lib) */ 111 void *lib; /**< library ptr */ member 137 static int32_t searchForLibrary(void *lib) { in searchForLibrary() argument 141 if(lib==libraryList[i].lib) { in searchForLibrary() 149 uplug_findLibrary(void *lib, UErrorCode *status) { in uplug_findLibrary() argument 155 libEnt = searchForLibrary(lib); in uplug_findLibrary() 167 void *lib = NULL; in uplug_openLibrary() local 184 libraryList[libEntry].lib in uplug_openLibrary() 213 uplug_closeLibrary(void *lib, UErrorCode *status) uplug_closeLibrary() argument 363 uplug_allocatePlug(UPlugEntrypoint *entrypoint, const char *config, void *lib, const char *symName, UErrorCode *status) uplug_allocatePlug() argument 531 uplug_initPlugFromEntrypointAndLibrary(UPlugEntrypoint *entrypoint, const char *config, void *lib, const char *sym, UErrorCode *status) uplug_initPlugFromEntrypointAndLibrary() argument 588 void *lib = NULL; uplug_initPlugFromLibrary() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | icuplug.cpp | 55 void *lib; /**< plugin library, or nullptr */ member 63 UBool dontUnload; /**< true if plugin must stay resident (leak plugin and lib) */ 111 void *lib; /**< library ptr */ member 137 static int32_t searchForLibrary(void *lib) { in searchForLibrary() argument 141 if(lib==libraryList[i].lib) { in searchForLibrary() 149 uplug_findLibrary(void *lib, UErrorCode *status) { in uplug_findLibrary() argument 155 libEnt = searchForLibrary(lib); in uplug_findLibrary() 167 void *lib = nullptr; in uplug_openLibrary() local 184 libraryList[libEntry].lib in uplug_openLibrary() 213 uplug_closeLibrary(void *lib, UErrorCode *status) uplug_closeLibrary() argument 363 uplug_allocatePlug(UPlugEntrypoint *entrypoint, const char *config, void *lib, const char *symName, UErrorCode *status) uplug_allocatePlug() argument 531 uplug_initPlugFromEntrypointAndLibrary(UPlugEntrypoint *entrypoint, const char *config, void *lib, const char *sym, UErrorCode *status) uplug_initPlugFromEntrypointAndLibrary() argument 588 void *lib = nullptr; uplug_initPlugFromLibrary() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | icuplug.cpp | 55 void *lib; /**< plugin library, or NULL */ member 63 UBool dontUnload; /**< TRUE if plugin must stay resident (leak plugin and lib) */ 111 void *lib; /**< library ptr */ member 137 static int32_t searchForLibrary(void *lib) { in searchForLibrary() argument 141 if(lib==libraryList[i].lib) { in searchForLibrary() 149 uplug_findLibrary(void *lib, UErrorCode *status) { in uplug_findLibrary() argument 155 libEnt = searchForLibrary(lib); in uplug_findLibrary() 167 void *lib = NULL; in uplug_openLibrary() local 184 libraryList[libEntry].lib in uplug_openLibrary() 213 uplug_closeLibrary(void *lib, UErrorCode *status) uplug_closeLibrary() argument 363 uplug_allocatePlug(UPlugEntrypoint *entrypoint, const char *config, void *lib, const char *symName, UErrorCode *status) uplug_allocatePlug() argument 531 uplug_initPlugFromEntrypointAndLibrary(UPlugEntrypoint *entrypoint, const char *config, void *lib, const char *sym, UErrorCode *status) uplug_initPlugFromEntrypointAndLibrary() argument 588 void *lib = NULL; uplug_initPlugFromLibrary() local [all...] |
/third_party/alsa-lib/src/ |
H A D | dlmisc.c | 76 snprintf(path, path_len, "%s/alsa-lib", origin); in snd_dlinfo_origin() 117 * the alsa-lib library. In that case, \p name is set to \c NULL. 184 * the alsa-lib library. 240 * the alsa-lib library. 283 const char *lib; member 311 snd_dlobj_cache_get0(const char *lib, const char *name, in snd_dlobj_cache_get0() argument 321 if (c->lib && lib && strcmp(c->lib, lib) ! in snd_dlobj_cache_get0() 372 snd_dlobj_cache_get(const char *lib, const char *name, const char *version, int verbose) snd_dlobj_cache_get() argument 386 snd_dlobj_cache_get2(const char *lib, const char *name, const char *version, int verbose) snd_dlobj_cache_get2() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
H A D | libXCB.cpp | 21 LibXcbExports::LibXcbExports(void *lib) in LibXcbExports() argument 23 getFuncAddress(lib, "xcb_create_gc", &xcb_create_gc); in LibXcbExports() 24 getFuncAddress(lib, "xcb_flush", &xcb_flush); in LibXcbExports() 25 getFuncAddress(lib, "xcb_free_gc", &xcb_free_gc); in LibXcbExports() 26 getFuncAddress(lib, "xcb_generate_id", &xcb_generate_id); in LibXcbExports() 27 getFuncAddress(lib, "xcb_get_geometry", &xcb_get_geometry); in LibXcbExports() 28 getFuncAddress(lib, "xcb_get_geometry_reply", &xcb_get_geometry_reply); in LibXcbExports() 29 getFuncAddress(lib, "xcb_put_image", &xcb_put_image); in LibXcbExports() 45 if(void *lib = loadLibrary("libxcb.so.1")) in loadExports() 47 return LibXcbExports(lib); in loadExports() [all...] |
/third_party/rust/crates/libloading/tests/ |
H A D | functions.rs | 41 let lib = Library::new(lib_path()).unwrap(); in test_id_u32() 42 let f: Symbol<unsafe extern "C" fn(u32) -> u32> = lib.get(b"test_identity_u32\0").unwrap(); in test_id_u32() 60 let lib = Library::new(lib_path()).unwrap(); in test_id_struct() 61 let f: Symbol<unsafe extern "C" fn(S) -> S> = lib.get(b"test_identity_struct\0").unwrap(); in test_id_struct() 83 let lib = Library::new(lib_path()).unwrap(); in test_0_no_0() 84 let f: Symbol<unsafe extern "C" fn(S) -> S> = lib.get(b"test_identity_struct\0").unwrap(); in test_0_no_0() 85 let f2: Symbol<unsafe extern "C" fn(S) -> S> = lib.get(b"test_identity_struct").unwrap(); in test_0_no_0() 103 let lib = Library::new(lib_path()).unwrap(); in missing_symbol_fails() 104 lib.get::<*mut ()>(b"test_does_not_exist").err().unwrap(); in missing_symbol_fails() 105 lib in missing_symbol_fails() [all...] |
/third_party/typescript/tests/baselines/reference/tscWatch/emit/emit-file-content/ |
H A D | handles-new-lines-carriageReturn-lineFeed.js | 6 //// [/a/lib/lib.d.ts]
7 /// <reference no-default-lib="true"/> 20 /a/lib/tsc.js --w /a/app.ts
33 /a/lib/lib.d.ts
37 /a/lib/lib.d.ts
41 /a/lib/lib [all...] |
H A D | handles-new-lines-lineFeed.js | 6 //// [/a/lib/lib.d.ts]
7 /// <reference no-default-lib="true"/> 20 /a/lib/tsc.js --w /a/app.ts
33 /a/lib/lib.d.ts
37 /a/lib/lib.d.ts
41 /a/lib/lib [all...] |
/third_party/typescript/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/ |
H A D | with-default-options.js | 11 //// [/a/lib/lib.d.ts]
12 /// <reference no-default-lib="true"/> 28 /a/lib/tsc.js -w /user/username/projects/myproject/a.ts
33 [96m../../../../a/lib/lib.d.ts[0m:[93m13[0m:[93m14[0m - [91merror[0m[90m TS2687: [0mAll declarations of 'fullscreen' must have identical modifiers. 51 /a/lib/lib.d.ts
55 /a/lib/lib [all...] |
/third_party/typescript/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/ |
H A D | with-default-options.js | 8 //// [/a/lib/lib.d.ts]
9 /// <reference no-default-lib="true"/> 25 /a/lib/tsc.js -w /user/username/projects/myproject/a.ts
30 [96m../../../../a/lib/lib.d.ts[0m:[93m13[0m:[93m14[0m - [91merror[0m[90m TS2687: [0mAll declarations of 'fullscreen' must have identical modifiers. 48 /a/lib/lib.d.ts
52 /a/lib/lib [all...] |
/third_party/rust/crates/libloading/src/ |
H A D | safe.rs | 118 /// let lib = unsafe { 127 /// # let lib = unsafe { 132 /// lib.get(b"awesome_function\0").unwrap(); 141 /// # let lib = unsafe { Library::new("/path/to/awesome.module").unwrap() }; 143 /// let awesome_variable: Symbol<*mut f64> = lib.get(b"awesome_variable\0").unwrap(); 147 pub unsafe fn get<'lib, T>(&'lib self, symbol: &[u8]) -> Result<Symbol<'lib, T>, Error> { in get() 173 fn from(lib: imp::Library) -> Library { in from() 174 Library(lib) in from() [all...] |
/third_party/eudev/ |
H A D | compile | 98 lib=$1 105 if $shared && test -f "$dir/$lib.dll.lib"; then 107 lib=$dir/$lib.dll.lib 110 if test -f "$dir/$lib.lib"; then 112 lib=$dir/$lib [all...] |
/third_party/lame/ |
H A D | compile | 98 lib=$1 105 if $shared && test -f "$dir/$lib.dll.lib"; then 107 lib=$dir/$lib.dll.lib 110 if test -f "$dir/$lib.lib"; then 112 lib=$dir/$lib [all...] |
/third_party/node/deps/cares/ |
H A D | compile | 98 lib=$1 105 if $shared && test -f "$dir/$lib.dll.lib"; then 107 lib=$dir/$lib.dll.lib 110 if test -f "$dir/$lib.lib"; then 112 lib=$dir/$lib [all...] |