AbortedError | Creates a status with the kAborted error code and message. |
AbsDuration | Returns the absolute value of a duration. |
AbslFormatFlush | AbslFormatFlush overloads |
AbslHashValue | AbslHashValue overloads |
AbslInternalSetErrorCode | Argument-dependent lookup extension point that sets a StatusBuilder's error code. |
AbslParseFlag | AbslParseFlag overloads |
AbslStringify | AbslStringify overloads |
AbslUnparseFlag | AbslUnparseFlag overloads |
AddLogSink | Adds a absl::LogSink as a consumer of logging data. |
AlphaNumFormatter | Default formatter used if none is specified. Uses absl::AlphaNum to convert numeric arguments to strings. |
AlreadyExistsError | Creates a status with the kAlreadyExists error code and message. |
AppendCordToString | Appends the contents of a src Cord to a *dst string. |
AsciiStrToLower | AsciiStrToLower overloads |
AsciiStrToUpper | AsciiStrToUpper overloads |
Base64Escape | Base64Escape overloads |
Base64Unescape | Converts a src string encoded in Base64 (RFC 4648 section 4) to its binary equivalent, writing it to a dest buffer, returning true on success. If src contains invalid characters, dest is cleared and returns false. If padding is included (note that Base64Escape() does produce it), it must be correct. In the padding, '=' and '.' are treated identically. |
Bernoulli | Produces a random boolean value with probability p of being true. |
Beta | Produces a floating point value from a Beta distribution. |
BytesToHexString | Converts binary data into an ASCII text string, returning a string of size 2*from.size(). |
CEscape | Escapes a src string using C-style escapes sequences (https://en.cppreference.com/w/cpp/language/escape), escaping other non-printable/non-whitespace bytes as octal sequences (e.g. "377"). |
CHexEscape | Escapes a src string using C-style escape sequences, escaping other non-printable/non-whitespace bytes as hexadecimal sequences (e.g. "xFF"). |
CUnescape | CUnescape overloads |
CancelledError | CancelledError overloads |
Ceil | Returns the ceiling of a duration using the passed duration unit to its smallest value not less than the duration. |
ClearLogBacktraceLocation | Clears the set location so that backtraces will no longer be logged at it. |
ClippedSubstr | Like s.substr(pos, n), but clips pos to an upper bound of s.size(). |
ComputeCrc32c | Compute the CRC32C value of the provided string. |
ConcatCrc32c | Compute the CRC32C value of two concatenated buffers. |
ConsumePrefix | Strips the expected prefix, if found, from the start of str. If the operation succeeded, true is returned. If not, false is returned and str is not modified. |
ConsumeSuffix | Strips the expected suffix, if found, from the end of str. If the operation succeeded, true is returned. If not, false is returned and str is not modified. |
ConvertDateTime [deprecated] | Legacy version of absl::TimeZone::At(absl::CivilSecond) that takes the civil time as six, separate values (YMDHMS). |
ConvertVariantTo | Converts a variant to a variant of another set of types. |
CopyCordToSpan | Copies up to dst.size() bytes starting from the beginning of src to dst. |
CopyCordToString | Copies the contents of a src Cord into a *dst string. |
CreateSeedSeqFrom | Constructs a seed sequence from variates produced by a bit generator. |
DataLossError | Creates a status with the kDataLoss error code and message. |
DeadlineExceededError | Creates a status with the kDeadlineExceeded error code and message. |
DefaultStackUnwinder | Records program counter values of up to max_depth frames, skipping the most recent skip_count stack frames, and stores their corresponding values in pcs. (Note that the frame generated for this call itself is also skipped.) This function acts as a generic stack-unwinder; prefer usage of the more specific GetStack{Trace,Frames}{,WithContext}() functions above. |
DereferenceFormatter | DereferenceFormatter overloads |
DisableFlagfileAndEnvParsing | Disables the processing of flags that load values from secondary sources, specifically --flagfile, --fromenv, and --tryfromenv. When disabled, occurrences of these flags on the command line are skipped without opening files or inspecting environment variables, and a warning is printed to stderr. Direct command-line flags passed via argv are still parsed normally. |
DoIgnoreLeak | Implements IgnoreLeak() below. This function should usually not be called directly; calling IgnoreLeak() is preferred. |
DurationFromTimespec | Converts a timespec to an absl::Duration. |
DurationFromTimeval | Converts a timeval to an absl::Duration. |
EnableLogPrefix | Updates the value of the Prepend Log Prefix option. |
EnableMutexInvariantDebugging | Enables or disables global support for Mutex invariant debugging. |
EndsWith | Returns whether a given string text ends with suffix. |
EndsWithIgnoreCase | Returns whether a given ASCII string text ends with suffix, ignoring case in the comparison. |
EqualsIgnoreCase | Returns whether given ASCII strings piece1 and piece2 are equal, ignoring case in the comparison. |
ErrnoToStatus | Convenience function that creates a absl::Status using an error_number, which should be an errno value. |
ErrnoToStatusCode | Returns the StatusCode for error_number, which should be an errno value. |
Exponential | Produces a floating point value from an exponential distribution. |
ExtendCrc32c | Compute a CRC32C value from an existing value and an additional buffer. |
ExtendCrc32cByZeroes | Extend a CRC32C value as if trailing zero bytes were appended. |
FDivDuration | Divides a Duration numerator into a fractional number of units of a Duration denominator. |
FPrintF | Writes to a file given a format string and zero or more arguments. |
FailedPreconditionError | Creates a status with the kFailedPrecondition error code and message. |
FastTypeId | FastTypeId<T>() is the generator method for FastTypeIdType values. |
FindAndReportLeaks | If any leaks are detected, prints a leak report and returns true. This function may be called repeatedly, and does not affect end-of-process leak checking. |
FindCommandLineFlag | Returns the reflection handle of an Abseil flag of the specified name, or nullptr if not found. This function will emit a warning if the name of a 'retired' flag is specified. |
FindLongestCommonPrefix | Yields the longest prefix in common between both input strings. Pointer-wise, the returned result is a subset of input "a". |
FindLongestCommonSuffix | Yields the longest suffix in common between both input strings. Pointer-wise, the returned result is a subset of input "a". |
FixedTimeZone | Returns a TimeZone that is a fixed offset (seconds east) from UTC. Note: If the absolute value of the offset is greater than 24 hours you'll get UTC (i.e., no offset) instead. |
Floor | Floors a duration using the passed duration unit to its largest value not greater than the duration. |
FlushLogSinks | Calls absl::LogSink::Flush on all registered sinks. |
Format | Writes a formatted string to an arbitrary sink object (implementing the absl::FormatRawSink interface), using a format string and zero or more additional arguments. |
FormatCivilTime | Formats the given civil-time value into a string value of the following format: |
FormatDuration | Returns a string representing the duration in the form "72h3m0.5s". Returns "inf" or "-inf" for +/- InfiniteDuration(). |
FormatStreamed | Takes a streamable argument and returns an object that can print it with '%s'. |
FormatTime | FormatTime overloads |
FormatUntyped | Writes a formatted string to an arbitrary sink object (implementing the absl::FormatRawSink interface), using an UntypedFormatSpec and zero or more additional arguments. |
FromChrono | FromChrono overloads |
FromCivil | Helper for TimeZone::At(CivilSecond) that provides "order-preserving semantics." If the civil time maps to a unique time, that time is returned. If the civil time is repeated in the given time zone, the time using the pre-transition offset is returned. Otherwise, the civil time is skipped in the given time zone, and the transition time is returned. This means that for any two civil times, ct1 and ct2, (ct1 < ct2) => (FromCivil(ct1) <= FromCivil(ct2)), the equal case being when two non-existent civil times map to the same transition time. |
FromDateTime [deprecated] | A convenience wrapper for absl::ConvertDateTime() that simply returns the "pre" absl::Time. That is, the unique result, or the instant that is correct using the pre-transition offset (as if the transition never happened). |
FromTM | Converts the tm_year, tm_mon, tm_mday, tm_hour, tm_min, and tm_sec fields to an absl::Time using the given time zone. See ctime(3) for a description of the expected values of the tm fields. If the civil time is unique (see absl::TimeZone::At(absl::CivilSecond) above), the matching time instant is returned. Otherwise, the tm_isdst field is consulted to choose between the possible results. For a repeated civil time, `tm_isdst != 0 returns the matching DST instant, while tm_isdst == 0` returns the matching non-DST instant. For a skipped civil time there is no matching instant, so tm_isdst != 0 returns the DST instant, and tm_isdst == 0 returns the non-DST instant, that would have matched if the transition never happened. |
FromTimeT | Creates an absl::Time from a time_t value. |
FromUDate | Creates an absl::Time from an ICU UDate value. |
FromUniversal | Creates an absl::Time from an ICU Universal Time Scale value. |
FromUnixMicros | Creates an absl::Time from a count of microseconds since the Unix epoch. |
FromUnixMillis | Creates an absl::Time from a count of milliseconds since the Unix epoch. |
FromUnixNanos | Creates an absl::Time from a count of nanoseconds since the Unix epoch. |
FromUnixSeconds | Creates an absl::Time from a count of seconds since the Unix epoch. |
Gaussian | Produces a floating point value from a Gaussian (Normal) distribution. |
GenericCompare | Compares lhs and rhs over the first size_to_compare bytes. |
GetAllFlags | Returns current state of the Flags registry in a form of mapping from flag name to a flag reflection handle. |
GetCordzInfoForTesting | Returns the internal Cordz sampling info for cord, for testing. |
GetCurrentTimeNanos | Returns the current time, expressed as a count of nanoseconds since the Unix Epoch (https://en.wikipedia.org/wiki/Unix_time). Prefer absl::Now() instead for all but the most performance-sensitive cases (i.e. when you are calling this function hundreds of thousands of times per second). |
GetFlag | Returns the value (of type T) of an absl::Flag<T> instance, by value. Do not construct an absl::Flag<T> directly and call absl::GetFlag(); instead, refer to flag's constructed variable name (e.g. FLAGS_name). Because this function returns by value and not by reference, it is thread-safe, but note that the operation may be expensive; as a result, avoid absl::GetFlag() within any tight loops. |
GetFlagReflectionHandle | Returns the reflection handle corresponding to specified Abseil Flag instance. Use this handle to access flag's reflection information, like name, location, default value etc. |
GetStackFrames | Records program counter values for up to max_depth frames, skipping the most recent skip_count stack frames, stores their corresponding values and sizes in results and sizes buffers, and returns the number of frames stored. (Note that the frame generated for the absl::GetStackFrames() routine itself is also skipped.) |
GetStackFramesWithContext | Records program counter values obtained from a signal handler. Records program counter values for up to max_depth frames, skipping the most recent skip_count stack frames, stores their corresponding values and sizes in results and sizes buffers, and returns the number of frames stored. (Note that the frame generated for the absl::GetStackFramesWithContext() routine itself is also skipped.) |
GetStackTrace | Records program counter values for up to max_depth frames, skipping the most recent skip_count stack frames, stores their corresponding values in results, and returns the number of frames stored. Note that this function is similar to absl::GetStackFrames() except that it returns the stack trace only, and not stack frame sizes. |
GetStackTraceWithContext | Records program counter values obtained from a signal handler. Records program counter values for up to max_depth frames, skipping the most recent skip_count stack frames, stores their corresponding values in results, and returns the number of frames stored. (Note that the frame generated for the absl::GetStackFramesWithContext() routine itself is also skipped.) |
GetWeekday | Returns the absl::Weekday for the given (realigned) civil-time value. |
GetYearDay | Returns the day-of-year for the given (realigned) civil-time value. |
HasPayload | Indicates whether the status that builder will return has a MessageSet payload. |
HashOf | Generate a hash from the values of its arguments. |
HaveLeakSanitizer | Returns true if a leak-checking sanitizer (either ASan or standalone LSan) is currently built into this target. |
HexStringToBytes | HexStringToBytes overloads |
HighPrecision | HighPrecision overloads |
Hours | Hours overloads |
HwasanTagPointer | No-op fallback used when HWASAN is not available. |
IDivDuration | Divides a numerator Duration by a denominator Duration, returning the quotient and remainder. The remainder always has the same sign as the numerator. The returned quotient and remainder respect the identity: |
IgnoreLeak | Instruct the leak sanitizer to ignore leak warnings on the object referenced by the passed pointer, as well as all heap objects transitively referenced by it. The passed object pointer can point to either the beginning of the object or anywhere within it. |
InfiniteDuration | Returns an infinite Duration. To get a Duration representing negative infinity, use -InfiniteDuration(). |
InfiniteFuture | Returns an absl::Time that is infinitely far in the future. |
InfinitePast | Returns an absl::Time that is infinitely far in the past. |
InitializeLog | Initializes the Abseil logging library. |
InitializeSymbolizer | Initializes the program counter symbolizer, given the path of the program (typically obtained through main()s argv[0]). The Abseil symbolizer allows you to read program counters (instruction pointer values) using their human-readable names within output such as stack traces. |
InstallFailureSignalHandler | Installs a signal handler for the common failure signals SIGSEGV, SIGILL, SIGFPE, SIGABRT, SIGTERM, SIGBUG, and SIGTRAP (provided they exist on the given platform). The failure signal handler dumps program failure data useful for debugging in an unspecified format to stderr. This data may include the program counter, a stacktrace, and register information on some systems; do not rely on an exact format for the output, as it is subject to change. |
Int128High64 | Returns the higher 64-bit value of an int128 value. |
Int128Low64 | Returns the lower 64-bit value of an int128 value. |
Int128Max | Returns the maximum value for a 128-bit signed integer. |
Int128Min | Returns the minimum value for a 128-bit signed integer. |
InternalError | Creates a status with the kInternal error code and message. |
InvalidArgumentError | Creates a status with the kInvalidArgument error code and message. |
IsAborted | Returns true if status has the kAborted error code. |
IsAlreadyExists | Returns true if status has the kAlreadyExists error code. |
IsCancelled | Returns true if status has the kCancelled error code. |
IsDataLoss | Returns true if status has the kDataLoss error code. |
IsDeadlineExceeded | Returns true if status has the kDeadlineExceeded error code. |
IsFailedPrecondition | Returns true if status has the kFailedPrecondition error code. |
IsInternal | Returns true if status has the kInternal error code. |
IsInvalidArgument | Returns true if status has the kInvalidArgument error code. |
IsNotFound | Returns true if status has the kNotFound error code. |
IsOutOfRange | Returns true if status has the kOutOfRange error code. |
IsPermissionDenied | Returns true if status has the kPermissionDenied error code. |
IsResourceExhausted | Returns true if status has the kResourceExhausted error code. |
IsUnauthenticated | Returns true if status has the kUnauthenticated error code. |
IsUnavailable | Returns true if status has the kUnavailable error code. |
IsUnimplemented | Returns true if status has the kUnimplemented error code. |
IsUnknown | Returns true if status has the kUnknown error code. |
LeakCheckerIsActive | Returns true if a leak-checking sanitizer (either ASan or standalone LSan) is currently built into this target and is turned on. |
LoadTimeZone | Loads the named zone. May perform I/O on the initial load of the named zone. If the name is invalid, or some other kind of error occurs, returns false and *tz is set to the UTC time zone. |
LocalTimeZone | Convenience method returning the local time zone, or UTC if there is no configured local zone. Warning: Be wary of using LocalTimeZone(), and particularly so in a server process, as the zone configured for the local machine should be irrelevant. Prefer an explicit zone name. |
LogAsLiteral | Annotates its argument as a string literal so that structured logging captures it as a literal field instead of a str field (the default). This does not affect the text representation, only the structure. |
LogDebugFatalStreamer | Returns a LogStreamer that writes at level LogSeverity::kLogDebugFatal. |
LogErrorStreamer | Returns a LogStreamer that writes at level LogSeverity::kError. |
LogFatalStreamer | Returns a LogStreamer that writes at level LogSeverity::kFatal. |
LogInfoStreamer | Returns a LogStreamer that writes at level LogSeverity::kInfo. |
LogSeverities | Returns an iterable of all standard absl::LogSeverity values, ordered from least to most severe. |
LogSeverityName | Returns the all-caps string representation (e.g. "INFO") of the specified severity level if it is one of the standard levels and "UNKNOWN" otherwise. |
LogUniform | Produces random integral values whose logarithm is uniformly distributed. |
LogWarningStreamer | Returns a LogStreamer that writes at level LogSeverity::kWarning. |
MakeAnySpan | MakeAnySpan overloads |
MakeCleanup | Create an absl::Cleanup from a callback. |
MakeConstAnySpan | MakeConstAnySpan overloads |
MakeConstDerefAnySpan | MakeConstDerefAnySpan overloads |
MakeConstSpan | MakeConstSpan overloads |
MakeCordFromExternal | Creates a Cord that takes ownership of external string memory. |
MakeDerefAnySpan | MakeDerefAnySpan overloads |
MakeInt128 | Constructs an int128 numeric value from two 64-bit integers. |
MakeSeedSeq | Constructs an absl::SeedSeq salted with implementation-defined entropy. |
MakeSpan | MakeSpan overloads |
MakeStatusRepImpl | Builds a status representation from an inlined rep and a message. |
MakeUint128 | Constructs a uint128 numeric value from two 64-bit unsigned integers. |
MarshalHashtableProfile | Serialize the current hash table profile into a string. |
MaxSplits | A delimiter that limits the number of matches which can occur to the passed limit. |
MemcpyCrc32c | Copy bytes while computing the CRC32C value of the copied data. |
Microseconds | Microseconds overloads |
Milliseconds | Milliseconds overloads |
MinLogLevel | Returns the value of the Minimum Log Level parameter. |
Minutes | Minutes overloads |
Nanoseconds | Nanoseconds overloads |
NextWeekday | Returns the absl::CivilDay that strictly follows a given absl::CivilDay, and that falls on the given absl::Weekday. |
NormalizeLogSeverity | NormalizeLogSeverity overloads |
NotFoundError | Creates a status with the kNotFound error code and message. |
Now | Returns the current time, expressed as an absl::Time absolute time value. |
NullSafeStringView | Creates an absl::string_view from a pointer p even if it's null-valued. |
OkStatus | Returns an OK status, equivalent to a default constructed instance. |
OutOfRangeError | Creates a status with the kOutOfRange error code and message. |
PairFormatter | PairFormatter overloads |
ParseAbseilFlagsOnly | Parses a list of command-line arguments, passed in the argc and argv[] parameters, into a set of Abseil Flag values, returning any unparsed arguments in positional_args and unrecognized_flags output parameters. |
ParseCivilTime | Parses a civil-time value from the specified absl::string_view into the passed output parameter. Returns true upon successful parsing. |
ParseCommandLine | First parses Abseil Flags only from the command line according to the description in ParseAbseilFlagsOnly. In addition this function handles unrecognized and usage flags. |
ParseDuration | Parses a duration string consisting of a possibly signed sequence of decimal numbers, each with an optional fractional part and a unit suffix. The valid suffixes are "ns", "us" "ms", "s", "m", and "h". Simple examples include "300ms", "-1.5h", and "2h45m". Parses "0" as ZeroDuration(). Parses "inf" and "-inf" as +/- InfiniteDuration(). |
ParseFlag | ParseFlag overloads |
ParseLenientCivilTime | Parses any of the formats accepted by absl::ParseCivilTime(). Unlike ParseCivilTime(), the input string format does not need to match the target civil-time type. Discrepancies are resolved as follows: * Extra components in the input string are ignored. * Missing components are defaulted to their minimum valid values. This behavior is consistent with civil-time converting constructors. |
ParseTime | ParseTime overloads |
PermissionDeniedError | Creates a status with the kPermissionDenied error code and message. |
Poisson | Produces a random integral value from a Poisson distribution. |
PrefetchToLocalCache | Moves data into the L1 cache before it is read, or "prefetches" it. |
PrefetchToLocalCacheForWrite | Moves data into the L1 cache with the intent to modify it. |
PrefetchToLocalCacheNta | Moves data into the L1 cache before it is read, or "prefetches" it. |
PrevWeekday | Returns the absl::CivilDay that strictly precedes a given absl::CivilDay, and that falls on the given absl::Weekday. |
PrintF | Writes to stdout given a format string and zero or more arguments. |
PrintTo | Writes a human-readable representation of entry to os, e.g. for use by test frameworks such as GoogleTest. |
ProgramUsageMessage | Returns the usage message set by SetProgramUsageMessage(). |
RawPtr | RawPtr overloads |
RegisterCondVarTracer | Registers a hook for CondVar tracing. |
RegisterLivePointers | Registers ptr[0,size-1] as pointers to memory that is still actively being referenced and for which leak checking should be ignored. This function is useful if you store pointers in mapped memory, for memory ranges that we know are correct but for which normal analysis would flag as leaked code. |
RegisterMutexProfiler | Registers a hook for mutex contention profiling. |
RegisterMutexTracer | Registers a hook for Mutex tracing. |
RemoveCrc32cPrefix | Compute the CRC32C value of a buffer with a prefix removed. |
RemoveCrc32cSuffix | Compute the CRC32C value of a buffer with a suffix removed. |
RemoveExtraAsciiWhitespace | Removes leading, trailing, and consecutive internal whitespace. |
RemoveLogSink | Removes a absl::LogSink as a consumer of logging data. |
ReportUnrecognizedFlags | Reports an error to stderr for all non-ignored unrecognized flags in the provided unrecognized_flags list. |
ResourceExhaustedError | Creates a status with the kResourceExhausted error code and message. |
SNPrintF | Writes to a sized buffer given a format string and zero or more arguments. |
Seconds | Seconds overloads |
SetAndroidNativeTag | Stores a copy of the string pointed to by tag and uses it as the Android logging tag thereafter. tag must not be null. |
SetFlag | SetFlag overloads |
SetFlagsUsageConfig | Sets the usage reporting configuration callbacks. If any of the callbacks are not set in usage_config instance, then the default value of the callback is used. |
SetGlobalVLogLevel | Sets the global VLOG level to threshold. |
SetLogBacktraceLocation | Sets the location the backtrace should be logged at. |
SetMinLogLevel | Updates the value of Minimum Log Level parameter. |
SetMutexDeadlockDetectionMode | Enables or disables global detection of potential deadlocks due to Mutex lock ordering inversions. |
SetProgramUsageMessage | Sets the "usage" message to be used by help reporting routines. For example: absl::SetProgramUsageMessage( absl::StrCat("This program does nothing. Sample usage:n", argv[0], " <uselessarg1> <uselessarg2>")); Do not include commandline flags in the usage: we do that for you! Note: Calling SetProgramUsageMessage twice will trigger a call to std::exit. |
SetStackUnwinder | Provides a custom function for unwinding stack frames that will be used in place of the default stack unwinder when invoking the static GetStack{Frames,Trace}{,WithContext}() functions above. |
SetStderrThreshold | Updates the Stderr Threshold parameter. |
SetVLogLevel | Sets the VLOG threshold for all files that match module_pattern, overwriting any prior value. Files that don't match aren't affected. |
ShareUniquePtr | Convert a std::unique_ptr into a std::shared_ptr. |
ShouldPrependLogPrefix | Returns the value of the Prepend Log Prefix option. |
SimpleAtob | Converts the given string into a boolean, returning true if successful. |
SimpleAtod | Converts the given string into a double, returning true if successful. |
SimpleAtof | Converts the given string into a float, returning true if successful. |
SimpleAtoi | SimpleAtoi overloads |
SimpleHexAtoi | SimpleHexAtoi overloads |
SixDigits | Helper function for the default StrCat() floating-point format, %.6g. |
SleepFor | Sleeps for the specified duration, expressed as an absl::Duration. |
StartsWith | Returns whether a given string text begins with prefix. |
StartsWithIgnoreCase | Returns whether a given ASCII string text starts with prefix, ignoring case in the comparison. |
StatusCodeToString | Returns the name for the status code, or "" if it is an unknown value. |
StatusCodeToStringView | Same as StatusCodeToString(), but returns a string_view. |
StatusMessageAsCStr | Retrieves a message's status as a null terminated C string. |
StderrThreshold | Returns the value of the Stderr Threshold parameter. |
StrAppend | StrAppend overloads |
StrAppendFormat | Appends to a dst string given a format string, and zero or more additional arguments, returning *dst as a convenience for chaining purposes. |
StrCat | StrCat overloads |
StrContains | StrContains overloads |
StrContainsIgnoreCase | StrContainsIgnoreCase overloads |
StrFormat | Returns a string given a printf()-style format string and zero or more additional arguments. |
StrJoin | StrJoin overloads |
StrReplaceAll | StrReplaceAll overloads |
StrSplit | StrSplit overloads |
StreamFormat | Writes to an output stream given a format string and zero or more arguments, generally in a manner that is more efficient than streaming the result of absl::StrFormat(). |
StreamFormatter | Formats its argument using the << operator. |
StringResizeAndOverwrite | Resizes str to contain at most n characters, using the user-provided operation op to modify the possibly indeterminate contents. op must return the finalized length of str. |
StripAsciiWhitespace | StripAsciiWhitespace overloads |
StripLeadingAsciiWhitespace | StripLeadingAsciiWhitespace overloads |
StripPrefix | Returns a view into the input string str with the given prefix removed, but leaving the original string intact. If the prefix does not match at the start of the string, returns the original string instead. |
StripSuffix | Returns a view into the input string str with the given suffix removed, but leaving the original string intact. If the suffix does not match at the end of the string, returns the original string instead. |
StripTrailingAsciiWhitespace | StripTrailingAsciiWhitespace overloads |
Substitute | Substitute overloads |
SubstituteAndAppend | SubstituteAndAppend overloads |
Symbolize | Symbolizes a program counter (instruction pointer value) pc and, on success, writes the name to out. The symbol name is demangled, if possible. Note that the symbolized name may be truncated and will be NUL-terminated. Demangling is supported for symbols generated by GCC 3.x or newer). Returns false on failure. |
ThrowStdBadAlloc [noreturn] | Throws a std::bad_alloc, or terminates if exceptions are disabled. |
ThrowStdBadArrayNewLength [noreturn] | Throws a std::bad_array_new_length, or terminates if exceptions are disabled. |
ThrowStdBadFunctionCall [noreturn] | Throws a std::bad_function_call, or terminates if exceptions are disabled. |
ThrowStdDomainError [noreturn] | Throws a std::domain_error with the given message, or terminates if exceptions are disabled. |
ThrowStdInvalidArgument [noreturn] | Throws a std::invalid_argument with the given message, or terminates if exceptions are disabled. |
ThrowStdLengthError [noreturn] | Throws a std::length_error with the given message, or terminates if exceptions are disabled. |
ThrowStdLogicError [noreturn] | Throws a std::logic_error with the given message, or terminates if exceptions are disabled. |
ThrowStdOutOfRange [noreturn] | Throws a std::out_of_range with the given message, or terminates if exceptions are disabled. |
ThrowStdOverflowError [noreturn] | Throws a std::overflow_error with the given message, or terminates if exceptions are disabled. |
ThrowStdRangeError [noreturn] | Throws a std::range_error with the given message, or terminates if exceptions are disabled. |
ThrowStdRuntimeError [noreturn] | Throws a std::runtime_error with the given message, or terminates if exceptions are disabled. |
ThrowStdUnderflowError [noreturn] | Throws a std::underflow_error with the given message, or terminates if exceptions are disabled. |
TimeFromTimespec | Converts a timespec to an absl::Time. |
TimeFromTimeval | Converts a timeval to an absl::Time. |
ToChronoHours | Converts an absl::Duration to a std::chrono::hours value. |
ToChronoMicroseconds | Converts an absl::Duration to a std::chrono::microseconds value. |
ToChronoMilliseconds | Converts an absl::Duration to a std::chrono::milliseconds value. |
ToChronoMinutes | Converts an absl::Duration to a std::chrono::minutes value. |
ToChronoNanoseconds | Converts an absl::Duration to a std::chrono::nanoseconds value. |
ToChronoSeconds | Converts an absl::Duration to a std::chrono::seconds value. |
ToChronoTime | Converts an absl::Time to a std::chrono::system_clock::time_point. If overflow would occur, the returned value will saturate at the min/max time point value instead. |
ToCivilDay | Converts an absolute time to a day-aligned civil time in a time zone. |
ToCivilHour | Converts an absolute time to an hour-aligned civil time in a time zone. |
ToCivilMinute | Converts an absolute time to a minute-aligned civil time in a time zone. |
ToCivilMonth | Converts an absolute time to a month-aligned civil time in a time zone. |
ToCivilSecond | Converts an absolute time to a second-aligned civil time in a time zone. |
ToCivilYear | Converts an absolute time to a year-aligned civil time in a time zone. |
ToDoubleHours | Converts a Duration to a floating-point count of hours. |
ToDoubleMicroseconds | Converts a Duration to a floating-point count of microseconds. |
ToDoubleMilliseconds | Converts a Duration to a floating-point count of milliseconds. |
ToDoubleMinutes | Converts a Duration to a floating-point count of minutes. |
ToDoubleNanoseconds | Converts a Duration to a floating-point count of nanoseconds. |
ToDoubleSeconds | Converts a Duration to a floating-point count of seconds. |
ToInt64Hours | Converts a Duration to an integral count of hours. |
ToInt64Microseconds | Converts a Duration to an integral count of microseconds. |
ToInt64Milliseconds | Converts a Duration to an integral count of milliseconds. |
ToInt64Minutes | Converts a Duration to an integral count of minutes. |
ToInt64Nanoseconds | Converts a Duration to an integral count of nanoseconds. |
ToInt64Seconds | Converts a Duration to an integral count of seconds. |
ToTM | Converts the given absl::Time to a struct tm using the given time zone. See ctime(3) for a description of the values of the tm fields. |
ToTimeT | Converts an absl::Time to a time_t value. |
ToTimespec | ToTimespec overloads |
ToTimeval | ToTimeval overloads |
ToUDate | Converts an absl::Time to an ICU UDate value. |
ToUniversal | Converts an absl::Time to an ICU Universal Time Scale value. |
ToUnixMicros | Converts an absl::Time to a count of microseconds since the Unix epoch. |
ToUnixMillis | Converts an absl::Time to a count of milliseconds since the Unix epoch. |
ToUnixNanos | Converts an absl::Time to a count of nanoseconds since the Unix epoch. |
ToUnixSeconds | Converts an absl::Time to a count of seconds since the Unix epoch. |
Trunc | Truncates a duration (toward zero) to a multiple of a non-zero unit. |
UTCTimeZone | Convenience method returning the UTC time zone. |
Uint128High64 | Returns the higher 64-bit value of a uint128 value. |
Uint128Low64 | Returns the lower 64-bit value of a uint128 value. |
Uint128Max | Returns the highest value for a 128-bit unsigned integer. |
UnRegisterLivePointers | Deregisters the pointers previously marked as active in RegisterLivePointers(), enabling leak checking of those pointers. |
UnauthenticatedError | Creates a status with the kUnauthenticated error code and message. |
UnavailableError | Creates a status with the kUnavailable error code and message. |
Uniform | Uniform overloads |
UnimplementedError | Creates a status with the kUnimplemented error code and message. |
UniversalEpoch | Returns the absl::Time representing the ICU Universal Time Scale epoch. |
UnixEpoch | Returns the absl::Time representing "1970-01-01 00:00:00.0 +0000". |
UnknownError | Creates a status with the kUnknown error code and message. |
UnparseFlag | UnparseFlag overloads |
UrlEscape | Escapes a string so it can be safely used as a value in a URL component by replacing all characters that are not "unreserved characters" with percent-escapes. See https://tools.ietf.org/html/rfc3986 |
UrlEscapePlus | Escapes a string so it can be safely used as a value for application/x-www-form-urlencoded (HTML form submissions). |
UrlUnescape | Performs the inverse transformation of UrlEscape(), converting each percent-encoded sequence of the form "%AB" into the character with the hexadecimal value 0xAB. It returns std::nullopt if any % is not followed by two hexadecimal digits. |
UrlUnescapePlus | Performs the inverse transformation of UrlEscapePlus(). It returns std::nullopt if any % is not followed by two hexadecimal digits. |
Utf8SafeCEscape | Escapes a src string using C-style escape sequences, escaping bytes as octal sequences, and passing through UTF-8 characters without conversion. |
Utf8SafeCHexEscape | Escapes a src string using C-style escape sequences, escaping bytes as hexadecimal sequences, and passing through UTF-8 characters without conversion. |
WeakenPtr | Create a weak pointer from a shared pointer. |
WebSafeBase64Escape | WebSafeBase64Escape overloads |
WebSafeBase64Unescape | Converts a src string encoded in "web safe" Base64 (RFC 4648 section 5) to its binary equivalent, writing it to a dest buffer, returning true on success. If src contains invalid characters, dest is cleared and returns false. If padding is included (note that WebSafeBase64Escape() does not produce it), it must be correct. In the padding, '=' and '.' are treated identically. |
WrapUnique | Adopt ownership of a raw pointer into a std::unique_ptr. |
ZeroDuration | Returns a zero-length duration. This function behaves just like the default constructor, but the name helps make the semantics clear at call sites. |
Zipf | Produces a random integral value from a Zipf distribution. |
any_cast [deprecated] | Casts the value stored in an any object to type T (deprecated). |
apply [deprecated] | Invoke a callable with the elements of a tuple as arguments. |
ascii_isalnum | Determines whether the given character is an alphanumeric character. |
ascii_isalpha | Determines whether the given character is an alphabetic character. |
ascii_isascii | Determines whether the given character is ASCII. |
ascii_isblank | Determines whether the given character is a blank character (tab or space). |
ascii_iscntrl | Determines whether the given character is a control character. |
ascii_isdigit | Determines whether the given character can be represented as a decimal digit character (i.e. {0-9}). |
ascii_isgraph | Determines whether the given character has a graphical representation. |
ascii_islower | Determines whether the given character is lowercase. |
ascii_isprint | Determines whether the given character is printable, including spaces. |
ascii_ispunct | Determines whether the given character is a punctuation character. |
ascii_isspace | Determines whether the given character is a whitespace character (space, tab, vertical tab, formfeed, linefeed, or carriage return). |
ascii_isupper | Determines whether the given character is uppercase. |
ascii_isxdigit | Determines whether the given character can be represented as a hexadecimal digit character (i.e. {0-9} or {A-F} or {a-f}). |
ascii_tolower | Returns an ASCII character, converting to lowercase if uppercase is passed. Note that character values > 127 are simply returned. |
ascii_toupper | Returns the ASCII character, converting to upper-case if lower-case is passed. Note that characters values > 127 are simply returned. |
c_accumulate | c_accumulate overloads |
c_adjacent_difference | c_adjacent_difference overloads |
c_adjacent_find | c_adjacent_find overloads |
c_all_of | Container-based version of the <algorithm> std::all_of() function to test if all elements within a container satisfy a condition. |
c_any_of | Container-based version of the <algorithm> std::any_of() function to test if any element in a container fulfills a condition. |
c_binary_search | c_binary_search overloads |
c_contains | Container-based version of the <algorithm> std::ranges::contains() C++23 function to search a container for a value. |
c_contains_subrange | c_contains_subrange overloads |
c_copy | c_copy overloads |
c_copy_backward | Container-based version of the <algorithm> std::copy_backward() function to copy a container's elements in reverse order into an iterator. |
c_copy_if | Container-based version of the <algorithm> std::copy_if() function to copy a container's elements satisfying some condition into an iterator. |
c_copy_n | c_copy_n overloads |
c_count | Container-based version of the <algorithm> std::count() function to count values that match within a container. |
c_count_if | Container-based version of the <algorithm> std::count_if() function to count values matching a condition within a container. |
c_distance | Container-based version of the <iterator> std::distance() function to return the number of elements within a container. |
c_equal | c_equal overloads |
c_equal_range | c_equal_range overloads |
c_fill | Container-based version of the <algorithm> std::fill() function to fill a container with some value. |
c_fill_n | Container-based version of the <algorithm> std::fill_n() function to fill the first N elements in a container with some value. |
c_find | Container-based version of the <algorithm> std::find() function to find the first element containing the passed value within a container value. |
c_find_end | c_find_end overloads |
c_find_first_of | c_find_first_of overloads |
c_find_if | Container-based version of the <algorithm> std::find_if() function to find the first element in a container matching the given condition. |
c_find_if_not | Container-based version of the <algorithm> std::find_if_not() function to find the first element in a container not matching the given condition. |
c_for_each | Container-based version of the <algorithm> std::for_each() function to apply a function to a container's elements. |
c_generate | Container-based version of the <algorithm> std::generate() function to assign a container's elements to the values provided by the given generator. |
c_generate_n | Container-based version of the <algorithm> std::generate_n() function to assign a container's first N elements to the values provided by the given generator. |
c_includes | c_includes overloads |
c_inner_product | c_inner_product overloads |
c_inplace_merge | c_inplace_merge overloads |
c_iota | Container-based version of the <numeric> std::iota() function to compute successive values of value, as if incremented with ++value after each element is written, and write them to the container. |
c_is_heap | c_is_heap overloads |
c_is_heap_until | c_is_heap_until overloads |
c_is_partitioned | Container-based version of the <algorithm> std::is_partitioned() function to test whether all elements in the container for which pred returns true precede those for which pred is false. |
c_is_permutation | c_is_permutation overloads |
c_is_sorted | c_is_sorted overloads |
c_is_sorted_until | c_is_sorted_until overloads |
c_lexicographical_compare | c_lexicographical_compare overloads |
c_linear_search | Container-based version of absl::linear_search() for performing a linear search within a container. |
c_lower_bound | c_lower_bound overloads |
c_make_heap | c_make_heap overloads |
c_max_element | c_max_element overloads |
c_merge | c_merge overloads |
c_min_element | c_min_element overloads |
c_minmax_element | c_minmax_element overloads |
c_mismatch | c_mismatch overloads |
c_move | c_move overloads |
c_move_backward | Container-based version of the <algorithm> std::move_backward() function to move a container's elements into an iterator in reverse order. |
c_next_permutation | c_next_permutation overloads |
c_none_of | Container-based version of the <algorithm> std::none_of() function to test if no elements in a container fulfill a condition. |
c_nth_element | c_nth_element overloads |
c_partial_sort | c_partial_sort overloads |
c_partial_sort_copy | c_partial_sort_copy overloads |
c_partial_sum | c_partial_sum overloads |
c_partition | Container-based version of the <algorithm> std::partition() function to rearrange all elements in a container in such a way that all elements for which pred returns true precede all those for which it returns false, returning an iterator to the first element of the second group. |
c_partition_copy | Container-based version of the <algorithm> std::partition_copy() function to partition a container's elements and return them into two iterators: one for which pred returns true, and one for which pred returns false. |
c_partition_point | Container-based version of the <algorithm> std::partition_point() function to return the first element of an already partitioned container for which the given pred is not true. |
c_pop_heap | c_pop_heap overloads |
c_prev_permutation | c_prev_permutation overloads |
c_push_heap | c_push_heap overloads |
c_remove_copy | Container-based version of the <algorithm> std::remove_copy() function to copy a container's elements while removing any elements matching the given value. |
c_remove_copy_if | Container-based version of the <algorithm> std::remove_copy_if() function to copy a container's elements while removing any elements matching the given condition. |
c_replace | Container-based version of the <algorithm> std::replace() function to replace a container's elements of some value with a new value. The container is modified in place. |
c_replace_copy | Container-based version of the <algorithm> std::replace_copy() function to replace a container's elements of some value with a new value and return the results within an iterator. |
c_replace_copy_if | Container-based version of the <algorithm> std::replace_copy_if() function to replace a container's elements of some value with a new value based on some condition, and return the results within an iterator. |
c_replace_if | Container-based version of the <algorithm> std::replace_if() function to replace a container's elements of some value with a new value based on some condition. The container is modified in place. |
c_reverse | Container-based version of the <algorithm> std::reverse() function to reverse a container's elements. |
c_reverse_copy | Container-based version of the <algorithm> std::reverse() function to reverse a container's elements and write them to an iterator range. |
c_rotate | Container-based version of the <algorithm> std::rotate() function to shift a container's elements leftward such that the middle element becomes the first element in the container. |
c_rotate_copy | Container-based version of the <algorithm> std::rotate_copy() function to shift a container's elements leftward such that the middle element becomes the first element in a new iterator range. |
c_sample | Container-based version of the <algorithm> std::sample() function to randomly sample elements from the container without replacement using a gen() uniform random number generator and write them to an iterator range. |
c_search | c_search overloads |
c_search_n | c_search_n overloads |
c_set_difference | c_set_difference overloads |
c_set_intersection | c_set_intersection overloads |
c_set_symmetric_difference | c_set_symmetric_difference overloads |
c_set_union | c_set_union overloads |
c_shuffle | Container-based version of the <algorithm> std::shuffle() function to randomly shuffle elements within the container using a gen() uniform random number generator. |
c_sort | c_sort overloads |
c_sort_heap | c_sort_heap overloads |
c_stable_partition | Container-based version of the <algorithm> std::stable_partition() function to rearrange all elements in a container in such a way that all elements for which pred returns true precede all those for which it returns false, preserving the relative ordering between the two groups. The function returns an iterator to the first element of the second group. |
c_stable_sort | c_stable_sort overloads |
c_swap_ranges | Container-based version of the <algorithm> std::swap_ranges() function to swap a container's elements with another container's elements. Swaps the first N elements of c1 and c2, where N = min(size(c1), size(c2)). |
c_transform | c_transform overloads |
c_unique_copy | c_unique_copy overloads |
c_upper_bound | c_upper_bound overloads |
call_once | For all invocations using a given once_flag, invokes a given fn exactly once across all threads. The first call to call_once() with a particular once_flag argument (that does not throw an exception) will run the specified function with the provided args; other calls with the same once_flag argument will not run the function, but will wait for the provided function to finish running (if it is still running). |
down_cast | down_cast overloads |
equal [deprecated] | equal overloads |
erase_if | erase_if overloads |
exchange [deprecated] | Replace the value of an object and return its old value. |
forward [deprecated] | forward overloads |
from_chars | from_chars overloads |
get [deprecated] | get overloads |
get_if [deprecated] | get_if overloads |
holds_alternative [deprecated] | Tests whether a variant currently holds the alternative T (deprecated). |
implicit_cast | implicit_cast overloads |
is_constant_evaluated | Detects whether the function call occurs within a constant-evaluated context. Returns true if the evaluation of the call occurs within the evaluation of an expression or conversion that is manifestly constant-evaluated; otherwise returns false. |
linear_search | Performs a linear search for a value in a range. |
make_any [deprecated] | make_any overloads |
make_from_tuple [deprecated] | Construct an object of a type from the elements of a tuple. |
make_optional | make_optional overloads |
move [deprecated] | move overloads |
operator% | Modulus operators |
operator& | Bitwise conjunction operators |
operator&= | Assigns to lhs the bitwise AND of lhs and rhs. |
operator* | Multiplication operators |
operator+ | Unary plus operators |
operator- | Unary minus operators |
operator/ | Division operators |
operator>> | Right shift operators |
operator^ | Bitwise exclusive-or operators |
operator^= | Assigns to lhs the bitwise XOR of lhs and rhs. |
operator| | Bitwise disjunction operators |
operator|= | Assigns to lhs the bitwise OR of lhs and rhs. |
operator~ | Bitwise negation operators |
rotate [deprecated] | Rotates the elements in a range so that n_first becomes the new first. |
swap | swap overloads |
visit [deprecated] | Applies a visitor to the alternatives of one or more variants (deprecated). |
operator<< | Left shift operators |
operator! | Returns the logical negation of val. |
operator== | Equality operators |
operator!= | Inequality operators |
operator< | Less-than operators |
operator<= | Less-than-or-equal operators |
operator> | Greater-than operators |
operator>= | Greater-than-or-equal operators |
operator<=> | Three-way comparison operators |