Home
last modified time | relevance | path

Searched refs:group_id (Results 1 – 25 of 222) sorted by relevance

123456789

/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown05.c89 gid_t group_id; member
109 gid_t group_id; /* group id of the user set for testfile */ in main() local
121 group_id = test_cases[i].group_id; in main()
123 TEST(CHOWN(cleanup, TESTFILE, user_id, group_id)); in main()
133 if (group_id == -1) in main()
134 group_id = test_cases[i - 1].group_id; in main()
137 stat_buf.st_gid != group_id) in main()
141 group_id); in main()
Dchown02.c99 gid_t group_id; member
121 gid_t group_id; /* group id of the user set for testfile */ in main() local
137 group_id = test_cases[i].group_id; in main()
144 TEST(CHOWN(cleanup, file_name, user_id, group_id)); in main()
166 stat_buf.st_gid != group_id) { in main()
170 user_id, group_id); in main()
Dchown03.c104 gid_t group_id; /* Group id of the test file. */ in main() local
115 GID16_CHECK((group_id = getegid()), "chown", cleanup) in main()
117 TEST(CHOWN(cleanup, TESTFILE, -1, group_id)); in main()
130 stat_buf.st_gid != group_id) in main()
134 stat_buf.st_gid, user_id, group_id); in main()
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown05.c46 gid_t group_id; member
67 gid_t group_id; in main() local
78 group_id = tc[i].group_id; in main()
80 TEST(FCHOWN(cleanup, fildes, user_id, group_id)); in main()
93 if (group_id == (gid_t)-1) in main()
94 group_id = tc[i - 1].group_id; in main()
97 (stat_buf.st_gid != group_id)) { in main()
100 TESTFILE, user_id, group_id); in main()
Dfchown03.c65 gid_t group_id; in main() local
75 GID16_CHECK((group_id = getegid()), "fchown", cleanup) in main()
77 TEST(FCHOWN(cleanup, fildes, -1, group_id)); in main()
88 (stat_buf.st_gid != group_id)) { in main()
91 TESTFILE, user_id, group_id); in main()
Dfchown02.c59 gid_t group_id; member
74 TEST(FCHOWN(cleanup, *t->fd, t->user_id, t->group_id)); in verify_fchown()
84 (stat_buf.st_gid != t->group_id)) { in verify_fchown()
87 t->pathname, t->user_id, t->group_id, in verify_fchown()
/third_party/ltp/testcases/kernel/syscalls/lchown/
Dlchown01.c56 gid_t group_id; member
88 gid_t group_id = test_cases[i].group_id; in main() local
96 TEST(LCHOWN(cleanup, SFILE, user_id, group_id)); in main()
119 if (group_id == -1) { in main()
121 group_id = in main()
122 test_cases[i - 1].group_id; in main()
124 group_id = getegid(); in main()
132 (stat_buf.st_gid != group_id)) { in main()
136 user_id, group_id); in main()
Dlchown02.c110 gid_t group_id; in main() local
119 group_id = getegid(); in main()
120 GID16_CHECK(group_id, lchown, cleanup); in main()
134 TEST(LCHOWN(cleanup, file_name, user_id, group_id)); in main()
/third_party/ltp/testcases/kernel/fs/fs_perms/
Dfs_perms.c69 int user_id, int group_id) in testsetup() argument
98 if (chown(file_name, user_id, group_id)) in testsetup()
107 int group_id, char *fperm) in testfperm() argument
114 if (setgid(group_id)) in testfperm()
116 "Could not setgid to %d.", group_id); in testfperm()
181 gid_t fgroup_id, group_id; in main() local
203 group_id = str_to_l(argv[5], "tester gid", 10); in main()
213 res2 = testfperm(TEST_FILE_NAME2, 1, user_id, group_id, fperm); in main()
221 res1 = testfperm(TEST_FILE_NAME1, 0, user_id, group_id, fperm); in main()
225 fperm[0], fmode, fuser_id, fgroup_id, user_id, group_id); in main()
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/asm/comp/
Dbuffer-write.asm.comp10 OpEntryPoint GLCompute %main "main" %group_id %group_index
18 OpName %group_id "group_id"
26 OpDecorate %group_id BuiltIn WorkgroupId
44 %group_id = OpVariable %_ptr_Input_v3uint Input
49 %43 = OpLoad %v3uint %group_id
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst_ctrl_iface.c24 const char *group_id = fst_group_get_id(g); in get_fst_group_by_id() local
26 if (os_strncmp(group_id, id, os_strlen(group_id)) == 0) in get_fst_group_by_id()
119 is->ifname, is->group_id); in fst_ctrl_iface_notify()
249 static int session_add(const char *group_id, char *buf, size_t buflen) in session_add() argument
254 g = get_fst_group_by_id(group_id); in session_add()
257 group_id); in session_add()
265 group_id); in session_add()
483 static int list_sessions(const char *group_id, char *buf, size_t buflen) in list_sessions() argument
488 g = get_fst_group_by_id(group_id); in list_sessions()
491 group_id); in list_sessions()
[all …]
Dfst_group.h13 char group_id[IFNAMSIZ + 1]; member
25 struct fst_group * fst_group_create(const char *group_id);
44 return g->group_id; in fst_group_get_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
Dfst_ctrl_iface.c24 const char *group_id = fst_group_get_id(g); in get_fst_group_by_id() local
26 if (os_strncmp(group_id, id, os_strlen(group_id)) == 0) in get_fst_group_by_id()
119 is->ifname, is->group_id); in fst_ctrl_iface_notify()
249 static int session_add(const char *group_id, char *buf, size_t buflen) in session_add() argument
254 g = get_fst_group_by_id(group_id); in session_add()
257 group_id); in session_add()
265 group_id); in session_add()
483 static int list_sessions(const char *group_id, char *buf, size_t buflen) in list_sessions() argument
488 g = get_fst_group_by_id(group_id); in list_sessions()
491 group_id); in list_sessions()
[all …]
Dfst_group.h13 char group_id[IFNAMSIZ + 1]; member
25 struct fst_group * fst_group_create(const char *group_id);
44 return g->group_id; in fst_group_get_id()
/third_party/ltp/testcases/kernel/syscalls/fstat/
Dfstat02.c25 static gid_t group_id; variable
46 if (stat_buf.st_gid != group_id) { in run()
48 stat_buf.st_gid, group_id); in run()
73 group_id = getgid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/stat/
Dstat01.c26 gid_t group_id; variable
56 if (stat_buf.st_gid != group_id) { in verify_stat()
58 stat_buf.st_gid, group_id); in verify_stat()
93 group_id = getgid(); in setup()
/third_party/glib/gio/
Dgdbusmenumodel.c169 guint group_id);
281 guint group_id; in g_dbus_menu_path_signal() local
291 …while (g_variant_iter_loop (iter, "(uuuu@aa{sv})", &group_id, &menu_id, &position, &removes, &adds… in g_dbus_menu_path_signal()
295 group = g_hash_table_lookup (path->groups, GINT_TO_POINTER (group_id)); in g_dbus_menu_path_signal()
518 guint group_id; in g_dbus_menu_group_start_ready() local
522 while (g_variant_iter_loop (iter, "(uu@aa{sv})", &group_id, &menu_id, &items)) in g_dbus_menu_group_start_ready()
523 if (group_id == group->id) in g_dbus_menu_group_start_ready()
640 guint group_id) in g_dbus_menu_group_get_from_path() argument
644 group = g_hash_table_lookup (path->groups, GINT_TO_POINTER (group_id)); in g_dbus_menu_group_get_from_path()
650 group->id = group_id; in g_dbus_menu_group_get_from_path()
[all …]
Dgmenuexporter.c103 … guint group_id);
471 guint group_id, in g_menu_exporter_remote_subscribe() argument
477 count = (gsize) g_hash_table_lookup (remote->watches, GINT_TO_POINTER (group_id)); in g_menu_exporter_remote_subscribe()
478 g_hash_table_insert (remote->watches, GINT_TO_POINTER (group_id), GINT_TO_POINTER (count + 1)); in g_menu_exporter_remote_subscribe()
481 group = g_menu_exporter_lookup_group (remote->exporter, group_id); in g_menu_exporter_remote_subscribe()
487 guint group_id) in g_menu_exporter_remote_unsubscribe() argument
492 count = (gsize) g_hash_table_lookup (remote->watches, GINT_TO_POINTER (group_id)); in g_menu_exporter_remote_unsubscribe()
498 g_hash_table_insert (remote->watches, GINT_TO_POINTER (group_id), GINT_TO_POINTER (count - 1)); in g_menu_exporter_remote_unsubscribe()
500 g_hash_table_remove (remote->watches, GINT_TO_POINTER (group_id)); in g_menu_exporter_remote_unsubscribe()
502 group = g_menu_exporter_lookup_group (remote->exporter, group_id); in g_menu_exporter_remote_unsubscribe()
[all …]
/third_party/boringssl/src/ssl/
Dssl_key_share.cc41 ECKeyShare(int nid, uint16_t group_id) : nid_(nid), group_id_(group_id) {} in ECKeyShare() argument
317 UniquePtr<SSLKeyShare> SSLKeyShare::Create(uint16_t group_id) { in Create() argument
318 switch (group_id) { in Create()
363 *out_group_id = group.group_id; in ssl_nid_to_group_id()
374 *out_group_id = group.group_id; in ssl_name_to_group_id()
379 *out_group_id = group.group_id; in ssl_name_to_group_id()
390 const char* SSL_get_curve_name(uint16_t group_id) { in SSL_get_curve_name() argument
392 if (group.group_id == group_id) { in SSL_get_curve_name()
/third_party/ltp/testcases/kernel/syscalls/lstat/
Dlstat01.c27 static gid_t group_id; variable
41 stat_buf.st_gid != group_id || in run()
54 group_id = getgid(); in setup()
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dstreamsynchronizer.c39 guint group_id; in event_probe() local
42 fail_unless (gst_event_parse_group_id (event, &group_id)); in event_probe()
45 if (group_id_pre != group_id) { in event_probe()
52 group_id_pre = group_id; in event_probe()
/third_party/libinput/tools/
Dlibinput-list-devices.c276 intptr_t group_id; in print_device_notify() local
281 group_id = (intptr_t)libinput_device_group_get_user_data(group); in print_device_notify()
282 if (!group_id) { in print_device_notify()
283 group_id = ++next_group_id; in print_device_notify()
284 libinput_device_group_set_user_data(group, (void*)group_id); in print_device_notify()
296 (int)group_id, in print_device_notify()
/third_party/cef/libcef_dll/ctocpp/
Dmenu_model_ctocpp.h45 int group_id) OVERRIDE;
56 int group_id) OVERRIDE;
73 bool SetGroupId(int command_id, int group_id) OVERRIDE;
74 bool SetGroupIdAt(int index, int group_id) OVERRIDE;
/third_party/cef/include/
Dcef_menu_model.h104 int group_id) = 0;
147 int group_id) = 0;
243 virtual bool SetGroupId(int command_id, int group_id) = 0;
249 virtual bool SetGroupIdAt(int index, int group_id) = 0;
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgststreamsynchronizer.c83 guint group_id; member
395 guint group_id; in gst_stream_synchronizer_sink_event() local
401 have_group_id = gst_event_parse_group_id (event, &group_id); in gst_stream_synchronizer_sink_event()
411 if ((have_group_id && stream->group_id != group_id) || (!have_group_id in gst_stream_synchronizer_sink_event()
417 stream->group_id = group_id; in gst_stream_synchronizer_sink_event()
441 } else if (group_id == self->group_id) { in gst_stream_synchronizer_sink_event()
443 "no waiting", stream->stream_number, group_id); in gst_stream_synchronizer_sink_event()
457 || ostream->group_id == group_id))); in gst_stream_synchronizer_sink_event()
468 group_id); in gst_stream_synchronizer_sink_event()
472 self->group_id = group_id; in gst_stream_synchronizer_sink_event()
[all …]

123456789