Searched refs:str (Results 1 - 25 of 323) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/googlefs/
H A Dstring_utils.h12 extern char *urlify_string(const char *str);
18 extern char *unentitify_string(const char *str);
/haiku/src/tests/kits/support/bstring/
H A DStringAssignTest.cpp30 BString *str = new BString(); local
31 *str = "Something Else";
32 CPPUNIT_ASSERT(strcmp(str->String(), "Something Else") == 0);
33 delete str;
38 str = new BString;
39 *str = s;
40 CPPUNIT_ASSERT(strcmp(str->String(), "") == 0);
41 delete str;
45 str = new BString;
46 str
[all...]
H A DStringConstructionTest.cpp21 const char *str = "Something"; local
32 string = new BString(str);
33 CPPUNIT_ASSERT(strcmp(string->String(), str) == 0);
34 CPPUNIT_ASSERT((unsigned)string->Length() == strlen(str));
54 string = new BString(str, 5);
55 CPPUNIT_ASSERT(strcmp(string->String(), str) != 0);
56 CPPUNIT_ASSERT(strncmp(string->String(), str, 5) == 0);
61 string = new BString(str, 255);
62 CPPUNIT_ASSERT(strcmp(string->String(), str) == 0);
63 CPPUNIT_ASSERT((unsigned)string->Length() == strlen(str));
[all...]
/haiku/src/system/libroot/posix/string/
H A Dstrlwr.c10 strlwr(char *str) argument
12 char *c = str;
18 return str;
H A Dstrupr.c10 strupr(char *str) argument
12 char *c = str;
18 return str;
/haiku/src/bin/pc/
H A Dpc.c121 ULONG parse_expression(char *str); /* top-level interface to parser */
122 ULONG assignment_expr(char **str); /* assignments =, +=, *=, etc */
123 ULONG do_assignment_operator(char **str, char *var_name);
124 ULONG logical_or_expr(char **str); /* logical OR `||' */
125 ULONG logical_and_expr(char **str); /* logical AND `&&' */
126 ULONG or_expr(char **str); /* OR `|' */
127 ULONG xor_expr(char **str); /* XOR `^' */
128 ULONG and_expr(char **str); /* AND `&' */
129 ULONG equality_expr(char **str); /* equality ==, != */
130 ULONG relational_expr(char **str); /* relationa
304 parse_expression(char *str) argument
331 assignment_expr(char **str) argument
382 do_assignment_operator(char **str, char *var_name) argument
446 logical_or_expr(char **str) argument
470 logical_and_expr(char **str) argument
493 or_expr(char **str) argument
517 xor_expr(char **str) argument
541 and_expr(char **str) argument
564 equality_expr(char **str) argument
594 relational_expr(char **str) argument
643 shift_expr(char **str) argument
674 add_expression(char **str) argument
705 term(char **str) argument
760 factor(char **str) argument
832 get_value(char **str) argument
1062 get_var_name(char **str) argument
1103 skipwhite(char *str) argument
[all...]
/haiku/src/tools/cppunit/
H A DTestUtils.cpp21 string str;
25 str = "B_OK";
29 str = "B_ERROR";
35 str = "B_FILE_ERROR";
39 str = "B_FILE_NOT_FOUND";
43 str = "B_FILE_EXISTS";
47 str = "B_ENTRY_NOT_FOUND";
51 str = "B_NAME_TOO_LONG";
55 str = "B_DIRECTORY_NOT_EMPTY";
59 str
[all...]
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dstrlen.c30 strlen (str)
31 const char *str;
39 for (char_ptr = str; ((unsigned long int) char_ptr
43 return char_ptr - str;
132 return cp - str;
134 return cp - str + 1;
136 return cp - str + 2;
138 return cp - str + 3;
142 return cp - str + 4;
144 return cp - str
[all...]
/haiku/src/system/libroot/posix/glibc/locale/
H A Delem-hash.h23 elem_hash (const char *str, int_fast32_t n) argument
30 result += *str++;
/haiku/src/apps/serialconnect/libvterm/src/
H A Dutf8.h16 static int fill_utf8(long codepoint, char *str) argument
24 str[b] = 0x80 | (codepoint & 0x3f);
29 case 1: str[0] = (codepoint & 0x7f); break;
30 case 2: str[0] = 0xc0 | (codepoint & 0x1f); break;
31 case 3: str[0] = 0xe0 | (codepoint & 0x0f); break;
32 case 4: str[0] = 0xf0 | (codepoint & 0x07); break;
33 case 5: str[0] = 0xf8 | (codepoint & 0x03); break;
34 case 6: str[0] = 0xfc | (codepoint & 0x01); break;
/haiku/src/apps/poorman/libhttpd/
H A Dtdate_parse.h35 extern time_t tdate_parse( char* str );
/haiku/src/system/libroot/posix/glibc/libio/
H A Diofputs_u.c33 fputs_unlocked (str, fp)
34 const char *str;
37 _IO_size_t len = strlen (str);
40 if (_IO_fwide (fp, -1) == -1 && _IO_sputn (fp, str, len) == len)
H A Diofputws_u.c33 fputws_unlocked (str, fp)
34 const wchar_t *str;
37 _IO_size_t len = __wcslen (str);
41 && _IO_sputn (fp, (char *) str, len) == len)
H A Diofputws.c32 fputws (str, fp)
33 const wchar_t *str;
36 _IO_size_t len = __wcslen (str);
42 && _IO_sputn (fp, (char *) str, len) == len)
H A Dioputs.c35 _IO_puts(const char *str) argument
38 _IO_size_t len = strlen(str);
44 && _IO_sputn(_IO_stdout, str, len) == len
/haiku/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dargv.h10 char **build_argv(char *str, int *argc);
/haiku/src/add-ons/mail_daemon/inbound_filters/match_header/
H A DStringMatcher.cpp17 StringMatcher :: StringMatcher(const char * str) : _regExpValid(false) argument
19 SetPattern(str);
27 bool StringMatcher::SetPattern(const char * str, bool isSimple) argument
36 for (const char * ptr = str; *ptr != '\0'; ptr++)
98 _regExpValid = (regcomp(&_regExp, (pattern.Length() > 0) ? pattern.String() : str, 0) == 0);
104 StringMatcher::Match(const char *str) const
109 int regExpStat = regexec(&_regExp, str, 0, NULL, 0);
129 const char * str = s.String(); local
132 while(*str)
134 if (IsRegexToken(*str)) re
141 HasRegexTokens(const char * str) argument
151 MakeRegexCaseInsensitive(PortableString & str) argument
[all...]
H A DStringMatcher.h59 /** Puts a backslash in front of any char in (str) that is "special" to the regex pattern matching.
60 * @param str The string to check for special regex chars and possibly modify to escape them.
62 void EscapeRegexTokens(PortableString & str);
64 /** Returns true iff any "special" chars are found in (str).
65 * @param str The string to check for special regex chars.
66 * @return True iff any special regex chars were found in (str).
68 bool HasRegexTokens(const char * str);
79 * @param str a string to check for letters, and possibly modify to make case-insensitive
82 bool MakeRegexCaseInsensitive(PortableString & str);
/haiku/headers/private/kernel/arch/sh4/
H A Dserial.h11 void serial_puts(const char *str);
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_streams.c40 static int copyvec(evStream *str, const struct iovec *iov, int iocnt);
41 static void consume(evStream *str, size_t bytes);
42 static void done(evContext opaqueCtx, evStream *str);
126 evStream *str = id.opaque; local
130 str->timer = timer;
131 str->flags |= EV_STR_TIMEROK;
137 evStream *str = id.opaque; local
141 str->flags &= ~EV_STR_TIMEROK;
201 copyvec(evStream *str, const struct iovec *iov, int iocnt) { argument
204 str
223 consume(evStream *str, size_t bytes) argument
242 done(evContext opaqueCtx, evStream *str) argument
261 evStream *str = uap; local
284 evStream *str = uap; local
[all...]
/haiku/src/libs/libunwind/mi/
H A Dinit.c47 const char *str = getenv ("UNW_DEBUG_LEVEL"); local
49 if (str)
50 unwi_debug_level = atoi (str);
/haiku/src/bin/
H A Dhey.cpp511 // const char *str;
512 // while (rply.FindString("suites", j++, &str) == B_OK)
513 // printf ("Suite %ld: %s\n", j, str);
1039 char *str = new char[128]; local
1042 case B_ANY_TYPE: strcpy(str, "B_ANY_TYPE"); break;
1043 case B_ASCII_TYPE: strcpy(str, "B_ASCII_TYPE"); break;
1044 case B_BOOL_TYPE: strcpy(str, "B_BOOL_TYPE"); break;
1045 case B_CHAR_TYPE: strcpy(str, "B_CHAR_TYPE"); break;
1046 case B_COLOR_8_BIT_TYPE: strcpy(str, "B_COLOR_8_BIT_TYPE"); break;
1047 case B_DOUBLE_TYPE: strcpy(str, "B_DOUBLE_TYP
1158 char *str; local
[all...]
/haiku/src/system/libroot/posix/glibc/intl/
H A Dhash-string.h44 const char *str = str_param; variable
48 while (*str != '\0')
51 hval += (unsigned long int) *str++;
/haiku/src/libs/libunwind/aarch64/
H A Dgetcontext.S42 str x29, [x0, #(LINUX_UC_MCONTEXT_OFF + LINUX_SC_X29_OFF)]
44 str x9, [x0, #(LINUX_UC_MCONTEXT_OFF + LINUX_SC_SP_OFF)]
45 str x30, [x0, #(LINUX_UC_MCONTEXT_OFF + LINUX_SC_PC_OFF)]
/haiku/src/libs/libunwind/arm/
H A DGglobal.c48 const char* str = getenv ("UNW_ARM_UNWIND_METHOD"); local
49 if (str)
51 unwi_unwind_method = atoi (str);

Completed in 197 milliseconds

1234567891011>>