Home
last modified time | relevance | path

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

/external/jsmn/example/
Dsimple.c11 static const char *JSON_STRING = variable
30 r = jsmn_parse(&p, JSON_STRING, strlen(JSON_STRING), t, sizeof(t)/sizeof(t[0])); in main()
44 if (jsoneq(JSON_STRING, &t[i], "user") == 0) { in main()
47 JSON_STRING + t[i+1].start); in main()
49 } else if (jsoneq(JSON_STRING, &t[i], "admin") == 0) { in main()
52 JSON_STRING + t[i+1].start); in main()
54 } else if (jsoneq(JSON_STRING, &t[i], "uid") == 0) { in main()
57 JSON_STRING + t[i+1].start); in main()
59 } else if (jsoneq(JSON_STRING, &t[i], "groups") == 0) { in main()
67 printf(" * %.*s\n", g->end - g->start, JSON_STRING + g->start); in main()
[all …]
/external/wpa_supplicant_8/src/utils/
Djson.c305 token->type = JSON_STRING; in json_parse()
314 curr_token->type = JSON_STRING; in json_parse()
325 curr_token->type = JSON_STRING; in json_parse()
515 if (!token || token->type != JSON_STRING) in json_get_member_base64url()
538 case JSON_STRING: in json_type_str()
Djson.h17 JSON_STRING, enumerator
/external/wpa_supplicant_8/src/common/
Ddpp.c4962 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
4969 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
4982 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
5029 if (!token || token->type != JSON_STRING) { in dpp_parse_jws_prot_hdr()
5043 if (!token || token->type != JSON_STRING) { in dpp_parse_jws_prot_hdr()
5097 if (pass && pass->type == JSON_STRING) { in dpp_parse_cred_legacy()
5106 } else if (psk_hex && psk_hex->type == JSON_STRING) { in dpp_parse_cred_legacy()
5144 if (!token || token->type != JSON_STRING) { in dpp_parse_jwk()
5155 if (!token || token->type != JSON_STRING) { in dpp_parse_jwk()
5316 if (!id || id->type != JSON_STRING) { in dpp_parse_connector()
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c183711 #define JSON_STRING 5
184044 case JSON_STRING: {
184172 case JSON_STRING: {
184355 if( pNode->eType!=JSON_STRING ) return -1;
184419 jsonParseAddNode(pParse, JSON_STRING, j+1-i, &z[i]);
184684 iLabel = jsonParseAddNode(pParse, JSON_STRING, i, zPath);
184879 assert( x.aNode[i].eType==JSON_STRING );
185069 assert( pPatch[i].eType==JSON_STRING );
185075 assert( pTarget[j].eType==JSON_STRING );
185097 jsonParseAddNode(pParse, JSON_STRING, nKey, zKey);
[all …]
/external/sqlite/dist/
Dsqlite3.c183739 #define JSON_STRING 5
184072 case JSON_STRING: {
184200 case JSON_STRING: {
184383 if( pNode->eType!=JSON_STRING ) return -1;
184447 jsonParseAddNode(pParse, JSON_STRING, j+1-i, &z[i]);
184712 iLabel = jsonParseAddNode(pParse, JSON_STRING, i, zPath);
184907 assert( x.aNode[i].eType==JSON_STRING );
185097 assert( pPatch[i].eType==JSON_STRING );
185103 assert( pTarget[j].eType==JSON_STRING );
185125 jsonParseAddNode(pParse, JSON_STRING, nKey, zKey);
[all …]