Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
string.c File Reference
#include "groonga_in.h"
#include <string.h>
#include "string_in.h"
#include "normalizer_in.h"
#include "str.h"
#include "util.h"
#include <groonga/tokenizer.h>
Include dependency graph for string.c:

Go to the source code of this file.

Functions

grn_objgrn_string_open_ (grn_ctx *ctx, const char *str, unsigned int str_len, grn_obj *normalizer, int flags, grn_encoding encoding)
grn_objgrn_string_open (grn_ctx *ctx, const char *str, unsigned int str_len, grn_obj *normalizer, int flags)
grn_rc grn_string_get_original (grn_ctx *ctx, grn_obj *string, const char **original, unsigned int *length_in_bytes)
int grn_string_get_flags (grn_ctx *ctx, grn_obj *string)
grn_rc grn_string_get_normalized (grn_ctx *ctx, grn_obj *string, const char **normalized, unsigned int *length_in_bytes, unsigned int *n_characters)
grn_rc grn_string_set_normalized (grn_ctx *ctx, grn_obj *string, char *normalized, unsigned int length_in_bytes, unsigned int n_characters)
const short * grn_string_get_checks (grn_ctx *ctx, grn_obj *string)
grn_rc grn_string_set_checks (grn_ctx *ctx, grn_obj *string, short *checks)
const unsigned char * grn_string_get_types (grn_ctx *ctx, grn_obj *string)
grn_rc grn_string_set_types (grn_ctx *ctx, grn_obj *string, unsigned char *types)
grn_encoding grn_string_get_encoding (grn_ctx *ctx, grn_obj *string)
grn_rc grn_string_inspect (grn_ctx *ctx, grn_obj *buffer, grn_obj *string)
grn_rc grn_string_close (grn_ctx *ctx, grn_obj *string)

Function Documentation

grn_rc grn_string_close ( grn_ctx ctx,
grn_obj string 
)

Definition at line 392 of file string.c.

Here is the caller graph for this function:

const short* grn_string_get_checks ( grn_ctx ctx,
grn_obj string 
)

Definition at line 267 of file string.c.

Here is the caller graph for this function:

grn_encoding grn_string_get_encoding ( grn_ctx ctx,
grn_obj string 
)

Definition at line 327 of file string.c.

Here is the caller graph for this function:

int grn_string_get_flags ( grn_ctx ctx,
grn_obj string 
)

Definition at line 213 of file string.c.

grn_rc grn_string_get_normalized ( grn_ctx ctx,
grn_obj string,
const char **  normalized,
unsigned int *  length_in_bytes,
unsigned int *  n_characters 
)

Definition at line 225 of file string.c.

Here is the caller graph for this function:

grn_rc grn_string_get_original ( grn_ctx ctx,
grn_obj string,
const char **  original,
unsigned int *  length_in_bytes 
)

Definition at line 193 of file string.c.

Here is the caller graph for this function:

const unsigned char* grn_string_get_types ( grn_ctx ctx,
grn_obj string 
)

Definition at line 297 of file string.c.

grn_rc grn_string_inspect ( grn_ctx ctx,
grn_obj buffer,
grn_obj string 
)

Definition at line 339 of file string.c.

Here is the call graph for this function:

Here is the caller graph for this function:

grn_obj* grn_string_open ( grn_ctx ctx,
const char *  str,
unsigned int  str_len,
grn_obj normalizer,
int  flags 
)

Definition at line 186 of file string.c.

Here is the call graph for this function:

Here is the caller graph for this function:

grn_obj* grn_string_open_ ( grn_ctx ctx,
const char *  str,
unsigned int  str_len,
grn_obj normalizer,
int  flags,
grn_encoding  encoding 
)

Definition at line 132 of file string.c.

Here is the call graph for this function:

Here is the caller graph for this function:

grn_rc grn_string_set_checks ( grn_ctx ctx,
grn_obj string,
short *  checks 
)

Definition at line 281 of file string.c.

grn_rc grn_string_set_normalized ( grn_ctx ctx,
grn_obj string,
char *  normalized,
unsigned int  length_in_bytes,
unsigned int  n_characters 
)

Definition at line 247 of file string.c.

grn_rc grn_string_set_types ( grn_ctx ctx,
grn_obj string,
unsigned char *  types 
)

Definition at line 311 of file string.c.