Searched refs:strncmp (Results 226 - 250 of 255) sorted by path

1234567891011

/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDeviceManager.cpp484 if (i == 0 && !strncmp(path, "/dev/disk", 9)
534 if (i == 0 && !strncmp(path, "/dev/disk", 9)
/haiku/src/system/kernel/fs/
H A Dvfs.cpp757 if (strncmp(fsName, "file_systems/", strlen("file_systems/"))) {
783 if (strncmp(fsName, "file_systems/", length)) {
H A Dvfs_boot.cpp88 if (!strncmp(a->ContentName(), "System", 6))
90 if (!strncmp(b->ContentName(), "System", 6))
/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/libnetwork/netresolv/dst/
H A Dsupport.c65 if (s > b || strncmp(*buf, str, s)) /*%< check if same */
/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/libroot/os/
H A Dfind_directory.cpp469 if (!strncmp(templatePath, "$h", 2)) {
665 if (!strncmp(templatePath, "$h", 2)) {
H A Dfind_paths.cpp151 if (strncmp(path, fLocations[i], length) == 0
782 if (strncmp(relativePath, basePath, prefixLength) != 0
792 if (strncmp(architecturePart, architecture, architectureLength) == 0
H A Dimage.cpp165 if (strncmp(env[i], variable, variableLength) == 0
H A Dparsedate.cpp1135 && !strncmp(sFormatsTable[index], sFormatsTable[index + 1], length))
/haiku/src/system/libroot/posix/musl/misc/
H A Dgetsubopt.c16 if (strncmp(keys[i], s, l)) continue;
/haiku/src/system/libroot/posix/stdlib/
H A Denv.cpp103 if (!strncmp(name, environ[i], length) && environ[i][length] == '=') {
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp411 if (!strncmp(fsh_name, "bfs", B_OS_NAME_LENGTH))
413 if (!strncmp(fsh_name, "dos", B_OS_NAME_LENGTH))
415 if (!strncmp(fsh_name, "fat", B_OS_NAME_LENGTH))
417 if (!strncmp(fsh_name, "ext2", B_OS_NAME_LENGTH))
419 if (!strncmp(fsh_name, "ext3", B_OS_NAME_LENGTH))
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c2507 void strncmp() {} function
H A Dlibroot_stubs_legacy.c2499 void strncmp() {} function
/haiku/src/system/runtime_loader/
H A Delf_haiku_version.cpp130 if (strncmp(stringStart, kGCCVersionPrefix, gccVersionPrefixLen) != 0)
H A Dimages.cpp114 if (!strncmp(imageName, name, length)
H A Druntime_loader.cpp129 || strncmp(dir, placeholder, placeholderLength) != 0) {
204 if (result == B_OK && strncmp(dir, buffer, dirLength) == 0) {
438 if (!strncmp(buffer, "#!", 2)) {
/haiku/src/tests/add-ons/kernel/drivers/audio/
H A Dmulti_audio_test.cpp533 if (!strncmp(command->name, argv[0], length)) {
/haiku/src/tests/apps/miniterminal/
H A DMiniView.cpp55 if (strncmp (environ [envindex], var, len) == 0) {
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp397 if (strncmp(transform_name, "translate", 9) == 0) {
405 else if (strncmp(transform_name, "rotate", 6) == 0) {
412 else if (strncmp(transform_name, "scale", 5) == 0) {
423 else if (strncmp(transform_name, "skewX", 5) == 0) {
430 else if (strncmp(transform_name, "skewY", 5) == 0) {
/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.cpp62 return strncmp(tag1, tag2, 4) == 0;
/haiku/src/tests/kits/shared/
H A DJsonEndToEndTest.cpp121 0 == strncmp(expectedOutput, (char*)outputData->Buffer(),
H A DKeymapTest.cpp109 CPPUNIT_ASSERT(strncmp(chars, mapChars + 1, numBytes) == 0);
/haiku/src/tests/kits/support/bmemoryio/
H A DWriteTest.cpp42 CPPUNIT_ASSERT(strncmp(buf + 3, writeBuf, 2) == 0);
50 CPPUNIT_ASSERT(strncmp(buf + 9, writeBuf, 1) == 0);

Completed in 246 milliseconds

1234567891011