Home
last modified time | relevance | path

Searched refs:type_str (Results 1 – 25 of 64) sorted by relevance

123

/third_party/skia/third_party/externals/icu/source/i18n/
Ddayperiodrules.cpp228 static CutoffType getCutoffTypeFromString(const char *type_str) { in getCutoffTypeFromString()
229 if (uprv_strcmp(type_str, "from") == 0) { in getCutoffTypeFromString()
231 } else if (uprv_strcmp(type_str, "before") == 0) { in getCutoffTypeFromString()
233 } else if (uprv_strcmp(type_str, "after") == 0) { in getCutoffTypeFromString()
235 } else if (uprv_strcmp(type_str, "at") == 0) { in getCutoffTypeFromString()
468 DayPeriodRules::DayPeriod DayPeriodRules::getDayPeriodFromString(const char *type_str) { in getDayPeriodFromString() argument
469 if (uprv_strcmp(type_str, "midnight") == 0) { in getDayPeriodFromString()
471 } else if (uprv_strcmp(type_str, "noon") == 0) { in getDayPeriodFromString()
473 } else if (uprv_strcmp(type_str, "morning1") == 0) { in getDayPeriodFromString()
475 } else if (uprv_strcmp(type_str, "afternoon1") == 0) { in getDayPeriodFromString()
[all …]
Dgender.cpp163 char type_str[256] = ""; in loadInstance() local
164 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
165 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance()
168 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance()
171 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
Ddayperiodrules.h62 static DayPeriod getDayPeriodFromString(const char *type_str);
/third_party/icu/icu4c/source/i18n/
Ddayperiodrules.cpp228 static CutoffType getCutoffTypeFromString(const char *type_str) { in getCutoffTypeFromString()
229 if (uprv_strcmp(type_str, "from") == 0) { in getCutoffTypeFromString()
231 } else if (uprv_strcmp(type_str, "before") == 0) { in getCutoffTypeFromString()
233 } else if (uprv_strcmp(type_str, "after") == 0) { in getCutoffTypeFromString()
235 } else if (uprv_strcmp(type_str, "at") == 0) { in getCutoffTypeFromString()
468 DayPeriodRules::DayPeriod DayPeriodRules::getDayPeriodFromString(const char *type_str) { in getDayPeriodFromString() argument
469 if (uprv_strcmp(type_str, "midnight") == 0) { in getDayPeriodFromString()
471 } else if (uprv_strcmp(type_str, "noon") == 0) { in getDayPeriodFromString()
473 } else if (uprv_strcmp(type_str, "morning1") == 0) { in getDayPeriodFromString()
475 } else if (uprv_strcmp(type_str, "afternoon1") == 0) { in getDayPeriodFromString()
[all …]
Dgender.cpp163 char type_str[256] = ""; in loadInstance() local
164 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
165 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance()
168 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance()
171 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
Ddayperiodrules.h62 static DayPeriod getDayPeriodFromString(const char *type_str);
/third_party/node/deps/icu-small/source/i18n/
Ddayperiodrules.cpp228 static CutoffType getCutoffTypeFromString(const char *type_str) { in getCutoffTypeFromString()
229 if (uprv_strcmp(type_str, "from") == 0) { in getCutoffTypeFromString()
231 } else if (uprv_strcmp(type_str, "before") == 0) { in getCutoffTypeFromString()
233 } else if (uprv_strcmp(type_str, "after") == 0) { in getCutoffTypeFromString()
235 } else if (uprv_strcmp(type_str, "at") == 0) { in getCutoffTypeFromString()
468 DayPeriodRules::DayPeriod DayPeriodRules::getDayPeriodFromString(const char *type_str) { in getDayPeriodFromString() argument
469 if (uprv_strcmp(type_str, "midnight") == 0) { in getDayPeriodFromString()
471 } else if (uprv_strcmp(type_str, "noon") == 0) { in getDayPeriodFromString()
473 } else if (uprv_strcmp(type_str, "morning1") == 0) { in getDayPeriodFromString()
475 } else if (uprv_strcmp(type_str, "afternoon1") == 0) { in getDayPeriodFromString()
[all …]
Dgender.cpp163 char type_str[256] = ""; in loadInstance() local
164 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
165 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance()
168 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance()
171 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
Ddayperiodrules.h62 static DayPeriod getDayPeriodFromString(const char *type_str);
/third_party/toybox/toys/pending/
Dhost.c28 char *type_str;
83 if (!TT.type_str && (toys.optflags & FLAG_a)) TT.type_str = "255"; in host_main()
103 if (!TT.type_str) TT.type_str="12"; in host_main()
104 } else if (!TT.type_str) TT.type_str="1"; in host_main()
106 if (TT.type_str[0]-'0' < 10u) type = atoi(TT.type_str); in host_main()
110 if (rrt[i].name && !strcasecmp(TT.type_str, rrt[i].name)) { in host_main()
115 if (!strcasecmp(TT.type_str, "any")) type = 255; in host_main()
116 if (type < 0) error_exit("Invalid query type: %s", TT.type_str); in host_main()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_controlflow.cpp75 Instr::Pointer ControlFlowInstr::from_string(std::string type_str) in from_string() argument
77 if (type_str == "ELSE") in from_string()
79 else if (type_str == "ENDIF") in from_string()
81 else if (type_str == "LOOP_BEGIN") in from_string()
83 else if (type_str == "LOOP_END") in from_string()
85 else if (type_str == "BREAK") in from_string()
87 else if (type_str == "CONTINUE") in from_string()
89 else if (type_str == "WAIT_ACK") in from_string()
/third_party/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
Damdgcn_glslc.c227 char type_str[16], name[128]; in main() local
237 if (sscanf(s + 8, "%s %s", type_str, name) != 2) { in main()
242 if (!strcmp(type_str, "vs")) in main()
244 else if (!strcmp(type_str, "tcs")) in main()
246 else if (!strcmp(type_str, "tes")) in main()
248 else if (!strcmp(type_str, "gs")) in main()
250 else if (!strcmp(type_str, "fs")) in main()
252 else if (!strcmp(type_str, "cs")) in main()
/third_party/json/tests/src/
Dunit-32bit.cpp53 std::string type_str; variable
56 type_str += "u";
58 type_str += "int";
59 type_str += std::to_string(sizeof(type) * 8);
61 INFO("type := ", type_str);
/third_party/ffmpeg/libavfilter/
Dvf_libopencv.c98 char type_str[128] = "gaussian"; in smooth_init() local
106 …sscanf(args, "%127[^|]|%d|%d|%lf|%lf", type_str, &smooth->param1, &smooth->param2, &smooth->param3… in smooth_init()
108 if (!strcmp(type_str, "blur" )) smooth->type = CV_BLUR; in smooth_init()
109 else if (!strcmp(type_str, "blur_no_scale")) smooth->type = CV_BLUR_NO_SCALE; in smooth_init()
110 else if (!strcmp(type_str, "median" )) smooth->type = CV_MEDIAN; in smooth_init()
111 else if (!strcmp(type_str, "gaussian" )) smooth->type = CV_GAUSSIAN; in smooth_init()
112 else if (!strcmp(type_str, "bilateral" )) smooth->type = CV_BILATERAL; in smooth_init()
114 av_log(ctx, AV_LOG_ERROR, "Smoothing type '%s' unknown.\n", type_str); in smooth_init()
133 type_str, smooth->param1, smooth->param2, smooth->param3, smooth->param4); in smooth_init()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstahssrc.c376 gst_ahs_src_change_sensor_type (GstAHSSrc * self, const gchar * type_str, in gst_ahs_src_change_sensor_type() argument
384 self->sensor_type_name = type_str; in gst_ahs_src_change_sensor_type()
442 const gchar *type_str; in gst_ahs_src_set_caps() local
446 type_str = gst_structure_get_string (caps_struct, "type"); in gst_ahs_src_set_caps()
447 value = g_enum_get_value_by_name (self->sensor_enum_class, type_str); in gst_ahs_src_set_caps()
449 GST_ERROR_OBJECT (self, "Failed to lookup sensor type %s", type_str); in gst_ahs_src_set_caps()
452 type_str = g_strdup (type_str); in gst_ahs_src_set_caps()
460 success = gst_ahs_src_change_sensor_type (self, type_str, type); in gst_ahs_src_set_caps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstgldebug.c299 const gchar *type_str = _debug_type_to_string (type); in _gst_gl_debug_callback() local
307 type_str, source_str, id, message); in _gst_gl_debug_callback()
312 type_str, source_str, id, message); in _gst_gl_debug_callback()
316 " %s", severity_str, type_str, source_str, id, message); in _gst_gl_debug_callback()
320 type_str, source_str, id, message); in _gst_gl_debug_callback()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/jni/
Dgstamc-codeclist-jni.c372 jstring type_str; in gst_amc_codec_info_handle_get_capabilities_for_type() local
378 type_str = gst_amc_jni_string_from_gchar (env, err, FALSE, type); in gst_amc_codec_info_handle_get_capabilities_for_type()
379 if (!type_str) in gst_amc_codec_info_handle_get_capabilities_for_type()
383 media_codecinfo.get_capabilities_for_type, &object, type_str)) in gst_amc_codec_info_handle_get_capabilities_for_type()
390 if (type_str) in gst_amc_codec_info_handle_get_capabilities_for_type()
391 gst_amc_jni_object_local_unref (env, type_str); in gst_amc_codec_info_handle_get_capabilities_for_type()
/third_party/openssl/crypto/asn1/
Da_mbstr.c21 static int type_str(unsigned long value, void *arg);
112 if (traverse_string(in, len, inform, type_str, &mask) < 0) { in ASN1_mbstring_ncopy()
275 static int type_str(unsigned long value, void *arg) in type_str() function
/third_party/node/deps/openssl/openssl/crypto/asn1/
Da_mbstr.c21 static int type_str(unsigned long value, void *arg);
112 if (traverse_string(in, len, inform, type_str, &mask) < 0) { in ASN1_mbstring_ncopy()
275 static int type_str(unsigned long value, void *arg) in type_str() function
/third_party/node/deps/v8/src/compiler/
Dsimplified-lowering-verifier.cc29 std::ostringstream type_str; in CheckType() local
30 type.PrintTo(type_str); in CheckType()
37 type_str.str().c_str(), node->id(), node->op()->mnemonic(), in CheckType()
/third_party/mbedtls/programs/psa/
Daead_demo.c189 const char *type_str = key_type == PSA_KEY_TYPE_AES ? "AES" in aead_info() local
197 type_str, (unsigned) key_bits, base_str, (unsigned) tag_len); in aead_info()
/third_party/mesa3d/src/compiler/nir/
Dnir_algebraic.py75 def type_bits(type_str): argument
76 m = _type_re.match(type_str)
136 def __init__(self, val, name, type_str): argument
139 self.type_str = type_str
180 return "nir_search_value_" + self.type_str
/third_party/libsnd/src/
Daiff.c1686 { const char * type_str ; in aiff_read_basc_chunk() local
1699 type_str = "MINOR" ; in aiff_read_basc_chunk()
1702 type_str = "MAJOR" ; in aiff_read_basc_chunk()
1705 type_str = "NEITHER" ; in aiff_read_basc_chunk()
1708 type_str = "BOTH" ; in aiff_read_basc_chunk()
1711 type_str = "!!WRONG!!" ; in aiff_read_basc_chunk()
1715 psf_log_printf (psf, " ScaleType : 0x%x (%s)\n", bc.scaleType, type_str) ; in aiff_read_basc_chunk()
1720 type_str = "One Shot" ; in aiff_read_basc_chunk()
1723 type_str = "Loop" ; in aiff_read_basc_chunk()
1726 type_str = "!!WRONG!!" ; in aiff_read_basc_chunk()
[all …]
/third_party/ffmpeg/libavformat/
Dnutdec.c503 char name[256], str_value[1024], type_str[256]; in decode_info_header() local
555 ret = get_str(bc, type_str, sizeof(type_str)); in decode_info_header()
560 type = type_str; in decode_info_header()
888 uint8_t name[256], str_value[256], type_str[256]; in read_sm_data() local
910 ret = get_str(bc, type_str, sizeof(type_str)); in read_sm_data()
932 av_log(s, AV_LOG_WARNING, "Unknown data %s / %s\n", name, type_str); in read_sm_data()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/
DesextcTestCaseBase.cpp1027 const char* type_str = NULL; in getGLSLExtDirective() local
1074 type_str = "EXT_"; in getGLSLExtDirective()
1077 type_str = "OES_"; in getGLSLExtDirective()
1141 str << "#extension GL_" << type_str << name_str << " : " << behavior_str; in getGLSLExtDirective()

123