Home
last modified time | relevance | path

Searched refs:mystr (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_slk_wset.c62 char *mystr; in NCURSES_EXPORT() local
64 if ((mystr = (char *) _nc_doalloc(0, arglen + 1)) != 0) { in NCURSES_EXPORT()
66 if (wcsrtombs(mystr, &str, arglen, &state) != (size_t) -1) { in NCURSES_EXPORT()
70 mystr[arglen] = 0; in NCURSES_EXPORT()
71 result = slk_set(i, mystr, format); in NCURSES_EXPORT()
73 free(mystr); in NCURSES_EXPORT()
/freebsd/usr.sbin/pw/
H A Dpsdate.c49 char mystr[32]; in aindex() local
51 mystr[len] = '\0'; in aindex()
52 l = strlen(strncpy(mystr, *str, len)); in aindex()
54 mystr[i] = (char) tolower((unsigned char)mystr[i]); in aindex()
55 for (i = 0; arr[i] && strcmp(mystr, arr[i]) != 0; i++); in aindex()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2433 const char mystr[] = "137"; in xnb_sscanf_hhu() local
2440 XNB_ASSERT(sscanf(mystr, "%hhu", &dest[4]) == 1); in xnb_sscanf_hhu()
2451 const char mystr[] = "-27"; in xnb_sscanf_hhd() local
2458 XNB_ASSERT(sscanf(mystr, "%hhd", &dest[4]) == 1); in xnb_sscanf_hhd()
2469 const char mystr[] = "-123456789012345"; /* about -2**47 */ in xnb_sscanf_lld() local
2476 XNB_ASSERT(sscanf(mystr, "%lld", &dest[1]) == 1); in xnb_sscanf_lld()
2488 const char mystr[] = "12802747070103273189"; in xnb_sscanf_llu() local
2495 XNB_ASSERT(sscanf(mystr, "%llu", &dest[1]) == 1); in xnb_sscanf_llu()
2507 const char mystr[] = in xnb_sscanf_hhn() local
2517 XNB_ASSERT(sscanf(mystr, in xnb_sscanf_hhn()