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

1 2 3 4

  /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
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.
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 */
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...]
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);
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));
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));
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...]
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...]
  /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...]
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...]
  /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;
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
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...]

Completed in 39 milliseconds

1 2 3 4