Home
last modified time | relevance | path

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

/external/grpc-grpc/third_party/nanopb/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()
/external/nanopb-c/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()
/external/u-boot/scripts/kconfig/
Dkxgettext.c17 int textlen = strlen(text); in escape() local
19 if ((textlen > 0) && (text[textlen-1] == '\n')) in escape()
/external/python/cpython2/Modules/_io/
Dtextio.c1255 Py_ssize_t textlen; in textiowrapper_write() local
1274 textlen = PyUnicode_GetSize(text); in textiowrapper_write()
1344 return PyLong_FromSsize_t(textlen); in textiowrapper_write()
/external/libcups/cups/
Dppd.c2905 textlen; /* Length of text */ in ppd_read() local
3329 textlen = ppd_decode(text); in ppd_read()
3331 if (textlen > PPD_MAX_TEXT && pg->ppd_conform == PPD_CONFORM_STRICT) in ppd_read()
/external/python/cpython3/Modules/_io/
Dtextio.c1529 Py_ssize_t textlen; in _io_TextIOWrapper_write_impl() local
1544 textlen = PyUnicode_GET_LENGTH(text); in _io_TextIOWrapper_write_impl()
1622 return PyLong_FromSsize_t(textlen); in _io_TextIOWrapper_write_impl()
/external/epid-sdk/ext/argtable3/
Dargtable3.c4876 const unsigned textlen = (unsigned)strlen( text ); in arg_print_formatted() local
4878 unsigned line_end = textlen + 1; in arg_print_formatted()
4916 if ( line_end + 1 < textlen ) in arg_print_formatted()
4923 line_end = textlen; in arg_print_formatted()