Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 25 of 57) sorted by relevance

123

/AliOS-Things-master/components/oss/src/encryption/
A DCipher.cc34 inline static std::string toPaddingName(CipherPadding pad) in toPaddingName() argument
37 return name[static_cast<int>(pad) - static_cast<int>(CipherPadding::NoPadding)]; in toPaddingName()
40 …SymmetricCipher(const std::string& impl, CipherAlgorithm algo, CipherMode mode, CipherPadding pad): in SymmetricCipher() argument
44 padding_(pad), in SymmetricCipher()
51 name_.append(toPaddingName(pad)); in SymmetricCipher()
117 …ymmetricCipher(const std::string& impl, CipherAlgorithm algo, CipherMode mode, CipherPadding pad) : in AsymmetricCipher() argument
121 padding_(pad) in AsymmetricCipher()
127 name_.append(toPaddingName(pad)); in AsymmetricCipher()
A DCipherOpenssl.cc27 …cCipherOpenssl(const EVP_CIPHER* cipher, CipherAlgorithm algo, CipherMode mode, CipherPadding pad): in SymmetricCipherOpenssl() argument
28 SymmetricCipher("openssl-impl", algo, mode, pad), in SymmetricCipherOpenssl()
152 …cCipherOpenssl::AsymmetricCipherOpenssl(CipherAlgorithm algo, CipherMode mode, CipherPadding pad) : in AsymmetricCipherOpenssl() argument
153 AsymmetricCipher("openssl-impl", algo, mode, pad) in AsymmetricCipherOpenssl()
A DCipherOpenssl.h29 …cCipherOpenssl(const EVP_CIPHER* cipher, CipherAlgorithm algo, CipherMode mode, CipherPadding pad);
52 AsymmetricCipherOpenssl(CipherAlgorithm algo, CipherMode mode, CipherPadding pad);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/os/os_dep/include/
A Dpsram_reserve.h34 #define Psram_ROUND_UP2(x, pad) (((x) + ((pad) - 1)) & ~((pad) - 1)) argument
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_bmp.c223 int i, pad; in LoadBMP_RW() local
503 pad = ((surface->pitch%4) ? in LoadBMP_RW()
575 if ( pad ) { in LoadBMP_RW()
577 for ( i=0; i<pad; ++i ) { in LoadBMP_RW()
621 int i, pad; in LoadICOCUR_RW() local
813 pad = 0; in LoadICOCUR_RW()
849 if (pad) { in LoadICOCUR_RW()
851 for (i = 0; i < pad; ++i) { in LoadICOCUR_RW()
860 pad = (((bmpPitch) % 4) ? (4 - ((bmpPitch) % 4)) : 0); in LoadICOCUR_RW()
878 if (pad) { in LoadICOCUR_RW()
[all …]
/AliOS-Things-master/components/freetype/src/psaux/
A Dpsconv.c464 FT_UInt pad = 0x01; in PS_Conv_ASCIIHexDecode() local
495 pad = ( pad << 4 ) | c; in PS_Conv_ASCIIHexDecode()
496 if ( pad & 0x100 ) in PS_Conv_ASCIIHexDecode()
498 buffer[w++] = (FT_Byte)pad; in PS_Conv_ASCIIHexDecode()
499 pad = 0x01; in PS_Conv_ASCIIHexDecode()
503 if ( pad != 0x01 ) in PS_Conv_ASCIIHexDecode()
504 buffer[w++] = (FT_Byte)( pad << 4 ); in PS_Conv_ASCIIHexDecode()
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_slider.c535 lv_coord_t pad = 0; in lv_slider_signal() local
536 pad = LV_MATH_MIN(pad, style->body.padding.top); in lv_slider_signal()
537 pad = LV_MATH_MIN(pad, style->body.padding.bottom); in lv_slider_signal()
538 pad = LV_MATH_MIN(pad, style->body.padding.left); in lv_slider_signal()
539 pad = LV_MATH_MIN(pad, style->body.padding.right); in lv_slider_signal()
540 if(pad < 0) pad = -pad; in lv_slider_signal()
541 if(slider->ext_draw_pad < pad) slider->ext_draw_pad = pad; in lv_slider_signal()
/AliOS-Things-master/components/SDL2/src/joystick/psp/
A DSDL_sysjoystick.c42 static SceCtrlData pad = { .Lx = 0, .Ly = 0, .Buttons = 0 }; variable
92 sceCtrlPeekBufferPositive(&pad, 1); in JoystickUpdate()
195 buttons = pad.Buttons; in SDL_SYS_JoystickUpdate()
196 x = pad.Lx; in SDL_SYS_JoystickUpdate()
197 y = pad.Ly; in SDL_SYS_JoystickUpdate()
/AliOS-Things-master/components/py_engine/tests/basics/
A Dstring_format_modulo_int.py44 for pad in ('', ' ', '0'):
47 print(('%+' + pad + str(n) + 'd') % val)
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Dpad.cc30 namespace pad { namespace
230 return {/*init=*/pad::Init, in Register_PAD()
232 /*prepare=*/pad::Prepare, in Register_PAD()
233 /*invoke=*/pad::Eval, in Register_PAD()
242 return {/*init=*/pad::Init, in Register_PADV2()
244 /*prepare=*/pad::Prepare, in Register_PADV2()
245 /*invoke=*/pad::Eval, in Register_PADV2()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_bmp.c178 int i, pad; in SDL_LoadBMP_RW() local
458 pad = (((bmpPitch) % 4) ? (4 - ((bmpPitch) % 4)) : 0); in SDL_LoadBMP_RW()
462 pad = (((bmpPitch) % 4) ? (4 - ((bmpPitch) % 4)) : 0); in SDL_LoadBMP_RW()
465 pad = ((surface->pitch % 4) ? (4 - (surface->pitch % 4)) : 0); in SDL_LoadBMP_RW()
536 if (pad) { in SDL_LoadBMP_RW()
538 for (i = 0; i < pad; ++i) { in SDL_LoadBMP_RW()
571 int i, pad; in SDL_SaveBMP_RW() local
769 pad = ((bw % 4) ? (4 - (bw % 4)) : 0); in SDL_SaveBMP_RW()
776 if (pad) { in SDL_SaveBMP_RW()
778 for (i = 0; i < pad; ++i) { in SDL_SaveBMP_RW()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/webp/
A Ddemux.h157 uint32_t pad[2]; // padding for later use. member
192 uint32_t pad[6]; // padding for later use member
300 uint32_t pad[4]; // padding for later use member
A Dencode.h150 uint32_t pad[2]; // padding for later use member
229 uint32_t pad[2]; // padding for later use member
244 uint32_t pad[1]; // padding for later use member
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/webp/
A Ddemux.h157 uint32_t pad[2]; // padding for later use. member
192 uint32_t pad[6]; // padding for later use member
300 uint32_t pad[4]; // padding for later use member
A Dencode.h150 uint32_t pad[2]; // padding for later use member
229 uint32_t pad[2]; // padding for later use member
244 uint32_t pad[1]; // padding for later use member
/AliOS-Things-master/components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/
A Ddemux.h157 uint32_t pad[2]; // padding for later use. member
192 uint32_t pad[6]; // padding for later use member
300 uint32_t pad[4]; // padding for later use member
A Dencode.h150 uint32_t pad[2]; // padding for later use member
229 uint32_t pad[2]; // padding for later use member
244 uint32_t pad[1]; // padding for later use member
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dwrbmp.c79 int pad; in put_pixel_rows() local
100 pad = dest->pad_bytes; in put_pixel_rows()
101 while (--pad >= 0) in put_pixel_rows()
114 int pad; in put_gray_rows() local
130 pad = dest->pad_bytes; in put_gray_rows()
131 while (--pad >= 0) in put_gray_rows()
A Djquant1.c338 int i,j,k, nci, blksize, val, pad; in create_colorindex() local
346 pad = MAXJSAMPLE*2; in create_colorindex()
349 pad = 0; in create_colorindex()
355 (JDIMENSION) (MAXJSAMPLE+1 + pad), in create_colorindex()
367 if (pad) in create_colorindex()
382 if (pad) in create_colorindex()
/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_api.c319 int pad = len2 - len; in alcs_encrypt() local
328 if (!ret && pad) { in alcs_encrypt()
332 memset(buf + len - len1, pad, pad); in alcs_encrypt()
351 char pad = 0; in alcs_decrypt() local
393 pad = out_c[len - 1]; in alcs_decrypt()
394 out_c[len - pad] = 0; in alcs_decrypt()
395 COAP_DEBUG("decrypt data:%s, len:%d", out_c, len - pad); in alcs_decrypt()
396 return len - pad; in alcs_decrypt()
/AliOS-Things-master/components/freetype/src/base/
A Dftbitmap.c462 FT_Int pad; in FT_Bitmap_Convert() local
474 pad = 0; in FT_Bitmap_Convert()
477 pad = source->width % alignment; in FT_Bitmap_Convert()
478 if ( pad != 0 ) in FT_Bitmap_Convert()
479 pad = alignment - pad; in FT_Bitmap_Convert()
482 target->pitch = source->width + pad; in FT_Bitmap_Convert()
/AliOS-Things-master/components/py_engine/engine/py/
A Dmpprint.c64 int pad = width - len; in mp_print_strn() local
83 left_pad = pad / 2; in mp_print_strn()
84 right_pad = pad - left_pad; in mp_print_strn()
86 right_pad = pad; in mp_print_strn()
88 left_pad = pad; in mp_print_strn()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/os/os_dep/
A Dtcm_heap.c14 #define ROUND_UP2(x, pad) (((x) + ((pad) - 1)) & ~((pad) - 1)) argument
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsmouse.c92 const size_t pad = (sizeof (size_t) * 8); /* 32 or 64, or whatever. */ in WIN_CreateCursor() local
115 maskbitslen = ((surface->w + (pad - (surface->w % pad))) / 8) * surface->h; in WIN_CreateCursor()
/AliOS-Things-master/components/oss/include/alibabacloud/oss/encryption/
A DCipher.h78 …SymmetricCipher(const std::string& impl, CipherAlgorithm algo, CipherMode mode, CipherPadding pad);
110 …symmetricCipher(const std::string& impl, CipherAlgorithm algo, CipherMode mode, CipherPadding pad);

Completed in 66 milliseconds

123