/AliOS-Things-master/components/amp/engine/duktape_engine/addons/wireless/bt_host/ |
A D | bt_gatts_adapter.c | 45 for (ii = sample_len-1; ii >= sample_len-4; ii--) { in get_16bits_hex_from_string() 47 if (str[ii] >= 'a') { in get_16bits_hex_from_string() 50 tmp = str[ii]; in get_16bits_hex_from_string() 192 for (int ii=0; ii<g_attr_num; ii++) { in bt_gatts_adapter_update_user_data() local 240 if (ii==0) {return -1;} in bt_gatts_adapter_update_chars() 242 if(ii!=0 && (ii+1)<g_attr_num && g_attrs_list[ii+1].uuid == UUID_GATT_CCC) { in bt_gatts_adapter_update_chars() 259 for (int ii=0; ii<len; ii++) { in bt_gatts_dump_hex() local 260 printf("%02x ", data[ii]); in bt_gatts_dump_hex() 270 for (int ii=0; ii<g_attr_num; ii++) { in bt_gatts_adapter_event_callback() local 293 for (int ii=0; ii<g_attr_num; ii++) { in bt_gatts_adapter_event_callback() local [all …]
|
/AliOS-Things-master/components/py_engine/modules/ble/ |
A D | bt_gatts_adapter.c | 40 for (ii = sample_len - 1; ii >= sample_len - 4; ii--) { in get_16bits_hex_from_string() 42 if (str[ii] >= 'a') { in get_16bits_hex_from_string() 45 tmp = str[ii]; in get_16bits_hex_from_string() 216 int ii; in bt_gatts_adapter_update_user_data() local 222 for (ii = 0; ii < g_attr_num; ii++) { in bt_gatts_adapter_update_user_data() 226 ret = ii; in bt_gatts_adapter_update_user_data() 335 for (int ii = 0; ii < len; ii++) { in bt_gatts_dump_hex() local 336 printf("%02x ", data[ii]); in bt_gatts_dump_hex() 348 for (int ii = 0; ii < g_attr_num; ii++) { in bt_gatts_adapter_event_callback() local 379 for (int ii = 0; ii < g_attr_num; ii++) { in bt_gatts_adapter_event_callback() local [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/ |
A D | bt_gatts_adapter.c | 45 for (ii = sample_len-1; ii >= sample_len-4; ii--) { in get_16bits_hex_from_string() 47 if (str[ii] >= 'a') { in get_16bits_hex_from_string() 50 tmp = str[ii]; in get_16bits_hex_from_string() 187 int ii; in bt_gatts_adapter_update_user_data() local 193 for (ii=0; ii<g_attr_num; ii++) { in bt_gatts_adapter_update_user_data() 196 ret = ii; in bt_gatts_adapter_update_user_data() 290 for (int ii=0; ii<len; ii++) { in bt_gatts_dump_hex() local 291 printf("%02x ", data[ii]); in bt_gatts_dump_hex() 301 for (int ii=0; ii<g_attr_num; ii++) { in bt_gatts_adapter_event_callback() local 324 for (int ii=0; ii<g_attr_num; ii++) { in bt_gatts_adapter_event_callback() local [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/ |
A D | SDL_hidapi_xbox360.c | 102 int ii; in HIDAPI_DriverXbox360_FillMatchState() local 110 for (ii = 0; ii < 4; ii++) { in HIDAPI_DriverXbox360_FillMatchState() 111 state->match_axes[ii] = (match_state & (0x000F0000 << (ii * 4))) >> (4 + ii * 4); in HIDAPI_DriverXbox360_FillMatchState() 247 for (ii = 0; ii < SDL_arraysize(xinput_state); ii++) { in HIDAPI_DriverXbox360_MissingXInputSlot() 336 for (ii = 0; ii < wgi_state.per_gamepad_count; ii++) { in HIDAPI_DriverXbox360_MissingWindowsGamingInputSlot() 357 for (ii = 0; ii < wgi_state.per_gamepad_count; ii++) { in HIDAPI_DriverXbox360_UpdateWindowsGamingInput() 406 for (ii = wgi_state.per_gamepad_count - 1; ii >= 0; ii--) { in HIDAPI_DriverXbox360_UpdateWindowsGamingInput() 425 for (ii = 0; ii < wgi_state.per_gamepad_count; ii++) { in HIDAPI_DriverXbox360_UpdateWindowsGamingInput() 511 for (int ii = 0; ii < wgi_state.per_gamepad_count; ii++) { in HIDAPI_DriverXbox360_QuitWindowsGamingInput() local 539 for (ii = 0; ii < wgi_state.per_gamepad_count; ii++) { in HIDAPI_DriverXbox360_PostUpdate() [all …]
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_md5.c | 136 unsigned int i, ii; in SDLTest_Md5Update() local 164 for (i = 0, ii = 0; i < 16; i++, ii += 4) in SDLTest_Md5Update() 167 (((MD5UINT4) mdContext->in[ii + 1]) << 8) | in SDLTest_Md5Update() 168 ((MD5UINT4) mdContext->in[ii]); in SDLTest_Md5Update() 184 unsigned int i, ii; in SDLTest_Md5Final() local 209 for (i = 0, ii = 0; i < 14; i++, ii += 4) in SDLTest_Md5Final() 213 ((MD5UINT4) mdContext->in[ii]); in SDLTest_Md5Final() 219 for (i = 0, ii = 0; i < 4; i++, ii += 4) { in SDLTest_Md5Final() 221 mdContext->digest[ii + 1] = in SDLTest_Md5Final() 223 mdContext->digest[ii + 2] = in SDLTest_Md5Final() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsmouse.c | 101 ICONINFO ii; in WIN_CreateCursor() local 126 SDL_zero(ii); in WIN_CreateCursor() 127 ii.fIcon = FALSE; in WIN_CreateCursor() 128 ii.xHotspot = (DWORD)hot_x; in WIN_CreateCursor() 129 ii.yHotspot = (DWORD)hot_y; in WIN_CreateCursor() 130 ii.hbmColor = CreateDIBSection(hdc, (BITMAPINFO*)&bmh, DIB_RGB_COLORS, &pixels, NULL, 0); in WIN_CreateCursor() 131 ii.hbmMask = CreateBitmap(surface->w, surface->h, 1, 1, maskbits); in WIN_CreateCursor() 139 hicon = CreateIconIndirect(&ii); in WIN_CreateCursor() 141 DeleteObject(ii.hbmColor); in WIN_CreateCursor() 142 DeleteObject(ii.hbmMask); in WIN_CreateCursor()
|
/AliOS-Things-master/components/SDL2/src/joystick/windows/ |
A D | SDL_rawinputjoystick.c | 189 int ii; in RAWINPUT_JoystickInit() local 201 for (ii = 0; ii < SDL_arraysize(subscribed_devices); ii++) { in RAWINPUT_JoystickInit() 202 rid[ii].usUsagePage = USAGE_PAGE_GENERIC_DESKTOP; in RAWINPUT_JoystickInit() 203 rid[ii].usUsage = subscribed_devices[ii]; in RAWINPUT_JoystickInit() 205 rid[ii].hwndTarget = SDL_HelperWindow; in RAWINPUT_JoystickInit() 702 int ii; in RAWINPUT_JoystickQuit() local 708 for (ii = 0; ii < SDL_arraysize(subscribed_devices); ii++) { in RAWINPUT_JoystickQuit() 709 rid[ii].usUsagePage = USAGE_PAGE_GENERIC_DESKTOP; in RAWINPUT_JoystickQuit() 710 rid[ii].usUsage = subscribed_devices[ii]; in RAWINPUT_JoystickQuit() 711 rid[ii].dwFlags = RIDEV_REMOVE; in RAWINPUT_JoystickQuit() [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/port/aos/ |
A D | poll.c | 193 for (int ii = 0; ii < num_events; ii++) { in polling_events() local 196 if (is_condition_met(&events[ii], &state)) { in polling_events() 197 set_event_state(&events[ii], state); in polling_events() 200 register_event(&events[ii], NULL); in polling_events()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap/ |
A D | bt_types.h | 467 uint32_t ii; \ 468 for (ii = 0; ii < len; ii++) \ 470 *((uint8_t *)(a) + ii) = *s++; \ 476 uint32_t ii; \ 477 for (ii = 0; ii < len; ii++) \ 479 *s++ = *((uint8_t *)(a) + ii); \
|
/AliOS-Things-master/components/py_engine/tests/perf_bench/ |
A D | bm_chaos.py | 90 d = [self.points[I - self.degree + 1 + ii] for ii in range(self.degree + 1)] 93 for ii in range(I - self.degree + ik + 1, I + 2): 94 ua = U[ii + self.degree - ik] 95 ub = U[ii - 1] 98 index = ii - I + self.degree - ik - 1 104 for ii in range(self.degree - 1, len(self.knots) - self.degree): 105 if u >= self.knots[ii] and u < self.knots[ii + 1]: 106 I = ii
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_audio.c | 521 int i, ii, j, jj, k, kk; in audio_buildAudioCVT() local 551 ii = SDLTest_RandomIntegerInRange(0, _numAudioFormats - 1); in audio_buildAudioCVT() 554 spec2.format = _audioFormats[ii]; in audio_buildAudioCVT() 560 …atsVerbose[i], spec1.format, j, spec1.channels, k, spec1.freq, ii, _audioFormatsVerbose[ii], spec2… in audio_buildAudioCVT() 825 int i, ii, j, jj, k, kk, l, ll; in audio_convertAudio() local 851 ii = SDLTest_RandomIntegerInRange(0, _numAudioFormats - 1); in audio_convertAudio() 853 ii = 1; in audio_convertAudio() 865 } while ((i == ii) && (j == jj) && (k == kk)); in audio_convertAudio() 866 spec2.format = _audioFormats[ii]; in audio_convertAudio() 873 …atsVerbose[i], spec1.format, j, spec1.channels, k, spec1.freq, ii, _audioFormatsVerbose[ii], spec2… in audio_convertAudio()
|
/AliOS-Things-master/components/mbedtls/programs/test/ |
A D | benchmark.c | 125 unsigned long ii, jj, tsc; \ 132 for( ii = 1; ret == 0 && ! mbedtls_timing_alarmed; ii++ ) \ 150 ii * BUFSIZE / 1024, \ 166 for( ii = 12 - title_len; ii != 0; ii-- ) mbedtls_printf( " " ); \ 179 unsigned long ii; \ 188 for( ii = 1; ! mbedtls_timing_alarmed && ! ret ; ii++ ) \ 199 mbedtls_printf( "%6lu " TYPE "/s", ii / 3 ); \
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/visupng/ |
A D | VisualPng.c | 525 int i, ii; in BuildPngList() local 569 ii = 0; in BuildPngList() 572 strcpy (*ppFileList + ii, szImgPathName); in BuildPngList() 573 strcpy (strrchr(*ppFileList + ii, '\\') + 1, finddata.cFileName); in BuildPngList() 575 if (strcmp(pstrPathName, *ppFileList + ii) == 0) in BuildPngList() 578 ii += MAX_PATH; in BuildPngList() 589 ii = i * MAX_PATH; in BuildPngList() 593 if (strcmp (*ppFileList + ii, *ppFileList + jj) > 0) in BuildPngList() 596 strcpy (*ppFileList + jj, *ppFileList + ii); in BuildPngList() 597 strcpy (*ppFileList + ii, szTmp); in BuildPngList()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/ |
A D | rpng2-x.c | 1227 int ii, x, y, hw, hh, grayspot; in rpng2_x_load_bg_image() local 1281 ii = (int)hue; in rpng2_x_load_bg_image() 1282 f = hue - (double)ii; in rpng2_x_load_bg_image() 1286 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image() 1287 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image() 1288 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image() 1289 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image() 1290 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image() 1999 int ii, x, y, hw, hh, grayspot; in rpng2_x_reload_bg_image() local 2049 ii = (int)hue; in rpng2_x_reload_bg_image() [all …]
|
A D | rpng2-win.c | 975 int ii, x, y, hw, hh, grayspot; 1029 ii = (int)hue; 1030 f = hue - (double)ii; 1034 if (ii == 0) { red = v; green = t; blue = p; } 1035 else if (ii == 1) { red = q; green = v; blue = p; } 1036 else if (ii == 2) { red = p; green = v; blue = t; } 1037 else if (ii == 3) { red = p; green = q; blue = v; } 1038 else if (ii == 4) { red = t; green = p; blue = v; } 1039 else if (ii == 5) { red = v; green = p; blue = q; }
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/ |
A D | COPYRIGHT | 7 all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/mfs/ |
A D | CMakeLists.txt | 9 # all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/ |
A D | CMakeLists.txt | 9 # all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/ras/ |
A D | CMakeLists.txt | 9 # all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/tags/ |
A D | CMakeLists.txt | 9 # all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/win_dib/ |
A D | CMakeLists.txt | 9 # all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/stream/ |
A D | CMakeLists.txt | 9 # all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/build/ |
A D | CMakeLists.txt | 9 # all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/lib/x64/ |
A D | LICENSE.tiff.txt | 11 all copies of the software and related documentation, and (ii) the names of
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/lib/x86/ |
A D | LICENSE.tiff.txt | 11 all copies of the software and related documentation, and (ii) the names of
|