HelenOS sources

str               137 boot/generic/src/printf_core.c static int printf_putstr(const char *str, printf_spec_t *ps)
str               139 boot/generic/src/printf_core.c 	if (str == NULL)
str               142 boot/generic/src/printf_core.c 	return ps->str_write((void *) str, str_size(str), ps->data);
str               208 boot/generic/src/printf_core.c static int print_str(char *str, int width, unsigned int precision,
str               211 boot/generic/src/printf_core.c 	if (str == NULL)
str               215 boot/generic/src/printf_core.c 	size_t strw = str_length(str);
str               231 boot/generic/src/printf_core.c 	size_t size = str_lsize(str, precision);
str               232 boot/generic/src/printf_core.c 	if ((retval = printf_putnchars(str, size, ps)) < 0)
str                38 boot/generic/src/vprintf.c static int vprintf_str_write(const char *str, size_t size, void *data)
str                44 boot/generic/src/vprintf.c 		putuchar(str_decode(str, &offset, size));
str                51 boot/generic/src/vprintf.c int puts(const char *str)
str                57 boot/generic/src/vprintf.c 	while ((uc = str_decode(str, &offset, STR_NO_LIMIT)) != 0) {
str                87 common/include/str.h extern char32_t str_decode(const char *str, size_t *offset, size_t sz);
str                88 common/include/str.h extern char32_t str_decode_reverse(const char *str, size_t *offset, size_t sz);
str                89 common/include/str.h extern errno_t chr_encode(char32_t ch, char *str, size_t *offset, size_t sz);
str                91 common/include/str.h extern size_t str_size(const char *str);
str                92 common/include/str.h extern size_t wstr_size(const char32_t *str);
str                94 common/include/str.h extern size_t str_nsize(const char *str, size_t max_size);
str                95 common/include/str.h extern size_t wstr_nsize(const char32_t *str, size_t max_size);
str                97 common/include/str.h extern size_t str_lsize(const char *str, size_t max_len);
str                98 common/include/str.h extern size_t wstr_lsize(const char32_t *str, size_t max_len);
str               100 common/include/str.h extern size_t str_length(const char *str);
str               103 common/include/str.h extern size_t str_nlength(const char *str, size_t size);
str               104 common/include/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
str               107 common/include/str.h extern size_t str_width(const char *str);
str               133 common/include/str.h extern char *str_chr(const char *str, char32_t ch);
str               134 common/include/str.h extern char *str_rchr(const char *str, char32_t ch);
str               137 common/include/str.h extern void str_rtrim(char *str, char32_t ch);
str               138 common/include/str.h extern void str_ltrim(char *str, char32_t ch);
str               140 common/include/str.h extern bool wstr_linsert(char32_t *str, char32_t ch, size_t pos, size_t max_pos);
str               141 common/include/str.h extern bool wstr_remove(char32_t *str, size_t pos);
str               173 common/printf/printf_core.c static int printf_putstr(const char *str, printf_spec_t *ps)
str               175 common/printf/printf_core.c 	if (str == NULL)
str               178 common/printf/printf_core.c 	return ps->str_write((void *) str, str_size(str), ps->data);
str               298 common/printf/printf_core.c static int print_str(char *str, int width, unsigned int precision,
str               301 common/printf/printf_core.c 	if (str == NULL)
str               304 common/printf/printf_core.c 	size_t strw = str_length(str);
str               322 common/printf/printf_core.c 	size_t size = str_lsize(str, precision);
str               323 common/printf/printf_core.c 	if ((retval = printf_putnchars(str, size, ps)) < 0)
str               347 common/printf/printf_core.c static int print_wstr(char32_t *str, int width, unsigned int precision,
str               350 common/printf/printf_core.c 	if (str == NULL)
str               353 common/printf/printf_core.c 	size_t strw = wstr_length(str);
str               371 common/printf/printf_core.c 	size_t size = wstr_lsize(str, precision);
str               372 common/printf/printf_core.c 	if ((retval = printf_wputnchars(str, size, ps)) < 0)
str               562 common/printf/printf_core.c 	char *str;
str               606 common/printf/printf_core.c 	const char *str;
str               609 common/printf/printf_core.c 		str = val.is_infinity ? "INF" : "NAN";
str               611 common/printf/printf_core.c 		str = val.is_infinity ? "inf" : "nan";
str               634 common/printf/printf_core.c 	if ((ret = ps->str_write(str, str_len, ps->data)) < 0)
str               709 common/printf/printf_core.c 	char *buf = val_str->str;
str               863 common/printf/printf_core.c 	val_str.str = buf;
str               944 common/printf/printf_core.c 	char *buf  = val_str->str;
str              1079 common/printf/printf_core.c 	val_str.str = buf;
str              1172 common/printf/printf_core.c 		val_str.str = buf;
str               148 common/str.c   char32_t str_decode(const char *str, size_t *offset, size_t size)
str               154 common/str.c   	uint8_t b0 = (uint8_t) str[(*offset)++];
str               189 common/str.c   		uint8_t b = (uint8_t) str[(*offset)++];
str               218 common/str.c   char32_t str_decode_reverse(const char *str, size_t *offset, size_t size)
str               226 common/str.c   		uint8_t b = (uint8_t) str[--(*offset)];
str               235 common/str.c   			return str_decode(str, &start_offset, size);
str               261 common/str.c   errno_t chr_encode(const char32_t ch, char *str, size_t *offset, size_t size)
str               304 common/str.c   		str[*offset + i] = 0x80 | (cc & LO_MASK_32(CONT_BITS));
str               309 common/str.c   	str[*offset] = (cc & LO_MASK_32(b0_bits)) | HI_MASK_8(8 - b0_bits - 1);
str               327 common/str.c   size_t str_size(const char *str)
str               331 common/str.c   	while (*str++ != 0)
str               347 common/str.c   size_t wstr_size(const char32_t *str)
str               349 common/str.c   	return (wstr_length(str) * sizeof(char32_t));
str               365 common/str.c   size_t str_lsize(const char *str, size_t max_len)
str               371 common/str.c   		if (str_decode(str, &offset, STR_NO_LIMIT) == 0)
str               391 common/str.c   size_t str_nsize(const char *str, size_t max_size)
str               395 common/str.c   	while ((*str++ != 0) && (size < max_size))
str               412 common/str.c   size_t wstr_nsize(const char32_t *str, size_t max_size)
str               414 common/str.c   	return (wstr_nlength(str, max_size) * sizeof(char32_t));
str               430 common/str.c   size_t wstr_lsize(const char32_t *str, size_t max_len)
str               432 common/str.c   	return (wstr_nlength(str, max_len * sizeof(char32_t)) * sizeof(char32_t));
str               442 common/str.c   size_t str_length(const char *str)
str               447 common/str.c   	while (str_decode(str, &offset, STR_NO_LIMIT) != 0)
str               478 common/str.c   size_t str_nlength(const char *str, size_t size)
str               483 common/str.c   	while (str_decode(str, &offset, size) != 0)
str               497 common/str.c   size_t wstr_nlength(const char32_t *str, size_t size)
str               503 common/str.c   	while ((offset < limit) && (*str++ != 0)) {
str               526 common/str.c   size_t str_width(const char *str)
str               532 common/str.c   	while ((ch = str_decode(str, &offset, STR_NO_LIMIT)) != 0)
str              1121 common/str.c   	char *str;
str              1140 common/str.c   	str = malloc(dest_size + 1);
str              1141 common/str.c   	if (str == NULL)
str              1150 common/str.c   		if (chr_encode(ch, str, &dest_off, dest_size) != EOK)
str              1154 common/str.c   	str[dest_size] = '\0';
str              1155 common/str.c   	return str;
str              1197 common/str.c   char32_t *str_to_awstr(const char *str)
str              1199 common/str.c   	size_t len = str_length(str);
str              1205 common/str.c   	str_to_wstr(wstr, len + 1, str);
str              1216 common/str.c   char *str_chr(const char *str, char32_t ch)
str              1222 common/str.c   	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1224 common/str.c   			return (char *) (str + last);
str              1258 common/str.c   void str_rtrim(char *str, char32_t ch)
str              1266 common/str.c   	while ((c = str_decode(str, &off, STR_NO_LIMIT))) {
str              1272 common/str.c   			last_chunk = (str + pos);
str              1286 common/str.c   void str_ltrim(char *str, char32_t ch)
str              1291 common/str.c   	size_t str_sz = str_size(str);
str              1293 common/str.c   	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1301 common/str.c   		memmove(str, &str[pos], str_sz - pos);
str              1303 common/str.c   		str[pos] = '\0';
str              1314 common/str.c   char *str_rchr(const char *str, char32_t ch)
str              1321 common/str.c   	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1323 common/str.c   			res = (str + last);
str              1344 common/str.c   bool wstr_linsert(char32_t *str, char32_t ch, size_t pos, size_t max_pos)
str              1346 common/str.c   	size_t len = wstr_length(str);
str              1353 common/str.c   		str[i + 1] = str[i];
str              1355 common/str.c   	str[pos] = ch;
str              1372 common/str.c   bool wstr_remove(char32_t *str, size_t pos)
str              1374 common/str.c   	size_t len = wstr_length(str);
str              1381 common/str.c   		str[i - 1] = str[i];
str               218 kernel/arch/sparc64/src/sun4v/md.c static bool str_parse_head(char **str, char **head)
str               220 kernel/arch/sparc64/src/sun4v/md.c 	*head = *str;
str               222 kernel/arch/sparc64/src/sun4v/md.c 	char *cur = *str;
str               226 kernel/arch/sparc64/src/sun4v/md.c 			*str = cur + 1;
str                87 kernel/generic/common/include/str.h extern char32_t str_decode(const char *str, size_t *offset, size_t sz);
str                88 kernel/generic/common/include/str.h extern char32_t str_decode_reverse(const char *str, size_t *offset, size_t sz);
str                89 kernel/generic/common/include/str.h extern errno_t chr_encode(char32_t ch, char *str, size_t *offset, size_t sz);
str                91 kernel/generic/common/include/str.h extern size_t str_size(const char *str);
str                92 kernel/generic/common/include/str.h extern size_t wstr_size(const char32_t *str);
str                94 kernel/generic/common/include/str.h extern size_t str_nsize(const char *str, size_t max_size);
str                95 kernel/generic/common/include/str.h extern size_t wstr_nsize(const char32_t *str, size_t max_size);
str                97 kernel/generic/common/include/str.h extern size_t str_lsize(const char *str, size_t max_len);
str                98 kernel/generic/common/include/str.h extern size_t wstr_lsize(const char32_t *str, size_t max_len);
str               100 kernel/generic/common/include/str.h extern size_t str_length(const char *str);
str               103 kernel/generic/common/include/str.h extern size_t str_nlength(const char *str, size_t size);
str               104 kernel/generic/common/include/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
str               107 kernel/generic/common/include/str.h extern size_t str_width(const char *str);
str               133 kernel/generic/common/include/str.h extern char *str_chr(const char *str, char32_t ch);
str               134 kernel/generic/common/include/str.h extern char *str_rchr(const char *str, char32_t ch);
str               137 kernel/generic/common/include/str.h extern void str_rtrim(char *str, char32_t ch);
str               138 kernel/generic/common/include/str.h extern void str_ltrim(char *str, char32_t ch);
str               140 kernel/generic/common/include/str.h extern bool wstr_linsert(char32_t *str, char32_t ch, size_t pos, size_t max_pos);
str               141 kernel/generic/common/include/str.h extern bool wstr_remove(char32_t *str, size_t pos);
str               173 kernel/generic/common/printf/printf_core.c static int printf_putstr(const char *str, printf_spec_t *ps)
str               175 kernel/generic/common/printf/printf_core.c 	if (str == NULL)
str               178 kernel/generic/common/printf/printf_core.c 	return ps->str_write((void *) str, str_size(str), ps->data);
str               298 kernel/generic/common/printf/printf_core.c static int print_str(char *str, int width, unsigned int precision,
str               301 kernel/generic/common/printf/printf_core.c 	if (str == NULL)
str               304 kernel/generic/common/printf/printf_core.c 	size_t strw = str_length(str);
str               322 kernel/generic/common/printf/printf_core.c 	size_t size = str_lsize(str, precision);
str               323 kernel/generic/common/printf/printf_core.c 	if ((retval = printf_putnchars(str, size, ps)) < 0)
str               347 kernel/generic/common/printf/printf_core.c static int print_wstr(char32_t *str, int width, unsigned int precision,
str               350 kernel/generic/common/printf/printf_core.c 	if (str == NULL)
str               353 kernel/generic/common/printf/printf_core.c 	size_t strw = wstr_length(str);
str               371 kernel/generic/common/printf/printf_core.c 	size_t size = wstr_lsize(str, precision);
str               372 kernel/generic/common/printf/printf_core.c 	if ((retval = printf_wputnchars(str, size, ps)) < 0)
str               562 kernel/generic/common/printf/printf_core.c 	char *str;
str               606 kernel/generic/common/printf/printf_core.c 	const char *str;
str               609 kernel/generic/common/printf/printf_core.c 		str = val.is_infinity ? "INF" : "NAN";
str               611 kernel/generic/common/printf/printf_core.c 		str = val.is_infinity ? "inf" : "nan";
str               634 kernel/generic/common/printf/printf_core.c 	if ((ret = ps->str_write(str, str_len, ps->data)) < 0)
str               709 kernel/generic/common/printf/printf_core.c 	char *buf = val_str->str;
str               863 kernel/generic/common/printf/printf_core.c 	val_str.str = buf;
str               944 kernel/generic/common/printf/printf_core.c 	char *buf  = val_str->str;
str              1079 kernel/generic/common/printf/printf_core.c 	val_str.str = buf;
str              1172 kernel/generic/common/printf/printf_core.c 		val_str.str = buf;
str               148 kernel/generic/common/str.c char32_t str_decode(const char *str, size_t *offset, size_t size)
str               154 kernel/generic/common/str.c 	uint8_t b0 = (uint8_t) str[(*offset)++];
str               189 kernel/generic/common/str.c 		uint8_t b = (uint8_t) str[(*offset)++];
str               218 kernel/generic/common/str.c char32_t str_decode_reverse(const char *str, size_t *offset, size_t size)
str               226 kernel/generic/common/str.c 		uint8_t b = (uint8_t) str[--(*offset)];
str               235 kernel/generic/common/str.c 			return str_decode(str, &start_offset, size);
str               261 kernel/generic/common/str.c errno_t chr_encode(const char32_t ch, char *str, size_t *offset, size_t size)
str               304 kernel/generic/common/str.c 		str[*offset + i] = 0x80 | (cc & LO_MASK_32(CONT_BITS));
str               309 kernel/generic/common/str.c 	str[*offset] = (cc & LO_MASK_32(b0_bits)) | HI_MASK_8(8 - b0_bits - 1);
str               327 kernel/generic/common/str.c size_t str_size(const char *str)
str               331 kernel/generic/common/str.c 	while (*str++ != 0)
str               347 kernel/generic/common/str.c size_t wstr_size(const char32_t *str)
str               349 kernel/generic/common/str.c 	return (wstr_length(str) * sizeof(char32_t));
str               365 kernel/generic/common/str.c size_t str_lsize(const char *str, size_t max_len)
str               371 kernel/generic/common/str.c 		if (str_decode(str, &offset, STR_NO_LIMIT) == 0)
str               391 kernel/generic/common/str.c size_t str_nsize(const char *str, size_t max_size)
str               395 kernel/generic/common/str.c 	while ((*str++ != 0) && (size < max_size))
str               412 kernel/generic/common/str.c size_t wstr_nsize(const char32_t *str, size_t max_size)
str               414 kernel/generic/common/str.c 	return (wstr_nlength(str, max_size) * sizeof(char32_t));
str               430 kernel/generic/common/str.c size_t wstr_lsize(const char32_t *str, size_t max_len)
str               432 kernel/generic/common/str.c 	return (wstr_nlength(str, max_len * sizeof(char32_t)) * sizeof(char32_t));
str               442 kernel/generic/common/str.c size_t str_length(const char *str)
str               447 kernel/generic/common/str.c 	while (str_decode(str, &offset, STR_NO_LIMIT) != 0)
str               478 kernel/generic/common/str.c size_t str_nlength(const char *str, size_t size)
str               483 kernel/generic/common/str.c 	while (str_decode(str, &offset, size) != 0)
str               497 kernel/generic/common/str.c size_t wstr_nlength(const char32_t *str, size_t size)
str               503 kernel/generic/common/str.c 	while ((offset < limit) && (*str++ != 0)) {
str               526 kernel/generic/common/str.c size_t str_width(const char *str)
str               532 kernel/generic/common/str.c 	while ((ch = str_decode(str, &offset, STR_NO_LIMIT)) != 0)
str              1121 kernel/generic/common/str.c 	char *str;
str              1140 kernel/generic/common/str.c 	str = malloc(dest_size + 1);
str              1141 kernel/generic/common/str.c 	if (str == NULL)
str              1150 kernel/generic/common/str.c 		if (chr_encode(ch, str, &dest_off, dest_size) != EOK)
str              1154 kernel/generic/common/str.c 	str[dest_size] = '\0';
str              1155 kernel/generic/common/str.c 	return str;
str              1197 kernel/generic/common/str.c char32_t *str_to_awstr(const char *str)
str              1199 kernel/generic/common/str.c 	size_t len = str_length(str);
str              1205 kernel/generic/common/str.c 	str_to_wstr(wstr, len + 1, str);
str              1216 kernel/generic/common/str.c char *str_chr(const char *str, char32_t ch)
str              1222 kernel/generic/common/str.c 	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1224 kernel/generic/common/str.c 			return (char *) (str + last);
str              1258 kernel/generic/common/str.c void str_rtrim(char *str, char32_t ch)
str              1266 kernel/generic/common/str.c 	while ((c = str_decode(str, &off, STR_NO_LIMIT))) {
str              1272 kernel/generic/common/str.c 			last_chunk = (str + pos);
str              1286 kernel/generic/common/str.c void str_ltrim(char *str, char32_t ch)
str              1291 kernel/generic/common/str.c 	size_t str_sz = str_size(str);
str              1293 kernel/generic/common/str.c 	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1301 kernel/generic/common/str.c 		memmove(str, &str[pos], str_sz - pos);
str              1303 kernel/generic/common/str.c 		str[pos] = '\0';
str              1314 kernel/generic/common/str.c char *str_rchr(const char *str, char32_t ch)
str              1321 kernel/generic/common/str.c 	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1323 kernel/generic/common/str.c 			res = (str + last);
str              1344 kernel/generic/common/str.c bool wstr_linsert(char32_t *str, char32_t ch, size_t pos, size_t max_pos)
str              1346 kernel/generic/common/str.c 	size_t len = wstr_length(str);
str              1353 kernel/generic/common/str.c 		str[i + 1] = str[i];
str              1355 kernel/generic/common/str.c 	str[pos] = ch;
str              1372 kernel/generic/common/str.c bool wstr_remove(char32_t *str, size_t pos)
str              1374 kernel/generic/common/str.c 	size_t len = wstr_length(str);
str              1381 kernel/generic/common/str.c 		str[i - 1] = str[i];
str                47 kernel/generic/include/print.h extern int snprintf(char *str, size_t size, const char *fmt, ...)
str                51 kernel/generic/include/print.h extern int vsnprintf(char *str, size_t size, const char *fmt, va_list ap);
str               201 kernel/generic/src/log/log.c static int log_printf_str_write(const char *str, size_t size, void *data)
str               207 kernel/generic/src/log/log.c 		kio_push_char(str_decode(str, &offset, size));
str               211 kernel/generic/src/log/log.c 	log_append((const uint8_t *)str, size);
str                38 kernel/generic/src/printf/snprintf.c int snprintf(char *str, size_t size, const char *fmt, ...)
str                44 kernel/generic/src/printf/snprintf.c 	ret = vsnprintf(str, size, fmt, args);
str                43 kernel/generic/src/printf/vprintf.c static int vprintf_str_write(const char *str, size_t size, void *data)
str                49 kernel/generic/src/printf/vprintf.c 		putuchar(str_decode(str, &offset, size));
str                56 kernel/generic/src/printf/vprintf.c static int vprintf_wstr_write(const char32_t *str, size_t size, void *data)
str                62 kernel/generic/src/printf/vprintf.c 		putuchar(str[chars]);
str                70 kernel/generic/src/printf/vprintf.c int puts(const char *str)
str                76 kernel/generic/src/printf/vprintf.c 	while ((uc = str_decode(str, &offset, STR_NO_LIMIT)) != 0) {
str                64 kernel/generic/src/printf/vsnprintf.c static int vsnprintf_str_write(const char *str, size_t size, vsnprintf_data_t *data)
str                90 kernel/generic/src/printf/vsnprintf.c 			char32_t uc = str_decode(str, &index, size);
str               106 kernel/generic/src/printf/vsnprintf.c 	memcpy((void *)(data->dst + data->len), (void *) str, size);
str               135 kernel/generic/src/printf/vsnprintf.c static int vsnprintf_wstr_write(const char32_t *str, size_t size, vsnprintf_data_t *data)
str               155 kernel/generic/src/printf/vsnprintf.c 		if (chr_encode(str[index], data->dst, &data->len, data->size - 1) != EOK)
str               170 kernel/generic/src/printf/vsnprintf.c int vsnprintf(char *str, size_t size, const char *fmt, va_list ap)
str               175 kernel/generic/src/printf/vsnprintf.c 		str
str               185 kernel/generic/src/printf/vsnprintf.c 		str[0] = 0;
str                91 uspace/app/bdsh/cmds/modules/mkfile/mkfile.c static errno_t read_size(const char *str, size_t *rsize)
str                96 uspace/app/bdsh/cmds/modules/mkfile/mkfile.c 	number = strtol(str, &ep, 10);
str               351 uspace/app/bdsh/input.c 	char *str;
str               356 uspace/app/bdsh/input.c 	rc = tinput_read(tinput, &str);
str               371 uspace/app/bdsh/input.c 	if (str_cmp(str, "") == 0) {
str               372 uspace/app/bdsh/input.c 		free(str);
str               376 uspace/app/bdsh/input.c 	usr->line = str;
str               327 uspace/app/calculator/calculator.c 	const char *str;
str               330 uspace/app/calculator/calculator.c 	str = (expr != NULL) ? expr : NULL_DISPLAY;
str               332 uspace/app/calculator/calculator.c 	(void) clipboard_put_str(str);
str               342 uspace/app/calculator/calculator.c 	char *str;
str               349 uspace/app/calculator/calculator.c 	rc = clipboard_get_str(&str);
str               354 uspace/app/calculator/calculator.c 	cp = str;
str               364 uspace/app/calculator/calculator.c 	expr = str;
str               147 uspace/app/df/df.c 	char *str;
str               154 uspace/app/df/df.c 		rc = size_to_human_readable(st->f_blocks, st->f_bsize, &str);
str               157 uspace/app/df/df.c 		printf(" %14s", str);
str               158 uspace/app/df/df.c 		free(str);
str               161 uspace/app/df/df.c 		rc = size_to_human_readable(used_blocks, st->f_bsize, &str);
str               164 uspace/app/df/df.c 		printf(" %14s", str);
str               165 uspace/app/df/df.c 		free(str);
str               168 uspace/app/df/df.c 		rc = size_to_human_readable(st->f_bfree, st->f_bsize, &str);
str               171 uspace/app/df/df.c 		printf(" %14s", str);
str               172 uspace/app/df/df.c 		free(str);
str               238 uspace/app/edit/edit.c static void status_display(char const *str);
str              2118 uspace/app/edit/edit.c 	char *str;
str              2121 uspace/app/edit/edit.c 	str = range_get_str(&pa, &pb);
str              2122 uspace/app/edit/edit.c 	if (str == NULL || clipboard_put_str(str) != EOK) {
str              2125 uspace/app/edit/edit.c 	free(str);
str              2146 uspace/app/edit/edit.c 	char *str;
str              2151 uspace/app/edit/edit.c 	rc = clipboard_get_str(&str);
str              2152 uspace/app/edit/edit.c 	if (rc != EOK || str == NULL)
str              2158 uspace/app/edit/edit.c 		c = str_decode(str, &off, STR_NO_LIMIT);
str              2165 uspace/app/edit/edit.c 	free(str);
str              2244 uspace/app/edit/edit.c static char32_t get_first_wchar(const char *str)
str              2247 uspace/app/edit/edit.c 	return str_decode(str, &offset, str_size(str));
str              2346 uspace/app/edit/edit.c static void status_display(char const *str)
str              2348 uspace/app/edit/edit.c 	(void) ui_label_set_text(edit.status, str);
str               112 uspace/app/edit/sheet.c errno_t sheet_insert(sheet_t *sh, spt_t *pos, enum dir_spec dir, char *str)
str               118 uspace/app/edit/sheet.c 	sz = str_size(str);
str               133 uspace/app/edit/sheet.c 	memcpy(ipp, str, sz);
str               386 uspace/app/fontedit/fontedit.c 	char str[5];
str               397 uspace/app/fontedit/fontedit.c 	snprintf(str, sizeof(str), "%lc", event->c);
str               399 uspace/app/fontedit/fontedit.c 	rc = gfx_font_search_glyph(fedit->font, str, &glyph, &stradv);
str               424 uspace/app/fontedit/fontedit.c 	rc = gfx_glyph_set_pattern(glyph, str);
str               499 uspace/app/fontedit/fontedit.c     gfx_coord_t x, gfx_coord_t y, gfx_color_t *color, const char *str)
str               511 uspace/app/fontedit/fontedit.c 	return gfx_puttext(&pos, &fmt, str);
str               373 uspace/app/inet/inet.c 		table_printf(table, "%s\t %s\t %zu\n", saddr.str, linfo.name,
str               240 uspace/app/kio/kio.c 	char *str;
str               241 uspace/app/kio/kio.c 	while ((rc = tinput_read(input, &str)) == EOK) {
str               242 uspace/app/kio/kio.c 		if (str_cmp(str, "") == 0) {
str               243 uspace/app/kio/kio.c 			free(str);
str               247 uspace/app/kio/kio.c 		kio_command(str, str_size(str));
str               248 uspace/app/kio/kio.c 		free(str);
str                84 uspace/app/mixerctl/mixerctl.c static unsigned get_number(const char *str)
str                87 uspace/app/mixerctl/mixerctl.c 	str_uint16_t(str, NULL, 10, false, &num);
str               207 uspace/app/mkext4/mkext4.c static errno_t ext4_version_parse(const char *str, ext4_cfg_ver_t *ver)
str               209 uspace/app/mkext4/mkext4.c 	if (str_cmp(str, "ext2old") == 0) {
str               214 uspace/app/mkext4/mkext4.c 	if (str_cmp(str, "ext2") == 0) {
str               348 uspace/app/nic/nic.c static errno_t nic_set_speed(int i, char *str)
str               357 uspace/app/nic/nic.c 	rc = str_uint32_t(str, NULL, 10, false, &speed);
str               383 uspace/app/nic/nic.c static errno_t nic_set_duplex(int i, char *str)
str               392 uspace/app/nic/nic.c 	if (!str_cmp(str, "half"))
str               395 uspace/app/nic/nic.c 	if (!str_cmp(str, "full"))
str               398 uspace/app/nic/nic.c 	if (!str_cmp(str, "simplex"))
str               441 uspace/app/nic/nic.c static errno_t nic_set_addr(int i, char *str)
str               454 uspace/app/nic/nic.c 	if (str_size(str) != 17) {
str               460 uspace/app/nic/nic.c 		rc = str_uint8_t(&str[idx * 3], NULL, 16, false, &addr.address[idx]);
str               470 uspace/app/nic/nic.c static errno_t nic_set_rx_unicast(int i, char *str)
str               480 uspace/app/nic/nic.c 	if (!str_cmp(str, "block")) {
str               485 uspace/app/nic/nic.c 	if (!str_cmp(str, "default")) {
str               490 uspace/app/nic/nic.c 	if (!str_cmp(str, "list")) {
str               495 uspace/app/nic/nic.c 	if (!str_cmp(str, "promisc")) {
str               504 uspace/app/nic/nic.c static errno_t nic_set_rx_multicast(int i, char *str)
str               514 uspace/app/nic/nic.c 	if (!str_cmp(str, "block")) {
str               519 uspace/app/nic/nic.c 	if (!str_cmp(str, "list")) {
str               524 uspace/app/nic/nic.c 	if (!str_cmp(str, "promisc")) {
str               533 uspace/app/nic/nic.c static errno_t nic_set_rx_broadcast(int i, char *str)
str               543 uspace/app/nic/nic.c 	if (!str_cmp(str, "block")) {
str               548 uspace/app/nic/nic.c 	if (!str_cmp(str, "accept")) {
str               375 uspace/app/sbi/src/bigint.c 	char *str;
str               401 uspace/app/sbi/src/bigint.c 	str = malloc(nchars * sizeof(char) + 1);
str               402 uspace/app/sbi/src/bigint.c 	if (str == NULL) {
str               408 uspace/app/sbi/src/bigint.c 		str[0] = '0';
str               410 uspace/app/sbi/src/bigint.c 		str[0] = '-';
str               420 uspace/app/sbi/src/bigint.c 		str[nchars - idx] = digits[(int) rem];
str               425 uspace/app/sbi/src/bigint.c 	str[nchars] = '\0';
str               426 uspace/app/sbi/src/bigint.c 	*dptr = str;
str               435 uspace/app/sbi/src/bigint.c 	char *str;
str               440 uspace/app/sbi/src/bigint.c 	bigint_get_as_string(bigint, &str);
str               441 uspace/app/sbi/src/bigint.c 	printf("%s", str);
str               442 uspace/app/sbi/src/bigint.c 	free(str);
str                42 uspace/app/sbi/src/builtin.h void builtin_return_string(run_t *run, const char *str);
str                73 uspace/app/sbi/src/builtin/bi_char.c 	char *str;
str                92 uspace/app/sbi/src/builtin/bi_char.c 	str = os_chr_to_astr((char32_t) char_val);
str                95 uspace/app/sbi/src/builtin/bi_char.c 	builtin_return_string(run, str);
str                73 uspace/app/sbi/src/builtin/bi_int.c 	char *str;
str                80 uspace/app/sbi/src/builtin/bi_int.c 	bigint_get_as_string(ival, &str);
str                83 uspace/app/sbi/src/builtin/bi_int.c 	printf("Convert int to string '%s'.\n", str);
str                86 uspace/app/sbi/src/builtin/bi_int.c 	builtin_return_string(run, str);
str                74 uspace/app/sbi/src/builtin/bi_string.c 	const char *str;
str                87 uspace/app/sbi/src/builtin/bi_string.c 	str = self_value_var->u.string_v->value;
str                88 uspace/app/sbi/src/builtin/bi_string.c 	str_l = os_str_length(str);
str                91 uspace/app/sbi/src/builtin/bi_string.c 	printf("Get length of string '%s'.\n", str);
str               117 uspace/app/sbi/src/builtin/bi_string.c 	const char *str;
str               132 uspace/app/sbi/src/builtin/bi_string.c 	str = self_value_var->u.string_v->value;
str               133 uspace/app/sbi/src/builtin/bi_string.c 	str_l = os_str_length(str);
str               159 uspace/app/sbi/src/builtin/bi_string.c 	    start, length, str);
str               161 uspace/app/sbi/src/builtin/bi_string.c 	slice = os_str_aslice(str, start, length);
str               230 uspace/app/sbi/src/builtin/bi_textfile.c 	rdata_string_t *str;
str               276 uspace/app/sbi/src/builtin/bi_textfile.c 	str = rdata_string_new();
str               277 uspace/app/sbi/src/builtin/bi_textfile.c 	str->value = os_str_dup(line_buf);
str               280 uspace/app/sbi/src/builtin/bi_textfile.c 	str_var->u.string_v = str;
str                49 uspace/app/sbi/src/input.c static void input_init_string(input_t *input, const char *str);
str                89 uspace/app/sbi/src/input.c errno_t input_new_string(input_t **input, const char *str)
str                95 uspace/app/sbi/src/input.c 	input_init_string(*input, str);
str               121 uspace/app/sbi/src/input.c 	input->str = NULL;
str               140 uspace/app/sbi/src/input.c 	input->str = NULL;
str               150 uspace/app/sbi/src/input.c static void input_init_string(input_t *input, const char *str)
str               159 uspace/app/sbi/src/input.c 	input->str = str;
str               193 uspace/app/sbi/src/input.c 	} else if (input->str != NULL) {
str               197 uspace/app/sbi/src/input.c 		sp = input->str;
str               210 uspace/app/sbi/src/input.c 		input->str = sp;
str                36 uspace/app/sbi/src/input.h errno_t input_new_string(input_t **input, const char *str);
str                43 uspace/app/sbi/src/input_t.h 	const char *str;
str                60 uspace/app/sbi/src/os/helenos.c 	char *str;
str                65 uspace/app/sbi/src/os/helenos.c 	str = malloc(a_size + b_size + 1);
str                66 uspace/app/sbi/src/os/helenos.c 	if (str == NULL) {
str                71 uspace/app/sbi/src/os/helenos.c 	memcpy(str, a, a_size);
str                72 uspace/app/sbi/src/os/helenos.c 	memcpy(str + a_size, b, b_size);
str                73 uspace/app/sbi/src/os/helenos.c 	str[a_size + b_size] = '\0';
str                75 uspace/app/sbi/src/os/helenos.c 	return str;
str                90 uspace/app/sbi/src/os/helenos.c char *os_str_aslice(const char *str, size_t start, size_t length)
str                98 uspace/app/sbi/src/os/helenos.c 	assert(start + length <= str_length(str));
str               102 uspace/app/sbi/src/os/helenos.c 		c = str_decode(str, &offset, STR_NO_LIMIT);
str               108 uspace/app/sbi/src/os/helenos.c 	size = str_lsize(str, length);
str               109 uspace/app/sbi/src/os/helenos.c 	slice = str_ndup(str + offset, size);
str               130 uspace/app/sbi/src/os/helenos.c size_t os_str_length(const char *str)
str               132 uspace/app/sbi/src/os/helenos.c 	return str_length(str);
str               140 uspace/app/sbi/src/os/helenos.c char *os_str_dup(const char *str)
str               142 uspace/app/sbi/src/os/helenos.c 	return str_dup(str);
str               153 uspace/app/sbi/src/os/helenos.c errno_t os_str_get_char(const char *str, int index, int *out_char)
str               164 uspace/app/sbi/src/os/helenos.c 		c = str_decode(str, &offset, STR_NO_LIMIT);
str               182 uspace/app/sbi/src/os/helenos.c 	char *str;
str               185 uspace/app/sbi/src/os/helenos.c 	str = malloc(STR_BOUNDS(1) + 1);
str               186 uspace/app/sbi/src/os/helenos.c 	if (str == NULL) {
str               192 uspace/app/sbi/src/os/helenos.c 	if (chr_encode(chr, str, &offset, STR_BOUNDS(1)) != EOK) {
str               198 uspace/app/sbi/src/os/helenos.c 	str[offset] = '\0';
str               199 uspace/app/sbi/src/os/helenos.c 	return str;
str                35 uspace/app/sbi/src/os/os.h char *os_str_aslice(const char *str, size_t start, size_t length);
str                37 uspace/app/sbi/src/os/os.h char *os_str_dup(const char *str);
str                38 uspace/app/sbi/src/os/os.h size_t os_str_length(const char *str);
str                39 uspace/app/sbi/src/os/os.h errno_t os_str_get_char(const char *str, int index, int *out_char);
str                63 uspace/app/sbi/src/os/posix.c 	char *str;
str                68 uspace/app/sbi/src/os/posix.c 	str = malloc(a_len + b_len + 1);
str                69 uspace/app/sbi/src/os/posix.c 	if (str == NULL) {
str                74 uspace/app/sbi/src/os/posix.c 	memcpy(str, a, a_len);
str                75 uspace/app/sbi/src/os/posix.c 	memcpy(str + a_len, b, b_len);
str                76 uspace/app/sbi/src/os/posix.c 	str[a_len + b_len] = '\0';
str                78 uspace/app/sbi/src/os/posix.c 	return str;
str                93 uspace/app/sbi/src/os/posix.c char *os_str_aslice(const char *str, size_t start, size_t length)
str                97 uspace/app/sbi/src/os/posix.c 	assert(start + length <= strlen(str));
str               104 uspace/app/sbi/src/os/posix.c 	strncpy(slice, str + start, length);
str               126 uspace/app/sbi/src/os/posix.c size_t os_str_length(const char *str)
str               128 uspace/app/sbi/src/os/posix.c 	return strlen(str);
str               136 uspace/app/sbi/src/os/posix.c char *os_str_dup(const char *str)
str               138 uspace/app/sbi/src/os/posix.c 	return strdup(str);
str               149 uspace/app/sbi/src/os/posix.c errno_t os_str_get_char(const char *str, int index, int *out_char)
str               153 uspace/app/sbi/src/os/posix.c 	len = strlen(str);
str               157 uspace/app/sbi/src/os/posix.c 	*out_char = str[index];
str               168 uspace/app/sbi/src/os/posix.c 	char *str;
str               170 uspace/app/sbi/src/os/posix.c 	str = malloc(2);
str               171 uspace/app/sbi/src/os/posix.c 	if (str == NULL) {
str               176 uspace/app/sbi/src/os/posix.c 	str[0] = (char) chr;
str               177 uspace/app/sbi/src/os/posix.c 	str[1] = '\0';
str               179 uspace/app/sbi/src/os/posix.c 	return str;
str                64 uspace/app/sbi/src/strtab.c sid_t strtab_get_sid(const char *str)
str                74 uspace/app/sbi/src/strtab.c 		if (os_str_cmp(str, list_node_data(node, char *)) == 0)
str                81 uspace/app/sbi/src/strtab.c 	list_append(&str_list, os_str_dup(str));
str                35 uspace/app/sbi/src/strtab.h sid_t strtab_get_sid(const char *str);
str               230 uspace/app/stats/stats.c static char *escape_dot(const char *str)
str               233 uspace/app/stats/stats.c 	for (size_t i = 0; str[i] != 0; i++) {
str               234 uspace/app/stats/stats.c 		if (str[i] == '"')
str               245 uspace/app/stats/stats.c 	for (size_t i = 0; str[i] != 0; i++) {
str               246 uspace/app/stats/stats.c 		if (str[i] == '"') {
str               251 uspace/app/stats/stats.c 		escaped_str[pos] = str[i];
str               486 uspace/app/taskbar/tbsmenu.c static errno_t tbsmenu_cmd_split(const char *str, tbsmenu_cmd_t *cmd)
str               493 uspace/app/taskbar/tbsmenu.c 	buf = str_dup(str);
str               507 uspace/app/taskbar/tbsmenu.c 	buf = str_dup(str);
str               466 uspace/app/taskdump/taskdump.c 	char *str;
str               475 uspace/app/taskdump/taskdump.c 		ret = asprintf(&str, "%p (%s+%zu)", (void *) addr, name, offs);
str               477 uspace/app/taskdump/taskdump.c 		ret = asprintf(&str, "%p", (void *) addr);
str               485 uspace/app/taskdump/taskdump.c 	return str;
str               161 uspace/app/top/screen.c static void print_string(const char *str)
str               173 uspace/app/top/screen.c 		printf("%.*s", pos, str);
str               229 uspace/app/uidemo/uidemo.c 	char *str;
str               233 uspace/app/uidemo/uidemo.c 	rv = asprintf(&str, "Slider at %d of %d", (int) pos,
str               240 uspace/app/uidemo/uidemo.c 	rc = ui_entry_set_text(demo->entry, str);
str               245 uspace/app/uidemo/uidemo.c 	free(str);
str               324 uspace/app/uidemo/uidemo.c 	char *str;
str               328 uspace/app/uidemo/uidemo.c 	rv = asprintf(&str, "Scrollbar: %d of %d", (int) pos,
str               335 uspace/app/uidemo/uidemo.c 	rc = ui_entry_set_text(demo->entry, str);
str               340 uspace/app/uidemo/uidemo.c 	free(str);
str               656 uspace/app/uidemo/uidemo.c 	char str[2];
str               659 uspace/app/uidemo/uidemo.c 	str[0] = (char)(intptr_t)earg;
str               660 uspace/app/uidemo/uidemo.c 	str[1] = '\0';
str               661 uspace/app/uidemo/uidemo.c 	(void) ui_entry_insert_str(demo->entry, str);
str               186 uspace/dist/src/c/demos/edit/edit.c static void status_display(char const *str);
str               631 uspace/dist/src/c/demos/edit/edit.c 	char *str;
str               637 uspace/dist/src/c/demos/edit/edit.c 	asprintf(&str, "%s: %s", prompt, init_value);
str               638 uspace/dist/src/c/demos/edit/edit.c 	status_display(str);
str               639 uspace/dist/src/c/demos/edit/edit.c 	console_set_pos(con, 1 + str_length(str), scr_rows - 1);
str               640 uspace/dist/src/c/demos/edit/edit.c 	free(str);
str               683 uspace/dist/src/c/demos/edit/edit.c 	str = wstr_to_astr(buffer);
str               687 uspace/dist/src/c/demos/edit/edit.c 	return str;
str              1498 uspace/dist/src/c/demos/edit/edit.c 	char *str;
str              1501 uspace/dist/src/c/demos/edit/edit.c 	str = range_get_str(&pa, &pb);
str              1502 uspace/dist/src/c/demos/edit/edit.c 	if (str == NULL || clipboard_put_str(str) != EOK) {
str              1505 uspace/dist/src/c/demos/edit/edit.c 	free(str);
str              1510 uspace/dist/src/c/demos/edit/edit.c 	char *str;
str              1515 uspace/dist/src/c/demos/edit/edit.c 	rc = clipboard_get_str(&str);
str              1516 uspace/dist/src/c/demos/edit/edit.c 	if (rc != EOK || str == NULL)
str              1522 uspace/dist/src/c/demos/edit/edit.c 		c = str_decode(str, &off, STR_NO_LIMIT);
str              1529 uspace/dist/src/c/demos/edit/edit.c 	free(str);
str              1608 uspace/dist/src/c/demos/edit/edit.c static char32_t get_first_wchar(const char *str)
str              1611 uspace/dist/src/c/demos/edit/edit.c 	return str_decode(str, &offset, str_size(str));
str              1710 uspace/dist/src/c/demos/edit/edit.c static void status_display(char const *str)
str              1716 uspace/dist/src/c/demos/edit/edit.c 	printf(" %*s ", pos, str);
str               103 uspace/dist/src/c/demos/edit/sheet.c errno_t sheet_insert(sheet_t *sh, spt_t *pos, enum dir_spec dir, char *str)
str               109 uspace/dist/src/c/demos/edit/sheet.c 	sz = str_size(str);
str               124 uspace/dist/src/c/demos/edit/sheet.c 	memcpy(ipp, str, sz);
str               163 uspace/dist/src/c/demos/top/screen.c static void print_string(const char *str)
str               175 uspace/dist/src/c/demos/top/screen.c 		printf("%.*s", pos, str);
str               348 uspace/drv/bus/isa/isa.c static char *str_get_line(char *str, char **next)
str               350 uspace/drv/bus/isa/isa.c 	char *line = str;
str               353 uspace/drv/bus/isa/isa.c 	if (str == NULL) {
str               357 uspace/drv/bus/isa/isa.c 	while (*str != '\0' && *str != '\n') {
str               358 uspace/drv/bus/isa/isa.c 		str++;
str               361 uspace/drv/bus/isa/isa.c 	if (*str != '\0') {
str               362 uspace/drv/bus/isa/isa.c 		*next = str + 1;
str               365 uspace/drv/bus/isa/isa.c 	*str = '\0';
str               331 uspace/drv/bus/usb/xhci/debug.c 		    "%u protocol speeds", name.str,
str               108 uspace/drv/bus/usb/xhci/hc.c 				usb_log_error("Unknown protocol %.4s.", name.str);
str               167 uspace/drv/bus/usb/xhci/hc.c 					str_ncpy(speeds[psiv].name, 4, name.str, 4);
str               553 uspace/drv/bus/usb/xhci/hw_struct/regs.h 	char str [4];
str               558 uspace/drv/bus/usb/xhci/hw_struct/regs.h 	.str = "USB "
str               241 uspace/lib/bithenge/src/print.c errno_t bithenge_print_node_to_string(char **str, size_t *size,
str               244 uspace/lib/bithenge/src/print.c 	state_t state = { type, true, 0, *str, *size };
str               246 uspace/lib/bithenge/src/print.c 	*str = state.buffer;
str                87 uspace/lib/c/common/include/str.h extern char32_t str_decode(const char *str, size_t *offset, size_t sz);
str                88 uspace/lib/c/common/include/str.h extern char32_t str_decode_reverse(const char *str, size_t *offset, size_t sz);
str                89 uspace/lib/c/common/include/str.h extern errno_t chr_encode(char32_t ch, char *str, size_t *offset, size_t sz);
str                91 uspace/lib/c/common/include/str.h extern size_t str_size(const char *str);
str                92 uspace/lib/c/common/include/str.h extern size_t wstr_size(const char32_t *str);
str                94 uspace/lib/c/common/include/str.h extern size_t str_nsize(const char *str, size_t max_size);
str                95 uspace/lib/c/common/include/str.h extern size_t wstr_nsize(const char32_t *str, size_t max_size);
str                97 uspace/lib/c/common/include/str.h extern size_t str_lsize(const char *str, size_t max_len);
str                98 uspace/lib/c/common/include/str.h extern size_t wstr_lsize(const char32_t *str, size_t max_len);
str               100 uspace/lib/c/common/include/str.h extern size_t str_length(const char *str);
str               103 uspace/lib/c/common/include/str.h extern size_t str_nlength(const char *str, size_t size);
str               104 uspace/lib/c/common/include/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
str               107 uspace/lib/c/common/include/str.h extern size_t str_width(const char *str);
str               133 uspace/lib/c/common/include/str.h extern char *str_chr(const char *str, char32_t ch);
str               134 uspace/lib/c/common/include/str.h extern char *str_rchr(const char *str, char32_t ch);
str               137 uspace/lib/c/common/include/str.h extern void str_rtrim(char *str, char32_t ch);
str               138 uspace/lib/c/common/include/str.h extern void str_ltrim(char *str, char32_t ch);
str               140 uspace/lib/c/common/include/str.h extern bool wstr_linsert(char32_t *str, char32_t ch, size_t pos, size_t max_pos);
str               141 uspace/lib/c/common/include/str.h extern bool wstr_remove(char32_t *str, size_t pos);
str               173 uspace/lib/c/common/printf/printf_core.c static int printf_putstr(const char *str, printf_spec_t *ps)
str               175 uspace/lib/c/common/printf/printf_core.c 	if (str == NULL)
str               178 uspace/lib/c/common/printf/printf_core.c 	return ps->str_write((void *) str, str_size(str), ps->data);
str               298 uspace/lib/c/common/printf/printf_core.c static int print_str(char *str, int width, unsigned int precision,
str               301 uspace/lib/c/common/printf/printf_core.c 	if (str == NULL)
str               304 uspace/lib/c/common/printf/printf_core.c 	size_t strw = str_length(str);
str               322 uspace/lib/c/common/printf/printf_core.c 	size_t size = str_lsize(str, precision);
str               323 uspace/lib/c/common/printf/printf_core.c 	if ((retval = printf_putnchars(str, size, ps)) < 0)
str               347 uspace/lib/c/common/printf/printf_core.c static int print_wstr(char32_t *str, int width, unsigned int precision,
str               350 uspace/lib/c/common/printf/printf_core.c 	if (str == NULL)
str               353 uspace/lib/c/common/printf/printf_core.c 	size_t strw = wstr_length(str);
str               371 uspace/lib/c/common/printf/printf_core.c 	size_t size = wstr_lsize(str, precision);
str               372 uspace/lib/c/common/printf/printf_core.c 	if ((retval = printf_wputnchars(str, size, ps)) < 0)
str               562 uspace/lib/c/common/printf/printf_core.c 	char *str;
str               606 uspace/lib/c/common/printf/printf_core.c 	const char *str;
str               609 uspace/lib/c/common/printf/printf_core.c 		str = val.is_infinity ? "INF" : "NAN";
str               611 uspace/lib/c/common/printf/printf_core.c 		str = val.is_infinity ? "inf" : "nan";
str               634 uspace/lib/c/common/printf/printf_core.c 	if ((ret = ps->str_write(str, str_len, ps->data)) < 0)
str               709 uspace/lib/c/common/printf/printf_core.c 	char *buf = val_str->str;
str               863 uspace/lib/c/common/printf/printf_core.c 	val_str.str = buf;
str               944 uspace/lib/c/common/printf/printf_core.c 	char *buf  = val_str->str;
str              1079 uspace/lib/c/common/printf/printf_core.c 	val_str.str = buf;
str              1172 uspace/lib/c/common/printf/printf_core.c 		val_str.str = buf;
str               148 uspace/lib/c/common/str.c char32_t str_decode(const char *str, size_t *offset, size_t size)
str               154 uspace/lib/c/common/str.c 	uint8_t b0 = (uint8_t) str[(*offset)++];
str               189 uspace/lib/c/common/str.c 		uint8_t b = (uint8_t) str[(*offset)++];
str               218 uspace/lib/c/common/str.c char32_t str_decode_reverse(const char *str, size_t *offset, size_t size)
str               226 uspace/lib/c/common/str.c 		uint8_t b = (uint8_t) str[--(*offset)];
str               235 uspace/lib/c/common/str.c 			return str_decode(str, &start_offset, size);
str               261 uspace/lib/c/common/str.c errno_t chr_encode(const char32_t ch, char *str, size_t *offset, size_t size)
str               304 uspace/lib/c/common/str.c 		str[*offset + i] = 0x80 | (cc & LO_MASK_32(CONT_BITS));
str               309 uspace/lib/c/common/str.c 	str[*offset] = (cc & LO_MASK_32(b0_bits)) | HI_MASK_8(8 - b0_bits - 1);
str               327 uspace/lib/c/common/str.c size_t str_size(const char *str)
str               331 uspace/lib/c/common/str.c 	while (*str++ != 0)
str               347 uspace/lib/c/common/str.c size_t wstr_size(const char32_t *str)
str               349 uspace/lib/c/common/str.c 	return (wstr_length(str) * sizeof(char32_t));
str               365 uspace/lib/c/common/str.c size_t str_lsize(const char *str, size_t max_len)
str               371 uspace/lib/c/common/str.c 		if (str_decode(str, &offset, STR_NO_LIMIT) == 0)
str               391 uspace/lib/c/common/str.c size_t str_nsize(const char *str, size_t max_size)
str               395 uspace/lib/c/common/str.c 	while ((*str++ != 0) && (size < max_size))
str               412 uspace/lib/c/common/str.c size_t wstr_nsize(const char32_t *str, size_t max_size)
str               414 uspace/lib/c/common/str.c 	return (wstr_nlength(str, max_size) * sizeof(char32_t));
str               430 uspace/lib/c/common/str.c size_t wstr_lsize(const char32_t *str, size_t max_len)
str               432 uspace/lib/c/common/str.c 	return (wstr_nlength(str, max_len * sizeof(char32_t)) * sizeof(char32_t));
str               442 uspace/lib/c/common/str.c size_t str_length(const char *str)
str               447 uspace/lib/c/common/str.c 	while (str_decode(str, &offset, STR_NO_LIMIT) != 0)
str               478 uspace/lib/c/common/str.c size_t str_nlength(const char *str, size_t size)
str               483 uspace/lib/c/common/str.c 	while (str_decode(str, &offset, size) != 0)
str               497 uspace/lib/c/common/str.c size_t wstr_nlength(const char32_t *str, size_t size)
str               503 uspace/lib/c/common/str.c 	while ((offset < limit) && (*str++ != 0)) {
str               526 uspace/lib/c/common/str.c size_t str_width(const char *str)
str               532 uspace/lib/c/common/str.c 	while ((ch = str_decode(str, &offset, STR_NO_LIMIT)) != 0)
str              1121 uspace/lib/c/common/str.c 	char *str;
str              1140 uspace/lib/c/common/str.c 	str = malloc(dest_size + 1);
str              1141 uspace/lib/c/common/str.c 	if (str == NULL)
str              1150 uspace/lib/c/common/str.c 		if (chr_encode(ch, str, &dest_off, dest_size) != EOK)
str              1154 uspace/lib/c/common/str.c 	str[dest_size] = '\0';
str              1155 uspace/lib/c/common/str.c 	return str;
str              1197 uspace/lib/c/common/str.c char32_t *str_to_awstr(const char *str)
str              1199 uspace/lib/c/common/str.c 	size_t len = str_length(str);
str              1205 uspace/lib/c/common/str.c 	str_to_wstr(wstr, len + 1, str);
str              1216 uspace/lib/c/common/str.c char *str_chr(const char *str, char32_t ch)
str              1222 uspace/lib/c/common/str.c 	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1224 uspace/lib/c/common/str.c 			return (char *) (str + last);
str              1258 uspace/lib/c/common/str.c void str_rtrim(char *str, char32_t ch)
str              1266 uspace/lib/c/common/str.c 	while ((c = str_decode(str, &off, STR_NO_LIMIT))) {
str              1272 uspace/lib/c/common/str.c 			last_chunk = (str + pos);
str              1286 uspace/lib/c/common/str.c void str_ltrim(char *str, char32_t ch)
str              1291 uspace/lib/c/common/str.c 	size_t str_sz = str_size(str);
str              1293 uspace/lib/c/common/str.c 	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1301 uspace/lib/c/common/str.c 		memmove(str, &str[pos], str_sz - pos);
str              1303 uspace/lib/c/common/str.c 		str[pos] = '\0';
str              1314 uspace/lib/c/common/str.c char *str_rchr(const char *str, char32_t ch)
str              1321 uspace/lib/c/common/str.c 	while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
str              1323 uspace/lib/c/common/str.c 			res = (str + last);
str              1344 uspace/lib/c/common/str.c bool wstr_linsert(char32_t *str, char32_t ch, size_t pos, size_t max_pos)
str              1346 uspace/lib/c/common/str.c 	size_t len = wstr_length(str);
str              1353 uspace/lib/c/common/str.c 		str[i + 1] = str[i];
str              1355 uspace/lib/c/common/str.c 	str[pos] = ch;
str              1372 uspace/lib/c/common/str.c bool wstr_remove(char32_t *str, size_t pos)
str              1374 uspace/lib/c/common/str.c 	size_t len = wstr_length(str);
str              1381 uspace/lib/c/common/str.c 		str[i - 1] = str[i];
str               275 uspace/lib/c/generic/capa.c errno_t capa_parse(const char *str, capa_spec_t *capa)
str               286 uspace/lib/c/generic/capa.c 	eptr = str;
str                43 uspace/lib/c/generic/io/asprintf.c static int asprintf_str_write(const char *str, size_t count, void *unused)
str                45 uspace/lib/c/generic/io/asprintf.c 	return str_nlength(str, count);
str                48 uspace/lib/c/generic/io/asprintf.c static int asprintf_wstr_write(const char32_t *str, size_t count, void *unused)
str                50 uspace/lib/c/generic/io/asprintf.c 	return wstr_nlength(str, count);
str               797 uspace/lib/c/generic/io/io.c int fputs(const char *str, FILE *stream)
str               799 uspace/lib/c/generic/io/io.c 	(void) fwrite(str, str_size(str), 1, stream);
str               805 uspace/lib/c/generic/io/io.c int puts(const char *str)
str               807 uspace/lib/c/generic/io/io.c 	if (fputs(str, stdout) < 0)
str               828 uspace/lib/c/generic/io/io.c char *fgets(char *str, int size, FILE *stream)
str               839 uspace/lib/c/generic/io/io.c 		str[idx++] = c;
str               851 uspace/lib/c/generic/io/io.c 	str[idx] = '\0';
str               852 uspace/lib/c/generic/io/io.c 	return str;
str               133 uspace/lib/c/generic/io/kio.c static int kio_vprintf_str_write(const char *str, size_t size, void *data)
str               138 uspace/lib/c/generic/io/kio.c 	(void) kio_write(str, size, &wr);
str               139 uspace/lib/c/generic/io/kio.c 	return str_nlength(str, wr);
str               142 uspace/lib/c/generic/io/kio.c static int kio_vprintf_wstr_write(const char32_t *str, size_t size, void *data)
str               152 uspace/lib/c/generic/io/kio.c 		if (chr_encode(str[chars], buf, &sz, STR_BOUNDS(1)) == EOK)
str                47 uspace/lib/c/generic/io/snprintf.c int snprintf(char *str, size_t size, const char *fmt, ...)
str                52 uspace/lib/c/generic/io/snprintf.c 	int ret = vsnprintf(str, size, fmt, args);
str               275 uspace/lib/c/generic/io/table.c static errno_t table_cell_extend(table_cell_t *cell, const char *str, size_t len)
str               281 uspace/lib/c/generic/io/table.c 		cell->text = str_ndup(str, len);
str               285 uspace/lib/c/generic/io/table.c 		rc = asprintf(&cstr, "%s%.*s", cell->text, (int)len, str);
str               482 uspace/lib/c/generic/io/table.c 	char *str;
str               490 uspace/lib/c/generic/io/table.c 	ret = vasprintf(&str, fmt, args);
str               498 uspace/lib/c/generic/io/table.c 	sp = str;
str               542 uspace/lib/c/generic/io/table.c 	free(str);
str                44 uspace/lib/c/generic/io/vprintf.c static int vprintf_str_write(const char *str, size_t size, void *stream)
str                46 uspace/lib/c/generic/io/vprintf.c 	size_t wr = fwrite(str, 1, size, (FILE *) stream);
str                47 uspace/lib/c/generic/io/vprintf.c 	return str_nlength(str, wr);
str                50 uspace/lib/c/generic/io/vprintf.c static int vprintf_wstr_write(const char32_t *str, size_t size, void *stream)
str                56 uspace/lib/c/generic/io/vprintf.c 		if (fputuc(str[chars], (FILE *) stream) <= 0)
str                64 uspace/lib/c/generic/io/vsnprintf.c static int vsnprintf_str_write(const char *str, size_t size, vsnprintf_data_t *data)
str                90 uspace/lib/c/generic/io/vsnprintf.c 			char32_t uc = str_decode(str, &index, size);
str               106 uspace/lib/c/generic/io/vsnprintf.c 	memcpy((void *)(data->dst + data->len), (void *) str, size);
str               135 uspace/lib/c/generic/io/vsnprintf.c static int vsnprintf_wstr_write(const char32_t *str, size_t size, vsnprintf_data_t *data)
str               155 uspace/lib/c/generic/io/vsnprintf.c 		if (chr_encode(str[index], data->dst, &data->len, data->size - 1) != EOK)
str               170 uspace/lib/c/generic/io/vsnprintf.c int vsnprintf(char *str, size_t size, const char *fmt, va_list ap)
str               175 uspace/lib/c/generic/io/vsnprintf.c 		str
str               185 uspace/lib/c/generic/io/vsnprintf.c 		str[0] = 0;
str                94 uspace/lib/c/generic/stdio/sstream.c void __sstream_init(const char *str, FILE *stream)
str                98 uspace/lib/c/generic/stdio/sstream.c 	stream->arg = (void *)str;
str               202 uspace/lib/c/generic/uuid.c errno_t uuid_parse(const char *str, uuid_t *uuid, const char **endptr)
str               213 uspace/lib/c/generic/uuid.c 	rc = str_uint32_t(str, &eptr, 16, false, &time_low);
str               214 uspace/lib/c/generic/uuid.c 	if (rc != EOK || eptr != str + 8 || *eptr != '-')
str               217 uspace/lib/c/generic/uuid.c 	rc = str_uint16_t(str + 9, &eptr, 16, false, &time_mid);
str               218 uspace/lib/c/generic/uuid.c 	if (rc != EOK || eptr != str + 13 || *eptr != '-')
str               221 uspace/lib/c/generic/uuid.c 	rc = str_uint16_t(str + 14, &eptr, 16, false, &time_ver);
str               222 uspace/lib/c/generic/uuid.c 	if (rc != EOK || eptr != str + 18 || *eptr != '-')
str               225 uspace/lib/c/generic/uuid.c 	rc = str_uint16_t(str + 19, &eptr, 16, false, &clock);
str               226 uspace/lib/c/generic/uuid.c 	if (rc != EOK || eptr != str + 23 || *eptr != '-')
str               229 uspace/lib/c/generic/uuid.c 	rc = str_uint64_t(str + 24, &eptr, 16, false, &node);
str               230 uspace/lib/c/generic/uuid.c 	if (rc != EOK || eptr != str + 36)
str               247 uspace/lib/c/generic/uuid.c 		*endptr = str + 36;
str               249 uspace/lib/c/generic/uuid.c 		if (*(str + 36) != '\0')
str               266 uspace/lib/c/generic/uuid.c 	char *str = malloc(sizeof(char) * size);
str               267 uspace/lib/c/generic/uuid.c 	if (str == NULL)
str               274 uspace/lib/c/generic/uuid.c 	int ret = snprintf(str, size, format, uuid->time_low, uuid->time_mid,
str               280 uspace/lib/c/generic/uuid.c 		free(str);
str               284 uspace/lib/c/generic/uuid.c 	*rstr = str;
str                89 uspace/lib/c/test/capa.c 	char *str;
str                98 uspace/lib/c/test/capa.c 			rc = capa_format(&capa, &str);
str               101 uspace/lib/c/test/capa.c 			PCUT_ASSERT_STR_EQUALS(out[x + (block_size * i)], str);
str               102 uspace/lib/c/test/capa.c 			free(str);
str               107 uspace/lib/c/test/capa.c 			rc = capa_format(&capa, &str);
str               110 uspace/lib/c/test/capa.c 			PCUT_ASSERT_STR_EQUALS(out[x + (block_size * i)], str);
str               111 uspace/lib/c/test/capa.c 			free(str);
str               142 uspace/lib/c/test/capa.c 	char *str;
str               150 uspace/lib/c/test/capa.c 		rc = capa_format(&capa, &str);
str               153 uspace/lib/c/test/capa.c 		PCUT_ASSERT_STR_EQUALS(out[i], str);
str               154 uspace/lib/c/test/capa.c 		free(str);
str               159 uspace/lib/c/test/capa.c 		rc = capa_format(&capa, &str);
str               162 uspace/lib/c/test/capa.c 		PCUT_ASSERT_STR_EQUALS(out[i], str);
str               163 uspace/lib/c/test/capa.c 		free(str);
str                55 uspace/lib/c/test/main.c PCUT_IMPORT(str);
str               620 uspace/lib/c/test/stdio/scanf.c PCUT_TEST(str)
str                70 uspace/lib/c/test/stdlib.c 	const char *str = " \t4.2e1@";
str                73 uspace/lib/c/test/stdlib.c 	ld = strtold(str, &endptr);
str                35 uspace/lib/c/test/str.c #define SET_BUFFER(str) snprintf(buffer, BUFFER_SIZE, "%s", str)
str                40 uspace/lib/c/test/str.c PCUT_TEST_SUITE(str);
str               117 uspace/lib/c/test/str.c PCUT_EXPORT(str);
str               636 uspace/lib/c/test/string.c 	const char *str = "abcabcabcdabc";
str               639 uspace/lib/c/test/string.c 	p = strstr(str, "");
str               640 uspace/lib/c/test/string.c 	PCUT_ASSERT_TRUE((const char *) p == str);
str               646 uspace/lib/c/test/string.c 	const char *str = "abcabcabcdabc";
str               649 uspace/lib/c/test/string.c 	p = strstr(str, "abcd");
str               650 uspace/lib/c/test/string.c 	PCUT_ASSERT_TRUE((const char *) p == &str[6]);
str               656 uspace/lib/c/test/string.c 	const char *str = "abcabcabcdabc";
str               659 uspace/lib/c/test/string.c 	p = strstr(str, "abcde");
str               666 uspace/lib/c/test/string.c 	char str[] = ":a::b;;;$c";
str               669 uspace/lib/c/test/string.c 	t = strtok(str, ":");
str               670 uspace/lib/c/test/string.c 	PCUT_ASSERT_TRUE(t == &str[1]);
str               674 uspace/lib/c/test/string.c 	PCUT_ASSERT_TRUE(t == &str[3]);
str               678 uspace/lib/c/test/string.c 	PCUT_ASSERT_TRUE(t == &str[9]);
str               100 uspace/lib/clipboard/src/clipboard.c errno_t clipboard_put_str(const char *str)
str               102 uspace/lib/clipboard/src/clipboard.c 	size_t size = str_size(str);
str               115 uspace/lib/clipboard/src/clipboard.c 		errno_t rc = async_data_write_start(exch, (void *) str, size);
str               142 uspace/lib/clipboard/src/clipboard.c errno_t clipboard_get_str(char **str)
str               166 uspace/lib/clipboard/src/clipboard.c 			*str = sbuf;
str               199 uspace/lib/clipboard/src/clipboard.c 				*str = sbuf;
str               134 uspace/lib/clui/src/nchoice.c 	char *str;
str               163 uspace/lib/clui/src/nchoice.c 	rc = tinput_read_i(choice->tinput, istr, &str);
str               177 uspace/lib/clui/src/nchoice.c 	c = strtoul(str, &eptr, 10);
str               180 uspace/lib/clui/src/nchoice.c 		free(str);
str               184 uspace/lib/clui/src/nchoice.c 	free(str);
str               253 uspace/lib/clui/src/tinput.c static void tinput_insert_string(tinput_t *ti, const char *str)
str               255 uspace/lib/clui/src/tinput.c 	size_t ilen = min(str_length(str), INPUT_MAX_SIZE - ti->nc);
str               275 uspace/lib/clui/src/tinput.c 		char32_t c = str_decode(str, &off, STR_NO_LIMIT);
str               455 uspace/lib/clui/src/tinput.c static void tinput_history_insert(tinput_t *ti, char *str)
str               468 uspace/lib/clui/src/tinput.c 	ti->history[1] = str_dup(str);
str               476 uspace/lib/clui/src/tinput.c static void tinput_set_str(tinput_t *ti, const char *str)
str               478 uspace/lib/clui/src/tinput.c 	str_to_wstr(ti->buffer, INPUT_MAX_SIZE, str);
str               535 uspace/lib/clui/src/tinput.c 	char *str;
str               540 uspace/lib/clui/src/tinput.c 		str = wstr_to_astr(ti->buffer + sa);
str               543 uspace/lib/clui/src/tinput.c 		str = wstr_to_astr(ti->buffer + sa);
str               545 uspace/lib/clui/src/tinput.c 	if (str == NULL)
str               548 uspace/lib/clui/src/tinput.c 	if (clipboard_put_str(str) != EOK)
str               551 uspace/lib/clui/src/tinput.c 	free(str);
str               561 uspace/lib/clui/src/tinput.c 	char *str;
str               562 uspace/lib/clui/src/tinput.c 	errno_t rc = clipboard_get_str(&str);
str               564 uspace/lib/clui/src/tinput.c 	if ((rc != EOK) || (str == NULL)) {
str               569 uspace/lib/clui/src/tinput.c 	tinput_insert_string(ti, str);
str               570 uspace/lib/clui/src/tinput.c 	free(str);
str               999 uspace/lib/clui/src/tinput.c 	char *str = tinput_get_str(ti);
str              1000 uspace/lib/clui/src/tinput.c 	if (str_cmp(str, "") != 0)
str              1001 uspace/lib/clui/src/tinput.c 		tinput_history_insert(ti, str);
str              1005 uspace/lib/clui/src/tinput.c 	*dstr = str;
str               114 uspace/lib/cpp/include/__bits/adt/bitset.hpp                 const basic_string<Char, Traits, Allocator>& str,
str               124 uspace/lib/cpp/include/__bits/adt/bitset.hpp                 auto len = n < (str.size() - pos) ? n : (str.size() - pos);
str               129 uspace/lib/cpp/include/__bits/adt/bitset.hpp                     if (Traits::eq(str[j], zero))
str               131 uspace/lib/cpp/include/__bits/adt/bitset.hpp                     else if (Traits::eq(str[j], one))
str               139 uspace/lib/cpp/include/__bits/adt/bitset.hpp                 const Char* str,
str               144 uspace/lib/cpp/include/__bits/adt/bitset.hpp                     n == basic_string<Char>::npos ? basic_string<Char>{str} : basic_string<Char>{str, n},
str               473 uspace/lib/cpp/include/__bits/adt/bitset.hpp         basic_string<Char, Traits> str{};
str               487 uspace/lib/cpp/include/__bits/adt/bitset.hpp             str.push_back(c);
str               494 uspace/lib/cpp/include/__bits/adt/bitset.hpp         set = bitset<N>{str};
str               742 uspace/lib/cpp/include/__bits/complex.hpp         return os << oss.str();
str                51 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp         void operator()(ios_base& str)
str                53 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp             manipulator(str);
str                83 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp         void operator()(ios_base& str) const;
str                92 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp         void operator()(ios_base& str) const;
str               101 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp         void operator()(ios_base& str) const;
str               119 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp         void operator()(basic_ios<Char, Traits>& str) const
str               121 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp             str.fill(fill);
str               565 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& boolalpha(ios_base& str);
str               566 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& noboolalpha(ios_base& str);
str               567 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& showbase(ios_base& str);
str               568 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& noshowbase(ios_base& str);
str               569 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& showpoint(ios_base& str);
str               570 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& noshowpoint(ios_base& str);
str               571 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& showpos(ios_base& str);
str               572 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& noshowpos(ios_base& str);
str               573 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& skipws(ios_base& str);
str               574 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& noskipws(ios_base& str);
str               575 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& uppercase(ios_base& str);
str               576 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& nouppercase(ios_base& str);
str               577 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& unitbuf(ios_base& str);
str               578 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& nounitbuf(ios_base& str);
str               584 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& internal(ios_base& str);
str               585 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& left(ios_base& str);
str               586 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& right(ios_base& str);
str               592 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& dec(ios_base& str);
str               593 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& hex(ios_base& str);
str               594 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& oct(ios_base& str);
str               600 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& fixed(ios_base& str);
str               601 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& scientific(ios_base& str);
str               602 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& hexfloat(ios_base& str);
str               603 uspace/lib/cpp/include/__bits/io/ios.hpp     ios_base& defaultfloat(ios_base& str);
str               828 uspace/lib/cpp/include/__bits/io/istream.hpp                                             Char* str)
str               853 uspace/lib/cpp/include/__bits/io/istream.hpp                 str[i] = c;
str               857 uspace/lib/cpp/include/__bits/io/istream.hpp             str[i] = Char{};
str               867 uspace/lib/cpp/include/__bits/io/istream.hpp                                             unsigned char* str)
str               869 uspace/lib/cpp/include/__bits/io/istream.hpp         return is >> reinterpret_cast<char*>(str);
str               874 uspace/lib/cpp/include/__bits/io/istream.hpp                                             signed char* str)
str               876 uspace/lib/cpp/include/__bits/io/istream.hpp         return is >> reinterpret_cast<char*>(str);
str               676 uspace/lib/cpp/include/__bits/io/ostream.hpp                                             const Char* str, size_t len)
str               687 uspace/lib/cpp/include/__bits/io/ostream.hpp                         os.put(os.widen(str[i]));
str               692 uspace/lib/cpp/include/__bits/io/ostream.hpp                         os.put(os.widen(str[i]));
str               700 uspace/lib/cpp/include/__bits/io/ostream.hpp                     os.put(os.widen(str[i]));
str               710 uspace/lib/cpp/include/__bits/io/ostream.hpp                                             const Char* str)
str               714 uspace/lib/cpp/include/__bits/io/ostream.hpp         auto len = Traits::length(str);
str               716 uspace/lib/cpp/include/__bits/io/ostream.hpp         return aux::insert(os, str, len);
str               721 uspace/lib/cpp/include/__bits/io/ostream.hpp                                             const char* str)
str               725 uspace/lib/cpp/include/__bits/io/ostream.hpp         auto len = std::char_traits<char>::length(str);
str               727 uspace/lib/cpp/include/__bits/io/ostream.hpp         return aux::insert(os, str, len);
str               732 uspace/lib/cpp/include/__bits/io/ostream.hpp                                             const char* str)
str               738 uspace/lib/cpp/include/__bits/io/ostream.hpp             auto len = Traits::length(str);
str               740 uspace/lib/cpp/include/__bits/io/ostream.hpp             return aux::insert(os, str, len);
str               748 uspace/lib/cpp/include/__bits/io/ostream.hpp                                             const signed char* str)
str               754 uspace/lib/cpp/include/__bits/io/ostream.hpp             auto len = Traits::length(reinterpret_cast<const char*>(str));
str               756 uspace/lib/cpp/include/__bits/io/ostream.hpp             return aux::insert(os, str, len);
str               764 uspace/lib/cpp/include/__bits/io/ostream.hpp                                             const unsigned char* str)
str               770 uspace/lib/cpp/include/__bits/io/ostream.hpp             auto len = Traits::length(reinterpret_cast<const char*>(str));
str               772 uspace/lib/cpp/include/__bits/io/ostream.hpp             return aux::insert(os, str, len);
str                65 uspace/lib/cpp/include/__bits/io/sstream.hpp             explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type> str,
str                67 uspace/lib/cpp/include/__bits/io/sstream.hpp                 : basic_streambuf<char_type, traits_type>(), mode_{mode}, str_{str}
str               117 uspace/lib/cpp/include/__bits/io/sstream.hpp             void str(const basic_string<char_type, traits_type, allocator_type>& str)
str               119 uspace/lib/cpp/include/__bits/io/sstream.hpp                 str_ = str;
str               188 uspace/lib/cpp/include/__bits/io/sstream.hpp             basic_streambuf<char_type, traits_type>* setbuf(char_type* str, streamsize n) override
str               190 uspace/lib/cpp/include/__bits/io/sstream.hpp                 if (!str && n == 0)
str               193 uspace/lib/cpp/include/__bits/io/sstream.hpp                 str_.assign(str, str + static_cast<size_t>(n));
str               313 uspace/lib/cpp/include/__bits/io/sstream.hpp             explicit basic_istringstream(const basic_string<char_type, traits_type, allocator_type> str,
str               316 uspace/lib/cpp/include/__bits/io/sstream.hpp                   sb_(str, mode | ios_base::in)
str               356 uspace/lib/cpp/include/__bits/io/sstream.hpp                 return sb_.str();
str               359 uspace/lib/cpp/include/__bits/io/sstream.hpp             void str(const basic_string<char_type, traits_type, allocator_type>& str)
str               361 uspace/lib/cpp/include/__bits/io/sstream.hpp                 sb_.str(str);
str               395 uspace/lib/cpp/include/__bits/io/sstream.hpp             explicit basic_ostringstream(const basic_string<char_type, traits_type, allocator_type> str,
str               398 uspace/lib/cpp/include/__bits/io/sstream.hpp                   sb_(str, mode | ios_base::out)
str               438 uspace/lib/cpp/include/__bits/io/sstream.hpp                 return sb_.str();
str               441 uspace/lib/cpp/include/__bits/io/sstream.hpp             void str(const basic_string<char_type, traits_type, allocator_type>& str)
str               443 uspace/lib/cpp/include/__bits/io/sstream.hpp                 sb_.str(str);
str               474 uspace/lib/cpp/include/__bits/io/sstream.hpp             explicit basic_stringstream(const basic_string<char_type, traits_type, allocator_type> str,
str               477 uspace/lib/cpp/include/__bits/io/sstream.hpp                   sb_(str, mode | ios_base::out)
str               517 uspace/lib/cpp/include/__bits/io/sstream.hpp                 return sb_.str();
str               520 uspace/lib/cpp/include/__bits/io/sstream.hpp             void str(const basic_string<char_type, traits_type, allocator_type>& str)
str               522 uspace/lib/cpp/include/__bits/io/sstream.hpp                 sb_.str(str);
str               510 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string(const value_type* str, size_type n, const allocator_type& alloc = allocator_type{})
str               513 uspace/lib/cpp/include/__bits/string/string.hpp                 init_(str, size_);
str               516 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string(const value_type* str, const allocator_type& alloc = allocator_type{})
str               519 uspace/lib/cpp/include/__bits/string/string.hpp                 init_(str, traits_type::length(str));
str               803 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& operator+=(const basic_string& str)
str               805 uspace/lib/cpp/include/__bits/string/string.hpp                 return append(str);
str               808 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& operator+=(const value_type* str)
str               810 uspace/lib/cpp/include/__bits/string/string.hpp                 return append(str);
str               824 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& append(const basic_string& str)
str               826 uspace/lib/cpp/include/__bits/string/string.hpp                 return append(str.data(), str.size());
str               829 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& append(const basic_string& str, size_type pos,
str               832 uspace/lib/cpp/include/__bits/string/string.hpp                 if (pos < str.size())
str               834 uspace/lib/cpp/include/__bits/string/string.hpp                     auto len = min(n, str.size() - pos);
str               836 uspace/lib/cpp/include/__bits/string/string.hpp                     return append(str.data() + pos, len);
str               841 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& append(const value_type* str, size_type n)
str               845 uspace/lib/cpp/include/__bits/string/string.hpp                 traits_type::copy(data_ + size(), str, n);
str               852 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& append(const value_type* str)
str               854 uspace/lib/cpp/include/__bits/string/string.hpp                 return append(str, traits_type::length(str));
str               880 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& assign(const basic_string& str)
str               882 uspace/lib/cpp/include/__bits/string/string.hpp                 return assign(str, 0, npos);
str               885 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& assign(basic_string&& str)
str               887 uspace/lib/cpp/include/__bits/string/string.hpp                 swap(str);
str               892 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& assign(const basic_string& str, size_type pos,
str               895 uspace/lib/cpp/include/__bits/string/string.hpp                 if (pos < str.size())
str               897 uspace/lib/cpp/include/__bits/string/string.hpp                     auto len = min(n, str.size() - pos);
str               900 uspace/lib/cpp/include/__bits/string/string.hpp                     return assign(str.data() + pos, len);
str               907 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& assign(const value_type* str, size_type n)
str               911 uspace/lib/cpp/include/__bits/string/string.hpp                 traits_type::copy(begin(), str, n);
str               918 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& assign(const value_type* str)
str               920 uspace/lib/cpp/include/__bits/string/string.hpp                 return assign(str, traits_type::length(str));
str               939 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& insert(size_type pos, const basic_string& str)
str               942 uspace/lib/cpp/include/__bits/string/string.hpp                 return insert(pos, str.data(), str.size());
str               945 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& insert(size_type pos1, const basic_string& str,
str               950 uspace/lib/cpp/include/__bits/string/string.hpp                 auto len = min(n, str.size() - pos2);
str               952 uspace/lib/cpp/include/__bits/string/string.hpp                 return insert(pos1, str.data() + pos2, len);
str               955 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& insert(size_type pos, const value_type* str, size_type n)
str               962 uspace/lib/cpp/include/__bits/string/string.hpp                 copy_(str, str + n, begin() + pos);
str               969 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& insert(size_type pos, const value_type* str)
str               971 uspace/lib/cpp/include/__bits/string/string.hpp                 return insert(pos, str, traits_type::length(str));
str              1020 uspace/lib/cpp/include/__bits/string/string.hpp                 auto str = basic_string{first, last};
str              1021 uspace/lib/cpp/include/__bits/string/string.hpp                 insert(idx, str);
str              1064 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& replace(size_type pos, size_type n, const basic_string& str)
str              1067 uspace/lib/cpp/include/__bits/string/string.hpp                 return replace(pos, n, str.data(), str.size());
str              1070 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& replace(size_type pos1, size_type n1, const basic_string& str,
str              1074 uspace/lib/cpp/include/__bits/string/string.hpp                 auto len = min(n2, str.size() - pos2);
str              1075 uspace/lib/cpp/include/__bits/string/string.hpp                 return replace(pos1, n1, str.data() + pos2, len);
str              1078 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& replace(size_type pos, size_type n1, const value_type* str,
str              1092 uspace/lib/cpp/include/__bits/string/string.hpp                 traits_type::copy(tmp.begin() + pos, str, n2);
str              1102 uspace/lib/cpp/include/__bits/string/string.hpp             basic_string& replace(size_type pos, size_type n, const value_type* str)
str              1104 uspace/lib/cpp/include/__bits/string/string.hpp                 return replace(pos, n, str, traits_type::length(str));
str              1114 uspace/lib/cpp/include/__bits/string/string.hpp                                   const basic_string& str)
str              1116 uspace/lib/cpp/include/__bits/string/string.hpp                 return replace(i1 - begin(), i2 - i1, str);
str              1120 uspace/lib/cpp/include/__bits/string/string.hpp                                   const value_type* str, size_type n)
str              1122 uspace/lib/cpp/include/__bits/string/string.hpp                 return replace(i1 - begin(), i2 - i1, str, n);
str              1126 uspace/lib/cpp/include/__bits/string/string.hpp                                   const value_type* str)
str              1128 uspace/lib/cpp/include/__bits/string/string.hpp                 return replace(i1 - begin(), i2 - i1, str, traits_type::length(str));
str              1150 uspace/lib/cpp/include/__bits/string/string.hpp             size_type copy(value_type* str, size_type n, size_type pos = 0) const
str              1154 uspace/lib/cpp/include/__bits/string/string.hpp                     traits_type::assign(str[i], data_[pos + i]);
str              1205 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find(const basic_string& str, size_type pos = 0) const noexcept
str              1207 uspace/lib/cpp/include/__bits/string/string.hpp                 return find(str.c_str(), pos, str.size());
str              1210 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find(const value_type* str, size_type pos, size_type len) const noexcept
str              1219 uspace/lib/cpp/include/__bits/string/string.hpp                     if (substr_starts_at_(idx, str, len))
str              1227 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find(const value_type* str, size_type pos = 0) const noexcept
str              1229 uspace/lib/cpp/include/__bits/string/string.hpp                 return find(str, pos, traits_type::length(str));
str              1246 uspace/lib/cpp/include/__bits/string/string.hpp             size_type rfind(const basic_string& str, size_type pos = npos) const noexcept
str              1248 uspace/lib/cpp/include/__bits/string/string.hpp                 return rfind(str.c_str(), pos, str.size());
str              1251 uspace/lib/cpp/include/__bits/string/string.hpp             size_type rfind(const value_type* str, size_type pos, size_type len) const noexcept
str              1260 uspace/lib/cpp/include/__bits/string/string.hpp                     if (substr_starts_at_(idx - 1, str, len))
str              1268 uspace/lib/cpp/include/__bits/string/string.hpp             size_type rfind(const value_type* str, size_type pos = npos) const noexcept
str              1270 uspace/lib/cpp/include/__bits/string/string.hpp                 return rfind(str, pos, traits_type::length(str));
str              1287 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_first_of(const basic_string& str, size_type pos = 0) const noexcept
str              1289 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_first_of(str.c_str(), pos, str.size());
str              1292 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_first_of(const value_type* str, size_type pos, size_type len) const noexcept
str              1301 uspace/lib/cpp/include/__bits/string/string.hpp                     if (is_any_of_(idx, str, len))
str              1309 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_first_of(const value_type* str, size_type pos = 0) const noexcept
str              1311 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_first_of(str, pos, traits_type::length(str));
str              1319 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_last_of(const basic_string& str, size_type pos = npos) const noexcept
str              1321 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_last_of(str.c_str(), pos, str.size());
str              1324 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_last_of(const value_type* str, size_type pos, size_type len) const noexcept
str              1331 uspace/lib/cpp/include/__bits/string/string.hpp                     if (is_any_of_(i - 1, str, len))
str              1338 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_last_of(const value_type* str, size_type pos = npos) const noexcept
str              1340 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_last_of(str, pos, traits_type::length(str));
str              1348 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_first_not_of(const basic_string& str, size_type pos = 0) const noexcept
str              1350 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_first_not_of(str.c_str(), pos, str.size());
str              1353 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_first_not_of(const value_type* str, size_type pos, size_type len) const noexcept
str              1362 uspace/lib/cpp/include/__bits/string/string.hpp                     if (!is_any_of_(idx, str, len))
str              1370 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_first_not_of(const value_type* str, size_type pos = 0) const noexcept
str              1372 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_first_not_of(str, pos, traits_type::length(str));
str              1389 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_last_not_of(const basic_string& str, size_type pos = npos) const noexcept
str              1391 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_last_not_of(str.c_str(), pos, str.size());
str              1394 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_last_not_of(const value_type* str, size_type pos, size_type len) const noexcept
str              1401 uspace/lib/cpp/include/__bits/string/string.hpp                     if (!is_any_of_(i - 1, str, len))
str              1408 uspace/lib/cpp/include/__bits/string/string.hpp             size_type find_last_not_of(const value_type* str, size_type pos = npos) const noexcept
str              1410 uspace/lib/cpp/include/__bits/string/string.hpp                 return find_last_not_of(str, pos, traits_type::length(str));
str              1495 uspace/lib/cpp/include/__bits/string/string.hpp             void init_(const value_type* str, size_type size)
str              1504 uspace/lib/cpp/include/__bits/string/string.hpp                 traits_type::copy(data_, str, size);
str              1583 uspace/lib/cpp/include/__bits/string/string.hpp             bool is_any_of_(size_type idx, const value_type* str, size_type len) const
str              1587 uspace/lib/cpp/include/__bits/string/string.hpp                     if (traits_type::eq(data_[idx], str[i]))
str              1594 uspace/lib/cpp/include/__bits/string/string.hpp             bool substr_starts_at_(size_type idx, const value_type* str, size_type len) const
str              1599 uspace/lib/cpp/include/__bits/string/string.hpp                     if (!traits_type::eq(data_[idx + i], str[i]))
str              1882 uspace/lib/cpp/include/__bits/string/string.hpp     int stoi(const string& str, size_t* idx = nullptr, int base = 10);
str              1883 uspace/lib/cpp/include/__bits/string/string.hpp     long stol(const string& str, size_t* idx = nullptr, int base = 10);
str              1884 uspace/lib/cpp/include/__bits/string/string.hpp     unsigned long stoul(const string& str, size_t* idx = nullptr, int base = 10);
str              1885 uspace/lib/cpp/include/__bits/string/string.hpp     long long stoll(const string& str, size_t* idx = nullptr, int base = 10);
str              1886 uspace/lib/cpp/include/__bits/string/string.hpp     unsigned long long stoull(const string& str, size_t* idx = nullptr, int base = 10);
str              1888 uspace/lib/cpp/include/__bits/string/string.hpp     float stof(const string& str, size_t* idx = nullptr);
str              1889 uspace/lib/cpp/include/__bits/string/string.hpp     double stod(const string& str, size_t* idx = nullptr);
str              1890 uspace/lib/cpp/include/__bits/string/string.hpp     long double stold(const string& str, size_t* idx = nullptr);
str              1902 uspace/lib/cpp/include/__bits/string/string.hpp     int stoi(const wstring& str, size_t* idx = nullptr, int base = 10);
str              1903 uspace/lib/cpp/include/__bits/string/string.hpp     long stol(const wstring& str, size_t* idx = nullptr, int base = 10);
str              1904 uspace/lib/cpp/include/__bits/string/string.hpp     unsigned long stoul(const wstring& str, size_t* idx = nullptr, int base = 10);
str              1905 uspace/lib/cpp/include/__bits/string/string.hpp     long long stoll(const wstring& str, size_t* idx = nullptr, int base = 10);
str              1906 uspace/lib/cpp/include/__bits/string/string.hpp     unsigned long long stoull(const wstring& str, size_t* idx = nullptr, int base = 10);
str              1908 uspace/lib/cpp/include/__bits/string/string.hpp     float stof(const wstring& str, size_t* idx = nullptr);
str              1909 uspace/lib/cpp/include/__bits/string/string.hpp     double stod(const wstring& str, size_t* idx = nullptr);
str              1910 uspace/lib/cpp/include/__bits/string/string.hpp     long double stold(const wstring& str, size_t* idx = nullptr);
str              1932 uspace/lib/cpp/include/__bits/string/string.hpp         size_t operator()(const string& str) const noexcept
str              1941 uspace/lib/cpp/include/__bits/string/string.hpp             for (const auto& c: str)
str              1954 uspace/lib/cpp/include/__bits/string/string.hpp         size_t operator()(const wstring& str) const noexcept
str              1983 uspace/lib/cpp/include/__bits/string/string.hpp     string operator "" s(const char* str, size_t len);
str              1984 uspace/lib/cpp/include/__bits/string/string.hpp     u16string operator "" s(const char16_t* str, size_t len);
str              1985 uspace/lib/cpp/include/__bits/string/string.hpp     u32string operator "" s(const char32_t* str, size_t len);
str                43 uspace/lib/cpp/include/__bits/string/string_io.hpp                                             basic_string<Char, Traits, Allocator>& str)
str                50 uspace/lib/cpp/include/__bits/string/string_io.hpp             str.erase();
str                54 uspace/lib/cpp/include/__bits/string/string_io.hpp                 max_size = static_cast<streamsize>(str.max_size());
str                70 uspace/lib/cpp/include/__bits/string/string_io.hpp                 str.push_back(c);
str                85 uspace/lib/cpp/include/__bits/string/string_io.hpp                                             const basic_string<Char, Traits, Allocator>& str)
str                94 uspace/lib/cpp/include/__bits/string/string_io.hpp             auto size = str.size();
str               108 uspace/lib/cpp/include/__bits/string/string_io.hpp                 os.rdbuf()->sputn(str.data(), size);
str               117 uspace/lib/cpp/include/__bits/string/string_io.hpp                 os.rdbuf()->sputn(str.data(), size);
str               127 uspace/lib/cpp/include/__bits/string/string_io.hpp                                          basic_string<Char, Traits, Allocator>& str,
str               134 uspace/lib/cpp/include/__bits/string/string_io.hpp             str.clear();
str               150 uspace/lib/cpp/include/__bits/string/string_io.hpp                 str.push_back(c);
str               153 uspace/lib/cpp/include/__bits/string/string_io.hpp                 if (count >= static_cast<streamsize>(str.max_size()))
str               171 uspace/lib/cpp/include/__bits/string/string_io.hpp                                          basic_string<Char, Traits, Allocator>& str,
str               174 uspace/lib/cpp/include/__bits/string/string_io.hpp         return getline(is, str, delim);
str               179 uspace/lib/cpp/include/__bits/string/string_io.hpp                                          basic_string<Char, Traits, Allocator>& str)
str               181 uspace/lib/cpp/include/__bits/string/string_io.hpp         return getline(is, str, is.widen('\n'));
str               186 uspace/lib/cpp/include/__bits/string/string_io.hpp                                          basic_string<Char, Traits, Allocator>& str)
str               188 uspace/lib/cpp/include/__bits/string/string_io.hpp         return getline(is, str, is.widen('\n'));
str               144 uspace/lib/cpp/src/__bits/test/bitset.cpp         std::string s3{oss.str()};
str               136 uspace/lib/cpp/src/__bits/test/map.cpp         std::string str{"a b a a c d b e a b b e d c a e"};
str               138 uspace/lib/cpp/src/__bits/test/map.cpp         std::istringstream iss{str};
str               646 uspace/lib/cpp/src/__bits/test/string.cpp         std::string str{"abcdef"};
str               647 uspace/lib/cpp/src/__bits/test/string.cpp         auto substr1 = str.substr(0, 4);
str               648 uspace/lib/cpp/src/__bits/test/string.cpp         auto substr2 = str.substr(1, 3);
str               649 uspace/lib/cpp/src/__bits/test/string.cpp         auto substr3 = str.substr(3);
str               118 uspace/lib/cpp/src/__bits/test/unordered_map.cpp         std::string str{"a b a a c d b e a b b e d c a e"};
str               120 uspace/lib/cpp/src/__bits/test/unordered_map.cpp         std::istringstream iss{str};
str                44 uspace/lib/cpp/src/iomanip.cpp         void resetiosflags_t::operator()(ios_base& str) const
str                46 uspace/lib/cpp/src/iomanip.cpp             str.setf(ios_base::fmtflags{0}, mask);
str                53 uspace/lib/cpp/src/iomanip.cpp         void setiosflags_t::operator()(ios_base& str) const
str                55 uspace/lib/cpp/src/iomanip.cpp             str.setf(mask);
str                62 uspace/lib/cpp/src/iomanip.cpp         void setbase_t::operator()(ios_base& str) const
str                64 uspace/lib/cpp/src/iomanip.cpp             str.setf(
str                77 uspace/lib/cpp/src/iomanip.cpp         void setprecision_t::operator()(ios_base& str) const
str                79 uspace/lib/cpp/src/iomanip.cpp             str.precision(prec);
str                86 uspace/lib/cpp/src/iomanip.cpp         void setw_t::operator()(ios_base& str) const
str                88 uspace/lib/cpp/src/iomanip.cpp             str.width(width);
str               196 uspace/lib/cpp/src/ios.cpp     ios_base& boolalpha(ios_base& str)
str               198 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::boolalpha);
str               199 uspace/lib/cpp/src/ios.cpp         return str;
str               202 uspace/lib/cpp/src/ios.cpp     ios_base& noboolalpha(ios_base& str)
str               204 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::boolalpha);
str               205 uspace/lib/cpp/src/ios.cpp         return str;
str               208 uspace/lib/cpp/src/ios.cpp     ios_base& showbase(ios_base& str)
str               210 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::showbase);
str               211 uspace/lib/cpp/src/ios.cpp         return str;
str               214 uspace/lib/cpp/src/ios.cpp     ios_base& noshowbase(ios_base& str)
str               216 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::showbase);
str               217 uspace/lib/cpp/src/ios.cpp         return str;
str               220 uspace/lib/cpp/src/ios.cpp     ios_base& showpoint(ios_base& str)
str               222 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::showpoint);
str               223 uspace/lib/cpp/src/ios.cpp         return str;
str               226 uspace/lib/cpp/src/ios.cpp     ios_base& noshowpoint(ios_base& str)
str               228 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::showpoint);
str               229 uspace/lib/cpp/src/ios.cpp         return str;
str               232 uspace/lib/cpp/src/ios.cpp     ios_base& showpos(ios_base& str)
str               234 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::showpos);
str               235 uspace/lib/cpp/src/ios.cpp         return str;
str               238 uspace/lib/cpp/src/ios.cpp     ios_base& noshowpos(ios_base& str)
str               240 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::showpos);
str               241 uspace/lib/cpp/src/ios.cpp         return str;
str               244 uspace/lib/cpp/src/ios.cpp     ios_base& skipws(ios_base& str)
str               246 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::skipws);
str               247 uspace/lib/cpp/src/ios.cpp         return str;
str               250 uspace/lib/cpp/src/ios.cpp     ios_base& noskipws(ios_base& str)
str               252 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::skipws);
str               253 uspace/lib/cpp/src/ios.cpp         return str;
str               256 uspace/lib/cpp/src/ios.cpp     ios_base& uppercase(ios_base& str)
str               258 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::uppercase);
str               259 uspace/lib/cpp/src/ios.cpp         return str;
str               262 uspace/lib/cpp/src/ios.cpp     ios_base& nouppercase(ios_base& str)
str               264 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::uppercase);
str               265 uspace/lib/cpp/src/ios.cpp         return str;
str               268 uspace/lib/cpp/src/ios.cpp     ios_base& unitbuf(ios_base& str)
str               270 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::unitbuf);
str               271 uspace/lib/cpp/src/ios.cpp         return str;
str               274 uspace/lib/cpp/src/ios.cpp     ios_base& nounitbuf(ios_base& str)
str               276 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::unitbuf);
str               277 uspace/lib/cpp/src/ios.cpp         return str;
str               280 uspace/lib/cpp/src/ios.cpp     ios_base& internal(ios_base& str)
str               282 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::internal, ios_base::adjustfield);
str               283 uspace/lib/cpp/src/ios.cpp         return str;
str               286 uspace/lib/cpp/src/ios.cpp     ios_base& left(ios_base& str)
str               288 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::left, ios_base::adjustfield);
str               289 uspace/lib/cpp/src/ios.cpp         return str;
str               292 uspace/lib/cpp/src/ios.cpp     ios_base& right(ios_base& str)
str               294 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::right, ios_base::adjustfield);
str               295 uspace/lib/cpp/src/ios.cpp         return str;
str               298 uspace/lib/cpp/src/ios.cpp     ios_base& dec(ios_base& str)
str               300 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::dec, ios_base::basefield);
str               301 uspace/lib/cpp/src/ios.cpp         return str;
str               304 uspace/lib/cpp/src/ios.cpp     ios_base& hex(ios_base& str)
str               306 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::hex, ios_base::basefield);
str               307 uspace/lib/cpp/src/ios.cpp         return str;
str               310 uspace/lib/cpp/src/ios.cpp     ios_base& oct(ios_base& str)
str               312 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::oct, ios_base::basefield);
str               313 uspace/lib/cpp/src/ios.cpp         return str;
str               316 uspace/lib/cpp/src/ios.cpp     ios_base& fixed(ios_base& str)
str               318 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::fixed, ios_base::floatfield);
str               319 uspace/lib/cpp/src/ios.cpp         return str;
str               322 uspace/lib/cpp/src/ios.cpp     ios_base& scientific(ios_base& str)
str               324 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::scientific, ios_base::floatfield);
str               325 uspace/lib/cpp/src/ios.cpp         return str;
str               328 uspace/lib/cpp/src/ios.cpp     ios_base& hexfloat(ios_base& str)
str               330 uspace/lib/cpp/src/ios.cpp         str.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield);
str               331 uspace/lib/cpp/src/ios.cpp         return str;
str               334 uspace/lib/cpp/src/ios.cpp     ios_base& defaultfloat(ios_base& str)
str               336 uspace/lib/cpp/src/ios.cpp         str.unsetf(ios_base::floatfield);
str               337 uspace/lib/cpp/src/ios.cpp         return str;
str                34 uspace/lib/cpp/src/string.cpp     int stoi(const string& str, size_t* idx, int base)
str                41 uspace/lib/cpp/src/string.cpp     long stol(const string& str, size_t* idx, int base)
str                44 uspace/lib/cpp/src/string.cpp         long result = ::strtol(str.c_str(), &end, base);
str                46 uspace/lib/cpp/src/string.cpp         if (end != str.c_str())
str                49 uspace/lib/cpp/src/string.cpp                 *idx = static_cast<size_t>(end - str.c_str());
str                57 uspace/lib/cpp/src/string.cpp     unsigned long stoul(const string& str, size_t* idx, int base)
str                60 uspace/lib/cpp/src/string.cpp         unsigned long result = ::strtoul(str.c_str(), &end, base);
str                62 uspace/lib/cpp/src/string.cpp         if (end != str.c_str())
str                65 uspace/lib/cpp/src/string.cpp                 *idx = static_cast<size_t>(end - str.c_str());
str                73 uspace/lib/cpp/src/string.cpp     long long stoll(const string& str, size_t* idx, int base)
str                80 uspace/lib/cpp/src/string.cpp     unsigned long long stoull(const string& str, size_t* idx, int base)
str                87 uspace/lib/cpp/src/string.cpp     float stof(const string& str, size_t* idx)
str                94 uspace/lib/cpp/src/string.cpp     double stod(const string& str, size_t* idx)
str               101 uspace/lib/cpp/src/string.cpp     long double stold(const string& str, size_t* idx)
str               207 uspace/lib/cpp/src/string.cpp     int stoi(const wstring& str, size_t* idx, int base)
str               214 uspace/lib/cpp/src/string.cpp     long stol(const wstring& str, size_t* idx, int base)
str               221 uspace/lib/cpp/src/string.cpp     unsigned long stoul(const wstring& str, size_t* idx, int base)
str               228 uspace/lib/cpp/src/string.cpp     long long stoll(const wstring& str, size_t* idx, int base)
str               235 uspace/lib/cpp/src/string.cpp     unsigned long long stoull(const wstring& str, size_t* idx, int base)
str               242 uspace/lib/cpp/src/string.cpp     float stof(const wstring& str, size_t* idx)
str               249 uspace/lib/cpp/src/string.cpp     double stod(const wstring& str, size_t* idx)
str               256 uspace/lib/cpp/src/string.cpp     long double stold(const wstring& str, size_t* idx)
str               342 uspace/lib/cpp/src/string.cpp     string operator "" s(const char* str, size_t len)
str               344 uspace/lib/cpp/src/string.cpp         return string{str, len};
str               347 uspace/lib/cpp/src/string.cpp     u16string operator "" s(const char16_t* str, size_t len)
str               349 uspace/lib/cpp/src/string.cpp         return u16string{str, len};
str               352 uspace/lib/cpp/src/string.cpp     u32string operator "" s(const char32_t* str, size_t len)
str               354 uspace/lib/cpp/src/string.cpp         return u32string{str, len};
str                72 uspace/lib/cpp/src/typeinfo.cpp         const char* str = name();
str                73 uspace/lib/cpp/src/typeinfo.cpp         while(*str)
str                74 uspace/lib/cpp/src/typeinfo.cpp             res += static_cast<size_t>(*str++);
str                41 uspace/lib/fmtutil/fmtutil.c errno_t print_wrapped_console(const char *str, align_mode_t alignment)
str                45 uspace/lib/fmtutil/fmtutil.c 		printf("%s", str);
str                60 uspace/lib/fmtutil/fmtutil.c 	return print_wrapped(str, con_cols, alignment);
str                74 uspace/lib/fmtutil/fmtutil.c errno_t print_wrapped(const char *str, size_t width, align_mode_t mode)
str                80 uspace/lib/fmtutil/fmtutil.c 	char32_t *wstr = str_to_awstr(str);
str               169 uspace/lib/fmtutil/fmtutil.c errno_t print_aligned(const char *str, size_t width, bool last, align_mode_t mode)
str               171 uspace/lib/fmtutil/fmtutil.c 	char32_t *wstr = str_to_awstr(str);
str               344 uspace/lib/gfxfont/src/font.c errno_t gfx_font_search_glyph(gfx_font_t *font, const char *str,
str               352 uspace/lib/gfxfont/src/font.c 		if (gfx_glyph_matches(glyph, str, &msize)) {
str               216 uspace/lib/gfxfont/src/glyph.c bool gfx_glyph_matches(gfx_glyph_t *glyph, const char *str, size_t *rsize)
str               222 uspace/lib/gfxfont/src/glyph.c 		if (str_test_prefix(str, pat->text)) {
str               465 uspace/lib/gfxfont/src/glyph.c 	const char *str;
str               473 uspace/lib/gfxfont/src/glyph.c 		str = gfx_glyph_pattern_str(pat);
str               475 uspace/lib/gfxfont/src/glyph.c 		rc = riff_write(riffw, (void *) str, 1 + str_size(str));
str                67 uspace/lib/gfxfont/src/text.c gfx_coord_t gfx_text_width(gfx_font_t *font, const char *str)
str                77 uspace/lib/gfxfont/src/text.c 		return str_width(str);
str                80 uspace/lib/gfxfont/src/text.c 	cp = str;
str               105 uspace/lib/gfxfont/src/text.c     const char *str)
str               122 uspace/lib/gfxfont/src/text.c 	width = str_width(str);
str               169 uspace/lib/gfxfont/src/text.c 		c = str_decode(str, &off, STR_NO_LIMIT);
str               202 uspace/lib/gfxfont/src/text.c     const char *str, gfx_coord2_t *spos)
str               212 uspace/lib/gfxfont/src/text.c 		width = gfx_text_width(fmt->font, str);
str               255 uspace/lib/gfxfont/src/text.c errno_t gfx_puttext(gfx_coord2_t *pos, gfx_text_fmt_t *fmt, const char *str)
str               270 uspace/lib/gfxfont/src/text.c 	gfx_text_start_pos(pos, fmt, str, &spos);
str               274 uspace/lib/gfxfont/src/text.c 		return gfx_puttext_textmode(&spos, fmt, str);
str               280 uspace/lib/gfxfont/src/text.c 	width = gfx_text_width(fmt->font, str);
str               292 uspace/lib/gfxfont/src/text.c 	cp = str;
str               370 uspace/lib/gfxfont/src/text.c     const char *str, gfx_coord2_t *fpos)
str               381 uspace/lib/gfxfont/src/text.c 	gfx_text_start_pos(pos, fmt, str, &cpos);
str               386 uspace/lib/gfxfont/src/text.c 		strsize = str_size(str);
str               390 uspace/lib/gfxfont/src/text.c 			(void) str_decode(str, &off, strsize);
str               397 uspace/lib/gfxfont/src/text.c 	cp = str;
str               432 uspace/lib/gfxfont/src/text.c void gfx_text_cont(gfx_coord2_t *pos, gfx_text_fmt_t *fmt, const char *str,
str               439 uspace/lib/gfxfont/src/text.c 	gfx_text_start_pos(pos, fmt, str, &spos);
str               440 uspace/lib/gfxfont/src/text.c 	cpos->x = spos.x + gfx_text_width(fmt->font, str);
str               464 uspace/lib/gfxfont/src/text.c void gfx_text_rect(gfx_coord2_t *pos, gfx_text_fmt_t *fmt, const char *str,
str               470 uspace/lib/gfxfont/src/text.c 	gfx_text_start_pos(pos, fmt, str, &spos);
str               471 uspace/lib/gfxfont/src/text.c 	width = gfx_text_width(fmt->font, str);
str                99 uspace/lib/gfxfont/test/tpf.c 	const char *str;
str               187 uspace/lib/gfxfont/test/tpf.c 	str = gfx_glyph_pattern_str(pat);
str               188 uspace/lib/gfxfont/test/tpf.c 	PCUT_ASSERT_INT_EQUALS(0, str_cmp(test_glyph_pattern, str));
str                49 uspace/lib/http/src/response.c static errno_t receive_number(receive_buffer_t *rb, char **str)
str                62 uspace/lib/http/src/response.c 	rc = recv_cut_str(rb, &start, &end, str);
str                70 uspace/lib/http/src/response.c 	char *str = NULL;
str                71 uspace/lib/http/src/response.c 	errno_t rc = receive_number(rb, &str);
str                76 uspace/lib/http/src/response.c 	rc = str_uint8_t(str, NULL, 10, true, out_value);
str                77 uspace/lib/http/src/response.c 	free(str);
str                84 uspace/lib/http/src/response.c 	char *str = NULL;
str                85 uspace/lib/http/src/response.c 	errno_t rc = receive_number(rb, &str);
str                90 uspace/lib/http/src/response.c 	rc = str_uint16_t(str, NULL, 10, true, out_value);
str                91 uspace/lib/http/src/response.c 	free(str);
str                71 uspace/lib/inet/include/inet/eth_addr.h 	char str[ETH_ADDR_STR_SIZE + 1];
str               279 uspace/lib/inet/src/addr.c static errno_t inet_addr_parse_v4(const char *str, inet_addr_t *raddr,
str               284 uspace/lib/inet/src/addr.c 	char *cur = (char *)str;
str               328 uspace/lib/inet/src/addr.c static errno_t inet_addr_parse_v6(const char *str, inet_addr_t *raddr, int *prefix,
str               336 uspace/lib/inet/src/addr.c 	const char *cur = str;
str               342 uspace/lib/inet/src/addr.c 	if ((str[0] == ':') && (str[1] == ':')) {
str               343 uspace/lib/inet/src/addr.c 		cur = str + 2;
str               110 uspace/lib/inet/src/eth_addr.c 	snprintf(saddr->str, 3, "%02x",
str               113 uspace/lib/inet/src/eth_addr.c 		snprintf(saddr->str + 2 + 3 * (i - 1), 4, ":%02x",
str                57 uspace/lib/inet/src/host.c errno_t inet_host_parse(const char *str, inet_host_t **rhost,
str                71 uspace/lib/inet/src/host.c 	rc = inet_addr_parse(str, &addr, &aend);
str                79 uspace/lib/inet/src/host.c 	rc = inet_hostname_parse(str, &name, &aend);
str               111 uspace/lib/inet/src/host.c 	char *str = NULL;
str               115 uspace/lib/inet/src/host.c 		rc = inet_addr_format(&host->host.addr, &str);
str               123 uspace/lib/inet/src/host.c 		str = str_dup(host->host.name);
str               124 uspace/lib/inet/src/host.c 		if (str == NULL)
str               129 uspace/lib/inet/src/host.c 	*rstr = str;
str               203 uspace/lib/inet/src/host.c errno_t inet_host_plookup_one(const char *str, ip_ver_t version, inet_addr_t *addr,
str               210 uspace/lib/inet/src/host.c 	rc = inet_host_parse(str, &host, endptr != NULL ? &eptr : NULL);
str                60 uspace/lib/inet/src/hostname.c errno_t inet_hostname_parse(const char *str, char **rname, char **endptr)
str                66 uspace/lib/inet/src/hostname.c 	c = str;
str                97 uspace/lib/inet/src/hostname.c 		name = str_ndup(str, c - str);
str                59 uspace/lib/inet/src/hostport.c errno_t inet_hostport_parse(const char *str, inet_hostport_t **rhp,
str                74 uspace/lib/inet/src/hostport.c 	if (str[0] == '[') {
str                76 uspace/lib/inet/src/hostport.c 		rc = inet_addr_parse(str + 1, &addr, &aend);
str                88 uspace/lib/inet/src/hostport.c 	rc = inet_addr_parse(str, &addr, &aend);
str                96 uspace/lib/inet/src/hostport.c 	rc = inet_hostname_parse(str, &name, &aend);
str               144 uspace/lib/inet/src/hostport.c 	char *astr, *str;
str               175 uspace/lib/inet/src/hostport.c 	ret = asprintf(&str, "%s:%u", hstr, hp->port);
str               180 uspace/lib/inet/src/hostport.c 	*rstr = str;
str               258 uspace/lib/inet/src/hostport.c errno_t inet_hostport_plookup_one(const char *str, ip_ver_t version, inet_ep_t *ep,
str               265 uspace/lib/inet/src/hostport.c 	rc = inet_hostport_parse(str, &hp, endptr != NULL ? &eptr : NULL);
str               100 uspace/lib/inet/test/eth_addr.c 	PCUT_ASSERT_STR_EQUALS("11:22:33:44:55:66", saddr.str);
str               103 uspace/lib/inet/test/eth_addr.c 	PCUT_ASSERT_STR_EQUALS("01:02:03:04:05:06", saddr.str);
str               106 uspace/lib/inet/test/eth_addr.c 	PCUT_ASSERT_STR_EQUALS("aa:bb:cc:dd:ee:ff", saddr.str);
str                71 uspace/lib/pcut/src/os/helenos.c 	const char *str = str_error(error);
str                72 uspace/lib/pcut/src/os/helenos.c 	if (str == NULL) {
str                73 uspace/lib/pcut/src/os/helenos.c 		str = "(strerror failure)";
str                75 uspace/lib/pcut/src/os/helenos.c 	str_cpy(buffer, size, str);
str                61 uspace/lib/pcut/src/os/stdc.c 	const char *str = strerror(error);
str                62 uspace/lib/pcut/src/os/stdc.c 	if (str == NULL) {
str                63 uspace/lib/pcut/src/os/stdc.c 		str = "(strerror failure)";
str                65 uspace/lib/pcut/src/os/stdc.c 	strncpy(buffer, str, size - 1);
str                87 uspace/lib/posix/include/common/str.h extern char32_t str_decode(const char *str, size_t *offset, size_t sz);
str                88 uspace/lib/posix/include/common/str.h extern char32_t str_decode_reverse(const char *str, size_t *offset, size_t sz);
str                89 uspace/lib/posix/include/common/str.h extern errno_t chr_encode(char32_t ch, char *str, size_t *offset, size_t sz);
str                91 uspace/lib/posix/include/common/str.h extern size_t str_size(const char *str);
str                92 uspace/lib/posix/include/common/str.h extern size_t wstr_size(const char32_t *str);
str                94 uspace/lib/posix/include/common/str.h extern size_t str_nsize(const char *str, size_t max_size);
str                95 uspace/lib/posix/include/common/str.h extern size_t wstr_nsize(const char32_t *str, size_t max_size);
str                97 uspace/lib/posix/include/common/str.h extern size_t str_lsize(const char *str, size_t max_len);
str                98 uspace/lib/posix/include/common/str.h extern size_t wstr_lsize(const char32_t *str, size_t max_len);
str               100 uspace/lib/posix/include/common/str.h extern size_t str_length(const char *str);
str               103 uspace/lib/posix/include/common/str.h extern size_t str_nlength(const char *str, size_t size);
str               104 uspace/lib/posix/include/common/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
str               107 uspace/lib/posix/include/common/str.h extern size_t str_width(const char *str);
str               133 uspace/lib/posix/include/common/str.h extern char *str_chr(const char *str, char32_t ch);
str               134 uspace/lib/posix/include/common/str.h extern char *str_rchr(const char *str, char32_t ch);
str               137 uspace/lib/posix/include/common/str.h extern void str_rtrim(char *str, char32_t ch);
str               138 uspace/lib/posix/include/common/str.h extern void str_ltrim(char *str, char32_t ch);
str               140 uspace/lib/posix/include/common/str.h extern bool wstr_linsert(char32_t *str, char32_t ch, size_t pos, size_t max_pos);
str               141 uspace/lib/posix/include/common/str.h extern bool wstr_remove(char32_t *str, size_t pos);
str                74 uspace/lib/posix/src/fnmatch.c static coll_elm_t _coll_elm_get(const char *str)
str                76 uspace/lib/posix/src/fnmatch.c 	if (str[0] == '\0' || str[1] != '\0') {
str                79 uspace/lib/posix/src/fnmatch.c 	return str[0];
str               100 uspace/lib/posix/src/fnmatch.c static int _coll_elm_match(coll_elm_t elm, const char *str)
str               102 uspace/lib/posix/src/fnmatch.c 	return elm == *str;
str               115 uspace/lib/posix/src/fnmatch.c     const char *str)
str               117 uspace/lib/posix/src/fnmatch.c 	return *str >= first && *str <= second;
str               247 uspace/lib/posix/src/fnmatch.c static int _match_char_class(const char **pattern, const char *str, int flags)
str               255 uspace/lib/posix/src/fnmatch.c 	return _is_in_class(class, *str);
str               337 uspace/lib/posix/src/fnmatch.c static int _match_bracket_expr(const char **pattern, const char *str, int flags)
str               348 uspace/lib/posix/src/fnmatch.c 	if (*str == '\0' || (pathname && *str == '/') ||
str               349 uspace/lib/posix/src/fnmatch.c 	    (pathname && special_period && *str == '.' && *(str - 1) == '/')) {
str               365 uspace/lib/posix/src/fnmatch.c 		_matched(*str == ']');
str               380 uspace/lib/posix/src/fnmatch.c 			_matched(_coll_elm_between(current_elm, end_elm, str));
str               386 uspace/lib/posix/src/fnmatch.c 			_matched(_match_char_class(&p, str, flags));
str               394 uspace/lib/posix/src/fnmatch.c 		_matched(_coll_elm_match(current_elm, str));
str               234 uspace/lib/posix/src/stdio.c static int _dprintf_str_write(const char *str, size_t size, void *fd)
str               238 uspace/lib/posix/src/stdio.c 	if (failed(vfs_write(fildes, &posix_pos[fildes], str, size, &wr)))
str               240 uspace/lib/posix/src/stdio.c 	return str_nlength(str, wr);
str               251 uspace/lib/posix/src/stdio.c static int _dprintf_wstr_write(const char32_t *str, size_t size, void *fd)
str               260 uspace/lib/posix/src/stdio.c 		if (chr_encode(str[chars], buf, &sz, sizeof(buf)) != EOK) {
str               595 uspace/lib/sif/src/sif.c static errno_t sif_export_name(const char *str, FILE *f)
str               597 uspace/lib/sif/src/sif.c 	if (fputs(str, f) == EOF)
str               611 uspace/lib/sif/src/sif.c static errno_t sif_export_string(const char *str, FILE *f)
str               618 uspace/lib/sif/src/sif.c 	cp = str;
str               671 uspace/lib/sif/src/sif.c 	char *str;
str               680 uspace/lib/sif/src/sif.c 	str = malloc(str_size + 1);
str               681 uspace/lib/sif/src/sif.c 	if (str == NULL)
str               693 uspace/lib/sif/src/sif.c 			nstr = realloc(str, str_size + 1);
str               699 uspace/lib/sif/src/sif.c 			str = nstr;
str               702 uspace/lib/sif/src/sif.c 		str[sidx++] = c;
str               711 uspace/lib/sif/src/sif.c 	str[sidx] = '\0';
str               712 uspace/lib/sif/src/sif.c 	*rstr = str;
str               715 uspace/lib/sif/src/sif.c 	free(str);
str               730 uspace/lib/sif/src/sif.c 	char *str;
str               739 uspace/lib/sif/src/sif.c 	str = malloc(str_size + 1);
str               740 uspace/lib/sif/src/sif.c 	if (str == NULL)
str               782 uspace/lib/sif/src/sif.c 			nstr = realloc(str, str_size + 1);
str               788 uspace/lib/sif/src/sif.c 			str = nstr;
str               791 uspace/lib/sif/src/sif.c 		str[sidx++] = c;
str               794 uspace/lib/sif/src/sif.c 	str[sidx] = '\0';
str               795 uspace/lib/sif/src/sif.c 	*rstr = str;
str               798 uspace/lib/sif/src/sif.c 	free(str);
str                57 uspace/lib/ui/src/accel.c errno_t ui_accel_process(const char *str, char **rbuf, char **endptr)
str                63 uspace/lib/ui/src/accel.c 	buf = malloc(str_size(str) + 1);
str                68 uspace/lib/ui/src/accel.c 	sp = str;
str                98 uspace/lib/ui/src/accel.c char32_t ui_accel_get(const char *str)
str               100 uspace/lib/ui/src/accel.c 	const char *sp = str;
str               480 uspace/lib/ui/src/entry.c errno_t ui_entry_insert_str(ui_entry_t *entry, const char *str)
str               500 uspace/lib/ui/src/entry.c 	rc = asprintf(&newtext, "%s%s%s", ltext, str, entry->text + entry->pos);
str               508 uspace/lib/ui/src/entry.c 	entry->pos += str_size(str);
str               613 uspace/lib/ui/src/entry.c 	char *str;
str               616 uspace/lib/ui/src/entry.c 	rc = clipboard_get_str(&str);
str               620 uspace/lib/ui/src/entry.c 	ui_entry_insert_str(entry, str);
str               621 uspace/lib/ui/src/entry.c 	free(str);
str               657 uspace/lib/ui/src/paint.c 	char *str = NULL;
str               674 uspace/lib/ui/src/paint.c 	str = malloc(bufsz);
str               675 uspace/lib/ui/src/paint.c 	if (str == NULL)
str               680 uspace/lib/ui/src/paint.c 	str_cpy(str, bufsz, boxc->c[0][0]);
str               684 uspace/lib/ui/src/paint.c 		str_cpy(str + off, bufsz - off, boxc->c[0][1]);
str               688 uspace/lib/ui/src/paint.c 	str_cpy(str + off, bufsz - off, boxc->c[0][2]);
str               690 uspace/lib/ui/src/paint.c 	str[off] = '\0';
str               693 uspace/lib/ui/src/paint.c 	rc = gfx_puttext(&pos, &fmt, str);
str               714 uspace/lib/ui/src/paint.c 	str_cpy(str, bufsz, boxc->c[2][0]);
str               718 uspace/lib/ui/src/paint.c 		str_cpy(str + off, bufsz - off, boxc->c[2][1]);
str               722 uspace/lib/ui/src/paint.c 	str_cpy(str + off, bufsz - off, boxc->c[2][2]);
str               724 uspace/lib/ui/src/paint.c 	str[off] = '\0';
str               728 uspace/lib/ui/src/paint.c 	rc = gfx_puttext(&pos, &fmt, str);
str               732 uspace/lib/ui/src/paint.c 	free(str);
str               735 uspace/lib/ui/src/paint.c 	if (str != NULL)
str               736 uspace/lib/ui/src/paint.c 		free(str);
str               790 uspace/lib/ui/src/paint.c 	char *str = NULL;
str               820 uspace/lib/ui/src/paint.c 	str = malloc(bufsz);
str               821 uspace/lib/ui/src/paint.c 	if (str == NULL)
str               824 uspace/lib/ui/src/paint.c 	str_cpy(str, bufsz, hbc->start);
str               828 uspace/lib/ui/src/paint.c 		str_cpy(str + off, bufsz - off, hbc->middle);
str               832 uspace/lib/ui/src/paint.c 	str_cpy(str + off, bufsz - off, hbc->end);
str               834 uspace/lib/ui/src/paint.c 	str[off] = '\0';
str               837 uspace/lib/ui/src/paint.c 	rc = gfx_puttext(&pos, &fmt, str);
str               841 uspace/lib/ui/src/paint.c 	free(str);
str               844 uspace/lib/ui/src/paint.c 	if (str != NULL)
str               845 uspace/lib/ui/src/paint.c 		free(str);
str               922 uspace/lib/ui/src/paint.c gfx_coord_t ui_text_width(gfx_font_t *font, const char *str)
str               929 uspace/lib/ui/src/paint.c 	w = gfx_text_width(font, str);
str               933 uspace/lib/ui/src/paint.c 	sp = str;
str               955 uspace/lib/ui/src/paint.c errno_t ui_paint_text(gfx_coord2_t *pos, ui_text_fmt_t *fmt, const char *str)
str               965 uspace/lib/ui/src/paint.c 	rc = ui_accel_process(str, &buf, &endptr);
str               513 uspace/lib/ui/test/entry.c 	char *str;
str               538 uspace/lib/ui/test/entry.c 	rc = clipboard_get_str(&str);
str               540 uspace/lib/ui/test/entry.c 	PCUT_ASSERT_STR_EQUALS("BCDE", str);
str               542 uspace/lib/ui/test/entry.c 	free(str);
str               557 uspace/lib/ui/test/entry.c 	char *str;
str               582 uspace/lib/ui/test/entry.c 	rc = clipboard_get_str(&str);
str               584 uspace/lib/ui/test/entry.c 	PCUT_ASSERT_STR_EQUALS("BCDE", str);
str               586 uspace/lib/ui/test/entry.c 	free(str);
str                52 uspace/lib/uri/uri.c uri_t *uri_parse(const char *str)
str                60 uspace/lib/uri/uri.c 	const char *scheme = str;
str                61 uspace/lib/uri/uri.c 	while (*str != 0 && *str != ':')
str                62 uspace/lib/uri/uri.c 		str++;
str                63 uspace/lib/uri/uri.c 	if (*str == 0) {
str                67 uspace/lib/uri/uri.c 	uri->scheme = cut_str(scheme, str);
str                70 uspace/lib/uri/uri.c 	str++;
str                72 uspace/lib/uri/uri.c 	if (*str == '/' && str[1] == '/') {
str                74 uspace/lib/uri/uri.c 		str++;
str                75 uspace/lib/uri/uri.c 		str++;
str                76 uspace/lib/uri/uri.c 		const char *authority_start = str;
str                81 uspace/lib/uri/uri.c 		while (*str != 0 && *str != '?' && *str != '#' && *str != '@' &&
str                82 uspace/lib/uri/uri.c 		    *str != ':' && *str != '/')
str                83 uspace/lib/uri/uri.c 			str++;
str                85 uspace/lib/uri/uri.c 		host_or_user_info = cut_str(authority_start, str);
str                86 uspace/lib/uri/uri.c 		if (*str == ':') {
str                87 uspace/lib/uri/uri.c 			str++;
str                88 uspace/lib/uri/uri.c 			const char *second_part = str;
str                89 uspace/lib/uri/uri.c 			while (*str != 0 && *str != '?' && *str != '#' &&
str                90 uspace/lib/uri/uri.c 			    *str != '@' && *str != '/')
str                91 uspace/lib/uri/uri.c 				str++;
str                92 uspace/lib/uri/uri.c 			port_or_user_credential = cut_str(second_part, str);
str                95 uspace/lib/uri/uri.c 		if (*str == '@') {
str                99 uspace/lib/uri/uri.c 			str++;
str               100 uspace/lib/uri/uri.c 			const char *host_start = str;
str               101 uspace/lib/uri/uri.c 			while (*str != 0 && *str != '?' && *str != '#' &&
str               102 uspace/lib/uri/uri.c 			    *str != ':' && *str != '/')
str               103 uspace/lib/uri/uri.c 				str++;
str               104 uspace/lib/uri/uri.c 			uri->host = cut_str(host_start, str);
str               106 uspace/lib/uri/uri.c 			if (*str == ':') {
str               107 uspace/lib/uri/uri.c 				str++;
str               108 uspace/lib/uri/uri.c 				const char *port_start = str;
str               109 uspace/lib/uri/uri.c 				while (*str != 0 && *str != '?' && *str != '#' && *str != '/')
str               110 uspace/lib/uri/uri.c 					str++;
str               111 uspace/lib/uri/uri.c 				uri->port = cut_str(port_start, str);
str               119 uspace/lib/uri/uri.c 	const char *path_start = str;
str               120 uspace/lib/uri/uri.c 	while (*str != 0 && *str != '?' && *str != '#')
str               121 uspace/lib/uri/uri.c 		str++;
str               122 uspace/lib/uri/uri.c 	uri->path = cut_str(path_start, str);
str               124 uspace/lib/uri/uri.c 	if (*str == '?') {
str               125 uspace/lib/uri/uri.c 		str++;
str               126 uspace/lib/uri/uri.c 		const char *query_start = str;
str               127 uspace/lib/uri/uri.c 		while (*str != 0 && *str != '#')
str               128 uspace/lib/uri/uri.c 			str++;
str               129 uspace/lib/uri/uri.c 		uri->query = cut_str(query_start, str);
str               132 uspace/lib/uri/uri.c 	if (*str == '#') {
str               133 uspace/lib/uri/uri.c 		str++;
str               134 uspace/lib/uri/uri.c 		const char *fragment_start = str;
str               135 uspace/lib/uri/uri.c 		while (*str != 0)
str               136 uspace/lib/uri/uri.c 			str++;
str               137 uspace/lib/uri/uri.c 		uri->fragment = cut_str(fragment_start, str);
str               140 uspace/lib/uri/uri.c 	assert(*str == 0);
str               150 uspace/lib/uri/uri.c errno_t uri_scheme_parse(const char *str, const char **endptr)
str               152 uspace/lib/uri/uri.c 	if (*str == 0) {
str               153 uspace/lib/uri/uri.c 		*endptr = str;
str               157 uspace/lib/uri/uri.c 	if (!isalpha(*str)) {
str               158 uspace/lib/uri/uri.c 		*endptr = str;
str               162 uspace/lib/uri/uri.c 	while (isalpha(*str) || isdigit(*str) ||
str               163 uspace/lib/uri/uri.c 	    *str == '+' || *str == '-' || *str == '.') {
str               164 uspace/lib/uri/uri.c 		str++;
str               167 uspace/lib/uri/uri.c 	*endptr = str;
str               174 uspace/lib/uri/uri.c bool uri_scheme_validate(const char *str)
str               177 uspace/lib/uri/uri.c 	if (uri_scheme_parse(str, &endptr) != EOK)
str               182 uspace/lib/uri/uri.c errno_t uri_percent_parse(const char *str, const char **endptr,
str               185 uspace/lib/uri/uri.c 	*endptr = str;
str               186 uspace/lib/uri/uri.c 	if (str[0] == 0 || str[1] == 0 || str[2] == 0)
str               189 uspace/lib/uri/uri.c 	if (str[0] != '%' || !is_hexdig(str[1]) || !is_hexdig(str[2]))
str               193 uspace/lib/uri/uri.c 		errno_t rc = str_uint8_t(str + 1, NULL, 16, true, decoded);
str               198 uspace/lib/uri/uri.c 	*endptr = str + 3;
str               202 uspace/lib/uri/uri.c errno_t uri_user_info_parse(const char *str, const char **endptr)
str               204 uspace/lib/uri/uri.c 	while (*str != 0) {
str               205 uspace/lib/uri/uri.c 		while (is_unreserved(*str) || is_subdelim(*str) || *str == ':')
str               206 uspace/lib/uri/uri.c 			str++;
str               207 uspace/lib/uri/uri.c 		if (*str == 0)
str               209 uspace/lib/uri/uri.c 		errno_t rc = uri_percent_parse(str, &str, NULL);
str               211 uspace/lib/uri/uri.c 			*endptr = str;
str               216 uspace/lib/uri/uri.c 	*endptr = str;
str               220 uspace/lib/uri/uri.c bool uri_user_info_validate(const char *str)
str               223 uspace/lib/uri/uri.c 	if (uri_user_info_parse(str, &endptr) != EOK)
str               228 uspace/lib/uri/uri.c errno_t uri_port_parse(const char *str, const char **endptr)
str               230 uspace/lib/uri/uri.c 	if (*str == 0)
str               232 uspace/lib/uri/uri.c 	if (!isdigit(*str))
str               234 uspace/lib/uri/uri.c 	while (isdigit(*str))
str               235 uspace/lib/uri/uri.c 		str++;
str               236 uspace/lib/uri/uri.c 	*endptr = str;
str               240 uspace/lib/uri/uri.c bool uri_port_validate(const char *str)
str               243 uspace/lib/uri/uri.c 	if (uri_port_parse(str, &endptr) != EOK)
str                88 uspace/lib/usbdev/src/recognise.c 		char *str = NULL; \
str                89 uspace/lib/usbdev/src/recognise.c 		int __rc = asprintf(&str, format, ##__VA_ARGS__); \
str                91 uspace/lib/usbdev/src/recognise.c 			errno_t __rc = usb_add_match_id((match_ids), (score), str); \
str                93 uspace/lib/usbdev/src/recognise.c 				free(str); \
str               804 uspace/lib/usbdev/src/request.c 	char *str = wstr_to_astr(string_chars);
str               805 uspace/lib/usbdev/src/request.c 	if (str == NULL) {
str               810 uspace/lib/usbdev/src/request.c 	*string_ptr = str;
str               345 uspace/lib/usbhost/src/ddf_helpers.c #define ADD_MATCHID_OR_RETURN(list, sc, str, ...) \
str               353 uspace/lib/usbhost/src/ddf_helpers.c 	int ret = asprintf(&id, str, ##__VA_ARGS__); \
str                81 uspace/srv/devman/util.c size_t get_nonspace_len(const char *str)
str                85 uspace/srv/devman/util.c 	while (*str != '\0' && !isspace(*str)) {
str                87 uspace/srv/devman/util.c 		str++;
str                93 uspace/srv/devman/util.c void replace_char(char *str, char orig, char repl)
str                95 uspace/srv/devman/util.c 	while (*str) {
str                96 uspace/srv/devman/util.c 		if (*str == orig)
str                97 uspace/srv/devman/util.c 			*str = repl;
str                98 uspace/srv/devman/util.c 		str++;
str               464 uspace/srv/fs/cdfs/cdfs_ops.c 	char *str;
str               469 uspace/srv/fs/cdfs/cdfs_ops.c 		str = malloc(dsize + 1);
str               470 uspace/srv/fs/cdfs/cdfs_ops.c 		if (str == NULL)
str               472 uspace/srv/fs/cdfs/cdfs_ops.c 		memcpy(str, data, dsize);
str               473 uspace/srv/fs/cdfs/cdfs_ops.c 		str[dsize] = '\0';
str               487 uspace/srv/fs/cdfs/cdfs_ops.c 		str = malloc(dstr_size);
str               488 uspace/srv/fs/cdfs/cdfs_ops.c 		if (str == NULL)
str               491 uspace/srv/fs/cdfs/cdfs_ops.c 		rc = utf16_to_str(str, dstr_size, buf);
str               499 uspace/srv/fs/cdfs/cdfs_ops.c 		str = NULL;
str               502 uspace/srv/fs/cdfs/cdfs_ops.c 	return str;
str               271 uspace/srv/fs/fat/fat_dentry.c size_t fat_lfn_str_nlength(const unaligned_uint16_t *str, size_t size)
str               276 uspace/srv/fs/fat/fat_dentry.c 		if (str[offset] == 0 || str[offset] == FAT_LFN_PAD)
str               176 uspace/srv/hid/output/ctl/serial.c static void serial_vt_control_puts(void *arg, const char *str)
str               179 uspace/srv/hid/output/ctl/serial.c 	serial_control_puts_fn(str);
str               103 uspace/srv/hid/output/port/chardev.c static void chardev_control_puts(const char *str)
str               107 uspace/srv/hid/output/port/chardev.c 	p = str;
str               633 uspace/srv/hid/remcons/remcons.c static void remcons_vt_cputs(void *arg, const char *str)
str               637 uspace/srv/hid/remcons/remcons.c 	(void)telnet_user_send_raw(remcons->user, str, str_size(str));
str               249 uspace/srv/net/ethip/ethip_nic.c 	    "new addr=%s", saddr.str);
str               421 uspace/srv/net/inetsrv/addrobj.c 	char *str = NULL;
str               430 uspace/srv/net/inetsrv/addrobj.c 	rv = asprintf(&str, "%zu", addr->id);
str               432 uspace/srv/net/inetsrv/addrobj.c 		str = NULL;
str               437 uspace/srv/net/inetsrv/addrobj.c 	rc = sif_node_set_attr(naddr, "id", str);
str               441 uspace/srv/net/inetsrv/addrobj.c 	free(str);
str               442 uspace/srv/net/inetsrv/addrobj.c 	str = NULL;
str               446 uspace/srv/net/inetsrv/addrobj.c 	rc = inet_naddr_format(&addr->naddr, &str);
str               450 uspace/srv/net/inetsrv/addrobj.c 	rc = sif_node_set_attr(naddr, "naddr", str);
str               454 uspace/srv/net/inetsrv/addrobj.c 	free(str);
str               455 uspace/srv/net/inetsrv/addrobj.c 	str = NULL;
str               469 uspace/srv/net/inetsrv/addrobj.c 	free(str);
str               473 uspace/srv/net/inetsrv/addrobj.c 	if (str != NULL)
str               474 uspace/srv/net/inetsrv/addrobj.c 		free(str);
str               134 uspace/srv/net/inetsrv/inet_link.c 	    "new addr=%s", saddr.str);
str               317 uspace/srv/net/inetsrv/sroute.c 	char *str = NULL;
str               326 uspace/srv/net/inetsrv/sroute.c 	rv = asprintf(&str, "%zu", sroute->id);
str               328 uspace/srv/net/inetsrv/sroute.c 		str = NULL;
str               333 uspace/srv/net/inetsrv/sroute.c 	rc = sif_node_set_attr(nroute, "id", str);
str               337 uspace/srv/net/inetsrv/sroute.c 	free(str);
str               338 uspace/srv/net/inetsrv/sroute.c 	str = NULL;
str               342 uspace/srv/net/inetsrv/sroute.c 	rc = inet_naddr_format(&sroute->dest, &str);
str               346 uspace/srv/net/inetsrv/sroute.c 	rc = sif_node_set_attr(nroute, "dest", str);
str               350 uspace/srv/net/inetsrv/sroute.c 	free(str);
str               351 uspace/srv/net/inetsrv/sroute.c 	str = NULL;
str               355 uspace/srv/net/inetsrv/sroute.c 	rc = inet_addr_format(&sroute->router, &str);
str               359 uspace/srv/net/inetsrv/sroute.c 	rc = sif_node_set_attr(nroute, "router", str);
str               369 uspace/srv/net/inetsrv/sroute.c 	free(str);
str               373 uspace/srv/net/inetsrv/sroute.c 	if (str != NULL)
str               374 uspace/srv/net/inetsrv/sroute.c 		free(str);
HelenOS homepage, sources at GitHub