GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gis/put_row.c File Reference
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <grass/config.h>
#include "G.h"
#include <grass/glocale.h>
Include dependency graph for gis/put_row.c:

Go to the source code of this file.

Functions

int G_zeros_r_nulls (int zeros_r_nulls)
 
int G_put_map_row_random (int fd, const CELL *buf, int row, int col, int n)
 
int G__put_null_value_row (int fd, const char *buf)
 
int G_put_map_row (int fd, const CELL *buf)
 
int G_put_raster_row (int fd, const void *buf, RASTER_MAP_TYPE data_type)
 
int G_put_c_raster_row (int fd, const CELL *buf)
 
int G_put_f_raster_row (int fd, const FCELL *buf)
 
int G_put_d_raster_row (int fd, const DCELL *buf)
 
int G__write_data (int fd, int row, int n)
 
int G__write_data_compressed (int fd, int row, int n)
 
int G__open_null_write (int fd)
 
int G__write_null_bits (int null_fd, const unsigned char *flags, int row, int cols, int fd)
 

Function Documentation

int G__open_null_write ( int  fd)

Definition at line 748 of file gis/put_row.c.

References fd, G__::fileinfo, G_warning(), and fileinfo::null_temp_name.

int G__put_null_value_row ( int  fd,
const char *  buf 
)

Definition at line 194 of file gis/put_row.c.

References fd, G__::fileinfo, and fileinfo::null_cur_row.

int G__write_data ( int  fd,
int  row,
int  n 
)

Definition at line 319 of file gis/put_row.c.

References fd, G__::fileinfo, n, fileinfo::nbytes, and G__::work_buf.

Referenced by G__random_d_initialize_0(), and G__random_f_initialize_0().

int G__write_data_compressed ( int  fd,
int  row,
int  n 
)

Definition at line 332 of file gis/put_row.c.

References fd, G__::fileinfo, n, fileinfo::nbytes, and G__::work_buf.

int G__write_null_bits ( int  null_fd,
const unsigned char *  flags,
int  row,
int  cols,
int  fd 
)

Definition at line 766 of file gis/put_row.c.

References G__null_bitstream_size(), G_warning(), and tools::size.

int G_put_c_raster_row ( int  fd,
const CELL *  buf 
)

Definition at line 228 of file gis/put_row.c.

References G_put_raster_row().

Referenced by N_write_array_2d_to_rast().

int G_put_d_raster_row ( int  fd,
const DCELL *  buf 
)

Definition at line 238 of file gis/put_row.c.

References G_put_raster_row().

Referenced by N_write_array_2d_to_rast().

int G_put_f_raster_row ( int  fd,
const FCELL *  buf 
)

Definition at line 233 of file gis/put_row.c.

References G_put_raster_row().

Referenced by IL_output_2d(), IL_resample_output_2d(), and N_write_array_2d_to_rast().

int G_put_map_row ( int  fd,
const CELL *  buf 
)

Definition at line 210 of file gis/put_row.c.

References fd, G__::fileinfo, G_fatal_error(), fileinfo::map_type, and fileinfo::name.

int G_put_map_row_random ( int  fd,
const CELL *  buf,
int  row,
int  col,
int  n 
)
int G_put_raster_row ( int  fd,
const void *  buf,
RASTER_MAP_TYPE  data_type 
)

Definition at line 223 of file gis/put_row.c.

Referenced by G_put_c_raster_row(), G_put_d_raster_row(), and G_put_f_raster_row().

int G_zeros_r_nulls ( int  zeros_r_nulls)

Definition at line 162 of file gis/put_row.c.