| /src/tests/usr.bin/indent/ |
| opt_T.c | 11 int cast = (custom_type_name) * arg; variable 20 int cast = (custom_type_name)*arg; variable 29 int cast = (custom_type_name) *arg; variable
|
| opt_ta.c | 15 int cast = (unknown_type_name_t) * arg; local 25 int cast = (unknown_type_name_t)*arg; local
|
| lsym_rparen_or_rbracket.c | 13 int cast = (int)3; variable 14 int cast = (int)(3); variable 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 33 /* identity cast */
|
| expr_cast.c | 5 * Tests for value conversion using a cast-expression. 22 cast(void) function 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/external/mit/isl/dist/interface/ |
| cpp_conversion.cc | 22 void cpp_conversion_generator::cast(const isl_class &clazz, const char *to) function in class:cpp_conversion_generator 29 cast(classes[clazz.superclass_name], to); 47 cast(clazz, to);
|
| /src/lib/libpthread/arch/i386/ |
| pthread_md.h | 72 volatile uintptr_t *cast = ptr; local 76 : "=a" (ret), "=m" (*cast) 77 : "r" (new), "m" (*cast), "0" (old)); 85 volatile uintptr_t *cast = ptr; local 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 79 : "=a" (ret), "=m" (*cast) 80 : "r" (new), "m" (*cast), "0" (old)); 88 volatile uintptr_t *cast = ptr; local 92 : "=a" (ret), "=m" (*cast) 93 : "r" (new), "m" (*cast), "0" (old));
|
| /src/external/gpl3/gcc/dist/gcc/ |
| is-a.h | 60 returns NULL. This function is essentially a checked down cast. 153 must also specialize the template member function 'cast'. Failure to do so 159 is_a_helper <cgraph_node *>::cast (symtab_node *p) 176 static inline T cast (U *p) { return reinterpret_cast <T> (p); } function in struct:reinterpret_is_a_helper 187 static inline T cast (U *p) { return static_cast <T> (p); } function in struct:static_is_a_helper 206 static inline const T *cast (const U *p) function in struct:is_a_helper 208 return is_a_helper<T *>::cast (const_cast <U *> (p)); 256 return is_a_helper <T>::cast (p); 269 return is_a_helper <T>::cast (p); 283 return is_a_helper <T>::cast (p) [all...] |
| poly-int.h | 47 literal should be cast before comparing it with T. 143 can be dangerous and should have an explicit cast if deliberate. */ 251 - poly_result<T1, T2>::cast is the type to which an operand of type 252 T1 should be cast before doing the operation, to ensure that 265 /* T1 and T2 are primitive types, so cast values to T before operating 267 typedef type cast; typedef in struct:poly_result 275 /* T1 and T2 are primitive types, so cast values to T before operating 277 typedef type cast; typedef in struct:poly_result 285 /* Don't cast values before operating on them; leave the wi:: routines 287 typedef const T1 &cast; typedef in struct:poly_result 2481 static const T &cast (const T &x) { return x; } function in struct:poly_span_traits 2489 cast (const T &x) { return x; } function in struct:poly_span_traits 2493 cast (const poly_int<N, T> &x) { return x; } function in struct:poly_span_traits [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| is-a.h | 60 returns NULL. This function is essentially a checked down cast. 153 must also specialize the template member function 'cast'. Failure to do so 159 is_a_helper <cgraph_node *>::cast (symtab_node *p) 176 static inline T cast (U *p) { return reinterpret_cast <T> (p); } function in struct:reinterpret_is_a_helper 187 static inline T cast (U *p) { return static_cast <T> (p); } function in struct:static_is_a_helper 206 static inline const T *cast (const U *p) function in struct:is_a_helper 208 return is_a_helper<T *>::cast (const_cast <U *> (p)); 243 return is_a_helper <T>::cast (p); 256 return is_a_helper <T>::cast (p); 270 return is_a_helper <T>::cast (p) [all...] |
| poly-int.h | 48 literal should be cast before comparing it with T. 117 can be dangerous and should have an explicit cast if deliberate. */ 229 - poly_result<T1, T2>::cast is the type to which an operand of type 230 T1 should be cast before doing the operation, to ensure that 243 /* T1 and T2 are primitive types, so cast values to T before operating 245 typedef type cast; typedef in struct:poly_result 253 /* T1 and T2 are primitive types, so cast values to T before operating 255 typedef type cast; typedef in struct:poly_result 263 /* Don't cast values before operating on them; leave the wi:: routines 265 typedef const T1 &cast; typedef in struct:poly_result 2545 static const T &cast (const T &x) { return x; } function in struct:poly_span_traits 2553 cast (const T &x) { return x; } function in struct:poly_span_traits 2557 cast (const poly_int_pod<N, T> &x) { return x; } function in struct:poly_span_traits [all...] |
| /src/external/bsd/libc++/dist/libcxxrt/src/ |
| dynamic_cast.cc | 174 void *cast = ADD_TO_PTR(obj, offset); local 177 (info->__base_type->__do_upcast(target, &cast))) 179 *thrown_object = cast;
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| Address.h | 44 return llvm::cast<llvm::PointerType>(getPointer()->getType()); 84 return llvm::cast<llvm::Constant>(Address::getPointer()); 100 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()), 108 template <class U> inline U cast(CodeGen::Address addr) { function in namespace:clang
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| Casting.h | 9 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(), 162 // cast<x> Support Templates 167 // Calculate what type the 'cast' function should return, based on a requested 231 // This _is_ a simple type, just cast it. 244 // cast<X> - Return the argument parameter cast to the specified type. This 249 // cast<Instruction>(myVal)->getParent() 254 cast(const Y &Val) { function in namespace:llvm 255 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); 261 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) function in namespace:llvm 268 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm 276 cast(std::unique_ptr<Y> &&Val) { function in namespace:llvm 378 -> decltype(cast<X>(Val)) { function in namespace:llvm 393 -> decltype(cast<X>(Val)) { function in namespace:llvm [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| PointerSumType.h | 131 typename HelperT::template Lookup<N>::PointerT cast() const { function in class:llvm::PointerSumType
|
| /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 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/external/mit/lua/dist/src/ |
| llimits.h | 142 #define cast(t, exp) ((t)(exp)) macro 144 #define cast_void(i) cast(void, (i)) 145 #define cast_voidp(i) cast(void *, (i)) 146 #define cast_num(i) cast(lua_Number, (i)) 147 #define cast_int(i) cast(int, (i)) 148 #define cast_uint(i) cast(unsigned int, (i)) 149 #define cast_byte(i) cast(lu_byte, (i)) 150 #define cast_uchar(i) cast(unsigned char, (i)) 151 #define cast_char(i) cast(char, (i)) 152 #define cast_charp(i) cast(char *, (i) [all...] |
| /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 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/external/gpl3/gdb.old/dist/gdb/ |
| amd64-linux-tdep.c | 1769 /* Cast to long. */ 1770 operation_up cast = make_operation<unop_cast_operation> (std::move (add), 1773 return make_operation<unop_ind_operation> (std::move (cast)); 1768 operation_up cast = make_operation<unop_cast_operation> (std::move (add), local
|
| /src/external/gpl3/gdb/dist/gdb/ |
| amd64-linux-tdep.c | 1831 /* Cast to long. */ 1832 operation_up cast = make_operation<unop_cast_operation> (std::move (add), 1835 return make_operation<unop_ind_operation> (std::move (cast)); 1830 operation_up cast = make_operation<unop_cast_operation> (std::move (add), local
|
| /src/external/apache2/llvm/dist/llvm/examples/ExceptionDemo/ |
| ExceptionDemo.cpp | 877 llvm::Value *cast = builder.CreatePointerCast(stringVar, local 879 builder.CreateCall(printFunct, cast); 921 llvm::Value *cast = builder.CreateBitCast(stringVar, local 923 builder.CreateCall(&printFunct, {&toPrint, cast});
|
| /src/external/bsd/ntp/dist/libntp/ |
| snprintf.c | 547 static UINTMAX_T cast(LDOUBLE); 1205 if ((intpart = cast(ufvalue)) == UINTMAX_MAX) { 1452 cast(LDOUBLE value) function 1478 UINTMAX_T intpart = cast(value);
|
| /src/external/bsd/pcc/dist/pcc/cc/ccom/ |
| trees.c | 352 } else if ((cdope(o)&ASGOPFLG) && o != RETURN && o != CAST) { 449 if ((actions&PUN) && (o!=CAST)) 568 case CAST: 645 * XXX - anything on the right side must be possible to cast. 648 if (p->n_op == CAST && p->n_type == VOID && 762 * Cast a node to another type by inserting a cast. 767 cast(P1ND *p, TWORD t, TWORD u) function 773 q = buildtree(CAST, q, p); 781 * Cast and complain if necessary by not inserining a cast [all...] |