Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 645) sorted by relevance

12345678910>>...26

/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/inc/
A Dl2cc_pdu.h319 uint8_t code; member
334 uint8_t code; member
349 uint8_t code; member
368 uint8_t code; member
383 uint8_t code; member
404 uint8_t code; member
425 uint8_t code; member
440 uint8_t code; member
584 uint8_t code; member
937 uint8_t code; member
[all …]
A Dl2cc.h51 #define L2CC_SIG_PDU_ALLOC(conidx, code, src_id, type) \ argument
52 ((struct type*) l2cc_pdu_alloc(conidx, L2C_CID_LE_SIGNALING, code, src_id, 0))
56 …(struct l2cc_pdu_send_cmd*) (((uint8_t*)_pdu) - offsetof(struct l2cc_pdu_send_cmd, pdu.data.code)))
60 …(struct l2cc_pdu_recv_ind*) (((uint8_t*)_pdu) - offsetof(struct l2cc_pdu_recv_ind, pdu.data.code)))
75 #define L2CC_SMP_PDU_ALLOC(conidx, code, src_id, type) \ argument
76 ((struct type*) l2cc_pdu_alloc(conidx, L2C_CID_SECURITY, code, src_id, 0))
91 #define L2CC_ATT_PDU_ALLOC(conidx, code, src_id, type)\ argument
92 ((struct type*) l2cc_pdu_alloc(conidx, L2C_CID_ATTRIBUTE, code, src_id, 0))
108 #define L2CC_ATT_PDU_ALLOC_DYN(conidx, code, src_id, type, length)\ argument
109 ((struct type*) l2cc_pdu_alloc(conidx, L2C_CID_ATTRIBUTE, code, src_id, length))
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/re1.5/
A Ddumpcode.c10 char *code = prog->insts; in re1_5_dumpcode() local
13 switch(code[pc++]) { in re1_5_dumpcode()
18 … printf("split %d (%d)\n", pc + (signed char)code[pc] + 1, (signed char)code[pc]); in re1_5_dumpcode()
22 … printf("rsplit %d (%d)\n", pc + (signed char)code[pc] + 1, (signed char)code[pc]); in re1_5_dumpcode()
26 … printf("jmp %d (%d)\n", pc + (signed char)code[pc] + 1, (signed char)code[pc]); in re1_5_dumpcode()
30 printf("char %c\n", code[pc++]); in re1_5_dumpcode()
37 int num = code[pc]; in re1_5_dumpcode()
38 printf("class%s %d", (code[pc - 1] == ClassNot ? "not" : ""), num); in re1_5_dumpcode()
41 printf(" 0x%02x-0x%02x", code[pc], code[pc + 1]); in re1_5_dumpcode()
48 printf("namedclass %c\n", code[pc++]); in re1_5_dumpcode()
[all …]
A Dcompilecode.c8 ((code ? memmove(code + at + num, code + at, pc - at) : 0), pc += num)
10 #define EMIT(at, byte) (code ? (code[at] = byte) : (at))
11 #define EMIT_CHECKED(at, byte) (_emit_checked(at, code, byte, &err))
14 static void _emit_checked(int at, char *code, int val, bool *err) { in _emit_checked() argument
16 if (code) { in _emit_checked()
17 code[at] = val; in _emit_checked()
23 char *code = sizecode ? NULL : prog->insts; in _compilecode() local
226 ByteProg *code = re1_5_compilecode(argv[1]);
227 re1_5_dumpcode(code);
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/doc/
A Dquickjs.texi319 modules, such as @code{std} or @code{os}.
412 Wrappers to the libc file @code{stdin}, @code{stdout}, @code{stderr}.
466 (status code). @code{response} is @code{null} is case of protocol or
615 pathname of @code{path} and @code{err} the error code.
619 and @code{err} the error code.
631 file status of @code{path}. @code{err} is the error code. The
660 Return @code{[str, err]} where @code{str} is the link target and @code{err}
765 @code{"win32"} or @code{"js"}.
802 one non @code{null} @code{onmessage} handler.
879 @code{JS_GetOpaque()}/@code{JS_SetOpaque()}.
[all …]
A Djsbignum.texi39 (@code{**}). @code{^^} is used as the exclusive or operator.
74 @table @code
125 special values @code{NaN}, @code{+/-Infinity}, @code{+0} and @code{-0}
166 @code{typeof} applied on a @code{BigFloat} returns @code{bigfloat}.
197 @table @code
276 @table @code
338 @table @code
347 @code{15}.
520 (@code{"floor"}, @code{"ceiling"}, @code{"down"}, @code{"up"},
521 @code{"half-even"}, @code{"half-up"}). Either
[all …]
/AliOS-Things-master/components/uvoice/codec/opensource/pvmp3/
A Dget_pvmp3.py84 code ='' variable
86 code = f.read() variable
87 code = code.replace('double(', '(double)(') variable
88 code = code.replace('int32(', '(int32)(') variable
89code = code.replace('huffcodetab ht[HUFF_TBL];', 'struct huffcodetab ht[HUFF_TBL];') variable
90 code = code.replace('huffcodetab *pHuff;', 'struct huffcodetab *pHuff;') variable
91 code = code.replace('__inline', 'static inline') variable
92 code = code.replace('inline int16 saturate16', 'static int16 saturate16') variable
93 code = code.replace('new_slen[4];', 'new_slen[4] = {0,0,0,0};') variable
95 f.write(code)
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djerror.h28 #define JMESSAGE(code,string) argument
36 #define JMESSAGE(code,string) code , argument
209 #define ERREXIT(cinfo,code) \ argument
210 ((cinfo)->err->msg_code = (code), \
212 #define ERREXIT1(cinfo,code,p1) \ argument
213 ((cinfo)->err->msg_code = (code), \
243 #define ERREXITS(cinfo,code,str) \ argument
251 #define WARNMS(cinfo,code) \ argument
254 #define WARNMS1(cinfo,code,p1) \ argument
258 #define WARNMS2(cinfo,code,p1,p2) \ argument
[all …]
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/
A Djerror.h28 #define JMESSAGE(code,string) argument
36 #define JMESSAGE(code,string) code , argument
209 #define ERREXIT(cinfo,code) \ argument
210 ((cinfo)->err->msg_code = (code), \
212 #define ERREXIT1(cinfo,code,p1) \ argument
213 ((cinfo)->err->msg_code = (code), \
243 #define ERREXITS(cinfo,code,str) \ argument
251 #define WARNMS(cinfo,code) \ argument
254 #define WARNMS1(cinfo,code,p1) \ argument
258 #define WARNMS2(cinfo,code,p1,p2) \ argument
[all …]
/AliOS-Things-master/components/linkkit/external/nghttp2/
A Dnghttp2_hd_huffman.c45 uint32_t code = sym->code; in huff_encode_sym() local
54 nghttp2_bufs_fast_orb(bufs, (uint8_t)code); in huff_encode_sym()
65 code <<= 8 - (nbits & 0x7); in huff_encode_sym()
92 rv = nghttp2_bufs_addb(bufs, (uint8_t)code); in huff_encode_sym()
100 rv = nghttp2_bufs_addb_hold(bufs, (uint8_t)code); in huff_encode_sym()
110 nghttp2_bufs_fast_addb_hold(bufs, (uint8_t)code); in huff_encode_sym()
117 nghttp2_bufs_fast_addb(bufs, (uint8_t)(code >> 24)); in huff_encode_sym()
122 nghttp2_bufs_fast_addb(bufs, (uint8_t)(code >> 16)); in huff_encode_sym()
127 nghttp2_bufs_fast_addb(bufs, (uint8_t)(code >> 8)); in huff_encode_sym()
132 nghttp2_bufs_fast_addb(bufs, (uint8_t)code); in huff_encode_sym()
[all …]
/AliOS-Things-master/components/oss/src/model/
A DModelError.cc21 static const char * GetArgErrorMsg(const int code) in GetArgErrorMsg() argument
114 int index = code - ARG_ERROR_START; in GetArgErrorMsg()
116 if (code < ARG_ERROR_START || index > msg_size) { in GetArgErrorMsg()
124 const char * AlibabaCloud::OSS::GetModelErrorMsg(const int code) in GetModelErrorMsg() argument
126 if (code >= ARG_ERROR_START && code <= ARG_ERROR_END) { in GetModelErrorMsg()
127 return GetArgErrorMsg(code); in GetModelErrorMsg()
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_log.c13 code_hex[1] = ((uint16_t)(-code)) & 0x000000FF; in _core_log_append_code()
100 _core_log_append_code(code, buffer); in _core_log_append_prefix()
184 g_logcb_handler(code, buffer); in core_log()
200 g_logcb_handler(code, buffer); in core_log1()
216 g_logcb_handler(code, buffer); in core_log2()
232 g_logcb_handler(code, buffer); in core_log3()
250 g_logcb_handler(code, buffer);
264 g_logcb_handler(code, "\r\n"); in core_log_hexdump()
265 _core_log_append_code(code, hexdump); in core_log_hexdump()
290 g_logcb_handler(code, hexdump); in core_log_hexdump()
[all …]
A Dcore_log.h26 void core_log(aiot_sysdep_portfile_t *sysdep, int32_t code, char *data);
27 void core_log1(aiot_sysdep_portfile_t *sysdep, int32_t code, char *fmt, void *data);
28 void core_log2(aiot_sysdep_portfile_t *sysdep, int32_t code, char *fmt, void *data1, void *data2);
29 void core_log3(aiot_sysdep_portfile_t *sysdep, int32_t code, char *fmt, void *data1, void *data2, v…
30 void core_log4(aiot_sysdep_portfile_t *sysdep, int32_t code, char *fmt, void *data1, void *data2, v…
31 void core_log_hexdump(int32_t code, char prefix, uint8_t *buffer, uint32_t len);
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dhuffman_utils.c59 table[end] = code; in ReplicateValue()
129 HuffmanCode code; in BuildHuffmanTable() local
130 code.bits = 0; in BuildHuffmanTable()
131 code.value = (uint16_t)sorted[0]; in BuildHuffmanTable()
132 ReplicateValue(table, 1, total_size, code); in BuildHuffmanTable()
155 HuffmanCode code; in BuildHuffmanTable() local
156 code.bits = (uint8_t)len; in BuildHuffmanTable()
157 code.value = (uint16_t)sorted[symbol++]; in BuildHuffmanTable()
173 HuffmanCode code; in BuildHuffmanTable() local
183 code.bits = (uint8_t)(len - root_bits); in BuildHuffmanTable()
[all …]
/AliOS-Things-master/components/freetype/src/cff/
A Dcffparse.c40 FT_UInt code, in cff_parser_init() argument
47 parser->object_code = code; in cff_parser_init()
698 #define CFF_FIELD( code, name, id, kind ) \ argument
701 code | CFFCODE, \
857 clazz[i].code = 0; in FT_Create_Class_cff_field_handlers()
907 clazz[i].code = 0; in FT_Create_Class_cff_field_handlers()
989 FT_UInt code; in cff_parser_run() local
996 code = v; in cff_parser_run()
1004 code = 0x100 | p[0]; in cff_parser_run()
1006 code = code | parser->object_code; in cff_parser_run()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dlibunicode.c175 uint32_t code, v; in get_index_pos() local
181 if (c < code) { in get_index_pos()
187 if (c >= code) in get_index_pos()
194 if (c < code) { in get_index_pos()
234 if (c < code) in lre_is_in_table()
751 code = c1; in unicode_get_cc()
1193 if (cr_add_interval(cr, code + i, code + i + 1)) in unicode_case1()
1201 if (cr_add_interval(cr, code, code + 1)) in unicode_case1()
1204 if (cr_add_interval(cr, code + 1, code + 2)) in unicode_case1()
1207 if (cr_add_interval(cr, code + 2, code + 3)) in unicode_case1()
[all …]
A Dunicode_gen.c426 int code; in parse_special_casing() local
502 int code; in parse_case_folding() local
930 int code; member
949 te->code = code; in find_run_type()
1189 for(code = 0; code <= CHARCODE_MAX; code++) { in build_conv_table()
1435 code = 0; in build_prop_table()
1477 v = code; in build_prop_table()
1787 int code; in check_case_conv() local
1789 for(code = 0; code <= CHARCODE_MAX; code++) { in check_case_conv()
2088 int code; member
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_lzw.c115 hcode_t code; member
188 #define NextCode(tif, sp, bp, code, get) get(sp, bp, code) argument
203 int code; in LZWSetupDecode() local
241 code = 255; in LZWSetupDecode()
243 sp->dec_codetab[code].value = (unsigned char)code; in LZWSetupDecode()
244 sp->dec_codetab[code].firstchar = (unsigned char)code; in LZWSetupDecode()
247 } while (code--); in LZWSetupDecode()
369 hcode_t code; in LZWDecode() local
499 if (code >= 256) { in LZWDecode()
606 int code, nbits; in LZWDecodeCompat() local
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/lib/
A DBUILD132 # Setting copts for experimental code to [], but this code should be fixed
144 # Setting copts for experimental code to [], but this code should be fixed
156 # Setting copts for experimental code to [], but this code should be fixed
168 # Setting copts for experimental code to [], but this code should be fixed
180 # Setting copts for experimental code to [], but this code should be fixed
192 # Setting copts for experimental code to [], but this code should be fixed
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dlossless_common.h99 static WEBP_INLINE void VP8LPrefixEncodeBitsNoLUT(int distance, int* const code, in VP8LPrefixEncodeBitsNoLUT() argument
104 *code = 2 * highest_bit + second_highest_bit; in VP8LPrefixEncodeBitsNoLUT()
107 static WEBP_INLINE void VP8LPrefixEncodeNoLUT(int distance, int* const code, in VP8LPrefixEncodeNoLUT() argument
114 *code = 2 * highest_bit + second_highest_bit; in VP8LPrefixEncodeNoLUT()
126 static WEBP_INLINE void VP8LPrefixEncodeBits(int distance, int* const code, in VP8LPrefixEncodeBits() argument
130 *code = prefix_code.code_; in VP8LPrefixEncodeBits()
133 VP8LPrefixEncodeBitsNoLUT(distance, code, extra_bits); in VP8LPrefixEncodeBits()
137 static WEBP_INLINE void VP8LPrefixEncode(int distance, int* const code, in VP8LPrefixEncode() argument
142 *code = prefix_code.code_; in VP8LPrefixEncode()
146 VP8LPrefixEncodeNoLUT(distance, code, extra_bits, extra_bits_value); in VP8LPrefixEncode()
/AliOS-Things-master/components/linkkit/iot_coap/CoAPPacket/
A DCoAPMessage_common.c13 ((header.code == COAP_MSG_CODE_EMPTY_MESSAGE) && \
16 #define CoAPRespMsg(header) ((header.code >= 0x40) && (header.code < 0xc0))
19 ((header.code == COAP_MSG_CODE_EMPTY_MESSAGE) && \
25 ((header.code == COAP_MSG_CODE_205_CONTENT) && \
28 #define CoAPReqMsg(header) ((1 <= header.code) && (32 > header.code))
196 int CoAPMessageCode_set(CoAPMessage *message, CoAPMessageCode code) in CoAPMessageCode_set() argument
201 message->header.code = code; in CoAPMessageCode_set()
205 int CoAPMessageCode_get(CoAPMessage *message, CoAPMessageCode *code) in CoAPMessageCode_get() argument
207 if (NULL == message || NULL == code) { in CoAPMessageCode_get()
210 *code = message->header.code; in CoAPMessageCode_get()
[all …]
/AliOS-Things-master/components/freetype/src/gzip/
A Dinfcodes.c41 } code; /* if LEN or DIST, where in tree */ member
117 c->sub.code.need = c->lbits; in inflate_codes()
118 c->sub.code.tree = c->ltree; in inflate_codes()
121 j = c->sub.code.need; in inflate_codes()
144 c->sub.code.need = e; in inflate_codes()
145 c->sub.code.tree = t + t->base; in inflate_codes()
163 c->sub.code.need = c->dbits; in inflate_codes()
164 c->sub.code.tree = c->dtree; in inflate_codes()
168 j = c->sub.code.need; in inflate_codes()
182 c->sub.code.need = e; in inflate_codes()
[all …]
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_gif.c424 int code, incode; in LWZReadByte() local
465 if (code == state->clear_code) { in LWZReadByte()
495 incode = code; in LWZReadByte()
497 if (code >= state->max_code) { in LWZReadByte()
499 code = state->oldcode; in LWZReadByte()
501 while (code >= state->clear_code) { in LWZReadByte()
503 if (code < 0 || code >= (1 << MAX_LWZ_BITS)) { in LWZReadByte()
508 if (code == state->table[0][code]) { in LWZReadByte()
512 code = state->table[0][code]; in LWZReadByte()
516 if (code < 0 || code >= (1 << MAX_LWZ_BITS)) { in LWZReadByte()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/core/api/
A Derror_reporter.cc23 int code = Report(format, args); in Report() local
25 return code; in Report()
33 int code = Report(format, args); in ReportError() local
35 return code; in ReportError()
/AliOS-Things-master/components/linkkit/iot_coap/client/
A DCloud_CoAPMessage.c13 ((header.code == COAP_MSG_CODE_EMPTY_MESSAGE) && \
17 ((header.code >= 0x40) && (header.code < 0xc0))
20 ((header.code == COAP_MSG_CODE_EMPTY_MESSAGE) && \
26 ((header.code == COAP_MSG_CODE_205_CONTENT) && \
29 #define Cloud_CoAPReqMsg(header) ((1 <= header.code) && (32 > header.code))
188 if (COAP_MSG_CODE_400_BAD_REQUEST <= message->header.code) { in Cloud_CoAPRespMessage_handle()
217 unsigned char code, msgclass, detail; in Cloud_CoAPMessage_handle() local
221 code = (unsigned char)message.header.code; in Cloud_CoAPMessage_handle()
222 msgclass = code >> 5; in Cloud_CoAPMessage_handle()
223 detail = code & 0x1F; in Cloud_CoAPMessage_handle()
[all …]

Completed in 86 milliseconds

12345678910>>...26