Home
last modified time | relevance | path

Searched refs:TYPEOF (Results 51 – 75 of 1010) sorted by relevance

12345678910>>...41

/dports/math/libRmath/R-4.1.1/src/main/
H A Ddeparse.c635 if(TYPEOF(x) == STRSXP) { in usable_nice_names()
822 if (TYPEOF(op) == SYMSXP) { in parenthesizeCaller()
837 return TYPEOF(s) == CLOSXP; in parenthesizeCaller()
923 switch (TYPEOF(s)) { in deparse2buff()
1084 if (TYPEOF(op) == SYMSXP) { in deparse2buff()
1361 && TYPEOF(val) == CLOSXP in deparse2buff()
1368 && TYPEOF(val) == CLOSXP in deparse2buff()
1389 else if (TYPEOF(op) == CLOSXP || TYPEOF(op) == SPECIALSXP in deparse2buff()
1585 switch(TYPEOF(vector)) { in vector2buff()
1805 if (TYPEOF(sv) != VECSXP) in vec2buff()
[all …]
H A Dsubset.c112 int mode = TYPEOF(x); in ExtractSubset()
197 int mode = TYPEOF(x); in VectorSubset()
294 switch(TYPEOF(x)) { in MatrixSubset()
418 mode = TYPEOF(x); in ArraySubset()
705 switch (TYPEOF(x)) { in do_subset_dflt()
750 switch (TYPEOF(x)) { in do_subset_dflt()
794 type = TYPEOF(x); in do_subset_dflt()
1084 switch (TYPEOF(x)) { in do_subset2_dflt()
1256 if (TYPEOF(x) == LISTSXP || TYPEOF(x) == LANGSXP || TYPEOF(x) == NILSXP) { in R_subset3_dflt()
1283 switch (TYPEOF(target)) { in R_subset3_dflt()
[all …]
H A Dseq.c180 switch (TYPEOF(s)) { \ in rep2()
247 if (TYPEOF(t) == REALSXP) in rep2()
273 if (TYPEOF(t) == REALSXP) in rep2()
290 switch (TYPEOF(s)) { in rep3()
362 type2char(TYPEOF(s))); in do_rep_int()
371 if (TYPEOF(ncopy) != INTSXP) { in do_rep_int()
573 switch (TYPEOF(x)) { in rep4()
662 if (TYPEOF(x) == LISTSXP) in do_rep()
712 type2char(TYPEOF(x))); in do_rep()
832 if(lf == 1 && (TYPEOF(from) == INTSXP || TYPEOF(from) == REALSXP)) { in do_seq()
[all …]
H A Dmemory.c199 if (TYPEOF(s) == FREESXP) in register_bad_sexp_type()
679 (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
683 (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
1603 if (TYPEOF(CAR(args)) != ENVSXP && TYPEOF(CAR(args)) != EXTPTRSXP) in do_regFinaliz()
3255 tmp = TYPEOF(s); in do_memoryprofile()
3759 int (TYPEOF)(SEXP x) { return TYPEOF(CHK(x)); }
3781 if(TYPEOF(v) != LISTSXP && TYPEOF(v) != NILSXP)
3840 if(nvec[TYPEOF(x)]) in CHK2()
3945 if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
3953 if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
[all …]
/dports/math/R-cran-matrixStats/matrixStats/src/
H A D000.utils.h14 switch (TYPEOF(x)) { in assertArgVector()
31 …gument '%s' must be of type logical, integer or numeric, not '%s'.", xlabel, type2char(TYPEOF(x))); in assertArgVector()
63 switch (TYPEOF(x)) { in assertArgMatrix()
80 …gument '%s' must be of type logical, integer or numeric, not '%s'.", xlabel, type2char(TYPEOF(x))); in assertArgMatrix()
109 int mode = TYPEOF(x); in asR_xlen_t()
113 default: error("only integer and numeric are supported, not '%s'.", type2char(TYPEOF(x))); in asR_xlen_t()
/dports/devel/R-cran-vctrs/vctrs/src/
H A Dtype-factor.c15 if (TYPEOF(x_levels) != STRSXP) { in fct_ptype2()
19 if (TYPEOF(y_levels) != STRSXP) { in fct_ptype2()
45 if (TYPEOF(x_levels) != STRSXP) { in ord_ptype2_validate()
48 if (TYPEOF(y_levels) != STRSXP) { in ord_ptype2_validate()
101 if (TYPEOF(levels) != STRSXP) { in fct_as_character()
122 if (TYPEOF(levels) != STRSXP) { in chr_as_factor()
144 if (TYPEOF(levels) != STRSXP) { in chr_as_ordered()
243 if (TYPEOF(x_levels) != STRSXP) { in fct_as_factor()
247 if (TYPEOF(to_levels) != STRSXP) { in fct_as_factor()
356 if (TYPEOF(x) != INTSXP) { in init_factor()
[all …]
/dports/math/R-cran-memisc/memisc/src/
H A Dupdate_data_frame.c60 PROTECT(y = coerceVector(y,TYPEOF(x))); in update_data_frame()
78 Rprintf("\n TYPEOF(x)=%d, TYPEOF(x)=%d",TYPEOF(x),TYPEOF(y)); in update_data_frame()
80 switch(TYPEOF(x)){ in update_data_frame()
93 default: error("cannot handle type %d ",TYPEOF(x)); in update_data_frame()
124 switch(TYPEOF(x)){ in update_data_frame()
137 default: error("cannot handle type %d ",TYPEOF(x)); in update_data_frame()
178 switch(TYPEOF(x)){ in update_data_frame()
191 default: error("cannot handle type %d ",TYPEOF(x)); in update_data_frame()
219 switch(TYPEOF(x)){ in update_data_frame()
232 default: error("cannot handle type %d ",TYPEOF(x)); in update_data_frame()
/dports/cad/stepcode/stepcode-0.8/data/ap235/
H A DAP235_TC_engineering_properties_schema_20110222.exp11371 IF (cnlit IN TYPEOF (v1)) AND (cnlit IN TYPEOF (v2)) THEN
11387 IF (cnlit IN TYPEOF (v1)) AND (cnlit IN TYPEOF (v2)) THEN
11392 IF (cnlit IN TYPEOF (v1)) AND (cnlit IN TYPEOF (v2)) THEN
11405 IF (cnlit IN TYPEOF (v1)) AND (cnlit IN TYPEOF (v2)) THEN
11409 IF (cnlit IN TYPEOF (v1)) AND (cnlit IN TYPEOF (v2)) THEN
11939 ('NUMBER' IN TYPEOF (v1)) AND ('NUMBER' IN TYPEOF (v2)) THEN
11943 (('NUMBER' IN TYPEOF (v1)) AND ('NUMBER' IN TYPEOF (v2))) OR
11944 (('STRING' IN TYPEOF (v1)) AND ('STRING' IN TYPEOF (v2))) OR
11976 ('NUMBER' IN TYPEOF (v1)) AND ('NUMBER' IN TYPEOF (v2)) THEN
11987 ('NUMBER' IN TYPEOF (v1)) AND ('STRING' IN TYPEOF (v2)) THEN
[all …]
/dports/devel/R-cran-covr/covr/src/
H A Dreassign.c9 if (TYPEOF(name) != SYMSXP) error("name must be a symbol"); in covr_reassign_function()
10 if (TYPEOF(env) != ENVSXP) error("env must be an environment"); in covr_reassign_function()
11 if (TYPEOF(old_fun) != CLOSXP) error("old_fun must be a function"); in covr_reassign_function()
12 if (TYPEOF(new_fun) != CLOSXP) error("new_fun must be a function"); in covr_reassign_function()
/dports/math/R/R-4.1.2/src/library/stats/src/
H A Dcomplete_cases.c65 error(R_MSG_type, type2char(TYPEOF(CAR(t)))); in compcases()
116 error(R_MSG_type, type2char(TYPEOF(CAR(s)))); in compcases()
134 switch (TYPEOF(u)) { in compcases()
154 error(R_MSG_type, type2char(TYPEOF(u))); in compcases()
166 switch (TYPEOF(u)) { in compcases()
186 error(R_MSG_type, type2char(TYPEOF(u))); in compcases()
194 switch (TYPEOF(u)) { in compcases()
214 error(R_MSG_type, type2char(TYPEOF(u))); in compcases()
/dports/math/libRmath/R-4.1.1/src/library/stats/src/
H A Dcomplete_cases.c65 error(R_MSG_type, type2char(TYPEOF(CAR(t)))); in compcases()
116 error(R_MSG_type, type2char(TYPEOF(CAR(s)))); in compcases()
134 switch (TYPEOF(u)) { in compcases()
154 error(R_MSG_type, type2char(TYPEOF(u))); in compcases()
166 switch (TYPEOF(u)) { in compcases()
186 error(R_MSG_type, type2char(TYPEOF(u))); in compcases()
194 switch (TYPEOF(u)) { in compcases()
214 error(R_MSG_type, type2char(TYPEOF(u))); in compcases()
/dports/math/R-cran-NMF/NMF/src/
H A Ddistance.cpp46 if( TYPEOF(x) == REALSXP ){// x is double in Euclidean_rss()
47 if( TYPEOF(y) == REALSXP )// x and y are double in Euclidean_rss()
52 if( TYPEOF(y) == REALSXP ) // x is integer, y is double in Euclidean_rss()
72 if( TYPEOF(x) == REALSXP ){// x is double in KL_divergence()
73 if( TYPEOF(y) == REALSXP )// x and y are double in KL_divergence()
78 if( TYPEOF(y) == REALSXP ) // x is integer, y is double in KL_divergence()
/dports/math/R/R-4.1.2/src/library/methods/src/
H A Dmethods_list_dispatch.c128 if (TYPEOF(out) != STRSXP) in R_conditionMessage()
130 type2char(TYPEOF(out))); in R_conditionMessage()
300 if(TYPEOF(object) == PROMSXP) in R_quick_method_check()
341 switch(TYPEOF(object)) { in R_quick_dispatch()
440 #define IS_NON_GENERIC(vl) (TYPEOF(vl) == BUILTINSXP ||TYPEOF(vl) == SPECIALSXP || \
530 switch(TYPEOF(fdef)) { in R_standardGeneric()
544 switch(TYPEOF(mlist)) { in R_standardGeneric()
566 switch(TYPEOF(f)) { in R_standardGeneric()
950 if(TYPEOF(e1) == STRSXP && TYPEOF(e2) == STRSXP && in R_identC()
1059 switch(TYPEOF(fdef)) { in R_dispatchGeneric()
[all …]
/dports/math/libRmath/R-4.1.1/src/library/methods/src/
H A Dmethods_list_dispatch.c128 if (TYPEOF(out) != STRSXP) in R_conditionMessage()
130 type2char(TYPEOF(out))); in R_conditionMessage()
300 if(TYPEOF(object) == PROMSXP) in R_quick_method_check()
341 switch(TYPEOF(object)) { in R_quick_dispatch()
440 #define IS_NON_GENERIC(vl) (TYPEOF(vl) == BUILTINSXP ||TYPEOF(vl) == SPECIALSXP || \
530 switch(TYPEOF(fdef)) { in R_standardGeneric()
544 switch(TYPEOF(mlist)) { in R_standardGeneric()
566 switch(TYPEOF(f)) { in R_standardGeneric()
950 if(TYPEOF(e1) == STRSXP && TYPEOF(e2) == STRSXP && in R_identC()
1059 switch(TYPEOF(fdef)) { in R_dispatchGeneric()
[all …]
/dports/devel/R-cran-data.table/data.table/src/
H A Dcoalesce.c4 if (TYPEOF(x)!=VECSXP) in coalesce()
14 if (TYPEOF(VECTOR_ELT(x,0)) == VECSXP) { in coalesce()
22 …if (length(x)>1 && TYPEOF(VECTOR_ELT(x,1))==VECSXP) { x=VECTOR_ELT(x,1); off=0; } // coalesce(x, … in coalesce()
40 if (TYPEOF(first) != TYPEOF(item)) in coalesce()
41 … type %s. Please coerce before coalescing."), i+2, type2char(TYPEOF(item)), type2char(TYPEOF(first… in coalesce()
53 switch(TYPEOF(first)) { in coalesce()
166 error(_("Unsupported type: %s"), type2char(TYPEOF(first))); // e.g. raw is tested in coalesce()
H A Dfastmean.c45 error(_("fastmean was passed type %s, not numeric or logical"), type2char(TYPEOF(x))); in fastmean()
49 switch(TYPEOF(x)) { in fastmean()
83 …error(_("Internal error: type '%s' not caught earlier in fastmean"), type2char(TYPEOF(x))); // # … in fastmean()
86 switch(TYPEOF(x)) { in fastmean()
111 …error(_("Internal error: type '%s' not caught earlier in fastmean"), type2char(TYPEOF(x))); // # … in fastmean()
/dports/devel/R-cran-tidyr/tidyr/src/
H A Dfill.cpp6 SEXP out = Rf_allocVector(TYPEOF(x), n); in fillDown()
8 switch(TYPEOF(x)) { in fillDown()
73 cpp11::stop("Don't know how to handle column of type", Rf_type2char(TYPEOF(x))); in fillDown()
84 SEXP out = Rf_allocVector(TYPEOF(x), n); in fillUp()
86 switch(TYPEOF(x)) { in fillUp()
151 cpp11::stop("Don't know how to handle column of type", Rf_type2char(TYPEOF(x))); in fillUp()
/dports/math/R-cran-igraph/igraph/src/
H A Dlazyeval.c7 while(TYPEOF(promise) == PROMSXP && env != R_GlobalEnv) { in promise_as_lazy()
15 if (follow_symbols && TYPEOF(promise) == SYMSXP) { in promise_as_lazy()
17 if (TYPEOF(obj) == PROMSXP) { in promise_as_lazy()
158 if (TYPEOF(prom) != PROMSXP) { in promise_expr_()
166 if (TYPEOF(prom) != PROMSXP) { in promise_env_()
/dports/devel/R-cran-fansi/fansi/src/
H A Dstrsplit.c31 TYPEOF(x) != VECSXP || TYPEOF(warn) != LGLSXP || in FANSI_strsplit()
32 TYPEOF(term_cap) != INTSXP in FANSI_strsplit()
57 if(TYPEOF(string) != STRSXP) in FANSI_strsplit()
62 type2char(TYPEOF(string)), in FANSI_strsplit()
/dports/math/R-cran-lazyeval/lazyeval/src/
H A Dname.c8 switch(TYPEOF(x)) { in as_name()
26 if (TYPEOF(x) != VECSXP) in lhs_name()
27 Rf_errorcall(R_NilValue, "`x` must be a list (not a %s)", Rf_type2char(TYPEOF(x))); in lhs_name()
53 if (TYPEOF(name) != NILSXP) in lhs_name()
/dports/math/R/R-4.1.2/src/main/
H A Dseq.c180 switch (TYPEOF(s)) { \ in rep2()
247 if (TYPEOF(t) == REALSXP) in rep2()
273 if (TYPEOF(t) == REALSXP) in rep2()
290 switch (TYPEOF(s)) { in rep3()
362 type2char(TYPEOF(s))); in do_rep_int()
371 if (TYPEOF(ncopy) != INTSXP) { in do_rep_int()
573 switch (TYPEOF(x)) { in rep4()
662 if (TYPEOF(x) == LISTSXP) in do_rep()
712 type2char(TYPEOF(x))); in do_rep()
832 if(lf == 1 && (TYPEOF(from) == INTSXP || TYPEOF(from) == REALSXP)) { in do_seq()
[all …]
H A Dsubset.c112 int mode = TYPEOF(x); in ExtractSubset()
197 int mode = TYPEOF(x); in VectorSubset()
294 switch(TYPEOF(x)) { in MatrixSubset()
418 mode = TYPEOF(x); in ArraySubset()
705 switch (TYPEOF(x)) { in do_subset_dflt()
750 switch (TYPEOF(x)) { in do_subset_dflt()
794 type = TYPEOF(x); in do_subset_dflt()
1084 switch (TYPEOF(x)) { in do_subset2_dflt()
1256 if (TYPEOF(x) == LISTSXP || TYPEOF(x) == LANGSXP || TYPEOF(x) == NILSXP) { in R_subset3_dflt()
1283 switch (TYPEOF(target)) { in R_subset3_dflt()
[all …]
H A Dmemory.c199 if (TYPEOF(s) == FREESXP) in register_bad_sexp_type()
679 (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
683 (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
1603 if (TYPEOF(CAR(args)) != ENVSXP && TYPEOF(CAR(args)) != EXTPTRSXP) in do_regFinaliz()
3255 tmp = TYPEOF(s); in do_memoryprofile()
3759 int (TYPEOF)(SEXP x) { return TYPEOF(CHK(x)); }
3781 if(TYPEOF(v) != LISTSXP && TYPEOF(v) != NILSXP)
3840 if(nvec[TYPEOF(x)]) in CHK2()
3945 if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
3953 if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
[all …]
/dports/math/R-cran-haven/haven/src/
H A DDfWriter.cpp28 switch(TYPEOF(x)) { in measureType()
43 switch(TYPEOF(display_width_obj)) { in displayWidth()
145 switch(TYPEOF(col)) { in write()
164 switch (TYPEOF(col)) { in write()
252 } else if (Rf_inherits(x, "haven_labelled") && TYPEOF(x.attr("labels")) != NILSXP) { in defineVariable()
274 if (Rf_inherits(x, "haven_labelled") && TYPEOF(x.attr("labels")) != NILSXP) { in defineVariable()
301 if (TYPEOF(na_range) == REALSXP && Rf_length(na_range) == 2) { in defineVariable()
306 if (TYPEOF(na_values) == REALSXP) { in defineVariable()
318 if (Rf_inherits(x, "haven_labelled") && TYPEOF(x.attr("labels")) != NILSXP) { in defineVariable()
345 if (TYPEOF(na_range) == STRSXP) { in defineVariable()
[all …]
/dports/math/rkward-kde/rkward-0.7.1/rkward/rbackend/
H A Drkrsupport.cpp73 if ((Rf_length (res) < 1) || (TYPEOF (res) != LGLSXP)) { in callSimpleBool()
74 RK_ASSERT (TYPEOF (res) == LGLSXP); in callSimpleBool()
95 if (TYPEOF (from_exp) != STRSXP) { in SEXPToStringList()
110 if (TYPEOF (dummy) != CHARSXP) { in SEXPToStringList()
151 if (TYPEOF (from_exp) != INTSXP) { in SEXPToIntArray()
183 if (TYPEOF (from_exp) != REALSXP) { in SEXPToRealArray()
206 int type = TYPEOF (from_exp); in SEXPToRData()

12345678910>>...41