/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_RLEaccel.c | 477 int ofs = 0; in SDL_RLEBlit() local 753 int ofs; in SDL_RLEAlphaBlit() local 758 ofs = 0; in SDL_RLEAlphaBlit() 775 ofs = 0; in SDL_RLEAlphaBlit() 788 ofs = 0; in SDL_RLEAlphaBlit() 1503 int ofs = 0; in UnRLEAlpha() local 1517 ofs += run; in UnRLEAlpha() 1521 } while (ofs < w); in UnRLEAlpha() 1528 ofs = 0; in UnRLEAlpha() 1536 ofs += run; in UnRLEAlpha() [all …]
|
A D | SDL_bmp.c | 67 int ofs = 0; in readRlePixels() local 71 #define COPY_PIXEL(x) spot = &bits[ofs++]; if(spot >= start && spot < end) *spot = (x) in readRlePixels() 105 ofs = 0; in readRlePixels() 112 ofs += ch; in readRlePixels()
|
/AliOS-Things-master/components/littlevgl/src/lv_font/ |
A D | lv_font_fmt_txt.c | 137 uint32_t ofs = (lv_uintptr_t)p - (lv_uintptr_t) fdsc->cmaps[i].unicode_list; in get_glyph_dsc_id() local 138 ofs = ofs >> 1; /*The list stores `uint16_t` so the get the index divide by 2*/ in get_glyph_dsc_id() 139 glyph_id = fdsc->cmaps[i].glyph_id_start + ofs; in get_glyph_dsc_id() 147 ofs = ofs >> 1; /*The list stores `uint16_t` so the get the index divide by 2*/ in get_glyph_dsc_id() 149 glyph_id = fdsc->cmaps[i].glyph_id_start + gid_ofs_16[ofs]; in get_glyph_dsc_id() 183 uint32_t ofs = (lv_uintptr_t)kid_p - (lv_uintptr_t)g_ids; in get_kern_value() local 184 ofs = ofs >> 1; /*ofs is for pair, divide by 2 to refer as a single value*/ in get_kern_value() 185 value = kdsc->values[ofs]; in get_kern_value() 196 uint32_t ofs = (lv_uintptr_t)kid_p - (lv_uintptr_t)g_ids; in get_kern_value() local 197 ofs = ofs >> 4; /*ofs is 4 byte pairs, divide by 4 to refer as a single value*/ in get_kern_value() [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_draw/ |
A D | lv_img_decoder.c | 564 uint32_t ofs = 0; in lv_img_decoder_built_in_line_alpha() local 570 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_alpha() 577 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_alpha() 584 ofs += w * y + (x >> 1); /*First pixel*/ in lv_img_decoder_built_in_line_alpha() 590 ofs += w * y + x; /*First pixel*/ in lv_img_decoder_built_in_line_alpha() 604 data_tmp = img_dsc->data + ofs; in lv_img_decoder_built_in_line_alpha() 650 uint32_t ofs = 0; in lv_img_decoder_built_in_line_indexed() local 655 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_indexed() 662 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_indexed() 675 ofs += w * y + x; /*First pixel*/ in lv_img_decoder_built_in_line_indexed() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/windows/ |
A D | SDL_dinputjoystick.c | 748 in->ofs = DIJOFS_BUTTON(in->num); in EnumDevObjectsCallback() 753 in->ofs = DIJOFS_POV(in->num); in EnumDevObjectsCallback() 762 in->ofs = DIJOFS_X; in EnumDevObjectsCallback() 764 in->ofs = DIJOFS_Y; in EnumDevObjectsCallback() 766 in->ofs = DIJOFS_Z; in EnumDevObjectsCallback() 768 in->ofs = DIJOFS_RX; in EnumDevObjectsCallback() 770 in->ofs = DIJOFS_RY; in EnumDevObjectsCallback() 772 in->ofs = DIJOFS_RZ; in EnumDevObjectsCallback() 831 if (inputA->ofs < inputB->ofs) in SortDevFunc() 833 if (inputA->ofs > inputB->ofs) in SortDevFunc() [all …]
|
A D | SDL_windowsjoystick_c.h | 56 DWORD ofs; member
|
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/ |
A D | ff.c | 959 Files[i].ofs = dp->dptr; in inc_lock() 1682 ofs -= csz; in dir_sdi() 1706 DWORD ofs, clst; in dir_next() local 3430 FSIZE_t ofs; local 3574 for (ofs = fp->obj.objsize; res == FR_OK && ofs > bcs; ofs -= bcs) { 4159 if (ofs > fp->obj.objsize) ofs = fp->obj.objsize; /* Clip offset at the file size */ 4161 if (ofs > 0) { 4189 ofs = fp->obj.objsize; 4193 if (ofs > 0) { 4198 ofs -= fp->fptr; [all …]
|
A D | ff.h | 286 FRESULT f_lseek (FIL* fp, FSIZE_t ofs); /* Move file pointer of the fil…
|
/AliOS-Things-master/components/fatfs/src/ |
A D | ff.c | 812 Files[i].ofs = dp->dptr; in inc_lock() 1550 ofs -= csz; in dir_sdi() 1575 DWORD ofs, clst; in dir_next() local 3371 FSIZE_t ofs; local 3521 for (ofs = fp->obj.objsize; res == FR_OK && ofs > bcs; ofs -= bcs) { 4097 if (ofs > 0) { 4129 if (ofs > 0) { 4134 ofs -= fp->fptr; 4159 ofs = 0; break; 4170 fp->fptr += ofs; [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_label.c | 883 lv_point_t ofs; in lv_label_design() local 887 ofs.x = ext->offset.x + size.x + in lv_label_design() 889 ofs.y = ext->offset.y; in lv_label_design() 891 lv_draw_label(&coords, mask, style, opa_scale, ext->text, flag, &ofs, in lv_label_design() 897 ofs.x = ext->offset.x; in lv_label_design() 898 ofs.y = ext->offset.y + size.y + lv_font_get_line_height(style->text.font); in lv_label_design() 899 lv_draw_label(&coords, mask, style, opa_scale, ext->text, flag, &ofs, in lv_label_design()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_bmp.c | 113 int ofs = 0; in readRlePixels() local 117 #define COPY_PIXEL(x) spot = &bits[ofs++]; if(spot >= start && spot < end) *spot = (x) in readRlePixels() 151 ofs = 0; in readRlePixels() 158 ofs += ch; in readRlePixels()
|
A D | miniz.h | 3549 int ofs = filename_len - 1; in mz_zip_reader_locate_file() local 3552 if ((pFilename[ofs] == '/') || (pFilename[ofs] == '\\') || (pFilename[ofs] == ':')) in mz_zip_reader_locate_file() 3554 } while (--ofs >= 0); in mz_zip_reader_locate_file() 3555 ofs++; in mz_zip_reader_locate_file() 3556 pFilename += ofs; filename_len -= ofs; in mz_zip_reader_locate_file() 3926 static size_t mz_zip_file_write_callback(void *pOpaque, mz_uint64 ofs, const void *pBuf, size_t n) in mz_zip_file_write_callback() argument 3928 (void)ofs; return MZ_FWRITE(pBuf, 1, n, (MZ_FILE*)pOpaque); in mz_zip_file_write_callback()
|
/AliOS-Things-master/components/fatfs/include/ |
A D | ff.h | 247 FRESULT f_lseek (FIL* fp, FSIZE_t ofs); /* Move file pointer of the file object */
|