Home
last modified time | relevance | path

Searched refs:ud (Results 1 – 25 of 101) sorted by relevance

12345

/freebsd/contrib/libucl/src/
H A Ducl_emitter_utils.c109 func->ucl_emitter_append_character ('"', 1, func->ud); in ucl_elt_string_write_json()
116 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_json()
120 func->ucl_emitter_append_len ("\\n", 2, func->ud); in ucl_elt_string_write_json()
123 func->ucl_emitter_append_len ("\\r", 2, func->ud); in ucl_elt_string_write_json()
126 func->ucl_emitter_append_len ("\\b", 2, func->ud); in ucl_elt_string_write_json()
129 func->ucl_emitter_append_len ("\\t", 2, func->ud); in ucl_elt_string_write_json()
132 func->ucl_emitter_append_len ("\\f", 2, func->ud); in ucl_elt_string_write_json()
135 func->ucl_emitter_append_len ("\\u000B", 6, func->ud); in ucl_elt_string_write_json()
138 func->ucl_emitter_append_len ("\\\\", 2, func->ud); in ucl_elt_string_write_json()
141 func->ucl_emitter_append_character (' ', 1, func->ud); in ucl_elt_string_write_json()
[all …]
H A Ducl_emitter.c100 func->ucl_emitter_append_character (' ', tabs * 4, func->ud); in ucl_add_tabs()
124 func->ucl_emitter_append_len (obj->key, obj->keylen, func->ud); in ucl_emitter_print_key()
128 func->ucl_emitter_append_len (" = ", 3, func->ud); in ucl_emitter_print_key()
131 func->ucl_emitter_append_character (' ', 1, func->ud); in ucl_emitter_print_key()
139 func->ucl_emitter_append_len (obj->key, obj->keylen, func->ud); in ucl_emitter_print_key()
142 func->ucl_emitter_append_len ("null", 4, func->ud); in ucl_emitter_print_key()
145 func->ucl_emitter_append_len (": ", 2, func->ud); in ucl_emitter_print_key()
152 func->ucl_emitter_append_len ("null", 4, func->ud); in ucl_emitter_print_key()
156 func->ucl_emitter_append_character (':', 1, func->ud); in ucl_emitter_print_key()
159 func->ucl_emitter_append_len (": ", 2, func->ud); in ucl_emitter_print_key()
[all …]
H A Ducl_internal.h185 void* ud; member
305 const ucl_object_t *args, void* ud);
316 const ucl_object_t *args, void* ud);
327 const ucl_object_t *args, void* ud);
338 const ucl_object_t *args, void* ud);
349 const ucl_object_t *args, void* ud);
360 const ucl_object_t *args, const ucl_object_t *ctx, void* ud);
/freebsd/sys/dev/sound/pcm/
H A Dsndstat.c176 struct sndstat_userdev *ud; in sndstat_remove_all_userdevs() local
180 while ((ud = TAILQ_FIRST(&pf->userdev_list)) != NULL) { in sndstat_remove_all_userdevs()
181 TAILQ_REMOVE(&pf->userdev_list, ud, link); in sndstat_remove_all_userdevs()
182 free(ud->provider, M_DEVBUF); in sndstat_remove_all_userdevs()
183 free(ud->desc, M_DEVBUF); in sndstat_remove_all_userdevs()
184 free(ud->devnode, M_DEVBUF); in sndstat_remove_all_userdevs()
185 free(ud->nameunit, M_DEVBUF); in sndstat_remove_all_userdevs()
186 nvlist_destroy(ud->provider_nvl); in sndstat_remove_all_userdevs()
187 free(ud, M_DEVBUF); in sndstat_remove_all_userdevs()
301 struct sndstat_userdev *ud; in sndstat_write() local
[all …]
/freebsd/contrib/sendmail/src/
H A Darpadate.c56 arpadate(ud)
57 register char *ud;
77 if (ud == NULL)
78 ud = ctime(&t);
86 p = &ud[0]; /* Mon */
93 p = &ud[8]; /* 16 */
101 p = &ud[4]; /* Sep */
107 p = &ud[20]; /* 1979 */
114 p = &ud[11]; /* 01:03:52 */
/freebsd/sys/netinet/libalias/
H A Dalias.c337 struct udphdr *ud; in IcmpAliasIn2() local
345 ud = (struct udphdr *)ip_next(ip); in IcmpAliasIn2()
351 ud->uh_dport, ud->uh_sport, in IcmpAliasIn2()
377 accumulate += ud->uh_sport; in IcmpAliasIn2()
394 ud->uh_sport = original_port; in IcmpAliasIn2()
526 struct udphdr *ud; in IcmpAliasOut2() local
534 ud = (struct udphdr *)ip_next(ip); in IcmpAliasOut2()
540 ud->uh_dport, ud->uh_sport, in IcmpAliasOut2()
566 accumulate += ud->uh_dport; in IcmpAliasOut2()
582 ud->uh_dport = alias_port; in IcmpAliasOut2()
[all …]
/freebsd/sys/dev/usb/
H A Dusb_fdt_support.c123 struct usb_device *ud; in usb_fdt_get_node() local
142 for (ud = udev, idx = 0; ud->parent_hub != NULL; ud = ud->parent_hub) { in usb_fdt_get_node()
144 udev_stack[idx++] = ud; in usb_fdt_get_node()
/freebsd/lib/libkiconv/
H A Dxlat16_iconv.c154 u_char src[3], dst[4], *srcp, *dstp, ud, ld; in kiconv_xlat16_open() local
231 ud = (u_char)dst[0]; in kiconv_xlat16_open()
237 table[us] = (ud << 8) | ld; in kiconv_xlat16_open()
246 table[us] = quirk_unix2vendor((ud << 8) | ld, in kiconv_xlat16_open()
252 table[us] = ud; in kiconv_xlat16_open()
253 if (lcase & KICONV_LOWER && ud != tolower(ud)) { in kiconv_xlat16_open()
254 table[us] |= (u_char)tolower(ud) << 16; in kiconv_xlat16_open()
257 if (lcase & KICONV_UPPER && ud != toupper(ud)) { in kiconv_xlat16_open()
258 table[us] |= (u_char)toupper(ud) << 16; in kiconv_xlat16_open()
/freebsd/contrib/lua/src/
H A Dlauxlib.c330 LUALIB_API void *luaL_testudata (lua_State *L, int ud, const char *tname) { in luaL_testudata() argument
331 void *p = lua_touserdata(L, ud); in luaL_testudata()
333 if (lua_getmetatable(L, ud)) { /* does it have a metatable? */ in luaL_testudata()
345 LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { in luaL_checkudata() argument
346 void *p = luaL_testudata(L, ud, tname); in luaL_checkudata()
347 luaL_argexpected(L, p != NULL, ud, tname); in luaL_checkudata()
474 void *ud; in resizebox() local
475 lua_Alloc allocf = lua_getallocf(L, &ud); in resizebox()
477 void *temp = allocf(ud, box->box, box->bsize, newsize); in resizebox()
716 static const char *getF (lua_State *L, void *ud, size_t *size) { in getF() argument
[all …]
H A Dlua.h117 typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
119 typedef int (*lua_Writer) (lua_State *L, const void *p, size_t sz, void *ud);
125 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
131 typedef void (*lua_WarnFunction) (void *ud, const char *msg, int tocont);
163 LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
322 LUA_API void (lua_setwarnf) (lua_State *L, lua_WarnFunction f, void *ud);
358 LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
359 LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);
H A Dlstate.c231 static void f_luaopen (lua_State *L, void *ud) { in f_luaopen() argument
233 UNUSED(ud); in f_luaopen()
282 (*g->frealloc)(g->ud, fromstate(L), sizeof(LG), 0); /* free main block */ in close_state()
360 LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { in lua_newstate() argument
364 LG *l = cast(LG *, (*f)(ud, NULL, LUA_TTHREAD, sizeof(LG))); in lua_newstate()
376 g->ud = ud; in lua_newstate()
/freebsd/stand/ficl/
H A Dmath64.c317 DPUNS ud; in m64UMod() local
323 ud.hi = 0; in m64UMod()
324 ud.lo = pUD->hi >> UMOD_SHIFT; in m64UMod()
325 qr = ficlLongDiv(ud, (FICL_UNS)base); in m64UMod()
328 ud.lo = (qr.rem << UMOD_SHIFT) | (pUD->hi & UMOD_MASK); in m64UMod()
329 qr = ficlLongDiv(ud, (FICL_UNS)base); in m64UMod()
332 ud.lo = (qr.rem << UMOD_SHIFT) | (pUD->lo >> UMOD_SHIFT); in m64UMod()
333 qr = ficlLongDiv(ud, (FICL_UNS)base); in m64UMod()
336 ud.lo = (qr.rem << UMOD_SHIFT) | (pUD->lo & UMOD_MASK); in m64UMod()
337 qr = ficlLongDiv(ud, (FICL_UNS)base); in m64UMod()
H A Dfileaccess.c181 long ud = ftell(ff->f); in ficlFilePosition() local
182 stackPushINT(pVM->pStack, ud); in ficlFilePosition()
183 pushIor(pVM, ud != -1); in ficlFilePosition()
202 long ud = fileSize(ff->f); in ficlFileSize() local
203 stackPushINT(pVM->pStack, ud); in ficlFileSize()
204 pushIor(pVM, ud != -1); in ficlFileSize()
368 size_t ud = (size_t)stackPopINT(pVM->pStack); in ficlRepositionFile() local
370 pushIor(pVM, fseek(ff->f, ud, SEEK_SET) == 0); in ficlRepositionFile()
388 size_t ud = (size_t)stackPopINT(pVM->pStack); in ficlResizeFile() local
390 pushIor(pVM, ftruncate(fileno(ff->f), ud) == 0); in ficlResizeFile()
H A Dvm.c719 DPUNS ud; in ultoa() local
730 ud.hi = 0; in ultoa()
731 ud.lo = value; in ultoa()
734 while (ud.lo) in ultoa()
736 result = ficlLongDiv(ud, (FICL_UNS)radix); in ultoa()
737 ud.lo = result.quot; in ultoa()
/freebsd/contrib/libucl/include/
H A Ducl.h230 void* ud; /**< Opaque user data */ member
247 typedef void (*ucl_userdata_dtor)(void *ud);
248 typedef const char* (*ucl_userdata_emitter)(void *ud);
930 void* ud);
945 void* ud);
984 ucl_macro_handler handler, void* ud);
997 void* ud);
1010 unsigned char **replace, size_t *replace_len, bool *need_free, void* ud);
1028 ucl_variable_handler handler, void *ud);
1395 int (*ucl_emitter_append_character) (unsigned char c, size_t nchars, void *ud);
[all …]
H A Ducl++.h55 append_char (unsigned char c, size_t nchars, void *ud) in append_char() argument
57 std::string *out = reinterpret_cast<std::string *>(ud); in append_char()
64 append_len (unsigned const char *str, size_t len, void *ud) in append_len() argument
66 std::string *out = reinterpret_cast<std::string *>(ud); in append_len()
73 append_int (int64_t elt, void *ud) in append_int() argument
75 std::string *out = reinterpret_cast<std::string *>(ud); in append_int()
83 append_double (double elt, void *ud) in append_double() argument
85 std::string *out = reinterpret_cast<std::string *>(ud); in append_double()
108 unsigned char ** /*replace*/, size_t * /*replace_len*/, bool *need_free, void* ud) in ucl_variable_getter() argument
112 auto vars = reinterpret_cast<std::set<std::string> *>(ud); in ucl_variable_getter()
[all …]
/freebsd/crypto/heimdal/lib/wind/
H A DUnicodeData.py42 ud = open(filename, 'r')
45 l = ud.readline()
56 ud.close()
H A Dgen-combining.py48 ud = UnicodeData.read(sys.argv[1]) variable
51 for k,v in ud.items():
H A Dgen-normalize.py50 ud = UnicodeData.read(sys.argv[1]) variable
59 for k,v in ud.items() if v[4]])
138 for k,v in ud.items()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string_sprintf.c64 uintmax_t ud; in append_int()
68 ud = (d == INTMAX_MIN) ? (uintmax_t)(INTMAX_MAX) + 1 : (uintmax_t)(-d); in append_int()
70 ud = d; in append_int()
71 append_uint(as, ud, base); in append_int()
65 uintmax_t ud; append_int() local
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstate.c179 static void f_luaopen (lua_State *L, void *ud) { in f_luaopen() argument
181 UNUSED(ud); in f_luaopen()
230 (*g->frealloc)(g->ud, fromstate(L), sizeof(LG), 0); /* free main block */ in close_state()
263 LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { in lua_newstate() argument
267 LG *l = cast(LG *, (*f)(ud, NULL, LUA_TTHREAD, sizeof(LG))); in lua_newstate()
278 g->ud = ud; in lua_newstate()
H A Dldo.h27 typedef void (*Pfunc) (lua_State *L, void *ud);
43 LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);
H A Dlmem.c82 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_()
88 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
/freebsd/libexec/nuageinit/
H A Dnuageinit205 local ud = nil
211 ud = v
221 f = io.open(path .. "/" .. ud)
225 nuage.err("error parsing cloud-config file: " .. ud)
326 local res, err = os.execute(path .. "/" .. ud)
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h60 typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
62 typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud);
68 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
130 LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
307 LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
308 LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);

12345