Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 58) sorted by relevance

123

/petsc/src/sys/yaml/src/
H A Dyaml_private.h94 ((buffer).last = (buffer).pointer = (buffer).start, \
102 (buffer).start = (buffer).pointer = (buffer).end = NULL)
111 yaml_char_t *pointer; member
116 yaml_char_t **pointer, yaml_char_t **end);
130 (value).pointer = (string))
134 ((string).pointer = (string).start, \
143 (string).start = (string).pointer = (string).end = NULL)
146 ((((string).pointer+5 < (string).end) \
148 &(string).pointer, &(string).end)) ? \
154 ((string).pointer = (string).start, \
[all …]
H A Dreader.c56 && parser->raw_buffer.last - parser->raw_buffer.pointer < 3) { in yaml_parser_determine_encoding()
62 if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
63 && !memcmp(parser->raw_buffer.pointer, BOM_UTF16LE, 2)) { in yaml_parser_determine_encoding()
65 parser->raw_buffer.pointer += 2; in yaml_parser_determine_encoding()
68 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
69 && !memcmp(parser->raw_buffer.pointer, BOM_UTF16BE, 2)) { in yaml_parser_determine_encoding()
71 parser->raw_buffer.pointer += 2; in yaml_parser_determine_encoding()
74 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 3 in yaml_parser_determine_encoding()
75 && !memcmp(parser->raw_buffer.pointer, BOM_UTF8, 3)) { in yaml_parser_determine_encoding()
77 parser->raw_buffer.pointer += 3; in yaml_parser_determine_encoding()
[all …]
H A Dscanner.c499 parser->buffer.pointer += WIDTH(parser->buffer))
507 parser->buffer.pointer += 2) : \
513 parser->buffer.pointer += WIDTH(parser->buffer)) : NULL)
535 (*((string).pointer++) = (yaml_char_t) '\n', \
536 parser->buffer.pointer += 2, \
543 (*((string).pointer++) = (yaml_char_t) '\n', \
544 parser->buffer.pointer ++, \
551 (*((string).pointer++) = (yaml_char_t) '\n', \
552 parser->buffer.pointer += 2, \
561 (*((string).pointer++) = *(parser->buffer.pointer++), \
[all …]
H A Dapi.c53 yaml_char_t **pointer, yaml_char_t **end) in yaml_string_extend() argument
61 *pointer = new_start + (*pointer - *start); in yaml_string_extend()
/petsc/src/dm/ftn-mod/
H A Dpetscdmda.h906 PetscMPIInt, pointer :: ranks(:)
14 PetscInt, pointer :: lx(:), ly(:), lz(:)
30 PetscScalar, pointer :: array(:)
38 PetscScalar, pointer :: array(:, :)
46 PetscScalar, pointer :: array(:, :, :)
54 PetscScalar, pointer :: array(:, :, :, :)
65 PetscScalar, pointer :: array(:)
73 PetscScalar, pointer :: array(:, :)
81 PetscScalar, pointer :: array(:, :, :)
89 PetscScalar, pointer :: array(:, :, :, :)
[all …]
H A Dpetscdt.h906 PetscReal, pointer :: p(:)
7 PetscReal, pointer :: w(:)
H A Dpetscdmplex.h907 PetscInt, pointer :: cone(:)
16 PetscInt, pointer :: support(:)
H A Dpetscdmswarm.h9010 PetscScalar, pointer :: data(:)
22 PetscScalar, pointer :: data(:)
H A Dpetscdmcomposite.h906 IS, pointer :: iss(:)
14 IS, pointer :: iss(:)
/petsc/src/mat/ftn-mod/
H A Dpetscmat.h905 PetscInt, pointer :: cols(:)
17 Vec, pointer :: vecs(:)
31 PetscScalar, pointer :: array(:)
38 PetscScalar, pointer :: array(:, :)
48 PetscScalar, pointer :: array(:)
55 PetscScalar, pointer :: array(:, :)
65 PetscScalar, pointer :: array(:)
72 PetscScalar, pointer :: array(:, :)
82 PetscScalar, pointer :: array(:)
89 PetscScalar, pointer :: array(:, :)
[all …]
/petsc/src/ksp/ftn-mod/
H A Dpetscksp.h907 PetscReal, pointer :: r(:)
16 KSP, pointer :: ksp(:)
25 KSP, pointer :: ksp(:)
34 KSP, pointer :: ksp(:)
43 KSP, pointer :: subksp(:)
52 KSP, pointer :: subksp(:)
/petsc/src/vec/ftn-mod/
H A Dpetscis.h906 PetscInt, pointer :: ranges(:)
14 PetscInt, pointer :: indices(:)
25 PetscInt, pointer :: indices(:)
H A Dpetscvec.h9066 PetscInt, pointer :: ranges(:)
75 PetscInt, pointer :: ilocal(:)
76 type(sPetscSFNode), pointer :: iremote(:)
83 PetscScalar, pointer :: values(:)
/petsc/src/sys/ftn-mod/
H A Dpetscsys.h9071 PetscInt, pointer :: a(:)
78 PetscScalar, pointer :: d1(:)
84 PetscScalar, pointer :: d1(:)
91 PetscInt, pointer :: d1(:)
97 PetscInt, pointer :: d1(:)
/petsc/doc/manualpages/doctext/
H A Ddoctextcommon.txt44 - References returned by the routine itself. If a routine returns a pointer, the value
45 of the top-most pointer is guaranteed to always be valid. For example, given a routine
46 which asynchronously allocates memory and returns a pointer to the memory, the value
47 of said pointer is immediately valid but dereferencing the pointer may not be.
/petsc/share/petsc/suppressions/
H A Dubsan81 pointer-overflow:src/mpid/ch3/*
82 pointer-overflow:src/binding/c/*
83 pointer-overflow:bitmap.c
86 pointer-overflow:libscotch/*
/petsc/src/snes/ftn-mod/
H A Dpetscsnes.h907 PetscReal, pointer :: a(:)
8 PetscInt, pointer :: its(:)
/petsc/src/sys/tests/linter/output/
H A DtestValidFunctionDocStrings.patch33 -- y - a pointer
34 ++ y - a pointer
39 - y - a pointer
45 - y - a pointer
136 . y - a PetscScalar pointer
139 . y - a PetscScalar pointer
185 -+ string - a char pointer
186 ++ string - a char pointer
187 - function_ptr - a function pointer
/petsc/src/sys/error/tests/output/
H A Dex2_1_alt.out1 Free'd pointer is still accessible
/petsc/src/sys/tests/output/
H A Dex73_0_alt_3.out1 free(): invalid pointer
/petsc/doc/manual/
H A Dfortran.md122 Otherwise `y` will be a dangling pointer whose access will cause a crash.
135 …inters to arrays for arguments that output an array, for example `PetscScalar, pointer \:\: a(\:)`,
217 PetscInt, pointer :: lx(:), ly(:)
254 one passes in a pointer to an array and the PETSc routine returns an array containing the values. F…
265 PetscScalar, pointer :: a(:)
378 …ple, `SNESGetApplicationContext()`. In C, they are handled as a `void *` pointer so one can write …
386 In Fortran, they must be declared as a pointer with, for example,
388 type(AppCtx), pointer :: ctx
393 that `SNESGetApplicationContext()` expects the `ctx` argument to be a pointer to `type(AppCtx)` sin…
406 When a function pointer (declared as external in Fortran) is passed as an argument to a PETSc funct…
[all …]
/petsc/doc/changes/
H A D323.md117 - Change the Fortran `DMDAGetNeighbors()` to return a `PetscMPIInt, pointer :: n(:)` and add a Fort…
118 - Change the Fortran `DMDAGetOwnershipRanges()` to return `PetscInt, pointer :: n(:)` and add a For…
169 now take a Fortran pointer as arguments and hence behave like the deprecated `VecGetArrayF90()`
170 - Add `PETSC_NULL_ENUM_XXX` to be used instead of `PETSC_NULL_INTEGER` when a pointer to an XXX `en…
174 …ER_POINTER` for arguments that return as arrays, for example, `PetscInt, pointer :: idx(:)` but no…
/petsc/src/ksp/ksp/tests/output/
H A Dex86f_1.out2 [0]PETSC ERROR: Null argument, when expecting valid pointer
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Styles/
H A DReport.css25 cursor:pointer;
44 cursor:pointer;
50 cursor:pointer;
/petsc/doc/developers/
H A Dobjects.md242 `PetscObjectDestroy()` calls the `destroy(PetscObject)` function pointer which causes the referenc…
247 …` calls the `compose(PetscObject,const char *name,PetscObject)` function pointer which associates…
257 `PetscObjectQuery()` calls the `query(PetscObject,const char *name,PetscObject*)` function pointer
262 …ls the `composefunction(PetscObject,const char *name,void *func)` function pointer which associates
263 a function pointer with an object. If the object already had a composed
270 …ls the `queryfunction(PetscObject,const char *name,void **func)` function pointer which retrieves a
271 function pointer that was associated with the object via
345 pointer. In
353 PetscFunctionList next; /* next pointer */

123