Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/AliOS-Things-master/components/mbedtls/library/
A Dasn1parse.c75 *len = ( (size_t)(*p)[1] << 8 ) | (*p)[2]; in mbedtls_asn1_get_len()
84 ( (size_t)(*p)[2] << 8 ) | (*p)[3]; in mbedtls_asn1_get_len()
118 (*p)++; in mbedtls_asn1_get_tag()
137 (*p)++; in mbedtls_asn1_get_bool()
179 *p += len; in mbedtls_asn1_get_mpi()
203 (*p)++; in mbedtls_asn1_get_bitstring()
206 bs->p = *p; in mbedtls_asn1_get_bitstring()
262 buf->p = *p; in mbedtls_asn1_get_sequence_of()
307 alg->p = *p; in mbedtls_asn1_get_alg()
317 (*p)++; in mbedtls_asn1_get_alg()
[all …]
A Dasn1write.c59 *--(*p) = 0x81; in mbedtls_asn1_write_len()
70 *--(*p) = 0x82; in mbedtls_asn1_write_len()
111 *--(*p) = tag; in mbedtls_asn1_write_tag()
121 if( *p < start || (size_t)( *p - start ) < size ) in mbedtls_asn1_write_raw_buffer()
125 (*p) -= len; in mbedtls_asn1_write_raw_buffer()
141 if( *p < start || (size_t)( *p - start ) < len ) in mbedtls_asn1_write_mpi()
144 (*p) -= len; in mbedtls_asn1_write_mpi()
243 *--(*p) = val; in mbedtls_asn1_write_int()
303 if( *p < start || (size_t)( *p - start ) < size + 1 ) in mbedtls_asn1_write_bitstring()
307 (*p) -= size; in mbedtls_asn1_write_bitstring()
[all …]
A Dx509.c95 serial->p = *p; in mbedtls_x509_get_serial()
155 p = (unsigned char *) alg->p; in x509_get_hash_alg()
168 md_oid.p = p; in x509_get_hash_alg()
221 p = (unsigned char *) params->p; in mbedtls_x509_get_rsassa_pss_params()
367 oid->p = *p; in x509_get_attr_type_value()
387 val->p = *p; in x509_get_attr_type_value()
477 if( ( **p < '0') || ( **p > '9' ) ) in x509_parse_int()
610 (*p)++; in mbedtls_x509_get_time()
636 sig->p = *p; in mbedtls_x509_get_sig()
710 ext->p = *p; in mbedtls_x509_get_ext()
[all …]
A Dx509_crl.c143 *p += len; in x509_get_crl_ext()
159 *p += len; in x509_get_crl_ext()
192 ext->p = *p; in x509_get_crl_entry_ext()
221 *p += len; in x509_get_crl_entry_ext()
268 cur_entry->raw.p = *p; in x509_get_entries()
351 crl->raw.p = p; in mbedtls_x509_crl_parse_der()
379 crl->tbs.p = p; in mbedtls_x509_crl_parse_der()
423 crl->issuer_raw.p = p; in mbedtls_x509_crl_parse_der()
438 crl->issuer_raw.len = p - crl->issuer_raw.p; in mbedtls_x509_crl_parse_der()
635 char *p; in mbedtls_x509_crl_info() local
[all …]
/AliOS-Things-master/components/freetype/src/psaux/
A Dpsconv.c107 if ( *p == '-' || *p == '+' ) in PS_Conv_Strtol()
119 for ( ; p < limit; p++ ) in PS_Conv_Strtol()
124 if ( IS_PS_SPACE( *p ) || *p OP 0x80 ) in PS_Conv_Strtol()
174 if ( p < limit && *p == '#' ) in PS_Conv_ToInt()
211 if ( *p == '-' || *p == '+' ) in PS_Conv_ToFixed()
236 if ( p < limit && *p == '.' ) in PS_Conv_ToFixed()
240 for ( ; p < limit; p++ ) in PS_Conv_ToFixed()
245 if ( IS_PS_SPACE( *p ) || *p OP 0x80 ) in PS_Conv_ToFixed()
266 if ( p + 1 < limit && ( *p == 'e' || *p == 'E' ) ) in PS_Conv_ToFixed()
370 for ( p = *cursor; r < n && p < limit; p++ )
[all …]
/AliOS-Things-master/components/py_engine/tests/pyb/
A Dpin.py4 print(p)
5 print(p.name())
6 print(p.pin())
12 print(p)
15 p.init(p.IN, p.PULL_DOWN)
16 p.init(p.IN, pull=p.PULL_DOWN)
17 p.init(mode=p.IN, pull=p.PULL_DOWN)
18 print(p)
21 p.init(p.OUT_PP)
22 p.low()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dquant_levels_dec_utils.c98 p->top_ = p->cur_; in VFilter()
100 if (p->cur_ == p->end_) p->cur_ = p->start_; // roll-over in VFilter()
103 if (p->row_ >= 0 && p->row_ < p->height_ - 1) { in VFilter()
104 p->src_ += p->stride_; in VFilter()
192 if (v < p->min_) p->min_ = v; in CountLevels()
199 p->min_level_dist_ = p->max_ - p->min_; in CountLevels()
230 p->cur_ = p->start_; in InitParams()
231 p->end_ = p->start_ + R * width; in InitParams()
232 p->top_ = p->end_ - width; in InitParams()
275 memset(&p, 0, sizeof(p)); in WebPDequantizeLevels()
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_circ.h22 #define LV_CIRC_OCT1_X(p) (p.x) argument
23 #define LV_CIRC_OCT1_Y(p) (p.y) argument
24 #define LV_CIRC_OCT2_X(p) (p.y) argument
25 #define LV_CIRC_OCT2_Y(p) (p.x) argument
26 #define LV_CIRC_OCT3_X(p) (-p.y) argument
27 #define LV_CIRC_OCT3_Y(p) (p.x) argument
28 #define LV_CIRC_OCT4_X(p) (-p.x) argument
29 #define LV_CIRC_OCT4_Y(p) (p.y) argument
30 #define LV_CIRC_OCT5_X(p) (-p.x) argument
31 #define LV_CIRC_OCT5_Y(p) (-p.y) argument
[all …]
/AliOS-Things-master/components/freetype/src/type1/
A Dt1parse.h79 #define T1_Add_Table( p, i, o, l ) (p)->funcs.add( (p), i, o, l ) argument
84 (p)->funcs.done( p ); \
90 (p)->funcs.release( p ); \
94 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root ) argument
95 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root ) argument
97 #define T1_ToInt( p ) (p)->root.funcs.to_int( &(p)->root ) argument
98 #define T1_ToFixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t ) argument
101 (p)->root.funcs.to_coord_array( &(p)->root, m, c )
103 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t )
105 (p)->root.funcs.to_token( &(p)->root, t )
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Dpbuf.c352 ((u8_t*)p->payload + p->len <= in pbuf_alloc_ext()
430 p->len = p->tot_len = length; in pbuf_alloc_ext()
451 p->len = p->tot_len = length; in pbuf_alloc_ext()
536 p->pbuf.len = p->pbuf.tot_len = length; in pbuf_alloced_custom()
904 p = p->next; in pbuf_clen()
944 for (p = h; p->next != NULL; p = p->next) { in pbuf_cat()
1006 q->tot_len = p->tot_len - p->len; in pbuf_dechain()
1010 p->tot_len = p->len; in pbuf_dechain()
1124 for (p = buf; len != 0 && p != NULL; p = p->next) { in pbuf_copy_partial()
1161 if ((p != NULL) && (p->next != NULL)) { in pbuf_split_64k()
[all …]
/AliOS-Things-master/components/freetype/src/otvalid/
A Dotvcommn.c45 FT_Bytes p = table; in otv_Coverage_validate() local
136 FT_Bytes p = table; in otv_Coverage_get_first() local
148 FT_Bytes p = table; in otv_Coverage_get_last() local
224 FT_Bytes p = table; in otv_ClassDef_validate() local
310 FT_Bytes p = table; in otv_Device_validate() local
386 FT_Bytes p = table; in otv_LookupList_validate() local
430 FT_Bytes p = table; in otv_Feature_validate() local
1061 p = table; in otv_GSUBGPOS_have_MarkAttachmentType_flag()
1072 oldp = p; in otv_GSUBGPOS_have_MarkAttachmentType_flag()
1075 p = lookup + 2; in otv_GSUBGPOS_have_MarkAttachmentType_flag()
[all …]
/AliOS-Things-master/components/SDL2/src/stdlib/
A DSDL_iconv.c278 if (p[0] == 0xFF && p[1] == 0xFE) { in SDL_iconv()
281 } else if (p[0] == 0xFE && p[1] == 0xFF) { in SDL_iconv()
300 if (p[0] == 0xFF && p[1] == 0xFE && in SDL_iconv()
301 p[2] == 0x00 && p[3] == 0x00) { in SDL_iconv()
304 } else if (p[0] == 0x00 && p[1] == 0x00 && in SDL_iconv()
305 p[2] == 0xFE && p[3] == 0xFF) { in SDL_iconv()
484 W1 = ((Uint16) p[0] << 8) | (Uint16) p[1]; in SDL_iconv()
502 W2 = ((Uint16) p[0] << 8) | (Uint16) p[1]; in SDL_iconv()
523 W1 = ((Uint16) p[1] << 8) | (Uint16) p[0]; in SDL_iconv()
586 ((Uint32) p[2] << 8) | (Uint32) p[3]; in SDL_iconv()
[all …]
/AliOS-Things-master/components/freetype/src/cid/
A Dcidparse.h95 #define cid_parser_skip_spaces( p ) \ argument
96 (p)->root.funcs.skip_spaces( &(p)->root )
98 (p)->root.funcs.skip_PS_token( &(p)->root )
100 #define cid_parser_to_int( p ) (p)->root.funcs.to_int( &(p)->root ) argument
101 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t ) argument
104 (p)->root.funcs.to_coord_array( &(p)->root, m, c )
106 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t )
108 (p)->root.funcs.to_token( &(p)->root, t )
110 (p)->root.funcs.to_token_array( &(p)->root, t, m, c )
113 (p)->root.funcs.load_field( &(p)->root, f, o, 0, 0 )
[all …]
/AliOS-Things-master/components/cli/src/iobox/
A Dpath_helper.c39 if (p[0] != '/') { in get_realpath()
58 while (*p != '\0') { in get_realpath()
60 p++; in get_realpath()
61 if (*p == '\0') in get_realpath()
64 if (*p == '.') { in get_realpath()
65 p++; in get_realpath()
72 if ((*(p + 1) != '/') && (*(p + 1) != '\0')) { in get_realpath()
93 if (*p == '/' || *p == '\0') { in get_realpath()
104 p++; in get_realpath()
109 if (*p == '.') in get_realpath()
[all …]
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_opengl.c211 for (p = _this->gl_data->firstgl; p; p = p->next) in DirectFB_GL_MakeCurrent()
214 SDL_DFB_CHECKERR(p->context->Unlock(p->context)); in DirectFB_GL_MakeCurrent()
255 for (p = _this->gl_data->firstgl; p != NULL; p = p->next) in DirectFB_GL_SwapWindow()
256 if (p->sdl_window == window && p->is_locked) in DirectFB_GL_SwapWindow()
258 SDL_DFB_CHECKERR(p->context->Unlock(p->context)); in DirectFB_GL_SwapWindow()
278 for (p = _this->gl_data->firstgl; p && p->next != ctx; p = p->next) in DirectFB_GL_DeleteContext()
280 if (p) in DirectFB_GL_DeleteContext()
293 for (p = _this->gl_data->firstgl; p != NULL; p = p->next) in DirectFB_GL_FreeWindowContexts()
307 for (p = _this->gl_data->firstgl; p != NULL; p = p->next) in DirectFB_GL_ReAllocWindowContexts()
314 SDL_DFB_CHECK(p->context->Lock(p->context)); in DirectFB_GL_ReAllocWindowContexts()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Ddec_mips32.c31 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter2()
41 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter4()
54 const int p2 = p[-3 * step], p1 = p[-2 * step], p0 = p[-step]; in do_filter6()
55 const int q0 = p[0], q1 = p[step], q2 = p[2 * step]; in do_filter6()
70 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in hev()
75 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in needs_filter()
81 const int p3 = p[-4 * step], p2 = p[-3 * step]; in needs_filter2()
82 const int p1 = p[-2 * step], p0 = p[-step]; in needs_filter2()
83 const int q0 = p[0], q1 = p[step], q2 = p[2 * step], q3 = p[3 * step]; in needs_filter2()
174 p += 4; in HFilter16i()
[all …]
/AliOS-Things-master/components/freetype/src/bdf/
A Dbdflib.c1262 if ( p && p->format != BDF_ATOM ) in _bdf_is_atom()
1863 p->maxrb = (short)FT_MAX( p->rbearing, p->maxrb ); in _bdf_parse_glyphs()
2179 p->cnt = p->font->props_size = _bdf_atoul( p->list.field[1], 0, 10 ); in _bdf_parse_start()
2407 if ( p->cnt != p->font->glyphs_used + p->font->unencoded_used ) in bdf_load_font()
2419 if ( p->maxrb - p->minlb != p->font->bbx.width ) in bdf_load_font()
2422 p->font->bbx.width, p->maxrb - p->minlb )); in bdf_load_font()
2423 p->font->bbx.width = (unsigned short)( p->maxrb - p->minlb ); in bdf_load_font()
2439 p->font->bbx.ascent = p->maxas; in bdf_load_font()
2452 if ( p->maxas + p->maxds != p->font->bbx.height ) in bdf_load_font()
2455 p->font->bbx.height, p->maxas + p->maxds )); in bdf_load_font()
[all …]
/AliOS-Things-master/components/freetype/src/gxvalid/
A Dgxvjust.c89 FT_Bytes p = table; in gxv_just_wdp_entry_validate() local
132 FT_Bytes p = table; in gxv_just_wdc_entry_validate() local
181 FT_Bytes p = table; in gxv_just_actSubrecord_type0_validate() local
199 p += 2; in gxv_just_actSubrecord_type0_validate()
229 FT_Bytes p = table; in gxv_just_actSubrecord_type1_validate() local
247 FT_Bytes p = table; in gxv_just_actSubrecord_type2_validate() local
259 p += 4; in gxv_just_actSubrecord_type2_validate()
278 FT_Bytes p = table; in gxv_just_actSubrecord_type4_validate() local
382 FT_Bytes p = table; in gxv_just_pcActionRecord_validate() local
422 FT_Bytes p = table; in gxv_just_pcLookupTable_validate() local
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dpppol2tp.c176 pbuf_free(p); in pppol2tp_write()
181 pbuf_cat(ph, p); in pppol2tp_write()
479 pbuf_free(p); in pppol2tp_input()
507 p = ppp_singlebuf(p); in pppol2tp_dispatch_control_packet()
782 u8_t *p; in pppol2tp_send_sccrq() local
877 u8_t *p; in pppol2tp_send_scccn() local
928 u8_t *p; in pppol2tp_send_icrq() local
977 u8_t *p; in pppol2tp_send_iccn() local
1024 u8_t *p; in pppol2tp_send_zlb() local
1053 u8_t *p; in pppol2tp_send_stopccn() local
[all …]
A Dccp.c798 p[2] = p[2 - CILEN_DEFLATE]; in ccp_addci()
944 && p[0] == CI_MPPE && p[1] == CILEN_MPPE) { in ccp_nakci()
1130 if (len < 2 || p[1] < 2 || p[1] > len) { in ccp_reqci()
1403 ppp_slprintf(p, q - p, "MPPE "); in method_name()
1406 ppp_slprintf(p, q - p, "128-bit "); in method_name()
1410 ppp_slprintf(p, q - p, "40-bit "); in method_name()
1414 ppp_slprintf(p, q - p, "stateful"); in method_name()
1416 ppp_slprintf(p, q - p, "stateless"); in method_name()
1532 len = (p[2] << 8) + p[3]; in ccp_printpkt()
1575 p[2], p[3], p[4], p[5]); in ccp_printpkt()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dio_dec.c102 memcpy(p->tmp_y, cur_y, mb_w * sizeof(*p->tmp_y)); in EmitFancyRGB()
103 memcpy(p->tmp_u, cur_u, uv_w * sizeof(*p->tmp_u)); in EmitFancyRGB()
104 memcpy(p->tmp_v, cur_v, uv_w * sizeof(*p->tmp_v)); in EmitFancyRGB()
366 assert(p->scaler_u->y_accum == p->scaler_v->y_accum); in ExportRGB()
370 convert(p->scaler_y->dst, p->scaler_u->dst, p->scaler_v->dst, in ExportRGB()
399 num_lines_out += ExportRGB(p, p->last_y + num_lines_out); in EmitRescaledRGB()
586 p->tmp_y = (uint8_t*)p->memory; in CustomSetup()
587 p->tmp_u = p->tmp_y + io->mb_w; in CustomSetup()
588 p->tmp_v = p->tmp_u + uv_width; in CustomSetup()
623 num_lines_out = p->emit(io, p); in CustomPut()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/src/
A Dhci_process.c36 uint8_t *p; in hci_tp_read_local_ver() local
44 p = p_cmd; in hci_tp_read_local_ver()
82 uint8_t *p; in hci_tp_read_rom_ver() local
89 p = p_cmd; in hci_tp_read_rom_ver()
128 uint8_t *p; in hci_tp_read_thermal() local
263 uint8_t *p; in hci_tp_download_patch() local
353 uint8_t *p; in hci_tp_set_controller_baudrate() local
415 uint8_t *p; in hci_tp_rf_radio_ver() local
509 uint8_t *p; in hci_tp_write_efuse_iqk() local
522 p+=19; in hci_tp_write_efuse_iqk()
[all …]
/AliOS-Things-master/components/freetype/src/pshinter/
A Dpshalgo.h124 #define psh_point_is_smooth( p ) ( (p)->flags & PSH_POINT_SMOOTH ) argument
125 #define psh_point_is_off( p ) ( (p)->flags & PSH_POINT_OFF ) argument
126 #define psh_point_is_inflex( p ) ( (p)->flags & PSH_POINT_INFLEX ) argument
128 #define psh_point_set_smooth( p ) (p)->flags |= PSH_POINT_SMOOTH argument
129 #define psh_point_set_off( p ) (p)->flags |= PSH_POINT_OFF argument
130 #define psh_point_set_inflex( p ) (p)->flags |= PSH_POINT_INFLEX argument
144 #define psh_point_is_strong( p ) ( (p)->flags2 & PSH_POINT_STRONG ) argument
145 #define psh_point_is_fitted( p ) ( (p)->flags2 & PSH_POINT_FITTED ) argument
152 #define psh_point_set_strong( p ) (p)->flags2 |= PSH_POINT_STRONG argument
153 #define psh_point_set_fitted( p ) (p)->flags2 |= PSH_POINT_FITTED argument
[all …]
/AliOS-Things-master/components/freetype/src/psnames/
A Dpstables.h4088 count = p[1]; in ft_get_adobe_glyph_index()
4089 p += 2; in ft_get_adobe_glyph_index()
4106 p = q; in ft_get_adobe_glyph_index()
4125 return (unsigned long)( ( (int)p[2] << 8 ) | p[3] ); in ft_get_adobe_glyph_index()
4130 if ( p[0] & 128 ) in ft_get_adobe_glyph_index()
4132 p++; in ft_get_adobe_glyph_index()
4139 p++; in ft_get_adobe_glyph_index()
4142 p += 2; in ft_get_adobe_glyph_index()
4144 p++; in ft_get_adobe_glyph_index()
4148 int offset = ( (int)p[0] << 8 ) | p[1]; in ft_get_adobe_glyph_index()
[all …]
/AliOS-Things-master/components/freetype/src/sfnt/
A Dttkern.c49 FT_Byte* p; in tt_face_load_kern() local
96 p_next = p; in tt_face_load_kern()
116 p += 6; in tt_face_load_kern()
134 p += 2; in tt_face_load_kern()
145 p += 2; in tt_face_load_kern()
154 p = p_next; in tt_face_load_kern()
191 p += 4; in tt_face_get_kerning()
217 if ( p + 8 > next ) in tt_face_get_kerning()
221 p += 6; in tt_face_get_kerning()
274 p += 2; in tt_face_get_kerning()
[all …]

Completed in 100 milliseconds

12345678910>>...42