MLIR 22.0.0git
File.cpp File Reference
#include "mlir/ExecutionEngine/SparseTensor/File.h"
#include <cctype>
#include <cstring>

Go to the source code of this file.

Functions

static void toLower (char *token)
 Helper to convert C-style strings (i.e., '\0' terminated) to lower case.
static bool streq (const char *lhs, const char *rhs)
 Idiomatic name for checking string equality.
static bool strne (const char *lhs, const char *rhs)
 Idiomatic name for checking string inequality.

Function Documentation

◆ streq()

bool streq ( const char * lhs,
const char * rhs )
inlinestatic

Idiomatic name for checking string equality.

Definition at line 109 of file File.cpp.

References lhs, and rhs.

◆ strne()

bool strne ( const char * lhs,
const char * rhs )
inlinestatic

Idiomatic name for checking string inequality.

Definition at line 114 of file File.cpp.

References lhs, and rhs.

◆ toLower()

void toLower ( char * token)
inlinestatic

Helper to convert C-style strings (i.e., '\0' terminated) to lower case.

Definition at line 103 of file File.cpp.