![]()  | 
  
    libgpac
    
   Documentation of the core library of GPAC 
   | 
  
 Include dependency graph for cutils.c:Typedefs | |
| typedef void(* | exchange_f) (void *a, void *b, size_t size) | 
| typedef int(* | cmp_f) (const void *, const void *, void *opaque) | 
Functions | |
| void | pstrcpy (char *buf, int buf_size, const char *str) | 
| char * | pstrcat (char *buf, int buf_size, const char *s) | 
| int | strstart (const char *str, const char *val, const char **ptr) | 
| int | has_suffix (const char *str, const char *suffix) | 
| static void * | dbuf_default_realloc (void *opaque, void *ptr, size_t size) | 
| void | dbuf_init2 (DynBuf *s, void *opaque, DynBufReallocFunc *realloc_func) | 
| void | dbuf_init (DynBuf *s) | 
| int | dbuf_claim (DynBuf *s, size_t len) | 
| int | dbuf_put (DynBuf *s, const uint8_t *data, size_t len) | 
| int | dbuf_put_self (DynBuf *s, size_t offset, size_t len) | 
| int | __dbuf_putc (DynBuf *s, uint8_t c) | 
| int | __dbuf_put_u16 (DynBuf *s, uint16_t val) | 
| int | __dbuf_put_u32 (DynBuf *s, uint32_t val) | 
| int | __dbuf_put_u64 (DynBuf *s, uint64_t val) | 
| int | dbuf_putstr (DynBuf *s, const char *str) | 
| int | __attribute__ ((format(printf, 2, 3))) | 
| void | dbuf_free (DynBuf *s) | 
| int | unicode_to_utf8 (uint8_t *buf, unsigned int c) | 
| int | unicode_from_utf8 (const uint8_t *p, int max_len, const uint8_t **pp) | 
| static void | exchange_bytes (void *a, void *b, size_t size) | 
| static void | exchange_one_byte (void *a, void *b, size_t size) | 
| static void | exchange_int16s (void *a, void *b, size_t size) | 
| static void | exchange_one_int16 (void *a, void *b, size_t size) | 
| static void | exchange_int32s (void *a, void *b, size_t size) | 
| static void | exchange_one_int32 (void *a, void *b, size_t size) | 
| static void | exchange_int64s (void *a, void *b, size_t size) | 
| static void | exchange_one_int64 (void *a, void *b, size_t size) | 
| static void | exchange_int128s (void *a, void *b, size_t size) | 
| static void | exchange_one_int128 (void *a, void *b, size_t size) | 
| static exchange_f | exchange_func (const void *base, size_t size) | 
| static void | heapsortx (void *base, size_t nmemb, size_t size, cmp_f cmp, void *opaque) | 
| static void * | med3 (void *a, void *b, void *c, cmp_f cmp, void *opaque) | 
| void | rqsort (void *base, size_t nmemb, size_t size, cmp_f cmp, void *opaque) | 
Variables | |
| static const unsigned int | utf8_min_code [5] | 
| static const unsigned char | utf8_first_code_mask [5] | 
| typedef void(* exchange_f) (void *a, void *b, size_t size) | 
| typedef int(* cmp_f) (const void *, const void *, void *opaque) | 
| void pstrcpy | ( | char * | buf, | 
| int | buf_size, | ||
| const char * | str | ||
| ) | 
 Here is the caller graph for this function:| char * pstrcat | ( | char * | buf, | 
| int | buf_size, | ||
| const char * | s | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int strstart | ( | const char * | str, | 
| const char * | val, | ||
| const char ** | ptr | ||
| ) | 
 Here is the caller graph for this function:| int has_suffix | ( | const char * | str, | 
| const char * | suffix | ||
| ) | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:| void dbuf_init2 | ( | DynBuf * | s, | 
| void * | opaque, | ||
| DynBufReallocFunc * | realloc_func | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| void dbuf_init | ( | DynBuf * | s | ) | 
 Here is the call graph for this function:| int dbuf_claim | ( | DynBuf * | s, | 
| size_t | len | ||
| ) | 
 Here is the caller graph for this function:
 Here is the call graph for this function:
 Here is the caller graph for this function:| int dbuf_put_self | ( | DynBuf * | s, | 
| size_t | offset, | ||
| size_t | len | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:
 Here is the call graph for this function:
 Here is the caller graph for this function:
 Here is the call graph for this function:
 Here is the caller graph for this function:
 Here is the call graph for this function:
 Here is the caller graph for this function:
 Here is the call graph for this function:
 Here is the caller graph for this function:| int dbuf_putstr | ( | DynBuf * | s, | 
| const char * | str | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| static int __attribute__ | ( | (format(printf, 2, 3)) | ) | 
 Here is the call graph for this function:| void dbuf_free | ( | DynBuf * | s | ) | 
 Here is the caller graph for this function:| int unicode_to_utf8 | ( | uint8_t * | buf, | 
| unsigned int | c | ||
| ) | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the caller graph for this function:| void rqsort | ( | void * | base, | 
| size_t | nmemb, | ||
| size_t | size, | ||
| cmp_f | cmp, | ||
| void * | opaque | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
      
  | 
  static |