Skip to content

Commit

Permalink
Fix lintain spelling-error-in-binary (see https://lintian.debian.org/…
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Feb 12, 2022
1 parent 7ea7af3 commit 5b8c098
Show file tree
Hide file tree
Showing 50 changed files with 119 additions and 119 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/apriltag/common/matd.cpp
Expand Up @@ -786,7 +786,7 @@ static matd_t *matd_op_recurse(const char *expr, int *pos, matd_t *acc, matd_t *
}

default: {
fprintf(stderr, "matd_op(): Unknown character: '%c'\n", expr[*pos]);
fprintf(stderr, "matd_op(): Unknownn character: '%c'\n", expr[*pos]);
assert(expr[*pos] != expr[*pos]);
}
}
Expand Down
10 changes: 5 additions & 5 deletions 3rdparty/atidaq/xmlparse.h
Expand Up @@ -224,7 +224,7 @@ typedef int (*XML_ExternalEntityRefHandler)(XML_Parser parser,
const XML_Char *systemId,
const XML_Char *publicId);

/* This structure is filled in by the XML_UnknownEncodingHandler
/* This structure is filled in by the XML_UnknownnEncodingHandler
to provide information to the parser about encodings that are unknown
to the parser.
The map[b] member gives information about byte sequences
Expand Down Expand Up @@ -274,7 +274,7 @@ typedef struct {

/* This is called for an encoding that is unknown to the parser.
The encodingHandlerData argument is that which was passed as the
second argument to XML_SetUnknownEncodingHandler.
second argument to XML_SetUnknownnEncodingHandler.
The name argument gives the name of the encoding as specified in
the encoding declaration.
If the callback can provide information about the encoding,
Expand All @@ -283,7 +283,7 @@ Otherwise it must return 0.
If info does not describe a suitable encoding,
then the parser will return an XML_UNKNOWN_ENCODING error. */

typedef int (*XML_UnknownEncodingHandler)(void *encodingHandlerData,
typedef int (*XML_UnknownnEncodingHandler)(void *encodingHandlerData,
const XML_Char *name,
XML_Encoding *info);

Expand Down Expand Up @@ -363,8 +363,8 @@ void XMLPARSEAPI
XML_SetExternalEntityRefHandlerArg(XML_Parser, void *arg);

void XMLPARSEAPI
XML_SetUnknownEncodingHandler(XML_Parser parser,
XML_UnknownEncodingHandler handler,
XML_SetUnknownnEncodingHandler(XML_Parser parser,
XML_UnknownnEncodingHandler handler,
void *encodingHandlerData);

/* This can be called within a handler for a start element, end element,
Expand Down
6 changes: 3 additions & 3 deletions 3rdparty/atidaq/xmltok.h
Expand Up @@ -289,9 +289,9 @@ const ENCODING XMLTOKAPI *XmlGetUtf16InternalEncoding(void);
int XMLTOKAPI XmlUtf8Encode(int charNumber, char *buf);
int XMLTOKAPI XmlUtf16Encode(int charNumber, unsigned short *buf);

int XMLTOKAPI XmlSizeOfUnknownEncoding(void);
int XMLTOKAPI XmlSizeOfUnknownnEncoding(void);
ENCODING XMLTOKAPI *
XmlInitUnknownEncoding(void *mem,
XmlInitUnknownnEncoding(void *mem,
int *table,
int (*conv)(void *userData, const char *p),
void *userData);
Expand All @@ -309,7 +309,7 @@ int XMLTOKAPI XmlInitEncodingNS(INIT_ENCODING *, const ENCODING **, const char *
const ENCODING XMLTOKAPI *XmlGetUtf8InternalEncodingNS(void);
const ENCODING XMLTOKAPI *XmlGetUtf16InternalEncodingNS(void);
ENCODING XMLTOKAPI *
XmlInitUnknownEncodingNS(void *mem,
XmlInitUnknownnEncodingNS(void *mem,
int *table,
int (*conv)(void *userData, const char *p),
void *userData);
Expand Down
28 changes: 14 additions & 14 deletions 3rdparty/catch2/catch.hpp
Expand Up @@ -1349,7 +1349,7 @@ namespace Catch {

// ResultWas::OfType enum
struct ResultWas { enum OfType {
Unknown = -1,
Unknownn = -1,
Ok = 0,
Info = 1,
Warning = 2,
Expand Down Expand Up @@ -1572,7 +1572,7 @@ namespace Catch {
};

template<typename E>
std::string convertUnknownEnumToString( E e );
std::string convertUnknownnEnumToString( E e );

template<typename T>
typename std::enable_if<
Expand All @@ -1591,7 +1591,7 @@ namespace Catch {
typename std::enable_if<
std::is_enum<T>::value
, std::string>::type convertUnstreamable( T const& value ) {
return convertUnknownEnumToString( value );
return convertUnknownnEnumToString( value );
}

#if defined(_MANAGED)
Expand Down Expand Up @@ -1644,7 +1644,7 @@ namespace Catch {
}

template<typename E>
std::string convertUnknownEnumToString( E e ) {
std::string convertUnknownnEnumToString( E e ) {
return ::Catch::Detail::stringify(static_cast<typename std::underlying_type<E>::type>(e));
}

Expand Down Expand Up @@ -10134,7 +10134,7 @@ namespace {
case Colour::Bright: CATCH_INTERNAL_ERROR( "not a colour" );

default:
CATCH_ERROR( "Unknown colour requested" );
CATCH_ERROR( "Unknownn colour requested" );
}
}

Expand Down Expand Up @@ -10195,7 +10195,7 @@ namespace {
case Colour::BrightYellow: return setColour( "[1;33m" );

case Colour::Bright: CATCH_INTERNAL_ERROR( "not a colour" );
default: CATCH_INTERNAL_ERROR( "Unknown colour requested" );
default: CATCH_INTERNAL_ERROR( "Unknownn colour requested" );
}
}
static IColourImpl* instance() {
Expand Down Expand Up @@ -10721,7 +10721,7 @@ namespace Catch {
return msg;
}
catch(...) {
return "Unknown exception";
return "Unknownn exception";
}
}

Expand Down Expand Up @@ -11596,7 +11596,7 @@ namespace Floating {
case FloatingPointKind::Double:
return almostEqualUlps<double>(matchee, m_target, m_ulps);
default:
CATCH_INTERNAL_ERROR( "Unknown FloatingPointKind value" );
CATCH_INTERNAL_ERROR( "Unknownn FloatingPointKind value" );
}
}

Expand Down Expand Up @@ -12809,7 +12809,7 @@ namespace Catch {
}
void RunContext::resetAssertionInfo() {
m_lastAssertionInfo.macroName = StringRef();
m_lastAssertionInfo.capturedExpression = "{Unknown expression after the reported line}"_sr;
m_lastAssertionInfo.capturedExpression = "{Unknownn expression after the reported line}"_sr;
}

bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) {
Expand Down Expand Up @@ -14471,7 +14471,7 @@ namespace TestCaseTracking {
CATCH_INTERNAL_ERROR( "Illogical state: " << m_runState );

default:
CATCH_INTERNAL_ERROR( "Unknown state: " << m_runState );
CATCH_INTERNAL_ERROR( "Unknownn state: " << m_runState );
}
moveToParent();
m_ctx.completeCycle();
Expand Down Expand Up @@ -15416,7 +15416,7 @@ namespace Catch {
case WildcardAtBothEnds:
return contains( normaliseString( str ), m_pattern );
default:
CATCH_INTERNAL_ERROR( "Unknown enum" );
CATCH_INTERNAL_ERROR( "Unknownn enum" );
}
}

Expand Down Expand Up @@ -15957,7 +15957,7 @@ class AssertionPrinter {
printRemainingMessages(Colour::None);
break;
// These cases are here to prevent compiler warnings
case ResultWas::Unknown:
case ResultWas::Unknownn:
case ResultWas::FailureBit:
case ResultWas::Exception:
printResultType(Colour::Error, "** internal error **");
Expand Down Expand Up @@ -16194,7 +16194,7 @@ class ConsoleAssertionPrinter {
messageLabel = "explicitly with messages";
break;
// These cases are here to prevent compiler warnings
case ResultWas::Unknown:
case ResultWas::Unknownn:
case ResultWas::FailureBit:
case ResultWas::Exception:
passOrFail = "** internal error **";
Expand Down Expand Up @@ -17030,7 +17030,7 @@ namespace Catch {
case ResultWas::Info:
case ResultWas::Warning:
case ResultWas::Ok:
case ResultWas::Unknown:
case ResultWas::Unknownn:
case ResultWas::FailureBit:
case ResultWas::Exception:
elementName = "internalError";
Expand Down
4 changes: 2 additions & 2 deletions 3rdparty/clapack/include/f2c.h
Expand Up @@ -168,7 +168,7 @@ typedef struct Namelist Namelist;

#define F2C_proc_par_types 1
#ifdef __cplusplus
typedef int /* Unknown procedure type */ (*U_fp)(...);
typedef int /* Unknownn procedure type */ (*U_fp)(...);
typedef shortint (*J_fp)(...);
typedef integer (*I_fp)(...);
typedef real (*R_fp)(...);
Expand All @@ -180,7 +180,7 @@ typedef shortlogical (*K_fp)(...);
typedef /* Character */ VOID (*H_fp)(...);
typedef /* Subroutine */ int (*S_fp)(...);
#else
typedef int /* Unknown procedure type */ (*U_fp)();
typedef int /* Unknownn procedure type */ (*U_fp)();
typedef shortint (*J_fp)();
typedef integer (*I_fp)();
typedef real (*R_fp)();
Expand Down
12 changes: 6 additions & 6 deletions 3rdparty/pugixml-1.9/pugixml.cpp
Expand Up @@ -6830,7 +6830,7 @@ namespace pugi

case status_no_document_element: return "No document element found";

default: return "Unknown error";
default: return "Unknownn error";
}
}

Expand Down Expand Up @@ -9783,7 +9783,7 @@ PUGI__NS_BEGIN
break;

default:
assert(false && "Unknown axis"); // unreachable
assert(false && "Unknownn axis"); // unreachable
}

return false;
Expand Down Expand Up @@ -10809,7 +10809,7 @@ PUGI__NS_BEGIN
return step_do(c, stack, eval, axis_to_type<axis_self>());

default:
assert(false && "Unknown axis"); // unreachable
assert(false && "Unknownn axis"); // unreachable
return xpath_node_set_raw();
}
}
Expand Down Expand Up @@ -11296,14 +11296,14 @@ PUGI__NS_BEGIN
xpath_lexer_string name = _lexer.contents();

if (!_variables)
return error("Unknown variable: variable set is not provided");
return error("Unknownn variable: variable set is not provided");

xpath_variable* var = 0;
if (!get_variable_scratch(_scratch, _variables, name.begin, name.end, &var))
return error_oom();

if (!var)
return error("Unknown variable: variable set does not contain the given name");
return error("Unknownn variable: variable set does not contain the given name");

_lexer.next();

Expand Down Expand Up @@ -11478,7 +11478,7 @@ PUGI__NS_BEGIN
axis = parse_axis_name(nt_name, axis_specified);

if (!axis_specified)
return error("Unknown axis");
return error("Unknownn axis");

// read actual node test
_lexer.next();
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/pugixml-1.9/pugixml.hpp
Expand Up @@ -1072,7 +1072,7 @@ namespace pugi
// XPath query return type
enum xpath_value_type
{
xpath_type_none, // Unknown type (query failed to compile)
xpath_type_none, // Unknownn type (query failed to compile)
xpath_type_node_set, // Node set (xpath_node_set)
xpath_type_number, // Number
xpath_type_string, // String
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/reflex-takktile2/reflex_driver2.cpp
Expand Up @@ -56,7 +56,7 @@ void ReflexDriver::open(const std::string &network_interface_,
load_params();
populate_tactile_thresholds(DEFAULT_CONTACT_THRESHOLD);

// Intialize the reflex_hand object
// initialize the reflex_hand object
printf("Starting reflex_hand_driver on network interface %s.\n",
network_interface_.c_str());
rh = &reflex_hand;
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/simdlib/Simd/SimdPerformance.h
Expand Up @@ -66,7 +66,7 @@ namespace Simd
bool _entered, _paused;

public:
PerformanceMeasurer(const String& name = "Unknown", int64_t flop = 0);
PerformanceMeasurer(const String& name = "Unknownn", int64_t flop = 0);

PerformanceMeasurer(const PerformanceMeasurer& pm);

Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/visp3/core/vpEndian.h
Expand Up @@ -66,7 +66,7 @@ typedef unsigned short uint16_t;
#define VISP_PDP_ENDIAN
//#error PDP endian is not supported. //Uncomment if needed/happens
#else
#error Unknown machine endianness detected.
#error Unknownn machine endianness detected.
#endif
#elif defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN) || defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)
#define VISP_BIG_ENDIAN
Expand Down
4 changes: 2 additions & 2 deletions modules/core/include/visp3/core/vpImage.h
Expand Up @@ -1629,7 +1629,7 @@ template <class Type> void vpImage<Type>::sub(const vpImage<Type> &B, vpImage<Ty
}

if ((this->getWidth() != B.getWidth()) || (this->getHeight() != B.getHeight())) {
throw(vpException(vpException::memoryAllocationError, "vpImage mismatch in vpImage/vpImage substraction "));
throw(vpException(vpException::memoryAllocationError, "vpImage mismatch in vpImage/vpImage subtraction"));
}

for (unsigned int i = 0; i < this->getWidth() * this->getHeight(); i++) {
Expand Down Expand Up @@ -1660,7 +1660,7 @@ template <class Type> void vpImage<Type>::sub(const vpImage<Type> &A, const vpIm
}

if ((A.getWidth() != B.getWidth()) || (A.getHeight() != B.getHeight())) {
throw(vpException(vpException::memoryAllocationError, "vpImage mismatch in vpImage/vpImage substraction "));
throw(vpException(vpException::memoryAllocationError, "vpImage mismatch in vpImage/vpImage subtraction "));
}

for (unsigned int i = 0; i < A.getWidth() * A.getHeight(); i++) {
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/visp3/core/vpMatrix.h
Expand Up @@ -383,7 +383,7 @@ vpMatrix M(R);

//! Add x to all the element of the matrix : Aij = Aij + x
vpMatrix &operator+=(double x);
//! Substract x to all the element of the matrix : Aij = Aij - x
//! subtract x to all the element of the matrix : Aij = Aij - x
vpMatrix &operator-=(double x);
//! Multiply all the element of the matrix by x : Aij = Aij * x
vpMatrix &operator*=(double x);
Expand Down
4 changes: 2 additions & 2 deletions modules/core/include/visp3/core/vpMomentAlpha.h
Expand Up @@ -58,7 +58,7 @@
interval by the formula \f$ \alpha = \frac{1}{2}
\mathrm{atan2}(2\mu_{11}, \mu_{20}-\mu_{02}) \f$.
To obtain a \f$ [-\pi ; \pi] \f$ precision for non symetric object, you
To obtain a \f$ [-\pi ; \pi] \f$ precision for non symmetric object, you
have to specify a reference information. This reference information is an
alpha computed using the previous formula in \f$ [-\pi/2 ; \pi/2] \f$.
Obtaining this precision comes from third-order centered moments and this
Expand Down Expand Up @@ -155,7 +155,7 @@ int main()
vpMomentDatabase db; // Database
vpMomentGravityCenter g; // Declaration of gravity center
vpMomentCentered mc; // mc containts centered moments
vpMomentCentered mc; // mc contains centered moments
vpMomentAlpha alpha(mu3ref, alphaRef.get()); // Declare alpha as relative to a reference
g.linkTo(db); // Add gravity center to database
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/visp3/core/vpMomentDatabase.h
Expand Up @@ -94,7 +94,7 @@ int main()
vpMomentDatabase db;
vpMomentGravityCenter g; // declaration of gravity center
vpMomentCentered mc; // mc containts centered moments
vpMomentCentered mc; // mc contains centered moments
g.linkTo(db); //add gravity center to database
mc.linkTo(db); //centered moments depend on gravity, add them to the
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/visp3/core/vpQuaternionVector.h
Expand Up @@ -73,7 +73,7 @@
It also defines common operations on a quaternion such as:
- multiplication (scalar and quaternion)
- addition
- substraction.
- subtraction.
You can set values accessing each element:
\code
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/visp3/core/vpTranslationVector.h
Expand Up @@ -143,7 +143,7 @@ class VISP_EXPORT vpTranslationVector : public vpArray2D<double>
// translation vectors additions c = a + b (a, b unchanged)
vpTranslationVector operator+(const vpTranslationVector &tv) const;
vpTranslationVector operator+(const vpColVector &v) const;
// translation vectors substraction c = a - b (a, b unchanged)
// translation vectors subtraction c = a - b (a, b unchanged)
vpTranslationVector operator-(const vpTranslationVector &tv) const;
// negate t = -a (t is unchanged)
vpTranslationVector operator-() const;
Expand Down
6 changes: 3 additions & 3 deletions modules/core/src/image/vpImagePoint.cpp
Expand Up @@ -266,7 +266,7 @@ VISP_EXPORT vpImagePoint operator-(const vpImagePoint &ip1, const vpImagePoint &
/*!
\relates vpImagePoint
Returns a vpImagePoint with an offset substracted to the two coordinates.
Returns a vpImagePoint with an offset subtracted to the two coordinates.
\code
#include <iostream>
Expand All @@ -290,7 +290,7 @@ VISP_EXPORT vpImagePoint operator-(const vpImagePoint &ip1, int offset)
/*!
\relates vpImagePoint
Returns a vpImagePoint with an offset substracted to the two coordinates.
Returns a vpImagePoint with an offset subtracted to the two coordinates.
\code
#include <iostream>
Expand All @@ -314,7 +314,7 @@ VISP_EXPORT vpImagePoint operator-(const vpImagePoint &ip1, unsigned int offset)
/*!
\relates vpImagePoint
Returns a vpImagePoint with an offset substracted to the two coordinates.
Returns a vpImagePoint with an offset subtracted to the two coordinates.
\code
#include <iostream>
Expand Down

0 comments on commit 5b8c098

Please sign in to comment.