Home
last modified time | relevance | path

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

123456

/external/tensorflow/tensorflow/python/util/
Dlock_util.py74 def group(self, group_id): argument
83 self._validate_group_id(group_id)
84 return self._Context(self, group_id)
86 def acquire(self, group_id): argument
88 self._validate_group_id(group_id)
91 while self._another_group_active(group_id):
93 self._group_member_counts[group_id] += 1
96 def release(self, group_id): argument
98 self._validate_group_id(group_id)
101 self._group_member_counts[group_id] -= 1
[all …]
Dlock_util_test.py40 group_id = thread_id % num_groups
41 with lock.group(group_id):
43 self.assertGreater(lock._group_member_counts[group_id], 0)
45 if g != group_id:
/external/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()
/external/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()
/external/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()
/external/autotest/client/common_lib/
Dlsbrelease_utils.py18 def _lsbrelease_search(regex, group_id=0, lsb_release_content=None): argument
38 return m.group(group_id)
50 return _lsbrelease_search(r'^CHROMEOS_RELEASE_BOARD=(.+)$', group_id=1,
64 group_id=1, lsb_release_content=lsb_release_content)
75 return _lsbrelease_search(r'^CHROMEOS_RELEASE_VERSION=(.+)$', group_id=1,
89 group_id=1,
103 group_id=1,
173 group_id=1,
185 return _lsbrelease_search(r'^DEVICETYPE=(.+)$', group_id=1,
/external/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()
/external/skia/src/compute/skc/
Dstyling.c89 skc_group_id * group_id) in skc_styling_group_alloc() argument
93 *group_id = styling->groups.count++; in skc_styling_group_alloc()
100 skc_group_id group_id, in skc_styling_group_enter() argument
106 styling->groups.extent[group_id].cmds.enter = styling->extras.count; in skc_styling_group_enter()
117 skc_group_id group_id, in skc_styling_group_leave() argument
123 styling->groups.extent[group_id].cmds.leave = styling->extras.count; in skc_styling_group_leave()
134 skc_group_id group_id, in skc_styling_group_parents() argument
140 styling->groups.extent[group_id].parents = (union skc_group_parents) in skc_styling_group_parents()
154 skc_group_id group_id, in skc_styling_group_range_lo() argument
159 styling->groups.extent[group_id].range.lo = layer_lo; in skc_styling_group_range_lo()
[all …]
Dskc.h239 skc_group_id * group_id);
243 skc_group_id group_id,
249 skc_group_id group_id,
267 skc_group_id group_id,
273 skc_group_id group_id,
278 skc_group_id group_id,
283 skc_group_id group_id,
/external/skqp/src/compute/skc/
Dstyling.c89 skc_group_id * group_id) in skc_styling_group_alloc() argument
93 *group_id = styling->groups.count++; in skc_styling_group_alloc()
100 skc_group_id group_id, in skc_styling_group_enter() argument
106 styling->groups.extent[group_id].cmds.enter = styling->extras.count; in skc_styling_group_enter()
117 skc_group_id group_id, in skc_styling_group_leave() argument
123 styling->groups.extent[group_id].cmds.leave = styling->extras.count; in skc_styling_group_leave()
134 skc_group_id group_id, in skc_styling_group_parents() argument
140 styling->groups.extent[group_id].parents = (union skc_group_parents) in skc_styling_group_parents()
154 skc_group_id group_id, in skc_styling_group_range_lo() argument
159 styling->groups.extent[group_id].range.lo = layer_lo; in skc_styling_group_range_lo()
[all …]
Dskc.h239 skc_group_id * group_id);
243 skc_group_id group_id,
249 skc_group_id group_id,
267 skc_group_id group_id,
273 skc_group_id group_id,
278 skc_group_id group_id,
283 skc_group_id group_id,
/external/libpcap/
Dpcap-netfilter-linux.c85 static int nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t ve…
396 nflog_send_config_msg(const pcap_t *handle, uint8_t family, u_int16_t group_id, const struct my_nfa… in nflog_send_config_msg() argument
398 …r_send_config_msg(handle, (NFNL_SUBSYS_ULOG << 8) | NFULNL_MSG_CONFIG, 1, family, group_id, mynfa); in nflog_send_config_msg()
402 nflog_send_config_cmd(const pcap_t *handle, uint16_t group_id, u_int8_t cmd, u_int8_t family) in nflog_send_config_cmd() argument
413 return nflog_send_config_msg(handle, family, group_id, &nfa); in nflog_send_config_cmd()
417 nflog_send_config_mode(const pcap_t *handle, uint16_t group_id, u_int8_t copy_mode, u_int32_t copy_… in nflog_send_config_mode() argument
429 return nflog_send_config_msg(handle, AF_UNSPEC, group_id, &nfa); in nflog_send_config_mode()
433 nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t verdict) in nfqueue_send_verdict() argument
445 …end_config_msg(handle, (NFNL_SUBSYS_QUEUE << 8) | NFQNL_MSG_VERDICT, 0, AF_UNSPEC, group_id, &nfa); in nfqueue_send_verdict()
449 nfqueue_send_config_msg(const pcap_t *handle, uint8_t family, u_int16_t group_id, const struct my_n… in nfqueue_send_config_msg() argument
[all …]
/external/wpa_supplicant_8/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 …]
/external/libtextclassifier/annotator/datetime/
Dextractor.cc32 for (int group_id = 0; group_id < rule_.regex->groups()->size(); group_id++) { in Extract() local
34 const int group_type = rule_.regex->groups()->Get(group_id); in Extract()
38 if (!GroupTextFromMatch(group_id, &group_text)) { in Extract()
135 if (!UpdateMatchSpan(group_id, result_span)) { in Extract()
192 bool DatetimeExtractor::GroupTextFromMatch(int group_id, in GroupTextFromMatch() argument
195 *result = matcher_.Group(group_id, &status); in GroupTextFromMatch()
202 bool DatetimeExtractor::UpdateMatchSpan(int group_id, in UpdateMatchSpan() argument
205 const int match_start = matcher_.Start(group_id, &status); in UpdateMatchSpan()
209 const int match_end = matcher_.End(group_id, &status); in UpdateMatchSpan()
/external/libtextclassifier/utils/
Dregex-match.cc100 const int group_id = static_cast<int>(lua_tonumber(state_, /*idx=*/-1)); in GetCapturingGroup() local
102 const CodepointSpan span = {matcher_->Start(group_id, &status), in GetCapturingGroup()
103 matcher_->End(group_id, &status)}; in GetCapturingGroup()
104 std::string text = matcher_->Group(group_id, &status).ToUTF8String(); in GetCapturingGroup()
152 bool SetFieldFromCapturingGroup(const int group_id, in SetFieldFromCapturingGroup() argument
157 std::string group_text = matcher->Group(group_id, &status).ToUTF8String(); in SetFieldFromCapturingGroup()
/external/mockftpserver/tags/2.2/
DCHANGELOG.txt7 …g of files": https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2823519&group_id=208647.
9 …" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2828362&group_id=208647. DefaultSe…
11 … port fails" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2953392&group_id=208647.
21 …nsitivity� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2696898&group_id=208647).
22 …incorrect� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2797980&group_id=208647).
30 …cific. http://sourceforge.net/tracker/index.php?func=detail&aid=2654577&group_id=208647&atid=10065…
31 …p(). https://sourceforge.net/tracker2/index.php?func=detail&aid=2653626&group_id=208647&atid=10065…
36 …ly together� (https://sourceforge.net/tracker2/?func=detail&aid=2543193&group_id=208647&atid=10065…
37 …ory listing� (https://sourceforge.net/tracker2/?func=detail&aid=2540548&group_id=208647&atid=10065…
38 …the content� (https://sourceforge.net/tracker2/?func=detail&aid=2540366&group_id=208647&atid=10065…
[all …]
/external/boringssl/src/ssl/
Dssl_key_share.cc42 ECKeyShare(int nid, uint16_t group_id) : nid_(nid), group_id_(group_id) {} in ECKeyShare() argument
318 UniquePtr<SSLKeyShare> SSLKeyShare::Create(uint16_t group_id) { in Create() argument
319 switch (group_id) { in Create()
364 *out_group_id = group.group_id; in ssl_nid_to_group_id()
375 *out_group_id = group.group_id; in ssl_name_to_group_id()
380 *out_group_id = group.group_id; in ssl_name_to_group_id()
391 const char* SSL_get_curve_name(uint16_t group_id) { in SSL_get_curve_name() argument
393 if (group.group_id == group_id) { in SSL_get_curve_name()
/external/mockftpserver/tags/2.3/
DCHANGELOG.txt18 …g of files": https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2823519&group_id=208647.
20 …" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2828362&group_id=208647. DefaultSe…
22 … port fails" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2953392&group_id=208647.
32 …nsitivity� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2696898&group_id=208647).
33 …incorrect� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2797980&group_id=208647).
41 …cific. http://sourceforge.net/tracker/index.php?func=detail&aid=2654577&group_id=208647&atid=10065…
42 …p(). https://sourceforge.net/tracker2/index.php?func=detail&aid=2653626&group_id=208647&atid=10065…
47 …ly together� (https://sourceforge.net/tracker2/?func=detail&aid=2543193&group_id=208647&atid=10065…
48 …ory listing� (https://sourceforge.net/tracker2/?func=detail&aid=2540548&group_id=208647&atid=10065…
49 …the content� (https://sourceforge.net/tracker2/?func=detail&aid=2540366&group_id=208647&atid=10065…
[all …]
/external/mockftpserver/tags/2.4/
DCHANGELOG.txt26 …g of files": https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2823519&group_id=208647.
28 …" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2828362&group_id=208647. DefaultSe…
30 … port fails" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2953392&group_id=208647.
40 …nsitivity� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2696898&group_id=208647).
41 …incorrect� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2797980&group_id=208647).
49 …cific. http://sourceforge.net/tracker/index.php?func=detail&aid=2654577&group_id=208647&atid=10065…
50 …p(). https://sourceforge.net/tracker2/index.php?func=detail&aid=2653626&group_id=208647&atid=10065…
55 …ly together� (https://sourceforge.net/tracker2/?func=detail&aid=2543193&group_id=208647&atid=10065…
56 …ory listing� (https://sourceforge.net/tracker2/?func=detail&aid=2540548&group_id=208647&atid=10065…
57 …the content� (https://sourceforge.net/tracker2/?func=detail&aid=2540366&group_id=208647&atid=10065…
[all …]
/external/mockftpserver/tags/2.1/
DCHANGELOG.txt7 …nsitivity� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2696898&group_id=208647).
8 …incorrect� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2797980&group_id=208647).
16 …cific. http://sourceforge.net/tracker/index.php?func=detail&aid=2654577&group_id=208647&atid=10065…
17 …p(). https://sourceforge.net/tracker2/index.php?func=detail&aid=2653626&group_id=208647&atid=10065…
22 …ly together� (https://sourceforge.net/tracker2/?func=detail&aid=2543193&group_id=208647&atid=10065…
23 …ory listing� (https://sourceforge.net/tracker2/?func=detail&aid=2540548&group_id=208647&atid=10065…
24 …the content� (https://sourceforge.net/tracker2/?func=detail&aid=2540366&group_id=208647&atid=10065…
30 …e bundle. See https://sourceforge.net/tracker2/?func=detail&aid=2462794&group_id=208647&atid=10065…
31 …. See https://sourceforge.net/tracker/index.php?func=detail&aid=2462973&group_id=208647&atid=10065…
90 See https://sourceforge.net/tracker/index.php?func=detail&aid=2047355&group_id=208647&atid=1006533
[all …]
/external/mockftpserver/tags/2.5/
DCHANGELOG.txt36 …g of files": https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2823519&group_id=208647.
38 …" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2828362&group_id=208647. DefaultSe…
40 … port fails" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2953392&group_id=208647.
50 …nsitivity� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2696898&group_id=208647).
51 …incorrect� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2797980&group_id=208647).
59 …cific. http://sourceforge.net/tracker/index.php?func=detail&aid=2654577&group_id=208647&atid=10065…
60 …p(). https://sourceforge.net/tracker2/index.php?func=detail&aid=2653626&group_id=208647&atid=10065…
65 …ly together� (https://sourceforge.net/tracker2/?func=detail&aid=2543193&group_id=208647&atid=10065…
66 …ory listing� (https://sourceforge.net/tracker2/?func=detail&aid=2540548&group_id=208647&atid=10065…
67 …the content� (https://sourceforge.net/tracker2/?func=detail&aid=2540366&group_id=208647&atid=10065…
[all …]
/external/mockftpserver/MockFtpServer/
DCHANGELOG.txt36 …g of files": https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2823519&group_id=208647.
38 …" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2828362&group_id=208647. DefaultSe…
40 … port fails" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2953392&group_id=208647.
50 …nsitivity� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2696898&group_id=208647).
51 …incorrect� (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2797980&group_id=208647).
59 …cific. http://sourceforge.net/tracker/index.php?func=detail&aid=2654577&group_id=208647&atid=10065…
60 …p(). https://sourceforge.net/tracker2/index.php?func=detail&aid=2653626&group_id=208647&atid=10065…
65 …ly together� (https://sourceforge.net/tracker2/?func=detail&aid=2543193&group_id=208647&atid=10065…
66 …ory listing� (https://sourceforge.net/tracker2/?func=detail&aid=2540548&group_id=208647&atid=10065…
67 …the content� (https://sourceforge.net/tracker2/?func=detail&aid=2540366&group_id=208647&atid=10065…
[all …]

123456