Skip to content

Commit

Permalink
correct spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardBetts committed Aug 30, 2017
1 parent 84f0a53 commit 92187ce
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/angle/src/compiler/preprocessor/MacroExpander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ bool MacroExpander::collectMacroArgs(const Macro &macro,
case ',':
// The individual arguments are separated by comma tokens, but
// the comma tokens between matching inner parentheses do not
// seperate arguments.
// separate arguments.
if (openParens == 1)
args->push_back(MacroArg());
isArg = openParens != 1;
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/angle/src/compiler/translator/CallDAG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// found in the LICENSE file.
//

// CallDAG.h: Implements a call graph DAG of functions to be re-used accross
// CallDAG.h: Implements a call graph DAG of functions to be re-used across
// analyses, allows to efficiently traverse the functions in topological
// order.

Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/angle/src/compiler/translator/CallDAG.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// found in the LICENSE file.
//

// CallDAG.h: Defines a call graph DAG of functions to be re-used accross
// CallDAG.h: Defines a call graph DAG of functions to be re-used across
// analyses, allows to efficiently traverse the functions in topological
// order.

Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/angle/src/compiler/translator/ParseContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ void TParseContext::parseFunctionPrototype(const TSourceLoc &location,
//
// Note: 'prevDec' could be 'function' if this is the first time we've seen function
// as it would have just been put in the symbol table. Otherwise, we're looking up
// an earlier occurance.
// an earlier occurrence.
//
if (prevDec->isDefined())
{
Expand Down
6 changes: 3 additions & 3 deletions 3rdparty/angle/src/compiler/translator/PoolAlloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class TAllocation {

void checkAllocList() const;

// Return total size needed to accomodate user buffer of 'size',
// Return total size needed to accommodate user buffer of 'size',
// plus our tracking data.
inline static size_t allocationSize(size_t size) {
return size + 2 * guardBlockSize + headerSize();
Expand Down Expand Up @@ -209,8 +209,8 @@ class TPoolAllocator {
int numCalls; // just an interesting statistic
size_t totalBytes; // just an interesting statistic
private:
TPoolAllocator& operator=(const TPoolAllocator&); // dont allow assignment operator
TPoolAllocator(const TPoolAllocator&); // dont allow default copy constructor
TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator
TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor
};


Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/angle/src/compiler/translator/SymbolTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ TPrecision TSymbolTable::getDefaultPrecision(TBasicType type) const

int level = static_cast<int>(precisionStack.size()) - 1;
assert(level >= 0); // Just to be safe. Should not happen.
// If we dont find anything we return this. Should we error check this?
// If we don't find anything we return this. Should we error check this?
TPrecision prec = EbpUndefined;
while (level >= 0)
{
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/angle/src/compiler/translator/SymbolTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class TSymbol : angle::NonCopyable

// Variable class, meaning a symbol that's not a function.
//
// There could be a separate class heirarchy for Constant variables;
// There could be a separate class hierarchy for Constant variables;
// Only one of int, bool, or float, (or none) is correct for
// any particular use, but it's easy to do this way, and doesn't
// seem worth having separate classes, and "getConst" can't simply return
Expand Down
6 changes: 3 additions & 3 deletions 3rdparty/npapi/npfunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ typedef struct _NPNetscapeFuncs {
#ifdef XP_MACOSX
/*
* Mac OS X version(s) of NP_GetMIMEDescription(const char *)
* These can be called to retreive MIME information from the plugin dynamically
* These can be called to retrieve MIME information from the plugin dynamically
*
* Note: For compatibility with Quicktime, BPSupportedMIMEtypes is another way
* to get mime info from the plugin only on OSX and may not be supported
Expand All @@ -199,8 +199,8 @@ enum
typedef struct _BPSupportedMIMETypes
{
SInt32 structVersion; /* struct version */
Handle typeStrings; /* STR# formated handle, allocated by plug-in */
Handle infoStrings; /* STR# formated handle, allocated by plug-in */
Handle typeStrings; /* STR# formatted handle, allocated by plug-in */
Handle infoStrings; /* STR# formatted handle, allocated by plug-in */
} BPSupportedMIMETypes;
OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes *mimeInfo, UInt32 flags);
#define NP_GETMIMEDESCRIPTION_NAME "NP_GetMIMEDescription"
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/parson/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Parson is a lighweight [json](http://json.org) library written in C.
* Full JSON support
* Lightweight (only 2 files)
* Simple API
* Addressing json values with dot notation (similiar to C structs or objects in most OO languages, e.g. "objectA.objectB.value")
* Addressing json values with dot notation (similar to C structs or objects in most OO languages, e.g. "objectA.objectB.value")
* C89 compatible
* Test suites

Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/parson/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void test_suite_2(JSON_Value *value); /* Test correctness of parsed values */
void test_suite_2_no_comments(void);
void test_suite_2_with_comments(void);
void test_suite_3(void); /* Test incorrect values */
void test_suite_4(void); /* Test deep copy funtion */
void test_suite_4(void); /* Test deep copy function */
void test_suite_5(void); /* Test building json values from scratch */
void test_suite_6(void); /* Test value comparing verification */
void test_suite_7(void); /* Test schema validation */
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/ppapi/c/private/ppb_flash_message_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct PPB_Flash_MessageLoop_0_1 {
* return back to the caller after you call <code>Run()</code>.
*
* If <code>Quit()</code> is not called to balance the call to
* <code>Run()</code>, the outermost nested message loop will be quitted
* <code>Run()</code>, the outermost nested message loop will be quit
* implicitly when the resource is destroyed.
*
* @param[in] flash_message_loop The Flash message loop.
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/ppapi/c/private/ppb_testing_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct PPB_Testing_Private_1_0 {
PP_Bool (*IsOutOfProcess)(void);
/**
* Posts the plugin's current Power Saver status to JavaScript. The plugin
* itself does not recieve anything. This is not idiomatic for Pepper,
* itself does not receive anything. This is not idiomatic for Pepper,
* but convenient for testing.
*/
void (*PostPowerSaverStatus)(PP_Instance instance);
Expand Down
2 changes: 1 addition & 1 deletion src/ppb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ ppb_core_call_on_browser_thread(PP_Instance instance, void (*func)(void *), void
task->user_data = user_data;

// Push task into queue. The only purpose is to put task into queue even if message loop
// is currenly terminating (in teardown state), so we are ignoring that. There are three
// is currently terminating (in teardown state), so we are ignoring that. There are three
// possible loop states. Message loop is either running, stopped, or terminating. If it's
// still running, task will be executed in the context of that loop. If it's stopped or
// stopping right now, task will be pushed to a queue. After that code below will schedule
Expand Down
2 changes: 1 addition & 1 deletion src/ppb_video_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "autogenerated_ffmpeg_compat.h"


// compatibilty definitions
// compatibility definitions
#if !HAVE_AVPixelFormat
#define AVPixelFormat PixelFormat
#define AV_PIX_FMT_NONE PIX_FMT_NONE
Expand Down

0 comments on commit 92187ce

Please sign in to comment.