Lines Matching refs:string
171 #include <string.h>
468 /* Append string. */
739 #include <string.h>
1365 #include <string.h>
2253 #include <string.h>
2972 #include <string.h>
2977 char str[1]; /* Null-terminated string data follows. */
3158 /* No '.' in the name, return the full string. */
5105 #include <string.h>
5297 /* Clear string pointer, only size matters (ptr could be non-NULL). */
5416 #include <string.h>
5627 SETTER(string, upb_string_handlerfunc*, UPB_HANDLER_STRING)
6567 * TODO(haberman): we should change this to parse it as a string field
6617 /* Generates bytecode to parse a single string or lazy submessage field. */
6632 /* Need to emit even if no handler to skip past the string. */
7700 seterr(d, "Tried to skip past end of string.");
7711 /* We aren't finished with this string yet. */
7845 seterr(d, "Unexpected EOF inside delimited string");
8042 /* The output buffer is divided into segments; a segment is a string of data
8555 * string every time, and it allocates memory for every put.
8564 #include <string.h>
8654 /* Run once to get the length of the string. */
8991 #include <string.h>
9535 * Some parts of the parser need an entire value as a contiguous string. For
9536 * example, to look up a member name in a hash table, or to turn a string into
9537 * a number, the relevant library routines need the input string to be in
9542 * contiguous string and avoid any actual copy. So we optimistically begin
9546 * 1. The string was not contiguous in the input (it spanned buffers).
9548 * 2. The string included escape sequences that need to be interpreted to get
9626 * For example, there may be some raw string data followed by an escape
9632 * 1. we want to push the captured input directly to string handlers.
9635 * processing (field name lookup, string->number conversion, etc). */
9647 * current string handlers. */
9659 /* Start a multi-part text value where we immediately push text data to a string
10027 * the input string, so we need to force a copy into a NULL-terminated buffer. */
10206 * handler frames, and string events occur in a sub-frame. */
10501 * the input string, so we need to force a copy into a NULL-terminated buffer. */
10746 * handler frames, and string events occur in a sub-frame. */
10805 * parser state machine has already decided that this is a string field
10808 * quoted string contents here. */
10862 * is invoked from end_membername(), at the end of the map entry's key string,
11531 * a string which is delimited by a final '"' can only transition into its
12405 #include <string.h>
12452 /* Convert fielddef name to JSON name and return as a string piece. */
12469 /* Convert a null-terminated const char* to a string piece. */
12478 /* ------------ JSON string printing: values, maps, arrays ------------------ */
12518 /* Write a properly escaped string chunk. The surrounding quotes are *not*
12519 * printed; this is so that the caller has the option of emitting the string
12558 /* If the string ended in a run of unescaped characters, print that last run. */
13575 WRAPPER_SETHANDLERS(stringvalue, string, putstr_nokey)
13576 WRAPPER_SETHANDLERS(bytesvalue, string, putbytes)