Home
last modified time | relevance | path

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

/nanopb-2.7.6/tests/cyclic_messages/
Dencode_cyclic_callback.c63 int textlen; in encode_dictionary() local
74 textlen = strchr(p, '\'') - p; in encode_dictionary()
75 strncpy(pair.key, p, textlen); in encode_dictionary()
76 pair.key[textlen] = 0; in encode_dictionary()
77 p += textlen + 2; in encode_dictionary()
92 textlen = strchr(p, '\'') - p; in encode_dictionary()
93 strncpy(pair.stringValue, p, textlen); in encode_dictionary()
94 pair.stringValue[textlen] = 0; in encode_dictionary()