/AliOS-Things-master/components/jsoncpp/src/lib_json/ |
A D | json_reader.cpp | 131 Token token; in parse() local 144 token); in parse() 159 Token token; in readValue() local 602 String buffer(token.start_, token.end_); in decodeDouble() 606 "'" + String(token.start_, token.end_) + "' is not a number.", token); in decodeDouble() 826 Token token; in pushError() local 844 Token token; in pushError() local 1026 Token token; in parse() local 1054 Token token; in readValue() local 1648 const String buffer(token.start_, token.end_); in decodeDouble() [all …]
|
/AliOS-Things-master/components/jsoncpp/include/json/ |
A D | reader.h | 192 bool readToken(Token& token); 201 bool readObject(Token& token); 202 bool readArray(Token& token); 203 bool decodeNumber(Token& token); 204 bool decodeNumber(Token& token, Value& decoded); 205 bool decodeString(Token& token); 206 bool decodeString(Token& token, String& decoded); 207 bool decodeDouble(Token& token); 208 bool decodeDouble(Token& token, Value& decoded); 215 bool addErrorAndRecover(const String& message, Token& token, [all …]
|
/AliOS-Things-master/components/oss/src/external/json/ |
A D | jsoncpp.cpp | 369 Token token; in parse() local 395 Token token; in readValue() local 843 JSONCPP_STRING buffer(token.start_, token.end_); in decodeDouble() 953 token, in decodeUnicodeEscapeSequence() 1085 Token token; in pushError() local 1103 Token token; in pushError() local 1298 Token token; in parse() local 1327 Token token; in readValue() local 1851 ptrdiff_t const length = token.end_ - token.start_; in decodeDouble() 1873 JSONCPP_STRING buffer(token.start_, token.end_); in decodeDouble() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/iptcutil/ |
A D | iptcutil.c | 474 *token, in main() local 489 token = (char *)NULL; in main() 495 token = (char *) malloc(inputlen); in main() 537 len = strlen(token); in main() 544 *s = &token[next-1]; in main() 571 free(token); in main() 572 token = (char *)NULL; in main() 851 chstore(token,tokmax,c); in tokenizer() 904 chstore(token,tokmax,c); in tokenizer() 918 chstore(token,tokmax,nc); in tokenizer() [all …]
|
/AliOS-Things-master/components/freetype/src/psaux/ |
A D | psobjs.c | 628 token->start = 0; in ps_parser_to_token() 629 token->limit = 0; in ps_parser_to_token() 708 if ( !token->limit ) in ps_parser_to_token() 710 token->start = 0; in ps_parser_to_token() 757 *cur = token; in ps_parser_to_token_array() 1032 T1_TokenRec token; in ps_parser_load_field() local 1043 if ( !token.type ) in ps_parser_load_field() 1048 cur = token.start; in ps_parser_load_field() 1049 limit = token.limit; in ps_parser_load_field() 1303 T1_Token token; in ps_parser_load_field_table() local [all …]
|
/AliOS-Things-master/components/linkkit/dev_model/alcs/ |
A D | alcs_coap.c | 40 uint32_t token = 0; in alcs_msg_init() local 52 token = getToken(); in alcs_msg_init() 53 memcpy(&message->token, &token, 4); in alcs_msg_init() 63 CoAPLenString *token) in do_sendmsg() argument 80 if (token) { in do_sendmsg() 81 message->header.tokenlen = token->len; in do_sendmsg() 82 memcpy(&message->token, token->data, token->len); in do_sendmsg() 99 char observe, unsigned short msgid, CoAPLenString *token) in alcs_sendrsp() argument 101 return do_sendmsg(context, addr, message, observe, msgid, token); in alcs_sendrsp() 123 CoAPLenString token = { fromMsg->header.tokenlen, fromMsg->token }; in send_err_rsp() local [all …]
|
A D | alcs_server.c | 49 CoAPLenString token = { resMsg->header.tokenlen, resMsg->token }; in alcs_rec_auth_select() local 123 alcs_sendrsp(ctx, from, &msg, 1, resMsg->header.msgid, &token); in alcs_rec_auth_select() 221 CoAPLenString token; in alcs_rec_auth() local 346 token.len = resMsg->header.tokenlen; in alcs_rec_auth() 347 token.data = resMsg->token; in alcs_rec_auth() 348 alcs_sendrsp(ctx, from, &message, 1, resMsg->header.msgid, &token); in alcs_rec_auth() 481 CoAPLenString token; in send_err_rsp() local 484 token.len = request->header.tokenlen; in send_err_rsp() 485 token.data = request->token; in send_err_rsp() 741 memcpy(&msg.token, request->token, request->header.tokenlen); in alcs_rec_heart_beat() [all …]
|
A D | alcs_adapter.c | 100 memcmp(message->token, node->token, node->token_len) == 0) { in _iotx_alcs_send_list_search_and_remove() 141 transfer_msg.token = send_msg->token; in iotx_alcs_coap_adapter_send_msg_handle() 151 ALCS_free(send_msg->token); in iotx_alcs_coap_adapter_send_msg_handle() 176 transfer_msg.token = send_msg->token; in iotx_alcs_coap_adapter_send_msg_handle() 186 ALCS_free(send_msg->token); in iotx_alcs_coap_adapter_send_msg_handle() 224 ALCS_free(node->token); in _iotx_alcs_adapter_send_list_destroy() 666 alcs_send_msg->token = in iotx_alcs_send() 668 if (alcs_send_msg->token == NULL) { in iotx_alcs_send() 676 memcpy(alcs_send_msg->token, coap_msg.token, alcs_send_msg->token_len); in iotx_alcs_send() 680 ALCS_free(alcs_send_msg->token); in iotx_alcs_send() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | token_enc.c | 210 const token_t token = tokens[n]; in VP8EmitTokens() local 211 const int bit = (token >> 15) & 1; in VP8EmitTokens() 212 if (token & FIXED_PROBA_BIT) { in VP8EmitTokens() 213 VP8PutBit(bw, bit, token & 0xffu); // constant proba in VP8EmitTokens() 215 VP8PutBit(bw, bit, probas[token & 0x3fffu]); in VP8EmitTokens() 236 const token_t token = tokens[n]; in VP8EstimateTokenSize() local 237 const int bit = token & (1 << 15); in VP8EstimateTokenSize() 238 if (token & FIXED_PROBA_BIT) { in VP8EstimateTokenSize() 239 size += VP8BitCost(bit, token & 0xffu); in VP8EstimateTokenSize() 241 size += VP8BitCost(bit, probas[token & 0x3fffu]); in VP8EstimateTokenSize()
|
/AliOS-Things-master/components/amp/jslib/src/ |
A D | device.js | 14 export function setToken(token) { argument 15 if(!token) { 20 kv.setStorageSync(token_key, token);
|
/AliOS-Things-master/components/amp/libjs/lib/ |
A D | device.js | 16 function setToken(token) { argument 17 if(!token) { 22 kv.setStorageSync(token_key, token);
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/powerpc-vsx/ |
A D | linux.c | 37 char *token = NULL; in png_have_vsx() local 47 token = strstr(input,string); in png_have_vsx() 48 if(token != NULL) in png_have_vsx()
|
/AliOS-Things-master/components/linkkit/iot_coap/server/ |
A D | CoAPObserve.c | 79 memcpy(node->token, request->token, request->header.tokenlen); in CoAPObsServer_add() 97 memcpy(obs->token, request->token, request->header.tokenlen); in CoAPObsServer_add() 202 CoAPMessageToken_set(&message, node->token, node->tokenlen); in CoAPObsServer_notify() 295 0 == memcmp(node->token, message->token, node->tokenlen)) { in CoAPObsClient_add() 319 0 == memcmp(node->token, message->token, node->tokenlen)) { in CoAPObsClient_add() 329 memcpy(newnode->token, message->token, in CoAPObsClient_add() 353 0 == memcmp(node->token, message->token, node->tokenlen)) { in CoAPObsClient_add() 387 0 == memcmp(node->token, message->token, in CoAPObsClient_delete()
|
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/ |
A D | awss_main.c | 21 uint8_t token[ZC_MAX_TOKEN_LEN] = { 0 }; in __awss_start() local 31 ret = aws_get_ssid_passwd(&ssid[0], &passwd[0], &bssid[0], &token[0], NULL, in __awss_start() 37 if (token[i] != 0) { in __awss_start() 70 find_token != 0 ? token : NULL, in __awss_start()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ |
A D | def.c | 105 lwip_strnstr(const char* buffer, const char* token, size_t n) in lwip_strnstr() argument 108 int tokenlen = (int)strlen(token); in lwip_strnstr() 113 if ((*p == *token) && (strncmp(p, token, tokenlen) == 0)) { in lwip_strnstr()
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/ |
A D | passwd.c | 12 int awss_set_token(uint8_t token[RANDOM_MAX_LEN]) in awss_set_token() 14 if (token != NULL) { in awss_set_token() 15 memcpy(aes_random, token, RANDOM_MAX_LEN); in awss_set_token()
|
/AliOS-Things-master/components/linkkit/iot_coap/client/ |
A D | iotx_coap_api.c | 304 unsigned char token[8] = { 0 }; in iotx_get_well_known() local 313 len = iotx_get_coap_token(p_iotx_coap, token); in iotx_get_well_known() 314 CoAPMessageToken_set(&message, token, len); in iotx_get_well_known() 475 unsigned char token[8] = { 0 }; in IOT_CoAP_DeviceNameAuth() local 494 CoAPMessageToken_set(&message, token, len); in IOT_CoAP_DeviceNameAuth() 627 unsigned char token[8] = { 0 }; in IOT_CoAP_SendMessage() local 804 if (NULL == p_message || NULL == token) { in IOT_CoAP_GetMessageToken() 810 *token = ((unsigned int)(message->token[3]) & 0xff) << 24; in IOT_CoAP_GetMessageToken() 811 *token += ((unsigned int)(message->token[2]) & 0xff) << 16; in IOT_CoAP_GetMessageToken() 812 *token += ((unsigned int)(message->token[1]) & 0xff) << 8; in IOT_CoAP_GetMessageToken() [all …]
|
/AliOS-Things-master/components/linksdk/core/ |
A D | aiot_http_api.c | 170 char *token = NULL; in _core_http_recv_auth() local 214 if (http_handle->token != NULL) { in _core_http_recv_auth() 215 http_handle->sysdep->core_sysdep_free(http_handle->token); in _core_http_recv_auth() 216 http_handle->token = NULL; in _core_http_recv_auth() 219 if (http_handle->token == NULL) { in _core_http_recv_auth() 223 memset(http_handle->token, 0, token_len + 1); in _core_http_recv_auth() 224 memcpy(http_handle->token, token, token_len); in _core_http_recv_auth() 402 if (http_handle->token == NULL) { in aiot_http_send() 427 header_src[0] = http_handle->token; in aiot_http_send() 568 if (http_handle->token != NULL) { in aiot_http_deinit() [all …]
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_hd.c | 554 if (token != p->nv.token || in hd_map_find() 1209 for (i = token; in search_static_table() 1210 i <= NGHTTP2_TOKEN_WWW_AUTHENTICATE && static_table[i].token == token; in search_static_table() 1236 if (!exact_match && token >= 0 && token <= NGHTTP2_TOKEN_WWW_AUTHENTICATE) { in search_hd_table() 1363 if (token == NGHTTP2_TOKEN__PATH || token == NGHTTP2_TOKEN_AGE || in hd_deflate_decide_indexing() 1364 token == NGHTTP2_TOKEN_CONTENT_LENGTH || token == NGHTTP2_TOKEN_ETAG || in hd_deflate_decide_indexing() 1367 token == NGHTTP2_TOKEN_LOCATION || token == NGHTTP2_TOKEN_SET_COOKIE || in hd_deflate_decide_indexing() 1383 int32_t token; in deflate_nv() local 1393 if (token == -1) { in deflate_nv() 1450 hd_nv.token = token; in deflate_nv() [all …]
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | rpcserviceclient_ut.cc | 53 std::string token = "fake-token"; in TEST() local 55 const Credentials credentials(key, secret, token); in TEST() 101 std::string token = "fake-token"; in TEST() local 103 const Credentials credentials(key, secret, token); in TEST() 128 std::string token = "fake-token"; in TEST() local 130 const Credentials credentials(key, secret, token); in TEST()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/facebody/src/model/ |
A D | ListFaceEntitiesRequest.cc | 79 void ListFaceEntitiesRequest::setToken(const std::string& token) in setToken() argument 81 token_ = token; in setToken() 82 setBodyParameter("Token", token); in setToken()
|
/AliOS-Things-master/components/SDL2/src/video/winrt/ |
A D | SDL_winrtgamebar.cpp | 57 Windows::Foundation::EventRegistrationToken *token) = 0; 60 Windows::Foundation::EventRegistrationToken token) = 0; 64 Windows::Foundation::EventRegistrationToken *token) = 0; 67 Windows::Foundation::EventRegistrationToken token) = 0;
|
/AliOS-Things-master/components/oss/include/alibabacloud/oss/model/ |
A D | ListBucketInventoryConfigurationsRequest.h | 29 void setContinuationToken(const std::string& token) { continuationToken_ = token; } in setContinuationToken() argument
|
/AliOS-Things-master/components/linkkit/dev_model/ |
A D | iotx_cm_coap.c | 51 int IOT_CoAP_GetMessageToken(void *p_message, unsigned int *token); 228 unsigned int token; in _coap_response_default() local 252 ret = IOT_CoAP_GetMessageToken(p_message, &token); in _coap_response_default() 262 if (node->token_num == token) { in _coap_response_default() 294 uint32_t token; in _coap_publish() local 313 token = in _coap_publish() 343 node->token_num = token; in _coap_publish()
|
/AliOS-Things-master/components/freetype/include/internal/ |
A D | psaux.h | 383 T1_Token token ); 864 #define IS_PS_TOKEN( cur, limit, token ) \ argument 865 ( (char)(cur)[0] == (token)[0] && \ 866 ( (cur) + sizeof ( (token) ) == (limit) || \ 867 ( (cur) + sizeof( (token) ) < (limit) && \ 868 IS_PS_DELIM( (cur)[sizeof ( (token) ) - 1] ) ) ) && \ 869 ft_strncmp( (char*)(cur), (token), sizeof ( (token) ) - 1 ) == 0 )
|