#include <stdlib.h>#include <string.h>#include <ctype.h>#include <limits.h>#include "mode.h"#include "ichimain.h"#include "ichimake.h"#include "ichi_io.h"#include "bcf_s.h"
 Include dependency graph for ichiprt2.c:Macros | |
| #define | INIT_MIN_NUM_H (-4) | 
| #define | INIT_MAX_NUM_H 16 | 
| #define | INIT_LEN_NUM_H (INIT_MAX_NUM_H - INIT_MIN_NUM_H + 1) | 
| #define | ALPHA_MINUS '-' | 
| #define | ALPHA_ZERO_VAL '.' | 
| #define | ALPHA_ONE 'a' | 
| #define | ALPHA_ZERO '@' | 
| #define | __MYTOLOWER(c) ( ((c) >= 'A') && ((c) <= 'Z') ? ((c) - 'A' + 'a') : (c) ) | 
| #define | DECIMAL_BASE 10 | 
| #define | DECIMAL_MINUS '-' | 
| #define | DECIMAL_ZERO_VAL '0' | 
| #define | DECIMAL_ONE '1' | 
| #define | DECIMAL_ZERO '0' | 
Functions | |
| int | Eql_INChI_Stereo (INChI_Stereo *s1, int eql1, INChI_Stereo *s2, int eql2, int bRelRac) | 
| int | Eql_INChI_Isotopic (INChI *i1, INChI *i2) | 
| int | Eql_INChI_Aux_Equ (INChI_Aux *a1, int eql1, INChI_Aux *a2, int eql2) | 
| int | Eql_INChI_Aux_Num (INChI_Aux *a1, int eql1, INChI_Aux *a2, int eql2) | 
| int | bHasOrigInfo (ORIG_INFO *OrigInfo, int num_atoms) | 
| int | EqlOrigInfo (INChI_Aux *a1, INChI_Aux *a2) | 
| int | bHasEquString (AT_NUMB *LinearCT, int nLenCT) | 
| int | MakeMult (int mult, const char *szTailingDelim, INCHI_IOS_STRING *buf, int nCtMode, int *bOverflow) | 
| int | MakeDelim (const char *szTailingDelim, INCHI_IOS_STRING *buf, int *bOverflow) | 
| int | MakeEqStr (const char *szTailingDelim, int mult, INCHI_IOS_STRING *buf, int *bOverflow) | 
| int | MakeCtStringNew (CANON_GLOBALS *pCG, AT_NUMB *LinearCT, int nLenCT, int bAddDelim, S_CHAR *nNum_H, int num_atoms, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeCtStringOld (AT_NUMB *LinearCT, int nLenCT, int bAddDelim, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeHString (int bAddDelim, S_CHAR *LinearCT, int nLenCT, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeCtString (CANON_GLOBALS *pCG, AT_NUMB *LinearCT, int nLenCT, int bAddDelim, S_CHAR *nNum_H, int num_atoms, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeTautString (AT_NUMB *LinearCT, int nLenCT, int bAddDelim, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeCRVString (ORIG_INFO *OrigInfo, int nLenCT, int bAddDelim, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeEquString (AT_NUMB *LinearCT, int nLenCT, int bAddDelim, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeIsoAtomString (INChI_IsotopicAtom *IsotopicAtom, int nNumberOfIsotopicAtoms, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeIsoTautString (INChI_IsotopicTGroup *IsotopicTGroup, int nNumberOfIsotopicTGroups, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeIsoHString (int num_iso_H[], INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeStereoString (AT_NUMB *at1, AT_NUMB *at2, S_CHAR *parity, int bAddDelim, int nLenCT, INCHI_IOS_STRING *strbuf, int nCtMode, int *bOverflow) | 
| int | MakeAbcNumber (char *szString, int nStringLen, const char *szLeadingDelim, int nValue) | 
| static long | abctol (const char *szString, char **q) | 
| long | inchi_strtol (const char *str, const char **p, int base) | 
| Convert string to long integer.   | |
| double | inchi_strtod (const char *str, const char **p) | 
| Convert string to double.   | |
| int | MakeDecNumber (char *szString, int nStringLen, const char *szLeadingDelim, int nValue) | 
| void | print_sequence_of_nums_compressing_ranges (int n, int *num, INCHI_IOS_STRING *strbuf) | 
| #define __MYTOLOWER | ( | c | ) | ( ((c) >= 'A') && ((c) <= 'Z') ? ((c) - 'A' + 'a') : (c) ) | 
| #define ALPHA_MINUS '-' | 
| #define ALPHA_ONE 'a' | 
| #define ALPHA_ZERO '@' | 
| #define ALPHA_ZERO_VAL '.' | 
| #define DECIMAL_BASE 10 | 
| #define DECIMAL_MINUS '-' | 
| #define DECIMAL_ONE '1' | 
| #define DECIMAL_ZERO '0' | 
| #define DECIMAL_ZERO_VAL '0' | 
| #define INIT_LEN_NUM_H (INIT_MAX_NUM_H - INIT_MIN_NUM_H + 1) | 
| #define INIT_MAX_NUM_H 16 | 
| #define INIT_MIN_NUM_H (-4) | 
      
  | 
  static | 
 Here is the caller graph for this function:| int bHasEquString | ( | AT_NUMB * | LinearCT, | 
| int | nLenCT | ||
| ) | 
 Here is the caller graph for this function:| int bHasOrigInfo | ( | ORIG_INFO * | OrigInfo, | 
| int | num_atoms | ||
| ) | 
 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 caller graph for this function:| int Eql_INChI_Stereo | ( | INChI_Stereo * | s1, | 
| int | eql1, | ||
| INChI_Stereo * | s2, | ||
| int | eql2, | ||
| int | bRelRac | ||
| ) | 
 Here is the caller graph for this function:
 Here is the call graph for this function:
 Here is the caller graph for this function:| double inchi_strtod | ( | const char * | str, | 
| const char ** | p | ||
| ) | 
Convert string to double.
| str | Pointer to the input string | 
| p | Pointer to the position where conversion stopped | 
 Here is the caller graph for this function:| long inchi_strtol | ( | const char * | str, | 
| const char ** | p, | ||
| int | base | ||
| ) | 
Convert string to long integer.
| str | Pointer to the input string | 
| p | Pointer to the position where conversion stopped | 
| base | Base for conversion | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeAbcNumber | ( | char * | szString, | 
| int | nStringLen, | ||
| const char * | szLeadingDelim, | ||
| int | nValue | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeCRVString | ( | ORIG_INFO * | OrigInfo, | 
| int | nLenCT, | ||
| int | bAddDelim, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeCtString | ( | CANON_GLOBALS * | pCG, | 
| AT_NUMB * | LinearCT, | ||
| int | nLenCT, | ||
| int | bAddDelim, | ||
| S_CHAR * | nNum_H, | ||
| int | num_atoms, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeCtStringNew | ( | CANON_GLOBALS * | pCG, | 
| AT_NUMB * | LinearCT, | ||
| int | nLenCT, | ||
| int | bAddDelim, | ||
| S_CHAR * | nNum_H, | ||
| int | num_atoms, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeCtStringOld | ( | AT_NUMB * | LinearCT, | 
| int | nLenCT, | ||
| int | bAddDelim, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeDecNumber | ( | char * | szString, | 
| int | nStringLen, | ||
| const char * | szLeadingDelim, | ||
| int | nValue | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeDelim | ( | const char * | szTailingDelim, | 
| INCHI_IOS_STRING * | buf, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeEqStr | ( | const char * | szTailingDelim, | 
| int | mult, | ||
| INCHI_IOS_STRING * | buf, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeEquString | ( | AT_NUMB * | LinearCT, | 
| int | nLenCT, | ||
| int | bAddDelim, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeHString | ( | int | bAddDelim, | 
| S_CHAR * | LinearCT, | ||
| int | nLenCT, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeIsoAtomString | ( | INChI_IsotopicAtom * | IsotopicAtom, | 
| int | nNumberOfIsotopicAtoms, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeIsoHString | ( | int | num_iso_H[], | 
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeIsoTautString | ( | INChI_IsotopicTGroup * | IsotopicTGroup, | 
| int | nNumberOfIsotopicTGroups, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeMult | ( | int | mult, | 
| const char * | szTailingDelim, | ||
| INCHI_IOS_STRING * | buf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeStereoString | ( | AT_NUMB * | at1, | 
| AT_NUMB * | at2, | ||
| S_CHAR * | parity, | ||
| int | bAddDelim, | ||
| int | nLenCT, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| int MakeTautString | ( | AT_NUMB * | LinearCT, | 
| int | nLenCT, | ||
| int | bAddDelim, | ||
| INCHI_IOS_STRING * | strbuf, | ||
| int | nCtMode, | ||
| int * | bOverflow | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function:| void print_sequence_of_nums_compressing_ranges | ( | int | n, | 
| int * | num, | ||
| INCHI_IOS_STRING * | strbuf | ||
| ) | 
 Here is the call graph for this function:
 Here is the caller graph for this function: