Home
last modified time | relevance | path

Searched refs:type_string (Results 1 – 25 of 36) sorted by relevance

12

/third_party/glib/glib/
Dgvarianttype.c318 g_variant_type_string_get_depth_ (const gchar *type_string) in g_variant_type_string_get_depth_() argument
323 g_return_val_if_fail (type_string != NULL, 0); in g_variant_type_string_get_depth_()
325 if (!variant_type_string_scan_internal (type_string, NULL, &endptr, &depth, in g_variant_type_string_get_depth_()
346 g_variant_type_string_is_valid (const gchar *type_string) in g_variant_type_string_is_valid() argument
350 g_return_val_if_fail (type_string != NULL, FALSE); in g_variant_type_string_is_valid()
352 if (!g_variant_type_string_scan (type_string, NULL, &endptr)) in g_variant_type_string_is_valid()
422 g_variant_type_new (const gchar *type_string) in g_variant_type_new() argument
424 g_return_val_if_fail (type_string != NULL, NULL); in g_variant_type_new()
426 return g_variant_type_copy (G_VARIANT_TYPE (type_string)); in g_variant_type_new()
444 const gchar *type_string = (const gchar *) type; in g_variant_type_get_string_length() local
[all …]
Dgvarianttypeinfo.c79 gchar *type_string; member
173 g_assert (container->type_string != NULL); in g_variant_type_info_check()
208 return container->type_string; in g_variant_type_info_get_type_string()
276 return g_variant_type_string_get_depth_ (container->type_string); in g_variant_type_info_query_depth()
767 gchar *type_string; in g_variant_type_info_get() local
769 type_string = g_variant_type_dup_string (type); in g_variant_type_info_get()
776 info = g_hash_table_lookup (g_variant_type_info_table, type_string); in g_variant_type_info_get()
793 container->type_string = type_string; in g_variant_type_info_get()
796 g_hash_table_insert (g_variant_type_info_table, type_string, info); in g_variant_type_info_get()
797 type_string = NULL; in g_variant_type_info_get()
[all …]
Dgvarianttype.h289 # define G_VARIANT_TYPE(type_string) (g_variant_type_checked_ ((type_string))) argument
291 # define G_VARIANT_TYPE(type_string) ((const GVariantType *) (type_string)) argument
296 … g_variant_type_string_is_valid (const gchar *type_string);
308 …Type * g_variant_type_new (const gchar *type_string);
378 gsize g_variant_type_string_get_depth_ (const gchar *type_string);
Dgvariant-serialiser.c1194 const gchar *type_string = (gchar *) &value.data[child.size + 1]; in gvs_variant_get_child() local
1198 if (g_variant_type_string_scan (type_string, limit, &end) && in gvs_variant_get_child()
1201 const GVariantType *type = (GVariantType *) type_string; in gvs_variant_get_child()
1244 const gchar *type_string; in gvs_variant_needed_size() local
1247 type_string = g_variant_type_info_get_type_string (child.type_info); in gvs_variant_needed_size()
1249 return child.size + 1 + strlen (type_string); in gvs_variant_needed_size()
1259 const gchar *type_string; in gvs_variant_serialise() local
1264 type_string = g_variant_type_info_get_type_string (child.type_info); in gvs_variant_serialise()
1266 memcpy (value.data + child.size + 1, type_string, strlen (type_string)); in gvs_variant_serialise()
Dgvariant.c4439 const gchar *type_string; in g_variant_check_format_string() local
4453 type_string = g_variant_get_type_string (value); in g_variant_check_format_string()
4455 while (*type_string || *format_string) in g_variant_check_format_string()
4482 char s = *type_string++; in g_variant_check_format_string()
4491 if (*type_string != '(') in g_variant_check_format_string()
4497 if (!g_variant_type_string_scan (type_string, NULL, &type_string)) in g_variant_check_format_string()
4504 if (format != *type_string++) in g_variant_check_format_string()
4765 gchar *type_string = g_variant_type_dup_string ((GVariantType *) *str); in g_variant_valist_new_nnp() local
4768 type_string, g_variant_get_type_string (value) + 1); in g_variant_valist_new_nnp()
4769 g_free (type_string); in g_variant_valist_new_nnp()
[all …]
/third_party/mesa3d/src/mapi/glapi/gen/
DglX_proto_recv.py200 t = param.type_string()
267 type_string = param.type_string()
272 …rint '%s %s const %s = (%s) (%s(pc + %s));' % (indent, type_string, param.name, type_string, co…
282 print '%s const %s %s = %s;' % (indent, type_string, param.name, location)
287 print '%s %s %s = %s%s;' % (indent, type_string, param.name, cond, location)
289 print '%s %s %s;' % (indent, type_string, param.name)
342 … print ' %s = (%s) (pc + %s); break;' % (param.name, param.type_string(), o)
345 … %s = (%s) %s( (%s *) (pc + %s), %s ); break;' % (param.name, param.type_string(), swap_func, s…
352 …print ' %s = (%s) %s( (%s *) (pc + %s), %s );' % (param.name, param.type_string(), swap_func, s…
359 … print '%s %s = (%s) (pc + %s);' % (indent, param.name, param.type_string(), param.offset)
[all …]
Dtypeexpr.py114 def __init__(self, type_string, extra_types = None): argument
117 if not type_string:
120 self.original_string = type_string
127 tokens = type_string.replace("*", " * ").split()
Dgl_marshal.py206 for p in sorted(fixed_params, key=lambda p: self.get_type_size(p.type_string())):
211 out('{0} {1};'.format(p.type_string(), p.name))
250 p.type_string(), p.name)
/third_party/glib/glib/tests/
Dgvariant.c231 invalid_mutation (const gchar *type_string) in invalid_mutation() argument
236 have_parens = strchr (type_string, '(') != NULL; in invalid_mutation()
237 have_braces = strchr (type_string, '{') != NULL; in invalid_mutation()
247 new = g_strdup (type_string); in invalid_mutation()
291 new = g_strdup (type_string); in invalid_mutation()
336 length = strlen (type_string); in invalid_mutation()
339 memcpy (new, type_string, n); in invalid_mutation()
341 memcpy (new + n + 1, type_string + n, length - n); in invalid_mutation()
484 generate_subtype (const gchar *type_string) in generate_subtype() argument
495 for (length = 0; type_string[length]; length++) in generate_subtype()
[all …]
/third_party/ffmpeg/doc/examples/
Davio_list_dir.c27 static const char *type_string(int type) in type_string() function
88 type_string(entry->type), in list_op()
/third_party/glib/gio/
Dglib-compile-schemas.c200 key_state_new (const gchar *type_string, in key_state_new() argument
209 state->type = g_variant_type_new (type_string); in key_state_new()
509 gchar *type_string = g_variant_type_dup_string (state->type); in key_state_start_choices() local
513 type_string); in key_state_start_choices()
514 g_free (type_string); in key_state_start_choices()
930 const gchar *type_string, in schema_state_add_key() argument
979 if ((type_string != NULL) + (enum_type != NULL) + (flags_type != NULL) != 1) in schema_state_add_key()
988 if (type_string == NULL) /* flags or enums was specified */ in schema_state_add_key()
1008 type_string = flags_type ? "as" : "s"; in schema_state_add_key()
1013 if (!g_variant_type_string_is_valid (type_string)) in schema_state_add_key()
[all …]
Dgsettings-mapping.c333 gchar *type_string; in g_settings_set_mapping() local
429 type_string = g_variant_type_dup_string (expected_type); in g_settings_set_mapping()
430 g_critical ("No GSettings bind handler for type \"%s\".", type_string); in g_settings_set_mapping()
431 g_free (type_string); in g_settings_set_mapping()
Dgdbusmethodinvocation.c421 gchar *type_string = g_variant_type_dup_string (type); in g_dbus_method_invocation_return_value_internal() local
424 type_string, g_variant_get_type_string (parameters)); in g_dbus_method_invocation_return_value_internal()
426 g_free (type_string); in g_dbus_method_invocation_return_value_internal()
Dgdbusmessage.c1135 const gchar *type_string; in g_dbus_message_set_body() local
1141 type_string = g_variant_get_type_string (body); in g_dbus_message_set_body()
1142 type_string_len = strlen (type_string); in g_dbus_message_set_body()
1144 signature = g_strndup (type_string + 1, type_string_len - 2); in g_dbus_message_set_body()
1467 const gchar *type_string; in parse_value_from_blob() local
1478 type_string = g_variant_type_peek_string (type); in parse_value_from_blob()
1496 switch (type_string[0]) in parse_value_from_blob()
2306 const gchar *type_string; in append_value_to_blob() local
2308 type_string = g_variant_type_peek_string (type); in append_value_to_blob()
2312 switch (type_string[0]) in append_value_to_blob()
Dgsettings.c2941 gchar *type_string = g_variant_type_dup_string (binding->key.type); in g_settings_bind_with_mapping() local
2945 type_string); in g_settings_bind_with_mapping()
2946 g_free (type_string); in g_settings_bind_with_mapping()
2957 gchar *type_string = g_variant_type_dup_string (binding->key.type); in g_settings_bind_with_mapping() local
2962 type_string, key, in g_settings_bind_with_mapping()
2964 g_free (type_string); in g_settings_bind_with_mapping()
Dgregistrysettingsbackend.c948 const gchar *type_string; in g_registry_backend_write_one() local
950 type_string = g_variant_get_type_string (variant); in g_registry_backend_write_one()
958 switch (type_string[0]) in g_registry_backend_write_one()
983 if (type_string[0] == 's') in g_registry_backend_write_one()
1044 switch (type_string[0]) in g_registry_backend_write_one()
/third_party/gstreamer/gstplugins_good/tests/examples/rpicamsrc/
Dwebrtc-unidirectional-h264.c331 const gchar *type_string; in soup_websocket_message_cb() local
369 type_string = json_object_get_string_member (root_json_object, "type"); in soup_websocket_message_cb()
377 if (g_strcmp0 (type_string, "sdp") == 0) { in soup_websocket_message_cb()
425 } else if (g_strcmp0 (type_string, "ice") == 0) { in soup_websocket_message_cb()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c120 lit_magic_string_id_t type_string; in ecma_builtin_helper_object_to_string() local
124 type_string = LIT_MAGIC_STRING_UNDEFINED_UL; in ecma_builtin_helper_object_to_string()
128 type_string = LIT_MAGIC_STRING_NULL_UL; in ecma_builtin_helper_object_to_string()
143 type_string = ecma_object_get_class_name (obj_p); in ecma_builtin_helper_object_to_string()
181 type_string, in ecma_builtin_helper_object_to_string()
/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.cc793 std::set<std::string> type_string; in GetErrorTypeString() local
796 (void)type_string.emplace("Float"); in GetErrorTypeString()
799 (void)type_string.emplace("Int"); in GetErrorTypeString()
802 (void)type_string.emplace("Bool"); in GetErrorTypeString()
805 (void)type_string.emplace("UInt"); in GetErrorTypeString()
808 for (const auto &item : type_string) { in GetErrorTypeString()
/third_party/node/src/
Dcares_wrap.cc308 env->type_string(), in ParseMxReply()
344 env->type_string(), in ParseCaaReply()
384 env->type_string(), in ParseTxtReply()
405 env->type_string(), in ParseTxtReply()
449 env->type_string(), in ParseSrvReply()
502 env->type_string(), in ParseNaptrReply()
622 env->type_string(), in ParseSoaReply()
934 env->type_string(), in Parse()
945 env->type_string(), in Parse()
979 env->type_string(), in Parse()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dttmlparse.c860 gchar *type_string; in ttml_resolve_styles() local
866 type_string = ttml_get_element_type_string (element); in ttml_resolve_styles()
867 GST_CAT_LOG (ttmlparse_debug, "Element type: %s", type_string); in ttml_resolve_styles()
868 g_free (type_string); in ttml_resolve_styles()
913 gchar *type_string; in ttml_inherit_styles() local
917 type_string = ttml_get_element_type_string (element); in ttml_inherit_styles()
918 GST_CAT_LOG (ttmlparse_debug, "Element type: %s", type_string); in ttml_inherit_styles()
919 g_free (type_string); in ttml_inherit_styles()
/third_party/glib/gio/tests/
Dgdbus-serialization.c151 const gchar *type_string; in append_gv_to_dbus_iter() local
155 type_string = g_variant_get_type_string (value); in append_gv_to_dbus_iter()
156 type_string++; /* skip the 'a' */ in append_gv_to_dbus_iter()
159 type_string, &dbus_iter); in append_gv_to_dbus_iter()
/third_party/libxml2/fuzz/
Dschema.dict10 type_string=" type='xs:string'"
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dmissing-plugins.c102 const gchar type_string[12]; member
122 if (strcmp (missing_type_mapping[i].type_string, type) == 0) in missing_structure_get_type()
/third_party/python/Lib/msilib/
D__init__.py22 type_string= 0x0c00 variable
51 if dtype == type_string:

12