Home
last modified time | relevance | path

Searched refs:strinfo (Results 1 – 7 of 7) sorted by relevance

/third_party/glib/gio/
Dstrinfo.c141 strinfo_scan (const guint32 *strinfo, in strinfo_scan() argument
156 if (strinfo[i + j] != words[j]) in strinfo_scan()
170 strinfo_find_string (const guint32 *strinfo, in strinfo_find_string() argument
183 return strinfo_scan (strinfo + 1, length - 1, words, n_words); in strinfo_find_string()
187 strinfo_find_integer (const guint32 *strinfo, in strinfo_find_integer() argument
194 if (strinfo[i] == GUINT32_TO_LE (value)) in strinfo_find_integer()
196 const guchar *charinfo = (const guchar *) &strinfo[i]; in strinfo_find_integer()
207 strinfo_is_string_valid (const guint32 *strinfo, in strinfo_is_string_valid() argument
211 return strinfo_find_string (strinfo, length, string, FALSE) != -1; in strinfo_is_string_valid()
215 strinfo_enum_from_string (const guint32 *strinfo, in strinfo_enum_from_string() argument
[all …]
Dglib-compile-schemas.c53 GString *strinfo; member
63 g_string_free (state->strinfo, TRUE); in enum_state_free()
73 state->strinfo = g_string_new (NULL); in enum_state_new()
107 if (strinfo_builder_contains (state->strinfo, nick)) in enum_state_add_value()
115 if (strinfo_builder_contains_value (state->strinfo, value)) in enum_state_add_value()
143 strinfo_builder_append_item (state->strinfo, nick, value); in enum_state_add_value()
155 if (state->strinfo->len == 0) in enum_state_end()
181 GString *strinfo; member
204 GString *strinfo) in key_state_new() argument
216 if (strinfo) in key_state_new()
[all …]
Dgsettingsschema.c1295 key->strinfo = g_variant_get_fixed_array (data, &key->strinfo_length, sizeof (guint32)); in g_settings_schema_key_init()
1355 if (key->strinfo == NULL) in g_settings_schema_key_range_fixup()
1387 target = strinfo_string_from_alias (key->strinfo, key->strinfo_length, in g_settings_schema_key_range_fixup()
1475 it_worked = strinfo_enum_from_string (key->strinfo, key->strinfo_length, in g_settings_schema_key_to_enum()
1496 string = strinfo_string_from_enum (key->strinfo, key->strinfo_length, value); in g_settings_schema_key_from_enum()
1519 it_worked = strinfo_enum_from_string (key->strinfo, key->strinfo_length, flag, &flag_value); in g_settings_schema_key_to_flags()
1544 string = strinfo_string_from_enum (key->strinfo, key->strinfo_length, 1u << i); in g_settings_schema_key_from_flags()
1823 else if (key->strinfo) in g_settings_schema_key_get_range()
1825 range = strinfo_enumerate (key->strinfo, key->strinfo_length); in g_settings_schema_key_get_range()
1856 if (key->minimum == NULL && key->strinfo == NULL) in g_settings_schema_key_range_check()
[all …]
Dgsettingsschema-internal.h31 const guint32 *strinfo; member
/third_party/curl/src/
Dtool_writeout.c161 const char *strinfo = NULL; in writeString() local
171 strinfo = http_version[version]; in writeString()
176 if(!curl_easy_getinfo(per->curl, wovar->ci, &strinfo) && strinfo) in writeString()
184 strinfo = per->errorbuffer[0] ? per->errorbuffer : in writeString()
191 strinfo = per->outs.filename; in writeString()
197 strinfo = per->this_url; in writeString()
208 DEBUGASSERT(strinfo); in writeString()
211 jsonWriteString(stream, strinfo); in writeString()
215 fputs(strinfo, stream); in writeString()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dquotactl.c29 struct dqblk strinfo; in quotactl_0100() local
30 int ret = quotactl(cmd, "/dev", getuid(), (char *)(&strinfo)); in quotactl_0100()
/third_party/glib/gio/tests/
Dgsettings.c2066 const guint32 *strinfo = (guint32 *) array; in test_strinfo() local
2078 g_assert_cmpmem (builder->str, builder->len, strinfo, length * 4); in test_strinfo()
2082 g_assert_cmpstr (strinfo_string_from_alias (strinfo, length, "foo"), in test_strinfo()
2084 g_assert_cmpstr (strinfo_string_from_alias (strinfo, length, "bar"), in test_strinfo()
2086 g_assert_cmpstr (strinfo_string_from_alias (strinfo, length, "baz"), in test_strinfo()
2088 g_assert_cmpstr (strinfo_string_from_alias (strinfo, length, "quux"), in test_strinfo()
2091 g_assert_true (strinfo_enum_from_string (strinfo, length, "foo", &result)); in test_strinfo()
2093 g_assert_true (strinfo_enum_from_string (strinfo, length, "bar", &result)); in test_strinfo()
2095 g_assert_false (strinfo_enum_from_string (strinfo, length, "baz", &result)); in test_strinfo()
2096 g_assert_false (strinfo_enum_from_string (strinfo, length, "quux", &result)); in test_strinfo()
[all …]