Home
last modified time | relevance | path

Searched refs:max_chars (Results 1 – 5 of 5) sorted by relevance

/external/opencore/oscl/oscl/osclutil/src/
Doscl_string_utf8.cpp231 OSCL_EXPORT_REF int32 oscl_str_truncate_utf8(uint8 *str_buf, uint32 max_chars, uint32 max_bytes) in oscl_str_truncate_utf8() argument
235 num_valid_characters = max_chars; in oscl_str_truncate_utf8()
/external/srec/srec/crec/
Dsrec_context.c342 Interface->max_chars = num_chars + num_words_to_add * AVG_CHARS_PER_WORD; in wordmap_create()
343 …Interface->chars = (char*) CALLOC_CLR(Interface->max_chars, sizeof(char), "srec.graph.wordmap.char… in wordmap_create()
555 wmap->max_chars = (wmap->next_chars - wmap->chars); in wordmap_ceiling()
634 wmap->max_chars = (wordID) offset; in wordmap_reset()
678 if (wmap->next_chars + len >= wmap->chars + wmap->max_chars) in wordmap_add_word()
681 int i,tmp_max_chars= wmap->max_chars * FST_GROW_FACTOR; in wordmap_add_word()
683 if(tmp_max_chars - wmap->max_chars < FST_GROW_MINCHARS) in wordmap_add_word()
691 memcpy(tmp_chars,wmap->chars,wmap->max_chars * sizeof(char)); in wordmap_add_word()
697 wmap->max_chars = (wordID)tmp_max_chars; in wordmap_add_word()
716 …error: char overflow in wmap %d max %d\n", (int)(wmap->next_chars - wmap->chars), wmap->max_chars); in wordmap_add_word()
[all …]
/external/tcpdump/
Dtcpdump.c426 MakeFilename(char *buffer, char *orig_name, int cnt, int max_chars) in MakeFilename() argument
428 if (cnt == 0 && max_chars == 0) in MakeFilename()
431 sprintf(buffer, "%s%0*d", orig_name, max_chars, cnt); in MakeFilename()
/external/srec/srec/include/
Dsrec_context.h57 asr_int32_t max_chars; member
/external/srec/tools/test_g2g/
Dtest_g2g.c229 fst->olabels->max_chars, in CheckG2G()