Lines Matching refs:str

645  		if ( issame( entry->str, p, len ) ) {
654 strcpy( entry->str, p );
672 if ( issame( entry->str, p, len ) ) {
805 return mystrcmp( x->str, y->str );
857 strcpy( h->fprint[i].str, tmp2.str );
900 - fprintf( fp, "%s\n", tmp[i].str );
901 + /*fprintf( fp, "%s\t%i\n", tmp[i].str, tmp[i].rank );*/
902 + fprintf( fp, "%s\n", tmp[i].str);
1306 +int nextcharstart(const char *str, int position){
1309 + if(str[pointer] & ESCAPE_MASK){ /*if the first bit of the current char is 1*/
1311 + /*then str[pointer] is an escape character*/
1313 + char escape_char = ((str[pointer] & WEIGHT_MASK) << 1); /*and we use it to count (by bit trans…
1315 + while(escape_char & ESCAPE_MASK && str[pointer]){/*every step, we move the byte of 1 bit left,…
1320 + if(str[pointer]){ /*finally, if we are not on the \0 character, we jump to the next characte…
1327 +int charcopy(const char *str, char *dest){
1330 + if(str[pointer] & ESCAPE_MASK){ /*if the first bit of the current char is 1*/
1332 + /*then str[pointer] is an escape character*/
1334 + char escape_char = ((str[pointer] & WEIGHT_MASK) << 1); /*and we use it to count following…
1336 + while(escape_char & ESCAPE_MASK && str[pointer]){ /*every step, we move the byte of 1 bi…
1337 + dest[pointer] = str[pointer];
1342 + if(str[pointer]){
1343 + dest[pointer] = str[pointer];
1387 +extern int utfstrlen(const char* str){
1390 + while(str[pointer]) {
1391 + pointer = nextcharstart(str, pointer);
1458 +int nextcharstart(const char *str, int position);
1461 +/*Copy the char in str to dest
1466 +int charcopy(const char *str, char *dest);
1477 +* if _UTF8_ is defined, it uses escap characters and the result is not really the length of str
1483 +extern int utfstrlen(const char* str);