Home
last modified time | relevance | path

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

/freebsd-13.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-13.1/contrib/wpa/src/utils/
H A Djson.c307 token->type = JSON_STRING; in json_parse()
316 curr_token->type = JSON_STRING; in json_parse()
327 curr_token->type = JSON_STRING; in json_parse()
517 if (!token || token->type != JSON_STRING) in json_get_member_base64url()
540 if (!token || token->type != JSON_STRING) in json_get_member_base64()
562 case JSON_STRING: in json_type_str()
H A Djson.h17 JSON_STRING, enumerator
/freebsd-13.1/contrib/file/src/
H A Dis_json.c54 #define JSON_STRING 4 macro
353 t = JSON_STRING; in json_parse()
425 P(JSON_OBJECT), P(JSON_ARRAY), P(JSON_STRING), P(JSON_CONSTANT), in file_is_json()
/freebsd-13.1/contrib/wpa/src/common/
H A Ddpp.c1968 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
2008 if (token && token->type == JSON_STRING) { in dpp_conf_req_rx()
2118 if (pass && pass->type == JSON_STRING) { in dpp_parse_cred_legacy()
2334 if (!id || id->type != JSON_STRING) { in dpp_parse_connector()
2340 if (!role || role->type != JSON_STRING) { in dpp_parse_connector()
2581 (name->type != JSON_STRING || in dpp_parse_cred_dot1x()
3254 if (token && token->type == JSON_STRING && in dpp_conn_status_result_rx()
3540 if (!id || id->type != JSON_STRING) in dpp_connector_compatible_group()
3544 if (!role || role->type != JSON_STRING) in dpp_connector_compatible_group()
3577 if (!id || id->type != JSON_STRING) { in dpp_connector_match_groups()
[all …]
H A Ddpp_reconfig.c491 if (token && token->type == JSON_STRING && in dpp_reconfig_auth_req_rx()
H A Ddpp_crypto.c608 if (!token || token->type != JSON_STRING) { in dpp_parse_jws_prot_hdr()
622 if (!token || token->type != JSON_STRING) { in dpp_parse_jws_prot_hdr()
/freebsd-13.1/contrib/sqlite3/
H A Dsqlite3.c191375 #define JSON_STRING 5
191714 case JSON_STRING: {
191882 case JSON_STRING: {
192079 if( pNode->eType!=JSON_STRING ) return -1;
192144 jsonParseAddNode(pParse, JSON_STRING, j+1-i, &z[i]);
192441 iLabel = jsonParseAddNode(pParse, JSON_STRING, nKey, zKey);
192673 assert( x.aNode[i].eType==JSON_STRING );
192867 assert( pPatch[i].eType==JSON_STRING );
192874 assert( pTarget[j].eType==JSON_STRING );
192902 jsonParseAddNode(pParse, JSON_STRING, nKey, zKey);
[all …]