Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/ntp/libjsmn/example/
H A Dsimple.c10 const char *JSON_STRING = variable
29 r = jsmn_parse(&p, JSON_STRING, strlen(JSON_STRING), t, sizeof(t)/sizeof(t[0])); in main()
43 if (jsoneq(JSON_STRING, &t[i], "user") == 0) { in main()
46 JSON_STRING + t[i+1].start); in main()
48 } else if (jsoneq(JSON_STRING, &t[i], "admin") == 0) { in main()
51 JSON_STRING + t[i+1].start); in main()
53 } else if (jsoneq(JSON_STRING, &t[i], "uid") == 0) { in main()
56 JSON_STRING + t[i+1].start); in main()
58 } else if (jsoneq(JSON_STRING, &t[i], "groups") == 0) { in main()
66 printf(" * %.*s\n", g->end - g->start, JSON_STRING + g->start); in main()
[all …]
/freebsd-12.1/contrib/wpa/src/utils/
H A 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()
H A Djson.h17 JSON_STRING, enumerator
/freebsd-12.1/contrib/wpa/src/common/
H A Ddpp.c5055 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
5062 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
5075 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
5122 if (!token || token->type != JSON_STRING) { in dpp_parse_jws_prot_hdr()
5190 if (pass && pass->type == JSON_STRING) { in dpp_parse_cred_legacy()
5410 if (!id || id->type != JSON_STRING) { in dpp_parse_connector()
5416 if (!role || role->type != JSON_STRING) { in dpp_parse_connector()
6314 if (!id || id->type != JSON_STRING) in dpp_connector_compatible_group()
6318 if (!role || role->type != JSON_STRING) in dpp_connector_compatible_group()
6349 if (!id || id->type != JSON_STRING) { in dpp_connector_match_groups()
[all …]
/freebsd-12.1/contrib/sqlite3/
H A Dsqlite3.c184681 #define JSON_STRING 5
185016 case JSON_STRING: {
185175 case JSON_STRING: {
185367 if( pNode->eType!=JSON_STRING ) return -1;
185431 jsonParseAddNode(pParse, JSON_STRING, j+1-i, &z[i]);
185726 iLabel = jsonParseAddNode(pParse, JSON_STRING, nKey, zKey);
185952 assert( x.aNode[i].eType==JSON_STRING );
186142 assert( pPatch[i].eType==JSON_STRING );
186148 assert( pTarget[j].eType==JSON_STRING );
186170 jsonParseAddNode(pParse, JSON_STRING, nKey, zKey);
[all …]