Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 25 of 110) sorted by relevance

12345

/dragonfly/stand/lib/
H A Denvironment.c53 for (ev = environ; ev != NULL; ev = ev->ev_next) in env_getenv()
56 return(ev); in env_getenv()
79 return(ev->ev_sethook(ev, flags, value)); in env_setenv()
93 ev->ev_prev = NULL; in env_setenv()
94 ev->ev_next = NULL; in env_setenv()
104 environ = ev; in env_setenv()
114 environ = ev; in env_setenv()
187 err = ev->ev_unsethook(ev); in unsetenv()
199 ev->ev_prev->ev_next = ev->ev_next; in env_discard()
201 ev->ev_next->ev_prev = ev->ev_prev; in env_discard()
[all …]
/dragonfly/contrib/libedit/src/
H A Dhistory.c257 *ev = h->cursor->ev; in history_def_first()
277 *ev = h->cursor->ev; in history_def_last()
306 *ev = h->cursor->ev; in history_def_next()
332 *ev = h->cursor->ev; in history_def_prev()
347 *ev = h->cursor->ev; in history_def_curr()
436 *ev = h->cursor->ev; in history_def_add()
450 ev->str = Strdup(h->cursor->ev.str); in history_deldata_nth()
451 ev->num = h->cursor->ev.num; in history_deldata_nth()
470 ev->str = Strdup(h->cursor->ev.str); in history_def_del()
471 ev->num = h->cursor->ev.num; in history_def_del()
[all …]
H A Dreadline.c309 HistEvent ev; in rl_initialize() local
442 HistEvent ev; in readline() local
579 HistEvent ev; in get_history_event() local
649 num = ev.num; in get_history_event()
959 ev = -1; in _history_expand_command()
981 return ev; in _history_expand_command()
1238 HistEvent ev; in stifle_history() local
1264 HistEvent ev; in unstifle_history() local
1426 HistEvent ev; in read_history() local
1449 HistEvent ev; in write_history() local
[all …]
/dragonfly/sys/dev/misc/efirt/
H A Defidev.c107 error = copyin(ev->name, name, ev->namesize); in efidev_ioctl()
115 error = efi_var_get(name, &ev->vendor, &ev->attrib, in efidev_ioctl()
119 error = copyout(data, ev->data, ev->datasize); in efidev_ioctl()
127 ev->data = NULL; in efidev_ioctl()
141 error = copyin(ev->name, name, ev->namesize); in efidev_ioctl()
146 error = efi_var_nextname(&ev->namesize, name, &ev->vendor); in efidev_ioctl()
148 error = copyout(name, ev->name, ev->namesize); in efidev_ioctl()
150 ev->name = NULL; in efidev_ioctl()
168 error = copyin(ev->data, data, ev->datasize); in efidev_ioctl()
172 error = copyin(ev->name, name, ev->namesize); in efidev_ioctl()
[all …]
/dragonfly/usr.bin/evtranalyze/
H A Devtranalyze.c698 c->td = ev->td; in ctxsw_prepare_event()
699 c->ts = ev->ts; in ctxsw_prepare_event()
1043 ev.td ? ev.td->comm : "unknown", in cmd_show()
1044 (uintmax_t)(ev.ts - last_ts), ev.cpu, in cmd_show()
1048 ev.td ? ev.td->comm : "unknown", in cmd_show()
1049 (ev.ts - last_ts) / freq, ev.cpu, in cmd_show()
1053 if (ev.fmt) { in cmd_show()
1143 "integer variable; ignored\n", ev->ts, ev->cpu, in stats_integer_each()
1149 (double)ev->ts, (double)ev->stmt.val->num); in stats_integer_each()
1275 "with a data constructor; ignored\n", ev->ts, ev->cpu, in stats_completion_each()
[all …]
/dragonfly/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c122 _nc_event *ev = evl->events[n]; in _nc_eventlist_timeout() local
259 _nc_event *ev = evl->events[n]; in _nc_timed_wait() local
261 if (ev->type == _NC_EVENT_FILE in _nc_timed_wait()
263 fds[count].fd = ev->data.fev.fd; in _nc_timed_wait()
283 if (ev->type == _NC_EVENT_FILE in _nc_timed_wait()
285 ev->data.fev.result = 0; in _nc_timed_wait()
365 if (ev->type == _NC_EVENT_FILE in _nc_timed_wait()
367 FD_SET(ev->data.fev.fd, &set); in _nc_timed_wait()
415 if (ev->type == _NC_EVENT_FILE in _nc_timed_wait()
417 ev->data.fev.result = 0; in _nc_timed_wait()
[all …]
/dragonfly/lib/libevtr/
H A Devtr.c406 vsnprintf(buf, len, ev->fmt, __DECONST(void *, ev->fmtdata)); in evtr_event_data()
794 if (!ev->fmt || (ev->fmt[0] != '#')) in parse_callback()
801 memcpy(&q->pending_event, ev, sizeof(*ev)); in parse_callback()
1220 if (ev->file) { in evtr_dump_probe()
1224 if (ev->func) { in evtr_dump_probe()
1228 if (ev->fmt) { in evtr_dump_probe()
1234 .ts = ev->ts, in evtr_dump_probe()
1242 memcpy(buf, ev->fmtdata, ev->fmtdatalen); in evtr_dump_probe()
1617 memset(ev, '\0', sizeof(*ev)); in evtr_load_probe()
1625 ev->td = NULL; in evtr_load_probe()
[all …]
H A Dktrfmt.y307 ctx->ev->type = EVTR_TYPE_STMT;
308 ctx->ev->stmt.var = $1;
309 ctx->ev->stmt.val = &$3->val;
310 ctx->ev->stmt.op = EVTR_OP_SET;
314 ctx->ev->type = EVTR_TYPE_STMT;
315 ctx->ev->stmt.var = $1;
316 ctx->ev->stmt.val = &$3->val;
317 ctx->ev->stmt.op = EVTR_OP_SET;
337 parse_string(evtr_event_t ev, struct symtab *symtab, const char *str,
345 ctx.ev = ev;
[all …]
/dragonfly/contrib/mpc/src/
H A Dsqr.c65 mpz_t eu, ev; in mpfr_fsss() local
77 mpz_init (ev); in mpfr_fsss()
81 mpz_mul_2exp (ev, ev, 1); in mpfr_fsss()
89 mpz_sub_ui (ev, ev, (unsigned long int) (-mpfr_get_exp (v))); in mpfr_fsss()
103 mpz_sub (ev, ev, eu); in mpfr_fsss()
109 mpz_sub_ui (ev, ev, (long int) emax); in mpfr_fsss()
112 mpz_set (eu, ev); in mpfr_fsss()
130 mpz_sub (ev, ev, eu); in mpfr_fsss()
135 mpz_add_ui (ev, ev, (unsigned long int) (-emin)); in mpfr_fsss()
138 mpz_set (eu, ev); in mpfr_fsss()
[all …]
H A Dmul.c218 mpz_t eu, ev; in mpfr_fmma() local
234 mpz_init (ev); in mpfr_fmma()
238 mpz_add_si (ev, ev, (long int) ed); in mpfr_fmma()
248 mpz_sub_ui (ev, ev, (unsigned long int) (-mpfr_get_exp (v))); in mpfr_fmma()
263 mpz_sub (ev, ev, eu); in mpfr_fmma()
269 mpz_sub_ui (ev, ev, (long int) emax); in mpfr_fmma()
272 mpz_set (eu, ev); in mpfr_fmma()
290 mpz_sub (ev, ev, eu); in mpfr_fmma()
295 mpz_add_ui (ev, ev, (unsigned long int) (-emin)); in mpfr_fmma()
298 mpz_set (eu, ev); in mpfr_fmma()
[all …]
/dragonfly/test/stress/stress2/misc/
H A Dkevent5.sh73 struct kevent ev[2];
83 EV_SET(&ev[n], fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_CLEAR,
87 if (kevent(kq, ev, n, NULL, 0, NULL) < 0)
90 memset(&ev, 0, sizeof(ev));
91 n = kevent(kq, NULL, 0, ev, 1, NULL);
105 EV_SET(&ev[n], fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_CLEAR,
109 if (kevent(kq, ev, n, NULL, 0, NULL) < 0)
112 memset(&ev, 0, sizeof(ev));
113 n = kevent(kq, NULL, 0, ev, 1, NULL);
H A Dkevent.sh75 struct kevent ev[3];
81 EV_SET(&ev[n], fd1[1], EVFILT_WRITE,
84 EV_SET(&ev[n], fd2[1], EVFILT_WRITE,
87 EV_SET(&ev[n], fd3[1], EVFILT_WRITE,
91 if (kevent(kq, ev, n, NULL, 0, NULL) < 0)
103 EV_SET(&ev[n], fd1[1], EVFILT_WRITE,
106 if (kevent(kq, ev, n, NULL, 0, NULL) < 0)
H A Dkevent2.sh74 struct kevent ev[3];
81 EV_SET(&ev[n], fd1[1], EVFILT_WRITE,
84 EV_SET(&ev[n], fd2[1], EVFILT_WRITE,
87 EV_SET(&ev[n], fd3[1], EVFILT_WRITE,
91 if (kevent(kq, ev, n, NULL, 0, NULL) < 0)
103 EV_SET(&ev[n], fd1[1], EVFILT_WRITE,
108 if (kevent(kq, ev, n, NULL, 0, &ts) < 0)
/dragonfly/sys/kern/
H A Dkern_udev.c512 ev->ev.ev_dict = dict_copy; in udev_event_insert()
513 ev->ev.ev_type = ev_type; in udev_event_insert()
540 ev->ev.ev_dict != NULL) { in udev_clean_events_locked()
561 if ((error = _udev_dict_set_int(dict, "evtype", ev->ev.ev_type))) { in udev_event_externalize()
571 prop_object_release(ev->ev.ev_dict); in udev_event_externalize()
800 while (ev && ev->ev.ev_dict == NULL) in udev_dev_filter_read()
801 ev = TAILQ_NEXT(ev, link); in udev_dev_filter_read()
802 if (ev) in udev_dev_filter_read()
839 while (ev && ev->ev.ev_dict == NULL) in udev_dev_read()
840 ev = TAILQ_NEXT(ev, link); in udev_dev_read()
[all …]
/dragonfly/usr.sbin/fstyp/
H A Dexfat.c247 fat_offset_sect = le32toh(ev->ev_fat_offset); in exfat_fat_next()
267 cluster_offset_sect = le32toh(ev->ev_cluster_offset); in exfat_find_label()
268 rootdir_cluster = le32toh(ev->ev_rootdir_cluster); in exfat_find_label()
269 sects_per_clust = (1u << ev->ev_log_sect_per_clust); in exfat_find_label()
320 struct exfat_vbr *ev; in fstyp_exfat() local
328 ev = (struct exfat_vbr *)read_buf(fp, 0, 512); in fstyp_exfat()
329 if (ev == NULL || strncmp(ev->ev_fsname, "EXFAT ", 8) != 0) in fstyp_exfat()
332 if (ev->ev_log_bytes_per_sect < 9 || ev->ev_log_bytes_per_sect > 12) { in fstyp_exfat()
337 bytespersec = (1u << ev->ev_log_bytes_per_sect); in fstyp_exfat()
359 exfat_find_label(fp, ev, bytespersec, label, size); in fstyp_exfat()
[all …]
/dragonfly/usr.bin/ktrdump/
H A Dktrdump.c364 ev.ts = 0; in dump_devinfo()
365 ev.line = 0; in dump_devinfo()
366 ev.file = NULL; in dump_devinfo()
367 ev.cpu = -1; in dump_devinfo()
368 ev.func = NULL; in dump_devinfo()
369 ev.fmt = fmt; in dump_devinfo()
404 bzero(&ev, sizeof(ev)); in dump_machine_info()
413 bzero(&ev, sizeof(ev)); in dump_machine_info()
415 ev.cpu = i; in dump_machine_info()
662 ev.cpu = n; in dump_callback()
[all …]
/dragonfly/contrib/nvi2/vi/
H A Dv_replace.c44 EVENT ev; in v_replace() local
100 next: if (v_event_get(sp, &ev, 0, 0)) in v_replace()
103 switch (ev.e_event) { in v_replace()
110 if (ev.e_value == K_VLNEXT) { in v_replace()
114 if (ev.e_value == K_ESCAPE) in v_replace()
117 vip->rlast = ev.e_c; in v_replace()
118 vip->rvalue = ev.e_value; in v_replace()
132 if (vs_repaint(sp, &ev)) in v_replace()
136 v_event_err(sp, &ev); in v_replace()
/dragonfly/stand/boot/efi/libefi/
H A Ddelay.c36 static EFI_EVENT ev = 0; in delay() local
39 if (!ev) { in delay()
40 if (BS->CreateEvent(EVT_TIMER, TPL_APPLICATION, 0, 0, &ev) in delay()
45 BS->SetTimer(ev, TimerRelative, usecs * 10); in delay()
46 BS->WaitForEvent(1, &ev, &junk); in delay()
/dragonfly/games/trek/
H A Dschedule.c141 int ev; in xsched() local
144 ev = ev1; in xsched()
145 when = -Param.eventdly[ev] * Param.time * log(franf()) / factor; in xsched()
146 return (schedule(ev, when, x, y, z)); in xsched()
160 int ev; in xresched() local
164 ev = ev1; in xresched()
166 when = -Param.eventdly[ev] * Param.time * log(franf()) / factor; in xresched()
/dragonfly/contrib/nvi2/ex/
H A Dex_txt.c55 EVENT ev; in ex_txt() local
111 if (v_event_get(sp, &ev, 0, 0)) in ex_txt()
115 switch (ev.e_event) { in ex_txt()
134 v_event_err(sp, &ev); in ex_txt()
146 switch (ev.e_value) { in ex_txt()
157 if (!F_ISSET(&ev.e_ch, CH_MAPPED)) in ex_txt()
249 tp->lb[0] = ev.e_c; in ex_txt()
328 ins_ch: if (LF_ISSET(TXT_BEAUTIFY) && ISCNTRL(ev.e_c) && in ex_txt()
329 ev.e_value != K_FORMFEED && ev.e_value != K_TAB) in ex_txt()
332 tp->lb[tp->len++] = ev.e_c; in ex_txt()
/dragonfly/stand/boot/efi/loader/arch/x86_64/
H A Dframebuffer.c271 char *ev, *p; in efifb_from_uga() local
310 ev = getenv("smbios.system.maker"); in efifb_from_uga()
311 if (ev != NULL && !strcmp(ev, "Apple Inc.")) { in efifb_from_uga()
312 ev = getenv("smbios.system.product"); in efifb_from_uga()
313 if (ev != NULL && !strcmp(ev, "iMac7,1")) { in efifb_from_uga()
321 } else if (ev != NULL && !strcmp(ev, "MacBook3,1")) { in efifb_from_uga()
361 ev = getenv("hw.efifb.address"); in efifb_from_uga()
362 if (ev == NULL) { in efifb_from_uga()
397 efifb->fb_addr = strtoul(ev, &p, 0); in efifb_from_uga()
402 ev = getenv("hw.efifb.stride"); in efifb_from_uga()
[all …]
/dragonfly/usr.bin/tail/
H A Dforward.c62 struct kevent *ev; variable
294 EV_SET(&ev[n], fileno(file->fp), EVFILT_VNODE, in set_events()
299 EV_SET(&ev[n], fileno(file->fp), EVFILT_READ, in set_events()
304 if (kevent(kq, ev, n, NULL, 0, &ts) < 0) in set_events()
338 ev = malloc(n * sizeof(struct kevent)); in follow()
339 if (ev == NULL) in follow()
381 n = kevent(kq, NULL, 0, ev, 1, Fflag ? &ts : NULL); in follow()
387 } else if (ev->filter == EVFILT_READ && ev->data < 0) { in follow()
389 if (lseek(ev->ident, 0, SEEK_END) == -1) { in follow()
/dragonfly/contrib/wpa_supplicant/src/tls/
H A Dtlsv1_client_read.c282 union tls_event_data ev; in tls_peer_cert_event() local
292 os_memset(&ev, 0, sizeof(ev)); in tls_peer_cert_event()
305 ev.peer_cert.hash = hash; in tls_peer_cert_event()
311 ev.peer_cert.depth = depth; in tls_peer_cert_event()
326 union tls_event_data ev; in tls_cert_chain_failure_event() local
332 os_memset(&ev, 0, sizeof(ev)); in tls_cert_chain_failure_event()
333 ev.cert_fail.depth = depth; in tls_cert_chain_failure_event()
520 os_memset(&ev, 0, sizeof(ev)); in tls_process_certificate()
537 union tls_event_data ev; in tls_process_certificate() local
540 os_memset(&ev, 0, sizeof(ev)); in tls_process_certificate()
[all …]
/dragonfly/share/timedef/
H A Det_EE.ISO8859-15.src44 p�hap�ev
45 esmasp�ev
46 teisip�ev
47 kolmap�ev
48 neljap�ev
50 laup�ev
H A Det_EE.UTF-8.src44 pühapäev
45 esmaspäev
46 teisipäev
47 kolmapäev
48 neljapäev
50 laupäev

12345