Searched refs:ustr (Results 1 - 24 of 24) sorted by relevance

/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/kern/
H A Dddi.c129 const unsigned char *ustr = (const unsigned char *)str; local
132 *ptr = (char *)ustr; /* in case no number is formed */
137 if (!isalnum(c = *ustr)) {
139 c = *++ustr;
145 c = *++ustr;
151 else if (ustr[1] == 'x' || ustr[1] == 'X')
161 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') &&
162 isxdigit(ustr[
[all...]
/netbsd-6-1-5-RELEASE/games/hack/
H A Dhack.potion.c92 if (u.ustr < u.ustrmax) {
93 u.ustr = u.ustrmax;
195 if (u.ustr >= 118)
197 if (u.ustr > 17)
198 u.ustr += rnd(118 - u.ustr);
200 u.ustr++;
201 if (u.ustr > u.ustrmax)
202 u.ustrmax = u.ustr;
373 if (u.ustr <
[all...]
H A Dhack.eat.c150 if (u.ustr < 118)
151 u.ustr += rnd(((u.ustr < 17) ? 19 : 118) - u.ustr);
152 if (u.ustr > u.ustrmax)
153 u.ustrmax = u.ustr;
231 tmp = 10 + rn2(1 + 500 / ((int) (u.ulevel + u.ustr)));
323 if (u.ustr < u.ustrmax)
324 u.ustr++;
428 else if (newhs < WEAK && u.uhs >= WEAK && u.ustr <
[all...]
H A Dhack.u_init.c269 u.ustr = u.ustrmax = 18;
277 u.ustr = u.ustrmax = 8;
288 u.ustr = u.ustrmax = 16;
296 u.ustr = u.ustrmax = 10;
304 u.ustr = u.ustrmax = 10;
310 u.ustr = u.ustrmax = 17;
315 u.ustr = u.ustrmax = 16;
320 u.ustr += dr;
329 while (inv_weight() > 0 && u.ustr < 118)
330 u.ustr
[all...]
H A Dhack.do_wear.c314 u.ustr += otmp->spe;
316 if (u.ustr > 118)
317 u.ustr = 118;
354 u.ustr -= obj->spe;
356 if (u.ustr > 118)
357 u.ustr = 118;
H A Dhack.c840 if (u.ustr == 3)
842 else if (u.ustr < 6)
844 else if (u.ustr < 8)
846 else if (u.ustr < 17)
848 else if (u.ustr < 69)
850 else if (u.ustr < 118)
859 if (u.ustr < 6)
861 else if (u.ustr < 16)
863 else if (u.ustr < 18)
865 else if (u.ustr
[all...]
H A Dhack.h168 schar ustr,ustrmax; member in struct:you
H A Dhack.pri.c732 if (u.ustr > 18) {
733 if (u.ustr > 117)
738 "18/%02d", u.ustr - 18);
743 "%-2d ", u.ustr);
H A Dhack.trap.c437 if (u.uhunger <= 100 || u.ustr < 6) {
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dmcparse.h90 unichar *ustr; member in union:YYSTYPE
H A Dmclex.c356 yylval.ustr = get_diff (input_stream_pos, start_token);
386 yylval.ustr = get_diff (input_stream_pos, start_token);
398 yylval.ustr = get_diff (input_stream_pos, start_token);
410 yylval.ustr = get_diff (input_stream_pos, start_token);
435 yylval.ustr = get_diff (input_stream_pos, start_token);
H A Dmcparse.y47 unichar *ustr;
55 %token<ustr> MCIDENT MCFILENAME MCLINE MCCOMMENT
63 %type<ustr> alias_name token lines comments
H A Dmcparse.c180 unichar *ustr; member in union:YYSTYPE
1516 cur_node->user_text = (yyvsp[(1) - (1)].ustr);
1582 mcset_msg_id_typedef = (yyvsp[(3) - (3)].ustr);
1608 mc_add_keyword ((yyvsp[(1) - (4)].ustr), MCTOKEN, "severity", (yyvsp[(3) - (4)].ival), (yyvsp[(4) - (4)].ustr));
1630 mc_add_keyword ((yyvsp[(1) - (4)].ustr), MCTOKEN, "facility", (yyvsp[(3) - (4)].ival), (yyvsp[(4) - (4)].ustr));
1652 mc_add_keyword ((yyvsp[(1) - (6)].ustr), MCTOKEN, "language", (yyvsp[(3) - (6)].ival), (yyvsp[(6) - (6)].ustr));
1679 (yyval.ustr)
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/utils/hpftodit/
H A Dhpftodit.cpp1274 const char *ustr = hp_msl_to_unicode_code(codestr);
1275 if (ustr == NULL)
1276 ustr = UNNAMED;
1279 int ucode = int(strtol(ustr, &nonum, 16));
1282 ustr = UNNAMED;
1284 if (!equal(ustr, UNNAMED)) {
1285 const char *uname_decomposed = decompose_unicode(ustr);
1288 ustr = uname_decomposed + 1;
1290 char *value = new char[strlen(ustr) + 1];
1291 sprintf(value, equal(ustr, UNNAME
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/lib/
H A Dsnprintf.c621 unsigned char *ustr = (unsigned char *)str; local
625 state.str = ustr;
626 state.s = ustr;
627 state.theend = ustr + sz - (sz > 0);
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/missing/
H A Dsnprintf.c614 unsigned char *ustr = (unsigned char *)str; local
618 state.str = ustr;
619 state.s = ustr;
620 state.theend = ustr + sz - 1;
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/missing/
H A Dsnprintf.c614 unsigned char *ustr = (unsigned char *)str; local
618 state.str = ustr;
619 state.s = ustr;
620 state.theend = ustr + sz - 1;
/netbsd-6-1-5-RELEASE/usr.bin/pkill/
H A Dpkill.c439 const char *ustr; local
446 ustr = "[-filnvx] [-d delim]";
448 ustr = "[-signal] [-filnvx]";
454 getprogname(), ustr);
/netbsd-6-1-5-RELEASE/tools/compat/
H A Dsnprintf.c649 unsigned char *ustr = (unsigned char *)str; local
653 state.str = ustr;
654 state.s = ustr;
655 state.theend = ustr + sz - (sz > 0);
/netbsd-6-1-5-RELEASE/sys/compat/ndis/
H A Dsubr_ndis.c390 uint16_t *ustr; local
398 ustr = *unicode;
400 *ustr = (uint16_t)ascii[i];
401 ustr++;
632 ndis_unicode_string *ustr; local
643 ustr = &(*parm)->ncp_parmdata.ncp_stringdata;
644 ustr->us_len = strlen((char *)oiddata) * 2;
645 ustr->us_buf = unicode;
861 ndis_unicode_string *ustr; local
868 ustr
1158 char *str = NULL, *ustr = NULL; local
[all...]
H A Dsubr_ntoskrnl.c366 uint16_t *ustr = NULL; local
372 if (ndis_ascii_to_unicode(src->nas_buf, &ustr))
374 dest->us_buf = ustr;
2037 RtlUnicodeStringToInteger(ndis_unicode_string *ustr, uint32_t base, uint32_t *val) argument
2044 uchr = ustr->us_buf;
2045 len = ustr->us_len;
2088 RtlFreeUnicodeString(ndis_unicode_string *ustr) argument
2090 if (ustr->us_buf == NULL)
2092 free(ustr->us_buf, M_DEVBUF);
2093 ustr
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/make/
H A Dvar.c2289 unsigned char *ustr = (unsigned char *)str; local
2303 k = (ustr[3] << 24) | (ustr[2] << 16) | (ustr[1] << 8) | ustr[0];
2305 ustr += 4;
2308 k |= (ustr[2] << 16);
2310 k |= (ustr[1] << 8);
2312 k |= ustr[0];
/netbsd-6-1-5-RELEASE/sys/fs/ntfs/
H A Dntfs_subr.c687 ntfs_uastricmp(struct ntfsmount *ntmp, const wchar *ustr, size_t ustrlen, const char *astr, size_t astrlen) argument
693 res = (*ntmp->ntm_wcmp)(NTFS_TOUPPER(ustr[i]),
711 ntfs_uastrcmp(struct ntfsmount *ntmp, const wchar *ustr, size_t ustrlen, const char *astr, size_t astrlen) argument
717 res = (*ntmp->ntm_wcmp)(ustr[i],
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_ktrace.c928 ktruser(const char *id, void *addr, size_t len, int ustr) argument
946 if (ustr) {

Completed in 326 milliseconds