/external/iptables/extensions/ |
libxt_limit.c | 43 const char *delim; local 47 delim = strchr(rate, '/'); 48 if (delim) { 49 if (strlen(delim+1) == 0) 52 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) 54 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) 56 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0 [all...] |
libxt_hashlimit.c | 146 const char *delim; local 150 delim = strchr(rate, '/'); 151 if (delim) { 152 if (strlen(delim+1) == 0) 155 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) 157 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) 159 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0 [all...] |
/external/llvm/lib/Support/ |
Path.cpp | 233 const char* delim = strchr(at, PathSeparator); local 235 while (delim != 0) { 236 std::string tmp(at, size_t(delim-at)); 240 at = delim + 1; 241 delim = strchr(at, PathSeparator);
|
/system/vold/ |
main.cpp | 171 const char *delim = " \t"; local 182 if (!(type = strtok_r(line, delim, &save_ptr))) { 186 if (!(label = strtok_r(NULL, delim, &save_ptr))) { 190 if (!(mount_point = strtok_r(NULL, delim, &save_ptr))) { 199 if (!(part = strtok_r(NULL, delim, &save_ptr))) { 214 while ((sysfs_path = strtok_r(NULL, delim, &save_ptr))) {
|
/external/icu4c/test/intltest/ |
punyref.c | 55 /* delim(cp) tests whether cp is a delimiter: */ 56 #define delim(cp) ((cp) == delimiter) macro 236 for (b = j = 0; j < input_length; ++j) if (delim(input[j])) b = j;
|
/external/libxslt/libxslt/ |
attrvt.c | 250 char delim = *(cur++); local 251 while ((*cur != 0) && (*cur != delim))
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/ |
SDL_syscdrom.c | 156 char *cdpath, *delim; local 163 delim = SDL_strchr(SDLcdrom, ':'); 164 if ( delim ) { 165 *delim++ = '\0'; 170 if ( delim ) { 171 SDLcdrom = delim;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/ |
SDL_syscdrom.c | 165 char *cdpath, *delim; local 172 delim = SDL_strchr(SDLcdrom, ':'); 173 if ( delim ) { 174 *delim++ = '\0'; 179 if ( delim ) { 180 SDLcdrom = delim;
|
/external/e2fsprogs/debugfs/ |
set_fields.c | 203 char *arg, *delim, *idx, *tmp; local 224 delim = idx + strlen(idx) - 1; 225 if (!*idx || *delim != ']') 228 *delim = 0;
|
/external/icu4c/tools/ctestfw/ |
uperf.cpp | 17 static const char delim = '/'; variable 290 pos = strchr( name, delim ); // check if name contains path (by looking for '/') 310 *pos = delim; // restore original value at pos
|
/external/libsepol/src/ |
mls.c | 333 char delim; local 351 delim = *p; 352 if (delim != 0) 365 if (delim == ':') { 371 delim = *p; 372 if (delim != 0) 419 if (delim != ',') 423 if (delim == '-') { 429 delim = *p; 430 if (delim != 0 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/ |
SDL_syscdrom.c | 306 char *cdpath, *delim; local 313 delim = SDL_strchr(SDLcdrom, ':'); 314 if ( delim ) { 315 *delim++ = '\0'; 323 if ( delim ) { 324 SDLcdrom = delim;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/ |
SDL_syscdrom.c | 269 char *cdpath, *delim; local 276 delim = SDL_strchr(SDLcdrom, ':'); 277 if ( delim ) { 278 *delim++ = '\0'; 283 if ( delim ) { 284 SDLcdrom = delim;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/ |
SDL_syscdrom.c | 285 char *cdpath, *delim; local 292 delim = SDL_strchr(SDLcdrom, ':'); 293 if ( delim ) { 294 *delim++ = '\0'; 302 if ( delim ) { 303 SDLcdrom = delim;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/ |
SDL_syscdrom.c | 176 char *cdpath, *delim; local 183 delim = SDL_strchr(SDLcdrom, ':'); 184 if ( delim ) { 185 *delim++ = '\0'; 190 if ( delim ) { 191 SDLcdrom = delim;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/ |
SDL_syscdrom.c | 173 char *cdpath, *delim; local 181 delim = SDL_strchr(SDLcdrom, ':'); 182 if (delim) 184 *delim++ = '\0'; 190 if (delim) 192 SDLcdrom = delim;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
AbstractPropertiesFieldsPart.java | 149 String delim = null; local 151 delim = numLines > 0 ? doc.getLineDelimiter(0) : null; 155 if (delim == null || delim.length() == 0) { 156 delim = SdkConstants.CURRENT_PLATFORM == SdkConstants.PLATFORM_WINDOWS ? 219 line = delim + line;
|
/system/core/fs_mgr/ |
fs_mgr.c | 236 const char *delim = " \t"; local 302 if (!(p = strtok_r(line, delim, &save_ptr))) { 308 if (!(p = strtok_r(NULL, delim, &save_ptr))) { 314 if (!(p = strtok_r(NULL, delim, &save_ptr))) { 320 if (!(p = strtok_r(NULL, delim, &save_ptr))) { 334 if (!(p = strtok_r(NULL, delim, &save_ptr))) {
|
/external/expat/xmlwf/ |
xmlwf.c | 775 const XML_Char * delim = T("/"); local 779 const XML_Char * lastDelim = tcsrchr(file, delim[0]); 788 delim = winDelim; 796 tcscat(outName, delim);
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/ |
SDL_syscdrom.cc | 169 char *cdpath, *delim; local 176 delim = SDL_strchr(SDLcdrom, ':'); 177 if ( delim ) { 178 *delim++ = '\0'; 183 if ( delim ) { 184 SDLcdrom = delim;
|
/external/sqlite/android/ |
sqlite3_android.cpp | 391 const UChar * delim = (const UChar *)sqlite3_value_text16(argv[3]); local 392 if (delim == NULL) { 448 u_strtok_r(origData, delim, &state); 450 } while ((token = u_strtok_r(NULL, delim, &state)) != NULL);
|
/external/checkpolicy/ |
module_compiler.c | 170 char *bounds_id, *delim; local 172 delim = strrchr(role_id, '.'); 173 if (!delim) 181 bounds_id[(size_t)(delim - role_id)] = '\0'; 374 char *bounds_id, *delim; local 376 delim = strrchr(user_id, '.'); 377 if (!delim) 385 bounds_id[(size_t)(delim - user_id)] = '\0'; [all...] |
/external/linux-tools-perf/util/ |
trace-event.h | 85 char *delim; member in struct:print_arg_flags
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp.c | 337 char *delim; local 361 delim = os_strchr(domain_and_port, '/'); 362 if (delim) { 363 *delim++ = 0; /* null terminate domain and port */ 364 path = delim; 370 delim = strchr(domain, ':'); 371 if (delim) { 372 *delim++ = 0; /* null terminate domain */ 373 if (isdigit(*delim)) 374 port = atol(delim); [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_upnp.c | 309 char *delim; local 337 delim = os_strchr(host, ':'); 338 if (delim) { 339 *delim = '\0'; /* null terminate host name for now */ 340 if (isdigit(delim[1])) 341 port = atol(delim + 1); 372 if (delim) 373 *delim = ':'; /* Restore port */ [all...] |