Home
last modified time | relevance | path

Searched refs:gid (Results 1 - 25 of 588) sorted by relevance

12345678910>>...24

/foundation/resourceschedule/ffrt/src/dfx/watchdog/
H A Dwatchdog_util.cpp38 bool IsValidTimeout(uint64_t gid, uint64_t timeout_ms) in IsValidTimeout() argument
42 FFRT_LOGI("task gid=%llu with timeout [%llu ms] is valid", gid, timeout_ms); in IsValidTimeout()
45 FFRT_LOGE("task gid=%llu with timeout [%llu ms] is invalid", gid, timeout_ms); in IsValidTimeout()
50 void AddTaskToWatchdog(uint64_t gid) in AddTaskToWatchdog() argument
53 taskStatusMap.insert(std::make_pair(gid, SEND_COUNT_MIN)); in AddTaskToWatchdog()
56 void RemoveTaskFromWatchdog(uint64_t gid) in RemoveTaskFromWatchdog() argument
59 taskStatusMap.erase(gid); in RemoveTaskFromWatchdog()
62 bool SendTimeoutWatchdog(uint64_t gid, uint64_ argument
91 RunTimeOutCallback(uint64_t gid, uint64_t timeout) RunTimeOutCallback() argument
[all...]
H A Dwatchdog_util.h21 bool IsValidTimeout(uint64_t gid, uint64_t timeout_ms);
22 void AddTaskToWatchdog(uint64_t gid);
23 void RemoveTaskFromWatchdog(uint64_t gid);
24 bool SendTimeoutWatchdog(uint64_t gid, uint64_t timeout, uint64_t delay);
25 void RunTimeOutCallback(uint64_t gid, uint64_t timeout);
/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/
H A Dffrt_trace_recover.py51 def make_costart_fake_log(mark, pid, label, gid, tid, tname, prio):
58 tname, tid, pid, cpu_id, timestamp, tname, tid, prio, label, pid, gid, prio)
63 def make_coyield_fake_log(mark, pid, label, gid, tid, tname, prio):
70 label, pid, gid, pid, cpu_id, timestamp, label, pid, gid, prio, tname, tid, prio)
74 (label, pid, gid, pid, cpu_id, timestamp, pid) + fake_log
79 def replace_sched_switch_log(fake_log, mark, pid, label, gid, tid):
85 fake_log = " %s-%d0%d " % (label, pid, gid) + fake_log[index:]
88 fake_log = fake_log[:fake_log.index("prev_pid=")] + "prev_pid=%d0%d " % (pid, gid) + \
93 fake_log = fake_log[:fake_log.index("next_pid=")] + "next_pid=%d0%d " % (pid, gid)
[all...]
H A Dffrt_trace_process.py221 def generate_counter_info(suffix, task_records, next_status, gid, pid_counters_dict, pid):
226 prev_counter = task_records[gid]["status"] + "_task"
239 task_records[gid]["status"] = next_status
292 gid = task_marker[1]
296 if gid not in task_records.keys():
298 task_records[gid] = {
299 "gid": gid,
319 infos = generate_counter_info(suffix, task_records, "pending", gid, pid_counters_dict, pid)
328 if gid i
[all...]
/foundation/resourceschedule/ffrt/src/dfx/trace/
H A Dffrt_trace.h237 #define FFRT_SUBMIT_MARKER(tag, gid) \
239 FFRT_TRACE_ASYNC_END("P", gid); \
241 #define FFRT_READY_MARKER(gid) \
243 FFRT_TRACE_ASYNC_END("R", gid); \
245 #define FFRT_BLOCK_MARKER(gid) \
247 FFRT_TRACE_ASYNC_END("B", gid); \
249 #define FFRT_TASKDONE_MARKER(gid) \
251 FFRT_TRACE_ASYNC_END("F", gid); \
253 #define FFRT_FAKE_TRACE_MARKER(gid) \
255 FFRT_TRACE_ASYNC_END("Co", gid); \
[all...]
/third_party/skia/src/pdf/
H A DSkPDFGlyphUse.h22 void set(SkGlyphID gid) { fBitSet.set(this->toCode(gid)); } in set() argument
23 bool has(SkGlyphID gid) const { return fBitSet.test(this->toCode(gid)); } in has()
39 uint16_t toCode(SkGlyphID gid) const { in toCode()
40 if (gid == 0 || fFirstNonZero == 1) { in toCode()
41 return gid; in toCode()
43 SkASSERT(gid >= fFirstNonZero && gid <= fLastGlyph); in toCode()
44 return gid in toCode()
[all...]
H A DSkPDFFont.h60 bool hasGlyph(SkGlyphID gid) { in hasGlyph() argument
61 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
65 SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const { in glyphToPDFFontEncoding()
66 if (this->multiByteGlyphs() || gid == 0) { in glyphToPDFFontEncoding()
67 return gid; in glyphToPDFFontEncoding()
69 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
71 return gid in glyphToPDFFontEncoding()
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dtest-ot-glyphname.cc53 for (hb_codepoint_t gid = 0; gid < num_glyphs; gid++) in main()
57 if (hb_font_get_glyph_name (font, gid, buf, buf_size)) in main()
62 if (gid == gid_inv) in main()
64 printf ("%u <-> %s\n", gid, buf); in main()
68 printf ("%u -> %s -> %u\n", gid, buf, gid_inv); in main()
74 printf ("%u -> %s -> ?\n", gid, buf); in main()
80 printf ("%u -> ?\n", gid); in main()
H A Dhb-ot-var-hvar-table.hh60 hb_codepoint_t gid = (hb_codepoint_t) hb_min (index_map.get_map_count (), plan->num_output_glyphs ()); in init() local
67 for (; gid > 0; gid--) in init()
70 if (!plan->old_gid_for_new_gid (gid - 1, &old_gid)) in init()
82 last_gid = gid; in init()
87 last_gid = gid; in init()
92 for (gid = 0; gid < map_count; gid++) in init()
95 if (plan->old_gid_for_new_gid (gid, in init()
[all...]
/third_party/pulseaudio/src/daemon/
H A Dcaps.c50 gid_t gid; in pa_drop_root() local
54 gid = getgid(); in pa_drop_root()
58 pa_assert_se(setresgid(gid, gid, gid) >= 0); in pa_drop_root()
61 pa_assert_se(setregid(gid, gid) >= 0); in pa_drop_root()
65 pa_assert_se(setgid(gid) >= 0); in pa_drop_root()
66 pa_assert_se(setegid(gid) >= 0); in pa_drop_root()
71 pa_assert_se(getgid() == gid); in pa_drop_root()
[all...]
/third_party/ltp/testcases/kernel/syscalls/setregid/
H A Dsetregid01.c27 static gid_t gid, egid; variable
36 {&neg_one, &egid, "Change effective to effective gid" },
37 {&gid, &neg_one, "Change real to real gid" },
38 {&neg_one, &gid, "Change effective to real gid" },
39 {&gid, &gid, "Change real and effective both gids to current real gid" }
51 gid in setup()
[all...]
/third_party/ltp/testcases/kernel/syscalls/setfsgid/
H A Dsetfsgid03.c49 gid_t gid; in main() local
58 gid = 1; in main()
59 while (!getgrgid(gid)) in main()
60 gid++; in main()
62 GID16_CHECK(gid, setfsgid, cleanup); in main()
64 TEST(SETFSGID(cleanup, gid)); in main()
72 if (TEST_RETURN == gid) { in main()
75 TEST_RETURN, gid); in main()
H A Dsetfsgid02.c23 static gid_t gid; variable
32 GID16_CHECK(gid, setfsgid); in run()
41 * the gid for privileged user, and have not changed the gid in run()
45 TEST(SETFSGID(gid)); in run()
52 pre_gid = gid; in run()
53 gid++; in run()
65 gid = 1; in setup()
/third_party/toybox/toys/pending/
H A Dgroupadd.c30 long gid;
43 if (TT.gid > INT_MAX) error_exit("gid should be less than '%d' ", INT_MAX); in new_group()
44 if (getgrgid(TT.gid)) error_exit("group '%ld' is in use", TT.gid); in new_group()
46 if (FLAG(S)) TT.gid = CFG_TOYBOX_UID_SYS; in new_group()
47 else TT.gid = CFG_TOYBOX_UID_USR; in new_group()
48 //find unused gid in new_group()
49 while (getgrgid(TT.gid)) TT.gid in new_group()
[all...]
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
H A Dmsgctl01.c22 static gid_t gid; variable
91 if (buf.msg_perm.gid == gid) { in verify_msgctl()
92 tst_res(TPASS, "msg_perm.gid = %u", (unsigned)gid); in verify_msgctl()
94 tst_res(TFAIL, "msg_perm.gid = %u, expected %u", in verify_msgctl()
95 (unsigned)buf.msg_perm.gid, (unsigned)gid); in verify_msgctl()
105 if (buf.msg_perm.cgid == gid) { in verify_msgctl()
106 tst_res(TPASS, "msg_perm.cgid = %u", (unsigned)gid); in verify_msgctl()
[all...]
/foundation/resourceschedule/ffrt/src/tm/
H A Dqueue_task.cpp28 label = handler->GetName() + "_" + attr->name_ + "_" + std::to_string(gid); in QueueTask()
30 label = handler->GetName() + "_" + std::to_string(gid); in QueueTask()
46 FFRT_LOGD("ctor task [gid=%llu], delay=%lluus, type=%lu, prio=%d", gid, delay_, type, prio_); in QueueTask()
51 FFRT_LOGD("dtor task [gid=%llu]", gid); in ~QueueTask()
65 FFRT_SERIAL_QUEUE_TASK_FINISH_MARKER(gid); in Notify()
75 FFRT_LOGD("Execute stask[%lu], name[%s]", gid, label.c_str()); in Execute()
77 FFRT_LOGE("task [gid=%llu] is complete, no need to execute again", gid); in Execute()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_query.c64 uint8_t gid; /* group-id */ member
89 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid];
90 unsigned counter_idx = counters_per_group[entry->gid]++;
103 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid];
104 unsigned counter_idx = counters_per_group[entry->gid]++;
130 const struct fd_perfcntr_group *g = &screen->perfcntr_groups[entry->gid];
131 unsigned counter_idx = counters_per_group[entry->gid]++;
195 entry->gid = pq->group_id; in fd2_create_batch_query()
207 if (pq->group_id == entry->gid) in fd2_create_batch_query()
211 if (counters_per_group[entry->gid] > in fd2_create_batch_query()
[all...]
/third_party/cups-filters/fontembed/
H A Dembed_sfnt.c222 // TODO: FIXME: gid vs. char ... NOTE: not called in multi_byte mode...
223 // Adobe does: char --MacRoman/WinAnsi--> name --AGL--> unicode --cmap(3,1) --> gid only avoidable by setting 'symbol'+custom(1,0)/(3,0)
233 for (iA=0;iA<len;iA++) { // iA is a "gid" when in multi_byte mode... in emb_otf_get_pdf_widths()
234 const int gid=(encoding)?encoding[iA]:otf_from_unicode(otf,iA); // TODO in emb_otf_get_pdf_widths() local
235 if (bit_check(glyphs,gid)) { in emb_otf_get_pdf_widths()
271 const int gid=(encoding)?encoding[first]:otf_from_unicode(otf,first); // TODO in emb_otf_get_pdf_widths() local
272 if (gid>=otf->numGlyphs) { in emb_otf_get_pdf_widths()
278 if ( (!glyphs)||(bit_check(glyphs,gid)) ) { in emb_otf_get_pdf_widths()
279 ret->widths[iA]=get_width_fast(otf,gid)*1000/otf->unitsPerEm; in emb_otf_get_pdf_widths()
288 static int emb_otf_pdf_glyphwidth(void *context,int gid) // {{{ in emb_otf_pdf_glyphwidth() argument
322 emb_otf_get_post_name(const char *post,unsigned short gid) emb_otf_get_post_name() argument
372 get_glyphname(const char *post,unsigned short *to_unicode,int charcode,unsigned short gid) get_glyphname() argument
569 const int gid=(encoding)?encoding[iA]:otf_from_unicode(otf,iA); emb_otf_ps() local
655 const int gid=(encoding)?encoding[iA]:otf_from_unicode(otf,iA); emb_otf_ps() local
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/
H A Dfile_utils_test.cpp42 int32_t ChOwn(const std::string &path, uid_t uid, gid_t gid);
119 gid_t gid = 01; in HWTEST_F() local
120 int32_t ret = ChOwn(PATH_CHOWN, uid, gid); in HWTEST_F()
127 EXPECT_TRUE(st.st_gid == gid); in HWTEST_F()
130 gid = 00; in HWTEST_F()
131 ret = ChOwn(PATH_CHOWN, uid, gid); in HWTEST_F()
137 EXPECT_TRUE(st.st_gid == gid); in HWTEST_F()
199 gid_t gid = 01; in HWTEST_F() local
203 bool ret = PrepareDir(PATH_MKDIR, mode, uid, gid); in HWTEST_F()
225 gid_t gid in HWTEST_F() local
251 gid_t gid = 01; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/
H A Dranges.cpp27 singles_[range.start] = range.gid; in AddRange()
39 for (const auto &[start, end, gid] : ranges_) { in GetGlyphId()
41 return codepoint + gid; in GetGlyphId()
50 for (const auto &[start, end, gid] : ranges_) { in Dump()
57 for (const auto &[codepoint, gid] : singles_) { in Dump()
60 << ": glyphid " << std::dec << (codepoint + gid) % (1 << 16); in Dump()
/third_party/ltp/testcases/kernel/syscalls/chown/
H A Dchown05.c12 * specified by path to any numeric owner(uid)/group(gid) values when invoked
26 gid_t gid; member
40 gid_t expect_gid = tc[i].gid == (uid_t)-1 ? tc[i - 1].gid : tc[i].gid; in run()
42 TST_EXP_PASS(CHOWN(TESTFILE, tc[i].uid, tc[i].gid), "chown(%s, %d, %d), %s", in run()
43 TESTFILE, tc[i].uid, tc[i].gid, tc[i].desc); in run()
/third_party/ltp/testcases/kernel/syscalls/fchown/
H A Dfchown05.c12 * specified by file descriptor to any numeric owner(uid)/group(gid) values
28 gid_t gid; member
42 gid_t expect_gid = tc[i].gid == (uid_t)-1 ? tc[i - 1].gid : tc[i].gid; in run()
44 TST_EXP_PASS(FCHOWN(fd, tc[i].uid, tc[i].gid), "fchown(%i, %i, %i), %s", in run()
45 fd, tc[i].uid, tc[i].gid, tc[i].desc); in run()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dsetregid.c37 gid_t gid = getgid(); in setregid_0100() local
39 if (gid != srgid || egid != segid) { in setregid_0100()
40 t_error("%s failed: gid = %d\n", __func__, gid); in setregid_0100()
67 gid_t gid = getgid(); in setregid_0200() local
69 if (gid != srgid || egid != segid) { in setregid_0200()
70 t_error("%s failed: gid = %d\n", __func__, gid); in setregid_0200()
/third_party/mesa3d/src/mesa/main/
H A Dperformance_monitor.c74 int gid, cid; in init_perf_monitor() local
79 for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { in init_perf_monitor()
80 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; in init_perf_monitor()
82 if (m->ActiveGroups[gid] > g->MaxActiveCounters) { in init_perf_monitor()
91 num_active_counters += m->ActiveGroups[gid]; in init_perf_monitor()
93 max_batch_counters += m->ActiveGroups[gid]; in init_perf_monitor()
111 for (gid = 0; gid < ct in init_perf_monitor()
298 int gid, cid; get_perf_monitor_result() local
341 int gid; _mesa_free_perfomance_monitor_groups() local
359 int gid, cid; init_groups() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h64 #define GID16_CHECK(gid, sys_name) ({ \
65 if (!GID_SIZE_CHECK(gid)) { \
67 "gid %d of %s is too large for testing 16-bit " \
68 "version of %s()", gid, #gid, #sys_name); \
92 int SETGID(GID_T gid) in SETGID() argument
94 TST_CREATE_SYSCALL(setgid, gid); in SETGID()
117 int SETFSGID(GID_T gid) in SETFSGID() argument
119 TST_CREATE_SYSCALL(setfsgid, gid); in SETFSGID()

Completed in 9 milliseconds

12345678910>>...24