Searched refs:strncmp (Results 26 - 50 of 255) sorted by last modified time

1234567891011

/haiku/src/tests/kits/shared/
H A DJsonEndToEndTest.cpp121 0 == strncmp(expectedOutput, (char*)outputData->Buffer(),
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.cpp180 return l > 4 && 0 == strncmp(&pathStr[l - 3], ".gz", 3);
/haiku/src/system/boot/arch/x86/
H A Darch_cpu.cpp355 bool isIntel = strncmp(info.eax_0.vendor_id, "GenuineIntel", 12) == 0;
356 bool isAmd = strncmp(info.eax_0.vendor_id, "AuthenticAMD", 12) == 0;
/haiku/src/apps/debuganalyzer/model_loader/
H A DModelLoader.cpp1238 if (strncmp(event->name, "idle thread", strlen("idle thread")) == 0)
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DDirectoryIterator.cpp335 && strncmp(name, buffer, nameLength) == 0) {
/haiku/src/system/kernel/debug/
H A Ddebug.cpp598 if (strncmp(sLineBuffer[historyLine], buffer,
1518 && strncmp(string, sLastOutputBuffer, length) == 0) {
1765 if (!strncmp(name, kDemanglePrefix, strlen(kDemanglePrefix))) {
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DVolume.cpp717 if (strncmp(entry->d_name, "state_", 6) != 0
/haiku/src/bin/filteredquery/
H A Dquery.cpp46 if (!strncmp(path.Path(), wantedPath.Path(),
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c323 (!strncmp(line, name, sizeof(name) - 1) && \
553 if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) {
563 } else if (!strncmp(cp, "timeout:", sizeof("timeout:") - 1)) {
574 } else if (!strncmp(cp, "retrans:", sizeof("retrans:") - 1)) {
581 } else if (!strncmp(cp, "retry:", sizeof("retry:") - 1)){
589 } else if (!strncmp(cp, "attempts:", sizeof("attempts:") - 1)){
599 } else if (!strncmp(cp, "debug", sizeof("debug") - 1)) {
608 } else if (!strncmp(cp, "no_tld_query",
610 !strncmp(cp, "no-tld-query",
613 } else if (!strncmp(c
[all...]
/haiku/src/system/libnetwork/netresolv/dst/
H A Dsupport.c65 if (s > b || strncmp(*buf, str, s)) /*%< check if same */
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp195 if (!strncmp(" a", output, 3)) {
198 } else if (!strncmp("up", output, 2)) {
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp240 if (strncmp(mime, "text/plain", B_MIME_TYPE_LENGTH))
/haiku/src/tests/system/kernel/
H A Dadvisory_locking_test.cpp94 return command1 != NULL && !strncmp(op, command1, length)
95 || command2 != NULL && !strncmp(op, command2, length);
/haiku/src/tests/add-ons/kernel/drivers/audio/
H A Dmulti_audio_test.cpp533 if (!strncmp(command->name, argv[0], length)) {
/haiku/src/system/libroot/os/
H A Dparsedate.cpp1135 && !strncmp(sFormatsTable[index], sFormatsTable[index + 1], length))
/haiku/src/system/kernel/
H A Dmodule.cpp891 if (strncmp(sBuiltInModules[i]->name, iterator->prefix,
912 if (!strncmp(module->name, iterator->prefix,
981 if (strncmp(dirent->d_name, iterator->prefix + passedOffset
1048 if (strncmp(info->name, iterator->prefix, iterator->prefix_length)
1514 if (strncmp(dirent->d_name, startPrefix, length))
1605 if (strncmp(path, modulePath.Path(), modulePath.Length()))
1623 if (strncmp(path, listener->prefix, strlen(listener->prefix)))
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp933 if (strncmp(name, CACHE_MODULES_NAME, strlen(CACHE_MODULES_NAME)))
/haiku/src/system/boot/platform/bios_ia32/
H A Ddevices.cpp298 if (!strncmp(parameters.host_bus, "PCI", 3)) {
304 } else if (!strncmp(parameters.host_bus, "ISA", 3)) {
316 if (!strncmp(parameters.interface_type, "ATA", 3)) {
320 } else if (!strncmp(parameters.interface_type, "ATAPI", 3)) {
324 } else if (!strncmp(parameters.interface_type, "SCSI", 3)) {
327 } else if (!strncmp(parameters.interface_type, "USB", 3)) {
330 } else if (!strncmp(parameters.interface_type, "1394", 3)) {
333 } else if (!strncmp(parameters.interface_type, "FIBRE", 3)) {
/haiku/src/system/boot/platform/atari_m68k/
H A Ddevices.cpp248 if (!strncmp(parameters.host_bus, "PCI", 3)) {
254 } else if (!strncmp(parameters.host_bus, "ISA", 3)) {
266 if (!strncmp(parameters.interface_type, "ATA", 3)) {
270 } else if (!strncmp(parameters.interface_type, "ATAPI", 3)) {
274 } else if (!strncmp(parameters.interface_type, "SCSI", 3)) {
277 } else if (!strncmp(parameters.interface_type, "USB", 3)) {
280 } else if (!strncmp(parameters.interface_type, "1394", 3)) {
283 } else if (!strncmp(parameters.interface_type, "FIBRE", 3)) {
/haiku/src/kits/app/
H A DMessage.cpp308 if (strncmp(name, otherName, field->name_length) != 0)
793 if (strncmp((const char*)(fData + field->offset), oldEntry,
1669 if (strncmp((const char*)(fData + field->offset), name,
/haiku/src/build/libbe/app/
H A DMessage.cpp239 if (strncmp(name, otherName, field->name_length) != 0)
657 if (strncmp((const char *)(fData + field->offset), oldEntry,
1255 if (strncmp((const char *)(fData + field->offset), name,
/haiku/src/bin/mail_utils/
H A Dspamdbm.cpp1923 if (strncmp (SubjectString, "[Spam ", 6) == 0)
3639 if (strncmp (LineString, g_DatabaseRecognitionString,
3682 if (strncmp (StringPntr, "Classifications", 15) != 0)
6005 (int) strlen (g_DatabaseRecognitionString) && strncmp (TempString,
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundNode.cpp2173 if (id && strncmp(mixext.id, id, 16))
/haiku/src/add-ons/kernel/partitioning_systems/apple/
H A Dapple.cpp82 if (!cookie && (strncmp(partition.type, "Apple_", 6)
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DVolume.cpp1343 if (strncmp(((userlandfs_ioctl*)buffer)->magic,

Completed in 420 milliseconds

1234567891011