Ruby: ext/zlib/zlib-1.2.13/contrib/puff/pufftest.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros | Functions
pufftest.c File Reference
`#include <stdio.h>`
`#include <stdlib.h>`
`#include "puff.h"`

Go to the source code of this file.

## Macros
#define | SET_BINARY_MODE(file)
#define | local static

## Functions
size_t | bythirds (size_t size)
void * | load (const char *name, size_t *len)
int | main (int argc, char **argv)

## Macro Definition Documentation

## ◆ local

#define local static

Definition at line 31 of file pufftest.c.

## ◆ SET_BINARY_MODE

#define SET_BINARY_MODE | ( |  | file | ) |

Definition at line 28 of file pufftest.c.

## Function Documentation

## ◆ bythirds()

size_t bythirds | ( | size_t | size | ) |

Definition at line 37 of file pufftest.c.

Referenced by load().

## ◆ load()

void * load | ( | const char * | name,
|  | size_t * | len
| ) |  |

Definition at line 60 of file pufftest.c.

References bythirds(), free, in(), len, malloc, name, NULL, and realloc.

Referenced by dln_load(), main(), rb_autoload_at_p(), rb_autoload_load(), rb_call_inits(), rb_ibf_load_iseq_complete(), rb_iseq_ibf_load(), rb_iseq_ibf_load_bytes(), and rb_iseq_ibf_load_extra_data().

## ◆ main()

int main | ( | int argc | ,
|  | char ** | argv
| ) |  |

Definition at line 88 of file pufftest.c.

References argc, argv, fail, free, len, load(), long(), malloc, name, NIL, NULL, puff(), SET_BINARY_MODE, and skip().