HomeSort by: relevance | last modified time | path
    Searched defs:cast (Results 1 - 11 of 11) sorted by relevancy

  /src/tests/usr.bin/indent/
opt_ta.c 15 int cast = (unknown_type_name_t) * arg; local in function:example
25 int cast = (unknown_type_name_t)*arg; local in function:example
opt_T.c 11 int cast = (custom_type_name) * arg; variable in typeref:typename:int
20 int cast = (custom_type_name)*arg; variable in typeref:typename:int
29 int cast = (custom_type_name) *arg; variable in typeref:typename:int
lsym_rparen_or_rbracket.c 13 int cast = (int)3; variable in typeref:typename:int
14 int cast = (int)(3); variable in typeref:typename:int
60 * Cast expressions and compound expressions, taken from lint and make.
63 // This ')' is not a cast.
  /src/tests/usr.bin/xlint/lint1/
gcc_typeof.c 21 cast(double(*fn)(double)) function in typeref:typename:void
33 /* identity cast */
expr_cast.c 5 * Tests for value conversion using a cast-expression.
22 cast(void) function in typeref:struct:S
30 /* expect+2: error: invalid cast from 'struct S' to 'struct S' [147] */
31 /* expect+1: error: function 'cast' expects to return value [214] */
38 * Before 2021-02-28, lint crashed in cast() since the target type of the
39 * cast is NULL.
49 /* expect+1: error: invalid cast from 'int' to 'function() returning pointer to function(void) returning pointer to void' [147] */
58 * C99 6.5.4 "Cast operators" footnote 85 says "A cast does not yield an
71 /* expect+2: error: a cast does not yield an lvalue [163] *
    [all...]
  /src/lib/libpthread/arch/i386/
pthread_md.h 72 volatile uintptr_t *cast = ptr; local in function:_atomic_cas_ptr
76 : "=a" (ret), "=m" (*cast)
77 : "r" (new), "m" (*cast), "0" (old));
85 volatile uintptr_t *cast = ptr; local in function:_atomic_cas_ptr_ni
89 : "=a" (ret), "=m" (*cast)
90 : "r" (new), "m" (*cast), "0" (old));
  /src/lib/libpthread/arch/x86_64/
pthread_md.h 75 volatile uintptr_t *cast = ptr; local in function:_atomic_cas_ptr
79 : "=a" (ret), "=m" (*cast)
80 : "r" (new), "m" (*cast), "0" (old));
88 volatile uintptr_t *cast = ptr; local in function:_atomic_cas_ptr_ni
92 : "=a" (ret), "=m" (*cast)
93 : "r" (new), "m" (*cast), "0" (old));
  /src/games/larn/
monster.c 18 * cast() Subroutine called by parse to cast a spell for the user
20 * speldamage(x) Function to perform spell functions cast by the player
235 * cast() Subroutine called by parse to cast a spell for the user
241 cast(void) function in typeref:typename:void
282 * speldamage(x) Function to perform spell functions cast by the player
967 * Routine to cast a spell and then hit the monster in all directions
1494 * 12 spirit naga cast spells taken from special attacks
  /src/usr.bin/indent/
indent.c 462 paren_stack_push(struct paren_stack *s, int indent, enum paren_level_cast cast)
469 s->item[s->len++] = (struct paren_level){indent, cast};
627 enum paren_level_cast cast = cast_unknown; local in function:process_lparen
635 cast = cast_no;
637 paren_stack_push(&ps.paren, ind_add(0, code.s, code.len), cast);
661 && ps.paren.item[--ps.paren.len].cast == cast_maybe;
988 && ps.paren.item[ps.paren.len - 1].cast == cast_unknown)
989 ps.paren.item[ps.paren.len - 1].cast = cast_maybe;
indent.h 272 } cast; /* whether the parentheses form a type cast */ member in struct:paren_level
  /src/usr.bin/xlint/lint1/
tree.c 1747 /* redundant cast from '%s' to '%s' before assignment */
2472 /* a cast does not yield an lvalue */
2492 /* a cast does not yield an lvalue */
2804 /* conversion of %s to %s requires a cast, op %s */
2888 /* a cast does not yield an lvalue */
2957 /* conversion of %s to %s requires a cast */
2961 /* conversion of %s to %s requires a cast, arg #%d */
2965 /* conversion of %s to %s requires a cast, op %s */
3613 /* cast from floating point '%s' to integer '%s' */
3769 /* suggest cast from '%s' to '%s' on op '%s' to ... *
4466 cast(tnode_t *tn, bool sys, type_t *tp) function in typeref:typename:tnode_t *
    [all...]

Completed in 21 milliseconds