Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/aws-lambda-cpp
/ functions
Functions
1,190 in github.com/awslabs/aws-lambda-cpp
⨍
Functions
1,190
◇
Types & classes
548
↓ 2 callers
Function
ShouldShard
Checks whether sharding is enabled by examining the relevant environment variable values. If the variables are present, but inconsistent (i.e., shard_
tests/gtest/gtest-all.cc:6845
↓ 2 callers
Function
SkipComma
tests/gtest/gtest.h:7064
↓ 2 callers
Function
SplitEscapedString
The string representation of the values received in EqFailure() are already escaped. Split them on escaped '\n' boundaries. Leave all other escaped ch
tests/gtest/gtest-all.cc:2766
↓ 2 callers
Function
SplitString
tests/gtest/gtest-all.cc:2426
↓ 2 callers
Function
Stat
tests/gtest/gtest.h:2295
↓ 2 callers
Method
SuppressEventForwarding
tests/gtest/gtest-all.cc:6036
↓ 2 callers
Function
ThreadLocal
tests/gtest/gtest.h:2021
↓ 2 callers
Function
UniversalPrintCharArray
tests/gtest/gtest-all.cc:11401
↓ 2 callers
Method
Unlock
tests/gtest/gtest.h:2127
↓ 2 callers
Function
Values
tests/gtest/gtest.h:11428
↓ 2 callers
Function
ValuesIn
tests/gtest/gtest.h:11387
↓ 2 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
tests/gtest/gtest-all.cc:3317
↓ 2 callers
Function
die_call_file
src/backward.h:3361
↓ 2 callers
Function
get_spec_die
Returns a spec DIE linked to the passed one. The caller should deallocate the DIE
src/backward.h:2681
↓ 2 callers
Function
handle_post_outcome
src/runtime.cpp:389
↓ 2 callers
Function
is_success
src/runtime.cpp:51
↓ 2 callers
Function
is_whitespace
std::isspace has a few edge cases that would trigger UB. In particular, the documentation says: "The behavior is undefined if the value of the input i
src/runtime.cpp:76
↓ 2 callers
Function
json_escape
src/runtime.cpp:467
↓ 2 callers
Method
load_here
src/backward.h:765
↓ 2 callers
Method
print
src/backward.h:4040
↓ 2 callers
Method
set_color
src/backward.h:3979
↓ 2 callers
Function
set_function_parameters
Resolve the function return type and parameters
src/backward.h:2999
↓ 2 callers
Method
size
STL-style container methods.
tests/gtest/gtest.h:7549
↓ 2 callers
Method
start_timestamp
Gets the time of the test program start, in ms from the start of the UNIX epoch.
tests/gtest/gtest-all.cc:6136
↓ 2 callers
Method
swap
Swaps two AssertionResults.
tests/gtest/gtest-all.cc:2489
↓ 2 callers
Function
trim
src/runtime.cpp:97
↓ 1 callers
Method
Abort
Signals that the death test code which should have exited, didn't. Should be called only in a death test child process. Writes a status byte to the ch
tests/gtest/gtest-all.cc:8107
↓ 1 callers
Method
AddEnvironment
Registers and returns a global test environment. When a test program is run, all global test environments will be set-up in the order they were regis
tests/gtest/gtest-all.cc:6193
↓ 1 callers
Function
AlwaysFalse
Always returns false.
tests/gtest/gtest.h:7252
↓ 1 callers
Function
AppendUserMessage
Appends the user-supplied message to the Google-Test-generated message.
tests/gtest/gtest-all.cc:3498
↓ 1 callers
Method
AssertHeld
Does nothing if the current thread holds the mutex. Otherwise, crashes with high probability.
tests/gtest/gtest-all.cc:10079
↓ 1 callers
Method
AtEnd
tests/gtest/gtest.h:11237
↓ 1 callers
Method
Begin
tests/gtest/gtest.h:10606
↓ 1 callers
Function
CalculateOptimalEdits
tests/gtest/gtest-all.cc:2521
↓ 1 callers
Function
CanonicalizeForStdLibVersioning
Canonicalizes a given name with respect to the Standard C++ Library. This handles removing the inline namespace within `std` that is used by various s
tests/gtest/gtest.h:3219
↓ 1 callers
Function
ClearNonAdHocTestResult
Clears the results of all tests, except the ad hoc tests.
tests/gtest/gtest-all.cc:1118
↓ 1 callers
Method
ClearResult
Clears the results of all tests in this test suite.
tests/gtest/gtest-all.cc:4327
↓ 1 callers
Method
ClearTestPartResults
Clears the test part results.
tests/gtest/gtest-all.cc:3542
↓ 1 callers
Method
CloseConnection
Closes the socket.
tests/gtest/gtest-all.cc:1495
↓ 1 callers
Function
CmpHelperEQFailure
tests/gtest/gtest.h:13943
↓ 1 callers
Function
CmpHelperSTREQ
Helper function for *_STREQ on wide strings.
tests/gtest/gtest-all.cc:3363
↓ 1 callers
Function
CodePointToUtf8
Converts a Unicode code point to a narrow string in UTF-8 encoding. code_point parameter is of type UInt32 because wchar_t may not be wide enough to c
tests/gtest/gtest-all.cc:3250
↓ 1 callers
Function
ConditionalPrintAsText
tests/gtest/gtest-all.cc:11520
↓ 1 callers
Function
ContainsUnprintableControlCodes
tests/gtest/gtest-all.cc:11464
↓ 1 callers
Function
CopyArray
tests/gtest/gtest.h:7487
↓ 1 callers
Function
CreateCodePointFromUtf16SurrogatePair
Creates a Unicode code point from UTF16 surrogate pair.
tests/gtest/gtest-all.cc:3291
↓ 1 callers
Method
CreateDirectoriesRecursively
Create directories so that path exists. Returns true if successful or if the directories already exist; returns false if unable to create directories
tests/gtest/gtest-all.cc:9538
↓ 1 callers
Method
CreateFolder
Create the directory so that path exists. Returns true if successful or if the directory already exists; returns false if unable to create the directo
tests/gtest/gtest-all.cc:9555
↓ 1 callers
Method
CreateTestFactory
tests/gtest/gtest.h:10830
↓ 1 callers
Function
CreateUnifiedDiff
Create a list of diff hunks in Unified diff format. Each hunk has a header generated by PrintHeader above plus a body with lines prefixed with ' ' for
tests/gtest/gtest-all.cc:2696
↓ 1 callers
Function
DeathTestThreadWarning
Generates a textual failure message when a death test finds more than one thread running, or cannot determine the number of threads, prior to executin
tests/gtest/gtest-all.cc:7837
↓ 1 callers
Function
DefaultPrintNonContainerTo
tests/gtest/gtest.h:8244
↓ 1 callers
Function
DefaultPrintTo
tests/gtest/gtest.h:8390
↓ 1 callers
Function
DeleteThreadLocalValue
tests/gtest/gtest.h:2011
↓ 1 callers
Method
End
tests/gtest/gtest.h:10609
↓ 1 callers
Method
Equals
tests/gtest/gtest.h:10632
↓ 1 callers
Function
ExecDeathTestChildMain
The main function for a threadsafe-style death test child process. This function is called in a clone()-ed process and thus must avoid any potentially
tests/gtest/gtest-all.cc:8834
↓ 1 callers
Function
ExecDeathTestSpawnChild
Spawns a child process with the same executable as the current process in a thread-safe manner and instructs it to run the death test. The implementa
tests/gtest/gtest-all.cc:8901
↓ 1 callers
Function
ExitSummary
Generates a textual description of a given exit code, in the format specified by wait(2).
tests/gtest/gtest-all.cc:7802
↓ 1 callers
Function
FDOpen
tests/gtest/gtest.h:2340
↓ 1 callers
Function
FailFromInternalError
This is called from a death test parent process to read a failure message from the death test child process and log it with the FATAL severity. On Win
tests/gtest/gtest-all.cc:7943
↓ 1 callers
Function
FileNo
tests/gtest/gtest.h:2290
↓ 1 callers
Method
FileOrDirectoryExists
Returns true if pathname describes something findable in the file-system, either a file, directory, or whatever.
tests/gtest/gtest-all.cc:9442
↓ 1 callers
Function
FormatEpochTimeInMillisAsIso8601
Converts the given epoch time in milliseconds to a date string in the ISO 8601 format, without the timezone information.
tests/gtest/gtest-all.cc:5184
↓ 1 callers
Function
FormatEpochTimeInMillisAsRFC3339
Converts the given epoch time in milliseconds to a date string in the RFC3339 format, without the timezone information.
tests/gtest/gtest-all.cc:5549
↓ 1 callers
Function
FormatSehExceptionMessage
Adds an "exception thrown" fatal failure to the current test. This function returns its result via an output parameter pointer because VC++ prohibits
tests/gtest/gtest-all.cc:3861
↓ 1 callers
Function
FormatWordList
tests/gtest/gtest-all.cc:3641
↓ 1 callers
Function
FullMatch
FullMatch(str, re) returns true iff regular expression re matches the entire str. PartialMatch(str, re) returns true iff regular expression re matches
tests/gtest/gtest.h:1159
↓ 1 callers
Method
Generate
Generates a random number from [0, range), using a Linear Congruential Generator (LCG). Crashes if 'range' is 0 or greater than kMaxRange.
tests/gtest/gtest-all.cc:1820
↓ 1 callers
Function
GetAnsiColorCode
Returns the ANSI color code for the given color. COLOR_DEFAULT is an invalid input.
tests/gtest/gtest-all.cc:4469
↓ 1 callers
Function
GetCapturedStderr
Stops capturing stderr and returns the captured string.
tests/gtest/gtest-all.cc:10905
↓ 1 callers
Method
GetCapturedString
tests/gtest/gtest-all.cc:10836
↓ 1 callers
Function
GetColorAttribute
Returns the character attribute for the given color.
tests/gtest/gtest-all.cc:4425
↓ 1 callers
Function
GetConsoleLoggerFactory
examples/dynamodb/main.cpp:199
↓ 1 callers
Function
GetConsoleLoggerFactory
examples/s3/main.cpp:56
↓ 1 callers
Function
GetCurrentExecutableName
Returns the current application's name, removing directory path if that is present.
tests/gtest/gtest-all.cc:1909
↓ 1 callers
Function
GetDefaultFilter
Bazel passes in the argument to '--test_filter' via the TESTBRIDGE_TEST_ONLY environment variable.
tests/gtest/gtest-all.cc:1683
↓ 1 callers
Function
GetFileSize
tests/gtest/gtest-all.cc:10915
↓ 1 callers
Function
GetMutableSuiteCase
Gets the i-th test suite among all the test suites. i can range from 0 to total_test_suite_count() - 1. If i is not in that range, returns NULL.
tests/gtest/gtest-all.cc:995
↓ 1 callers
Function
GetNewColor
tests/gtest/gtest-all.cc:4445
↓ 1 callers
Function
GetNextRandomSeed
Returns the first valid random seed after 'seed'. The behavior is undefined if 'seed' is invalid. The seed after kMaxRandomSeed is considered to be
tests/gtest/gtest-all.cc:538
↓ 1 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
tests/gtest/gtest-all.cc:522
↓ 1 callers
Function
GetReservedAttributesForElement
tests/gtest/gtest-all.cc:3610
↓ 1 callers
Function
GetStatusFileDescriptor
Recreates the pipe and event handles from the provided parameters, signals the event, and returns a file descriptor wrapped around the pipe handle. Th
tests/gtest/gtest-all.cc:9118
↓ 1 callers
Method
GetTestSuiteTypeId
Test case id to verify identity.
tests/gtest/gtest.h:10896
↓ 1 callers
Function
GetThreadCount
Returns the number of active threads, or 0 when there is an error.
tests/gtest/gtest-all.cc:9821
↓ 1 callers
Function
HasGoogleTestFlagPrefix
Determines whether a string has a prefix that Google Test uses for its flags, i.e., starts with GTEST_FLAG_PREFIX_ or GTEST_FLAG_PREFIX_DASH_. If Goog
tests/gtest/gtest-all.cc:7252
↓ 1 callers
Function
InitDeathTestSubprocessControlInfo
tests/gtest/gtest-all.cc:1166
↓ 1 callers
Function
InitGoogleTest
Initializes Google Test. This must be called before calling RUN_ALL_TESTS(). In particular, it parses a command line for the flags that Google Test
tests/gtest/gtest-all.cc:7529
↓ 1 callers
Function
IsATTY
tests/gtest/gtest.h:2272
↓ 1 callers
Method
IsAbsolutePath
Returns true if pathname describes an absolute path.
tests/gtest/gtest-all.cc:9495
↓ 1 callers
Function
IsDigit
tests/gtest/gtest.h:2223
↓ 1 callers
Function
IsDir
tests/gtest/gtest.h:2297
↓ 1 callers
Function
IsPrintableAscii
Returns true if c is a printable ASCII character. We test the value of c directly instead of calling isprint(), which is buggy on Windows Mobile.
tests/gtest/gtest-all.cc:11240
↓ 1 callers
Function
IsSubstringPred
tests/gtest/gtest-all.cc:3050
↓ 1 callers
Function
IsTrue
tests/gtest/gtest-all.cc:7133
↓ 1 callers
Function
IsUtf16SurrogatePair
Determines if the arguments constitute UTF-16 surrogate pair and thus should be combined into a single Unicode code point using CreateCodePointFromUtf
tests/gtest/gtest-all.cc:3285
↓ 1 callers
Function
IsValidEscape
Returns true iff "\\c" is a supported escape sequence.
tests/gtest/gtest-all.cc:10492
↓ 1 callers
Function
IsValidUTF8
tests/gtest/gtest-all.cc:11485
↓ 1 callers
Function
IsXDigit
tests/gtest/gtest.h:2235
← previous
next →
201–300 of 1,190, ranked by callers