Searched refs:strncmp (Results 151 - 175 of 255) sorted by relevance

1234567891011

/haiku/src/bin/
H A Dtop.cpp203 if (strncmp(t.name, IDLE_NAME, strlen(IDLE_NAME)) == 0) {
H A Dcopyattr.cpp592 && strncmp(sourcePath + leafStart, "..", leafLen) == 0)) {
/haiku/src/system/libroot/os/
H A Dimage.cpp165 if (strncmp(env[i], variable, variableLength) == 0
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DExtent.cpp235 int retVal = strncmp(name, (char*)entry->name, entry->namelen);
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.cpp180 return l > 4 && 0 == strncmp(&pathStr[l - 3], ".gz", 3);
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutclib.c187 * FUNCTION: strncmp
629 * FUNCTION: strncmp
642 strncmp ( function
/haiku/src/bin/keymap/
H A DKeymap.cpp419 if (!strncmp(start, "CapsLock", length))
421 else if (!strncmp(start, "NumLock", length))
423 else if (!strncmp(start, "ScrollLock", length))
1056 if (strncmp(buffer + regs.start[i], "''", regs.end[i] - regs.start[i])
1087 if (strncmp(start, "Normal", length) == 0)
1089 else if (strncmp(start, "Shift", length) == 0)
1091 else if (strncmp(start, "Control", length) == 0)
1093 else if (strncmp(start, "Option", length) == 0)
1095 else if (strncmp(start, "Option-Shift", length) == 0)
1097 else if (strncmp(star
[all...]
/haiku/src/bin/network/telnetd/
H A Dsys_term.c80 #define SCMPN(a, b) strncmp(a, b, sizeof(a))
1337 if(strncmp(*cpp, *p, strlen(*p)) == 0) {
1345 if(strncmp(*cpp, *p, strlen(*p)) == 0)
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/
H A Dactypes.h675 #define ACPI_COMPARE_NAMESEG(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, (b)), ACPI_NAMESEG_SIZE))
681 #define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8))
685 #define ACPI_IS_OEM_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_OEM_NAME, 3) &&\
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A Dkernel_interface.cpp121 else if (strncmp(options, "retrans=", 8) == 0) {
124 } else if (strncmp(options, "timeo=", 6) == 0) {
131 else if (strncmp(options, "port=", 5) == 0) {
134 } else if (strncmp(options, "proto=", 6) == 0) {
137 } else if (strncmp(options, "dirtime=", 8) == 0) {
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c1061 strncmp( hc->authorization, "Basic ", 6 ) != 0 )
1413 if ( strncmp( hc->hostname, "www.", 4 ) == 0 )
1555 else if ( strncmp( r, "..", MAX( i, 2 ) ) == 0 )
2378 if ( strncmp(
2387 ( strncmp(
2453 while ( strncmp( file, "./", 2 ) == 0 )
2461 while ( strncmp( file, "../", 3 ) == 0 )
3336 if ( strncmp( headers, "HTTP/", 5 ) == 0 )
3497 if ( strncmp( argp[0], "nph-", 4 ) != 0 && hc->mime_flag )
4157 else if ( IN6_IS_ADDR_V4MAPPED( &saP->sa_in6.sin6_addr ) && strncmp( st
[all...]
/haiku/src/system/kernel/device_manager/
H A Dlegacy_drivers.cpp310 if (!strncmp(device->Path(), devicePaths[0], B_PATH_NAME_LENGTH)) {
537 if (!strncmp(pathBuffer.Path(), path, pathBuffer.BufferSize()))
1216 if (strncmp(type, "drivers/dev", length))
/haiku/src/add-ons/kernel/file_systems/fat/
H A Ddosfs.cpp1052 || strncmp((const char *)buffer + 0x47, vol->vol_label, 11)
1055 || strncmp((const char *)buffer + 0x2b, vol->vol_label, 11)
1071 if (buffer == NULL || strncmp((const char *)buffer, vol->vol_label, 11) == 0) {
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp264 if (!strncmp(column->DisplayAs(), "checkbox", 8))
267 if (!strncmp(column->DisplayAs(), "duration", 8))
270 if (!strncmp(column->DisplayAs(), "rating", 6))
/haiku/src/bin/unzip/
H A Dextract.c360 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a new entry? */
370 (strncmp(G.sig, end_central_sig, 4) != 0);
936 if (strncmp(G.sig, local_hdr_sig, 4)) {
961 if (strncmp(G.sig, local_hdr_sig, 4)) {
/haiku/src/preferences/shortcuts/
H A DShortcutsSpec.cpp399 if (strncmp(filePath, fileFragment, fragmentLength) == 0) {
/haiku/src/system/kernel/debug/
H A Ddebug_commands.cpp230 while (command != NULL && strncmp(prefix, command->name, prefixLen) != 0)
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DVolume.cpp46 if (strncmp(magic, BTRFS_SUPER_BLOCK_MAGIC, sizeof(magic)) != 0)
/haiku/src/apps/installer/
H A DCopyEngine.cpp492 if (strncmp(absoluteSourcePath, fAbsoluteSourcePath,
/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.cpp62 return strncmp(tag1, tag2, 4) == 0;
/haiku/src/build/libbe/storage/
H A DDirectory.cpp301 if (!strncmp(dirPath.Path(), entryPath.Path(), dirLen)) {
/haiku/src/kits/storage/
H A DDirectory.cpp321 if (!strncmp(dirPath.Path(), entryPath.Path(), dirLen)) {
/haiku/src/build/libroot/
H A Dfs_attr_untyped.cpp100 if (strncmp(name, kAttributeNamespace, kAttributeNamespaceLen) != 0)
/haiku/src/apps/terminal/
H A DShell.cpp99 if (!strncmp(environ[envindex], var, len)) {
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DAttributeIndexImpl.cpp54 int result = strncmp((const char*)key1, (const char*)key2,

Completed in 205 milliseconds

1234567891011