Home
last modified time | relevance | path

Searched refs:symbol (Results 1 – 19 of 19) sorted by relevance

/petsc/src/sys/dll/
H A Ddemangle.c31 void *symbol = PETSC_NULLPTR; in PetscDemangleSymbol() local
33 symbol = dlsym(RTLD_DEFAULT, "__cxa_demangle"); in PetscDemangleSymbol()
35 if (!symbol) { in PetscDemangleSymbol()
53 symbol = dlsym(handle, "__cxa_demangle"); in PetscDemangleSymbol()
57 *(void **)(&cxa_demangle) = symbol; in PetscDemangleSymbol()
H A Ddl.c217 char *symbol = NULL, *s = NULL; in PetscDLLibrarySym() local
232 PetscCall(PetscStrallocpy(insymbol, &symbol)); in PetscDLLibrarySym()
234 PetscCall(PetscStrchr(symbol, '(', &s)); in PetscDLLibrarySym()
236 } else symbol = (char *)insymbol; in PetscDLLibrarySym()
267 PetscCall(PetscDLSym(nlist->handle, symbol, value)); in PetscDLLibrarySym()
275 PetscCall(PetscDLSym(list->handle, symbol, value)); in PetscDLLibrarySym()
277 … PetscCall(PetscInfo(NULL, "Loading symbol %s from dynamic library %s\n", symbol, list->libname)); in PetscDLLibrarySym()
283 PetscCall(PetscDLSym(NULL, symbol, value)); in PetscDLLibrarySym()
284 if (*value) PetscCall(PetscInfo(NULL, "Loading symbol %s from object code\n", symbol)); in PetscDLLibrarySym()
288 if (symbol != insymbol) PetscCall(PetscFree(symbol)); in PetscDLLibrarySym()
H A Ddlimpl.c209 PetscErrorCode PetscDLSym(PetscDLHandle handle, const char symbol[], void **value) in PetscDLSym() argument
215 PetscAssertPointer(symbol, 2); in PetscDLSym()
229 dlsymbol = (dlsymbol_t)GetProcAddress(dlhandle, symbol); in PetscDLSym()
281 dlsymbol = (dlsymbol_t)dlsym(dlhandle, symbol); in PetscDLSym()
293 if (*value) PetscCall(PetscFPTAdd(*value, symbol)); in PetscDLSym()
/petsc/src/sys/classes/viewer/impls/mathematica/
H A Druntime.c86 const char *symbol; in processPacket() local
88 MLGetSymbol(link, &symbol); in processPacket()
89 printf("Symbol: %s\n", symbol); in processPacket()
90 if (isHead && !strcmp(symbol, "Shutdown")) { in processPacket()
91 MLDisownSymbol(link, symbol); in processPacket()
95 MLDisownSymbol(link, symbol); in processPacket()
H A Dmathematica.c497 const char *symbol; in PetscViewerMathematicaPutCSRMatrix() local
542 MLGetSymbol(link, &symbol); in PetscViewerMathematicaPutCSRMatrix()
543 PetscCall(PetscStrcmp("True", (char *)symbol, &match)); in PetscViewerMathematicaPutCSRMatrix()
545 MLDisownSymbol(link, symbol); in PetscViewerMathematicaPutCSRMatrix()
548 MLDisownSymbol(link, symbol); in PetscViewerMathematicaPutCSRMatrix()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_diag.py214 def _inject_diag_map(cls, symbol: _T, diag_pairs: Iterable[tuple[str, str]]) -> _T:
258 symbol_flag_prefix = cls.flag_prefix(symbol)
262 if not hasattr(symbol, diag_attr):
263 setattr(symbol, diag_attr, DiagnosticMap())
264 getattr(symbol, diag_attr).update(symbol, [d for d, _ in expanded_diags])
266 return symbol
270 def decorator(symbol: _T) -> _T:
271 return cls._inject_diag_map(symbol, args)
/petsc/lib/petsc/conf/
H A Drules61 grep -v "symbol if the" | \
62 grep -v "ignoring symbol version info" | \
82 grep -v "add line info to anonymous symbol" | \
111 grep -v "symbol if the symbol" | \
116 grep -v "ignoring symbol version info" | \
131 grep -v "add line info to anonymous symbol" | \
137 grep -v "warning multiple definitions of symbol _matdensegetarray_" | \
/petsc/systems/Apple/OSX/bin/
H A Dmakedocs146 symbol=`echo $i | sed s?manualpages/[A-Za-z]*/??g | sed s?.html??g`
147 if [ ${symbol} != "index" ]; then
148 …echo \<Token\> \<TokenIdentifier\>//apple_ref/c/func/${symbol}\</TokenIdentifier\>\<Path\>${i}\</P…
/petsc/systems/Apple/iOS/bin/
H A Dmakedocs146 symbol=`echo $i | sed s?manualpages/[A-Za-z]*/??g | sed s?.html??g`
147 if [ ${symbol} != "index" ]; then
148 …echo \<Token\> \<TokenIdentifier\>//apple_ref/c/func/${symbol}\</TokenIdentifier\>\<Path\>${i}\</P…
/petsc/src/sys/python/
H A Dpythonsys.c102 #define PetscDLPyLibSym(symbol, value) PetscDLLibrarySym(PETSC_COMM_SELF, &PetscDLLibrariesLoaded, … argument
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_section_base.py727 …ynopsisImpl, docstring: PetscDocStringImpl, cursor: Cursor, loc: SourceRange, symbol: str) -> None:
752 if symbol != cursor.name:
753 if len(difflib.get_close_matches(symbol, [cursor.name], n=1)):
/petsc/config/BuildSystem/config/
H A DsetCompilers.py2725 def checkIntoShared(self,symbol,lib): argument
2728 …if not self.checkCompile(includes = 'char *'+symbol+'(void);\n',body = 'return '+symbol+'();\n', c…
2729 raise RuntimeError('Unable to compile test file with symbol: '+symbol)
2732 …ret = self.checkLink(includes = 'char *'+symbol+'(void);\n',body = 'return '+symbol+'();\n', clean…
/petsc/config/BuildSystem/config/packages/
H A DBlasLapack.py662 symbol = self.mangleBlas('geev')
663 if not self.setCompilers.checkIntoShared(symbol,self.lapackLibrary+self.getOtherLibs()):
/petsc/doc/changes/
H A D315.md325 - Add `PetscDLAddr()` to get name for a symbol
H A D32.md290 symbol in dynamically loaded libraries if not already in the list.
/petsc/doc/developers/
H A Dbuildsystem.md72 for the presence of a particular symbol in a library, and fails in C++
H A Dstyle.md33 on symbol visibility in {ref}`usage_of_petsc_functions_and_macros`.
/petsc/doc/manual/
H A Dother.md969 it can do that the basic `tags` feature can't is search for references to a symbol,
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas7795 (adapt/coarsen/marker/symbol "@")
7802 (adapt/refine/marker/symbol "@")