Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Runtime::Internal::StringUtils Struct Reference

#include <string_storage.h>

Static Public Member Functions

static bool is_empty (const char *str)
 
static size_t count_tokens (const char *str, const char *delim)
 
static bool contains (const char *s1, const char *s2, size_t n)
 
static size_t count_length (const char *str, size_t max_chars)
 
static size_t copy_up_to (char *dst, const char *src, size_t max_chars)
 

Detailed Description

Definition at line 12 of file string_storage.h.

Member Function Documentation

◆ is_empty()

◆ count_tokens()

static size_t Halide::Runtime::Internal::StringUtils::count_tokens ( const char * str,
const char * delim )
inlinestatic

◆ contains()

static bool Halide::Runtime::Internal::StringUtils::contains ( const char * s1,
const char * s2,
size_t n )
inlinestatic

◆ count_length()

◆ copy_up_to()

static size_t Halide::Runtime::Internal::StringUtils::copy_up_to ( char * dst,
const char * src,
size_t max_chars )
inlinestatic

Definition at line 72 of file string_storage.h.

References count_length(), and memcpy().


The documentation for this struct was generated from the following file: