/haiku-buildtools/gcc/gcc/testsuite/g++.dg/inherit/ |
H A D | covariant20.C | 5 virtual Object* clone() const; 8 virtual DNA* clone() const {return new DNA(*this);} function in class:DNA
|
H A D | covariant17.C | 17 virtual B *clone() const = 0; 21 virtual C *clone() const = 0; 28 virtual E *clone() const { function in struct:E 39 c->clone(); 40 b->clone();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ipa/ |
H A D | devirt-39.C | 7 virtual Base* clone() { function in struct:Base 15 virtual Base* clone() { function in struct:Foo 23 f->clone();
|
H A D | devirt-29.C | 14 virtual Object* clone() const =0; 27 return o.clone(); 34 Box<T>* clone() const {return new Box<T>(*this);} function in class:Box 72 x.clone();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/abi/ |
H A D | covariant4.C | 11 virtual Model* clone() const =0; 17 virtual R* clone() const =0; 20 virtual A* clone() const=0; 23 virtual RA* clone() const=0; 29 virtual EQU* clone() const {return new EQU(*this);} function in struct:EQU 35 Model* M2 = M1->clone(); 36 Model* M3 = M2->clone();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/ |
H A D | eb17.C | 7 virtual A * clone(); 17 B * clone(); 31 A * A::clone() function in class:A 36 B * B::clone() function in class:B 54 a = a->clone();
|
/haiku-buildtools/gcc/gcc/cp/ |
H A D | optimize.c | 92 clone_body (tree clone, tree fn, void *arg_map) argument 101 id.dst_fn = clone; 120 if (DECL_NAME (clone) == base_dtor_identifier 121 || DECL_NAME (clone) == base_ctor_identifier) 130 append_to_statement_list_force (stmts, &DECL_SAVED_TREE (clone)); 238 tree clone; local 246 FOR_EACH_CLONE (clone, fn) 247 if (DECL_NAME (clone) == complete_dtor_identifier 248 || DECL_NAME (clone) == complete_ctor_identifier) 249 fns[1] = clone; 268 tree bind, block, call, clone, clone_result, fn_parm, fn_parm_typelist; local 452 tree clone; local [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/ |
H A D | typebound_override_4.f90 | 11 procedure, pass(map) :: clone => base_clone 25 procedure, pass(map) :: clone => r_clone ! { dg-error "Type mismatch in argument" }
|
H A D | typebound_override_5.f90 | 13 procedure, pass(map) :: clone => base_clone
29 procedure, pass(map) :: clone => r_clone ! { dg-error "Type mismatch in argument" }
|
H A D | typebound_override_6.f90 | 13 procedure, pass(map) :: clone => base_clone
29 procedure, pass(map) :: clone => r_clone ! { dg-error "Rank mismatch in argument" }
|
H A D | typebound_override_7.f90 | 13 procedure, pass(map) :: clone => base_clone
29 procedure, pass(map) :: clone => r_clone ! { dg-error "Type mismatch in argument" }
|
/haiku-buildtools/gcc/gcc/ |
H A D | ipa-chkp.c | 187 /* Build a clone of FNDECL with a modified name. */ 469 /* Return an instrumentation clone for builtin function 475 tree clone; local 482 clone = builtin_decl_explicit (fcode); 483 if (clone) 484 return clone; 486 clone = chkp_build_instrumented_fndecl (fndecl); 487 chkp_add_bounds_params_to_function (clone); 489 gcc_assert (DECL_FUNCTION_CODE (clone) == fcode); 491 set_builtin_decl (fcode, clone, fals 514 cgraph_node *clone = node->instrumented_version; local 817 virtual opt_pass * clone () function 842 virtual opt_pass * clone () function 867 virtual opt_pass * clone () function [all...] |
H A D | cgraphclones.c | 29 A virtual clone in the callgraph is a function that has no 31 on a different function (which itself may be a virtual clone). 40 function to its virtual clone. This implies updating of the call 45 instance, a constant propagation pass can produce a virtual clone 48 clone of a function whose body will be later integrated into 57 clone were introduced also perform their Transform stage 60 clone introduced before its Execute stage. 123 /* Create clone of edge in the node N represented by CALL_EXPR 127 cgraph_edge::clone (cgraph_node *n, gcall *call_stmt, unsigned stmt_uid, function in class:cgraph_edge 284 clone o [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/ |
H A D | lambda-template4.C | 7 virtual func* clone() const = 0; 14 func* clone() const { return new funcimpl(*this); } function in struct:funcimpl 27 function(const function& f) : p(f.p->clone()) { }
|
/haiku-buildtools/cloog/osl/source/ |
H A D | names.c | 227 * \param[in] names The pointer to the names structure we want to clone. 228 * \return A pointer to the clone of the names structure provided as parameter. 231 osl_names_p clone = NULL; local 234 clone = osl_names_malloc(); 235 clone->parameters = osl_strings_clone(names->parameters); 236 clone->iterators = osl_strings_clone(names->iterators); 237 clone->scatt_dims = osl_strings_clone(names->scatt_dims); 238 clone->local_dims = osl_strings_clone(names->local_dims); 239 clone->arrays = osl_strings_clone(names->arrays); 241 return clone; [all...] |
H A D | interface.c | 215 interface->clone = NULL; 256 * \param interface The pointer to the interface structure we want to clone. 258 * \return The clone of the n first nodes of the interface list. 261 osl_interface_p clone = NULL, new; local 272 new->clone = interface->clone; 275 osl_interface_add(&clone, new); 280 return clone; 321 (interface1->clone != interface2->clone) || [all...] |
H A D | strings.c | 323 * \param[in] strings The strings structure to clone. 324 * \return The clone of the strings structure. 328 osl_strings_p clone = NULL; local 333 clone = osl_strings_malloc(); 335 return clone; 337 OSL_malloc(clone->string, char **, (nb_strings + 1) * sizeof(char *)); 338 clone->string[nb_strings] = NULL; 340 OSL_strdup(clone->string[i], strings->string[i]); 342 return clone; 426 interface->clone [all...] |
/haiku-buildtools/cloog/osl/source/extensions/ |
H A D | coordinates.c | 275 * \param coordinates The pointer to the coordinates structure to clone. 276 * \return A pointer to the clone of the coordinates structure. 279 osl_coordinates_p clone; local 284 clone = osl_coordinates_malloc(); 285 OSL_strdup(clone->name, coordinates->name); 286 clone->start = coordinates->start; 287 clone->end = coordinates->end; 288 clone->indent = coordinates->indent; 290 return clone; 343 interface->clone [all...] |
H A D | scatnames.c | 224 * \param[in] scatnames The pointer to the scatnames structure to clone. 225 * \return A pointer to the clone of the scatnames structure. 228 osl_scatnames_p clone; local 233 clone = osl_scatnames_malloc(); 234 clone->names = osl_strings_clone(scatnames->names); 236 return clone; 278 interface->clone = (osl_clone_f)osl_scatnames_clone;
|
H A D | arrays.c | 280 * \param[in] arrays The pointer to the arrays structure to clone. 281 * \return A pointer to the clone of the arrays structure. 285 osl_arrays_p clone; local 290 clone = osl_arrays_malloc(); 291 clone->nb_names = arrays->nb_names; 292 OSL_malloc(clone->id, int *, arrays->nb_names * sizeof(int)); 293 OSL_malloc(clone->names, char **, arrays->nb_names * sizeof(char*)); 296 clone->id[i] = arrays->id[i]; 297 OSL_strdup(clone->names[i], arrays->names[i]); 300 return clone; [all...] |
H A D | comment.c | 246 * \param[in] comment The pointer to the comment structure to clone. 247 * \return A pointer to the clone of the comment structure. 250 osl_comment_p clone; local 255 clone = osl_comment_malloc(); 256 OSL_strdup(clone->comment, comment->comment); 258 return clone; 300 interface->clone = (osl_clone_f)osl_comment_clone;
|
H A D | textual.c | 260 * \param[in] textual The pointer to the textual structure we want to clone. 261 * \return A pointer to the clone of the textual structure. 264 osl_textual_p clone; local 269 clone = osl_textual_malloc(); 270 OSL_strdup(clone->textual, textual->textual); 272 return clone; 330 interface->clone = (osl_clone_f)osl_textual_clone;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | variadic-function.C | 15 virtual invoker_base* clone() = 0; 24 functor_invoker* clone() { return new functor_invoker(f); } function in class:functor_invoker 39 invoker = other.invoker->clone();
|
/haiku-buildtools/cloog/osl/include/osl/ |
H A D | interface.h | 96 osl_clone_f clone; /**< Pointer to clone function */ member in struct:osl_interface
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/asan/ |
H A D | clone-test-1.c | 5 /* { dg-require-effective-target clone } */ 31 pid_t clone_pid = clone(Child, sp, CLONE_FILES | CLONE_VM, NULL, 0, 0, 0);
|