Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 25 of 156) sorted by relevance

1234567

/freebsd/sys/contrib/ck/include/
H A Dck_brlock.h142 ck_brlock_read_register(struct ck_brlock *br, struct ck_brlock_reader *reader) in ck_brlock_read_register() argument
145 reader->n_readers = 0; in ck_brlock_read_register()
146 reader->previous = NULL; in ck_brlock_read_register()
151 reader->next = ck_pr_load_ptr(&br->readers); in ck_brlock_read_register()
152 if (reader->next != NULL) in ck_brlock_read_register()
153 reader->next->previous = reader; in ck_brlock_read_register()
154 ck_pr_store_ptr(&br->readers, reader); in ck_brlock_read_register()
161 ck_brlock_read_unregister(struct ck_brlock *br, struct ck_brlock_reader *reader) in ck_brlock_read_unregister() argument
166 if (reader->next != NULL) in ck_brlock_read_unregister()
167 reader->next->previous = reader->previous; in ck_brlock_read_unregister()
[all …]
/freebsd/contrib/libfido2/src/
H A Dpcsc.c76 char *reader = NULL, *buf = NULL; in get_reader() local
94 reader = strdup(name); in get_reader()
103 return reader; in get_reader()
128 copy_info(fido_dev_info_t *di, SCARDCONTEXT ctx, const char *reader, size_t idx) in copy_info() argument
139 if ((s = SCardConnect(ctx, reader, SCARD_SHARE_SHARED, in copy_info()
158 (di->product = strdup(reader)) == NULL) in copy_info()
242 char *reader = NULL; in fido_pcsc_open() local
259 if ((reader = get_reader(ctx, path)) == NULL) { in fido_pcsc_open()
263 if ((s = SCardConnect(ctx, reader, SCARD_SHARE_SHARED, in fido_pcsc_open()
285 free(reader); in fido_pcsc_open()
/freebsd/contrib/lua/src/
H A Dlzio.c28 buff = z->reader(L, z->data, &size); in luaZ_fill()
38 void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) { in luaZ_init() argument
40 z->reader = reader; in luaZ_init()
H A Dlzio.h47 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader,
58 lua_Reader reader; /* reader function */ member
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlzio.c24 buff = z->reader(L, z->data, &size); in luaZ_fill()
34 void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) { in luaZ_init() argument
36 z->reader = reader; in luaZ_init()
H A Dlzio.h46 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader,
57 lua_Reader reader; /* reader function */ member
/freebsd/contrib/sendmail/libsmutil/
H A Dt-lockfile.c357 int ch, delay, r, status, flags, shared, nb, reader, writer; local
365 shared = nb = noio = reader = writer = chk = 0;
388 reader = 1;
411 if (0 == reader && 0 == writer && (fpid = fork()) < 0)
418 if (reader || fpid == 0)
/freebsd/crypto/openssl/apps/lib/
H A Dapps_ui.c29 int (*reader)(UI *ui, UI_STRING *uis) = NULL; in ui_read() local
54 reader = UI_method_get_reader(ui_base_method); in ui_read()
55 if (reader != NULL) in ui_read()
56 return reader(ui, uis); in ui_read()
/freebsd/contrib/byacc/
H A Ddescrip.mms14 reader.obj, \
49 reader.obj : reader.c
H A DMakefile.old22 reader.o \
39 reader.c \
80 reader.o: defs.h
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dtst.DestructWithFunction.d.ksh41 reader() function
57 reader &
H A Dtst.ZeroFunctionProbes.d.ksh42 reader() function
58 reader &
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp323 BinaryStreamReader reader(data, llvm::endianness::little); in parseCallGraph() local
324 while (!reader.empty()) { in parseCallGraph()
327 if (Error err = reader.readInteger(fromIndex)) in parseCallGraph()
329 if (Error err = reader.readInteger(toIndex)) in parseCallGraph()
331 if (Error err = reader.readInteger(count)) in parseCallGraph()
428 EhReader reader(this, data, /*dataOff=*/0); in splitEhFrames() local
430 while (off < reader.size()) { in splitEhFrames()
432 uint64_t length = reader.readLength(&off); in splitEhFrames()
1238 static CIE parseCIE(const InputSection *isec, const EhReader &reader, in parseCIE() argument
1247 uint8_t version = reader.readByte(&off); in parseCIE()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DUI_create_method.pod29 int (*reader) (UI *ui, UI_STRING *uis));
80 =item a reader
98 Only the flusher or the reader are expected to return -1.
102 Regarding the writer and the reader, don't assume the former should
106 For example, a typical tty reader wouldn't write the prompts in the
107 write, but would rather do so in the reader, because of the sequential
113 results in some temporary buffer, and finally have the reader just
139 For every UI String associated with the UI, call the reader function
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dst,sti-asoc-card.txt16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi",
36 "rx" for "st,sti-uni-reader" compatibility
88 sti_uni_reader1: sti-uni-reader@8d84000 {
89 compatible = "st,stih407-uni-reader-hdmi";
/freebsd/tools/test/stress2/testcases/socket/
H A Dsocket.c49 reader(void) { in reader() function
110 reader(); in test()
/freebsd/sys/vm/
H A Dvm_map.h445 * Find the successor of a map_entry, using a reader to dereference pointers. in vm_map_entry_read_succ() argument
446 * '*clone' is a copy of a vm_map entry. 'reader' is used to copy a map entry in vm_map_entry_read_succ()
455 vm_map_entry_reader reader) in vm_map_entry_read_succ()
462 if (!reader(token, after, clone)) in vm_map_entry_read_succ()
465 if (!reader(token, backup, clone)) in vm_map_entry_read_succ()
471 if (!reader(token, backup, clone))
475 if (!reader(token, after, clone))
/freebsd/contrib/ntp/ntpd/
H A Dntp_io.c591 struct asyncio_reader *reader; in new_asyncio_reader() local
593 reader = emalloc_zero(sizeof(*reader)); in new_asyncio_reader()
594 reader->fd = INVALID_SOCKET; in new_asyncio_reader()
596 return reader; in new_asyncio_reader()
604 struct asyncio_reader *reader in delete_asyncio_reader() argument
607 free(reader); in delete_asyncio_reader()
615 struct asyncio_reader * reader, in add_asyncio_reader() argument
618 LINK_SLIST(asyncio_reader_list, reader, link); in add_asyncio_reader()
619 add_fd_to_list(reader->fd, type); in add_asyncio_reader()
627 struct asyncio_reader *reader in remove_asyncio_reader() argument
[all …]
/freebsd/tools/test/stress2/testcases/mkfifo/
H A Dmkfifo.c46 reader(void) { in reader() function
156 reader(); in test()
/freebsd/tools/test/stress2/misc/
H A Dnamecache.sh161 reader(void) {
204 reader(); function
H A Doverlap.sh106 reader(void *arg __unused) {
151 if ((ret = pthread_create(&rp, NULL, reader, NULL)) != 0)
H A Dmkfifo6.sh77 reader(void)
147 reader(); function
H A Dmkfifo7.sh78 reader(void)
167 reader(); function
H A Dmkfifo5.sh77 reader(void)
178 reader(); function
/freebsd/tools/test/stress2/testcases/tcp/
H A Dtcp.c51 reader(void) { in reader() function
178 reader(); in test()

1234567