libsheepy
Macros | Functions
libsheepyCSmallBytes.c File Reference
#include "../libsheepyObject.h"
#include "libsheepyCSmallBytes.h"
#include "libsheepyCSmallBytesInternal.h"
#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for libsheepyCSmallBytes.c:

Go to the source code of this file.

Macros

#define internal   static
 

Functions

void initiateSmallBytes (smallBytest *self)
 
void registerMethodsSmallBytes (smallBytesFunctionst *f)
 
void initiateAllocateSmallBytes (smallBytest **self)
 
void finalizeRecycleSmallBytes (void *arg UNUSED)
 
void finalizeSmallBytes (void)
 
smallBytestallocSmallBytes (void *data, uint32_t size)
 
void cleanUpSmallBytesTerminateG (smallBytest **val)
 
void cleanUpSmallBytesFreeLocalG (smallBytest *val)
 
void cleanUpSmallBytesFreeG (smallBytest **val)
 
void cleanUpSmallBytesFinishG (smallBytest **val)
 
internal void freeSmallBytes (smallBytest *self)
 
internal void terminateSmallBytes (smallBytest **self)
 
internal void finishSmallBytes (smallBytest **self)
 
internal const char * helpSmallBytes (smallBytest UNUSED *self)
 
internal char * toStringSmallBytes (smallBytest *self)
 
internal smallBytestduplicateSmallBytes (smallBytest *self)
 
internal void * getSmallBytes (smallBytest *self)
 
internal smallBytestsetSmallBytes (smallBytest *self, void *data, uint32_t size)
 
internal smallBytestpushSmallBytes (smallBytest *self, char data)
 
internal smallBytestpushBufferSmallBytes (smallBytest *self, void *data, uint32_t size)
 
internal char getAtSmallBytes (smallBytest *self, int64_t index)
 
internal size_t lenSmallBytes (smallBytest *self)
 
internal bool isEmptySmallBytes (smallBytest *self)
 
internal smallBytestreadFileSmallBytes (smallBytest *self, const char *filePath)
 
internal smallBytestreadFileSmallJsonSmallBytes (smallBytest *self, smallJsont *filePath)
 
internal smallBytestreadFileSmallStringSmallBytes (smallBytest *self, smallStringt *filePath)
 
internal smallBytestreadStreamSmallBytes (smallBytest *self, FILE *fp)
 
internal int writeFileSmallBytes (smallBytest *self, const char *filePath)
 
internal int writeFileSmallJsonSmallBytes (smallBytest *self, smallJsont *filePath)
 
internal int writeFileSmallStringSmallBytes (smallBytest *self, smallStringt *filePath)
 
internal int writeStreamSmallBytes (smallBytest *self, FILE *fp)
 
internal int appendFileSmallBytes (smallBytest *self, const char *filePath)
 
internal int appendFileSmallStringSmallBytes (smallBytest *self, smallStringt *filePath)
 
internal bool equalSmallBytes (smallBytest *self, smallBytest *value)
 
internal bool equalSmallBytesBool (smallBytest *self, bool value)
 
internal bool equalSmallBytesDouble (smallBytest *self, double value)
 
internal bool equalSmallBytesInt64 (smallBytest *self, int64_t value)
 
internal bool equalSmallBytesInt32 (smallBytest *self, int32_t value)
 
internal bool equalSmallBytesUint32 (smallBytest *self, uint32_t value)
 
internal bool equalSmallBytesUint64 (smallBytest *self, uint64_t value)
 
internal bool equalSmallBytesSmallBool (smallBytest *self, smallBoolt *value)
 
internal bool equalSmallBytesSmallDouble (smallBytest *self, smallDoublet *value)
 
internal bool equalSmallBytesSmallInt (smallBytest *self, smallIntt *value)
 
internal bool equalSmallBytesChar (smallBytest *self, const char *value)
 
internal bool equalSmallBytesSmallString (smallBytest *self, smallStringt *value)
 
internal bool equalSmallBytesBase (smallBytest *self, baset *value)
 
smallBytestduplicateSmallBytesG (smallBytest *self)
 
smallBytestsetSmallBytesG (smallBytest *self, void *data, uint32_t size)
 
char getAtSmallBytesG (smallBytest *self, char retType UNUSED, int64_t index)
 
smallBytestpushSmallBytesG (smallBytest *self, char data)
 
size_t lenSmallBytesG (smallBytest *self)
 
bool isEmptySmallBytesG (smallBytest *self)
 
smallBytestreadFileSmallBytesG (smallBytest *self, const char *filePath)
 
smallBytestreadFileSmallJsonSmallBytesG (smallBytest *self, smallJsont *filePath)
 
smallBytestreadFileSmallStringSmallBytesG (smallBytest *self, smallStringt *filePath)
 
smallBytestreadStreamSmallBytesG (smallBytest *self, FILE *fp)
 
int writeFileSmallBytesG (smallBytest *self, const char *filePath)
 
int writeFileSmallJsonSmallBytesG (smallBytest *self, smallJsont *filePath)
 
int writeFileSmallStringSmallBytesG (smallBytest *self, smallStringt *filePath)
 
int writeStreamSmallBytesG (smallBytest *self, FILE *fp)
 
int appendFileSmallBytesG (smallBytest *self, const char *filePath)
 
int appendFileSmallStringSmallBytesG (smallBytest *self, smallStringt *filePath)
 
bool equalSmallBytesG (smallBytest *self, smallBytest *value)
 
bool equalSmallBytesBoolG (smallBytest *self, bool value)
 
bool equalSmallBytesDoubleG (smallBytest *self, double value)
 
bool equalSmallBytesInt64G (smallBytest *self, int64_t value)
 
bool equalSmallBytesInt32G (smallBytest *self, int32_t value)
 
bool equalSmallBytesUint32G (smallBytest *self, uint32_t value)
 
bool equalSmallBytesUint64G (smallBytest *self, uint64_t value)
 
bool equalSmallBytesSmallBoolG (smallBytest *self, smallBoolt *value)
 
bool equalSmallBytesSmallDoubleG (smallBytest *self, smallDoublet *value)
 
bool equalSmallBytesSmallIntG (smallBytest *self, smallIntt *value)
 
bool equalSmallBytesCharG (smallBytest *self, const char *value)
 
bool equalSmallBytesSmallStringG (smallBytest *self, smallStringt *value)
 
bool equalSmallBytesBaseG (smallBytest *self, baset *value)
 
void freeSmallBytesG (smallBytest *self)
 

Macro Definition Documentation

◆ internal

#define internal   static

Definition at line 27 of file libsheepyCSmallBytes.c.

Function Documentation

◆ initiateSmallBytes()

void initiateSmallBytes ( smallBytest self)

Definition at line 115 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ registerMethodsSmallBytes()

void registerMethodsSmallBytes ( smallBytesFunctionst f)

Definition at line 129 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:

◆ initiateAllocateSmallBytes()

void initiateAllocateSmallBytes ( smallBytest **  self)

Definition at line 170 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ finalizeRecycleSmallBytes()

void finalizeRecycleSmallBytes ( void *arg  UNUSED)

Definition at line 188 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ finalizeSmallBytes()

void finalizeSmallBytes ( void  )

Definition at line 196 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ allocSmallBytes()

smallBytest * allocSmallBytes ( void *  data,
uint32_t  size 
)

Definition at line 205 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:

◆ cleanUpSmallBytesTerminateG()

void cleanUpSmallBytesTerminateG ( smallBytest **  val)

Definition at line 216 of file libsheepyCSmallBytes.c.

◆ cleanUpSmallBytesFreeLocalG()

void cleanUpSmallBytesFreeLocalG ( smallBytest val)

Definition at line 221 of file libsheepyCSmallBytes.c.

◆ cleanUpSmallBytesFreeG()

void cleanUpSmallBytesFreeG ( smallBytest **  val)

Definition at line 226 of file libsheepyCSmallBytes.c.

◆ cleanUpSmallBytesFinishG()

void cleanUpSmallBytesFinishG ( smallBytest **  val)

Definition at line 231 of file libsheepyCSmallBytes.c.

◆ freeSmallBytes()

internal void freeSmallBytes ( smallBytest self)

Definition at line 238 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminateSmallBytes()

internal void terminateSmallBytes ( smallBytest **  self)

Definition at line 245 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ finishSmallBytes()

internal void finishSmallBytes ( smallBytest **  self)

Definition at line 272 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ helpSmallBytes()

internal const char * helpSmallBytes ( smallBytest UNUSED self)

Definition at line 286 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ toStringSmallBytes()

internal char * toStringSmallBytes ( smallBytest self)

Definition at line 292 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duplicateSmallBytes()

internal smallBytest * duplicateSmallBytes ( smallBytest self)

Definition at line 301 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSmallBytes()

internal void * getSmallBytes ( smallBytest self)

Definition at line 311 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSmallBytes()

internal smallBytest * setSmallBytes ( smallBytest self,
void *  data,
uint32_t  size 
)

Definition at line 316 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushSmallBytes()

internal smallBytest * pushSmallBytes ( smallBytest self,
char  data 
)

Definition at line 323 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushBufferSmallBytes()

internal smallBytest * pushBufferSmallBytes ( smallBytest self,
void *  data,
uint32_t  size 
)

Definition at line 329 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAtSmallBytes()

internal char getAtSmallBytes ( smallBytest self,
int64_t  index 
)

Definition at line 335 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ lenSmallBytes()

internal size_t lenSmallBytes ( smallBytest self)

Definition at line 354 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ isEmptySmallBytes()

internal bool isEmptySmallBytes ( smallBytest self)

Definition at line 363 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readFileSmallBytes()

internal smallBytest * readFileSmallBytes ( smallBytest self,
const char *  filePath 
)

Definition at line 368 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readFileSmallJsonSmallBytes()

internal smallBytest * readFileSmallJsonSmallBytes ( smallBytest self,
smallJsont filePath 
)

Definition at line 410 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ readFileSmallStringSmallBytes()

internal smallBytest * readFileSmallStringSmallBytes ( smallBytest self,
smallStringt filePath 
)

Definition at line 429 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ readStreamSmallBytes()

internal smallBytest * readStreamSmallBytes ( smallBytest self,
FILE *  fp 
)

Definition at line 442 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeFileSmallBytes()

internal int writeFileSmallBytes ( smallBytest self,
const char *  filePath 
)

Definition at line 480 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeFileSmallJsonSmallBytes()

internal int writeFileSmallJsonSmallBytes ( smallBytest self,
smallJsont filePath 
)

Definition at line 510 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ writeFileSmallStringSmallBytes()

internal int writeFileSmallStringSmallBytes ( smallBytest self,
smallStringt filePath 
)

Definition at line 529 of file libsheepyCSmallBytes.c.

Here is the caller graph for this function:

◆ writeStreamSmallBytes()

internal int writeStreamSmallBytes ( smallBytest self,
FILE *  fp 
)

Definition at line 542 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ appendFileSmallBytes()

internal int appendFileSmallBytes ( smallBytest self,
const char *  filePath 
)

Definition at line 563 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ appendFileSmallStringSmallBytes()

internal int appendFileSmallStringSmallBytes ( smallBytest self,
smallStringt filePath 
)

Definition at line 593 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytes()

internal bool equalSmallBytes ( smallBytest self,
smallBytest value 
)

Definition at line 601 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesBool()

internal bool equalSmallBytesBool ( smallBytest self,
bool  value 
)

Definition at line 614 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesDouble()

internal bool equalSmallBytesDouble ( smallBytest self,
double  value 
)

Definition at line 629 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesInt64()

internal bool equalSmallBytesInt64 ( smallBytest self,
int64_t  value 
)

Definition at line 658 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesInt32()

internal bool equalSmallBytesInt32 ( smallBytest self,
int32_t  value 
)

Definition at line 687 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesUint32()

internal bool equalSmallBytesUint32 ( smallBytest self,
uint32_t  value 
)

Definition at line 716 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesUint64()

internal bool equalSmallBytesUint64 ( smallBytest self,
uint64_t  value 
)

Definition at line 745 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesSmallBool()

internal bool equalSmallBytesSmallBool ( smallBytest self,
smallBoolt value 
)

Definition at line 774 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesSmallDouble()

internal bool equalSmallBytesSmallDouble ( smallBytest self,
smallDoublet value 
)

Definition at line 783 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesSmallInt()

internal bool equalSmallBytesSmallInt ( smallBytest self,
smallIntt value 
)

Definition at line 792 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesChar()

internal bool equalSmallBytesChar ( smallBytest self,
const char *  value 
)

Definition at line 802 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesSmallString()

internal bool equalSmallBytesSmallString ( smallBytest self,
smallStringt value 
)

Definition at line 816 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalSmallBytesBase()

internal bool equalSmallBytesBase ( smallBytest self,
baset value 
)

Definition at line 829 of file libsheepyCSmallBytes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duplicateSmallBytesG()

smallBytest * duplicateSmallBytesG ( smallBytest self)

Definition at line 846 of file libsheepyCSmallBytes.c.

◆ setSmallBytesG()

smallBytest * setSmallBytesG ( smallBytest self,
void *  data,
uint32_t  size 
)

Definition at line 853 of file libsheepyCSmallBytes.c.

◆ getAtSmallBytesG()

char getAtSmallBytesG ( smallBytest self,
char retType  UNUSED,
int64_t  index 
)

Definition at line 858 of file libsheepyCSmallBytes.c.

◆ pushSmallBytesG()

smallBytest * pushSmallBytesG ( smallBytest self,
char  data 
)

Definition at line 863 of file libsheepyCSmallBytes.c.

◆ lenSmallBytesG()

size_t lenSmallBytesG ( smallBytest self)

Definition at line 868 of file libsheepyCSmallBytes.c.

◆ isEmptySmallBytesG()

bool isEmptySmallBytesG ( smallBytest self)

Definition at line 873 of file libsheepyCSmallBytes.c.

◆ readFileSmallBytesG()

smallBytest * readFileSmallBytesG ( smallBytest self,
const char *  filePath 
)

Definition at line 878 of file libsheepyCSmallBytes.c.

◆ readFileSmallJsonSmallBytesG()

smallBytest * readFileSmallJsonSmallBytesG ( smallBytest self,
smallJsont filePath 
)

Definition at line 883 of file libsheepyCSmallBytes.c.

◆ readFileSmallStringSmallBytesG()

smallBytest * readFileSmallStringSmallBytesG ( smallBytest self,
smallStringt filePath 
)

Definition at line 888 of file libsheepyCSmallBytes.c.

◆ readStreamSmallBytesG()

smallBytest * readStreamSmallBytesG ( smallBytest self,
FILE *  fp 
)

Definition at line 893 of file libsheepyCSmallBytes.c.

◆ writeFileSmallBytesG()

int writeFileSmallBytesG ( smallBytest self,
const char *  filePath 
)

Definition at line 899 of file libsheepyCSmallBytes.c.

◆ writeFileSmallJsonSmallBytesG()

int writeFileSmallJsonSmallBytesG ( smallBytest self,
smallJsont filePath 
)

Definition at line 904 of file libsheepyCSmallBytes.c.

◆ writeFileSmallStringSmallBytesG()

int writeFileSmallStringSmallBytesG ( smallBytest self,
smallStringt filePath 
)

Definition at line 909 of file libsheepyCSmallBytes.c.

◆ writeStreamSmallBytesG()

int writeStreamSmallBytesG ( smallBytest self,
FILE *  fp 
)

Definition at line 914 of file libsheepyCSmallBytes.c.

◆ appendFileSmallBytesG()

int appendFileSmallBytesG ( smallBytest self,
const char *  filePath 
)

Definition at line 919 of file libsheepyCSmallBytes.c.

◆ appendFileSmallStringSmallBytesG()

int appendFileSmallStringSmallBytesG ( smallBytest self,
smallStringt filePath 
)

Definition at line 924 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesG()

bool equalSmallBytesG ( smallBytest self,
smallBytest value 
)

Definition at line 929 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesBoolG()

bool equalSmallBytesBoolG ( smallBytest self,
bool  value 
)

Definition at line 934 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesDoubleG()

bool equalSmallBytesDoubleG ( smallBytest self,
double  value 
)

Definition at line 939 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesInt64G()

bool equalSmallBytesInt64G ( smallBytest self,
int64_t  value 
)

Definition at line 944 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesInt32G()

bool equalSmallBytesInt32G ( smallBytest self,
int32_t  value 
)

Definition at line 949 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesUint32G()

bool equalSmallBytesUint32G ( smallBytest self,
uint32_t  value 
)

Definition at line 954 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesUint64G()

bool equalSmallBytesUint64G ( smallBytest self,
uint64_t  value 
)

Definition at line 959 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesSmallBoolG()

bool equalSmallBytesSmallBoolG ( smallBytest self,
smallBoolt value 
)

Definition at line 964 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesSmallDoubleG()

bool equalSmallBytesSmallDoubleG ( smallBytest self,
smallDoublet value 
)

Definition at line 969 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesSmallIntG()

bool equalSmallBytesSmallIntG ( smallBytest self,
smallIntt value 
)

Definition at line 974 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesCharG()

bool equalSmallBytesCharG ( smallBytest self,
const char *  value 
)

Definition at line 979 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesSmallStringG()

bool equalSmallBytesSmallStringG ( smallBytest self,
smallStringt value 
)

Definition at line 984 of file libsheepyCSmallBytes.c.

◆ equalSmallBytesBaseG()

bool equalSmallBytesBaseG ( smallBytest self,
baset value 
)

Definition at line 989 of file libsheepyCSmallBytes.c.

◆ freeSmallBytesG()

void freeSmallBytesG ( smallBytest self)

Definition at line 851 of file libsheepyCSmallBytes.c.