/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/ |
D | mutex.c | 62 u32 j; in mutex_lock() local 68 for (j = 0; j < M_N; j++) in mutex_lock() 71 while (MUTEX_SHARED_READ(j) & __M_S) (void) 0; in mutex_lock() 79 for (j = 0; j < M_N; j++) in mutex_lock() 82 if (MUTEX_SHARED_READ(j) & __M_A) in mutex_lock() 93 for (j = 0; j < M_N; j++) in mutex_lock() 95 if (MUTEX_SHARED_READ(j) & __M_A) in mutex_lock() 109 for (j = 0; j < M_N; j++) in mutex_lock() 111 while (MUTEX_SHARED_READ(j) & __M_W) (void) 0; in mutex_lock() 118 for (j = 0; j < M_N; j++) in mutex_lock() [all …]
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | mat.c | 39 static void mat33SwapRows(struct Mat33 *A, uint32_t i, uint32_t j); 42 uint32_t l, uint32_t i, uint32_t j); 44 static void mat44SwapRows(struct Mat44 *A, uint32_t i, uint32_t j); 101 uint32_t j; in mat33Multiply() local 102 for (j = 0; j < 3; ++j) { in mat33Multiply() 106 sum += A->elem[i][k] * B->elem[k][j]; in mat33Multiply() 109 out->elem[i][j] = sum; in mat33Multiply() 119 uint32_t j; in mat33ScalarMul() local 120 for (j = 0; j < 3; ++j) { in mat33ScalarMul() 121 A->elem[i][j] *= c; in mat33ScalarMul() [all …]
|
/device/linaro/dragonboard/qcom/rmtfs/ |
D | util.c | 20 int j; in print_hex_dump() local 26 for (j = 0; j < linelen; j++) { in print_hex_dump() 27 ch = ptr[i + j]; in print_hex_dump() 33 for (; j < 16; j++) { in print_hex_dump() 39 for (j = 0; j < linelen; j++) { in print_hex_dump() 40 ch = ptr[i + j]; in print_hex_dump()
|
/device/google/contexthub/firmware/lib/libm/ |
D | kf_rem_pio2.c | 62 __int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local 75 j = jv-jx; m = jx+jk; 76 for(i=0;i<=m;i++,j++) f[i] = (j<0)? zero : (float) ipio2[j]; 80 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; 87 for(i=0,j=jz,z=q[jz];j>0;i++,j--) { 90 z = q[j-1]+fw; 110 j = iq[i]; 112 if(j!=0) { 113 carry = 1; iq[i] = 0x100- j; 115 } else iq[i] = 0xff - j; [all …]
|
D | ef_pow.c | 68 __int32_t i,j,k,yisint,n; local 95 j = iy>>(23-k); 96 if((j<<(23-k))==iy) yisint = 2-(j&1); 157 j = ix&0x007fffff; 159 ix = j|0x3f800000; /* normalize ix */ 160 if(j<=0x1cc471) k=0; /* |x|<sqrt(3/2) */ 161 else if(j<0x5db3d7) k=1; /* |x|<sqrt(3) */ 213 GET_FLOAT_WORD(j,z); 214 i = j&0x7fffffff; 215 if (j>0) { [all …]
|
D | ef_rem_pio2.c | 107 __int32_t i,j,n,ix,hx; local 149 j = ix>>23; 152 i = j-((high>>23)&0xff); 160 i = j-((high>>23)&0xff);
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | FormatConversions.cpp | 102 for (int j = top; j <= bottom; ++j) { in rgb565_to_yv12() local 103 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb565_to_yv12() 104 uint8_t *yv12_v = yv12_v0 + (j/2) * cStride; in rgb565_to_yv12() 106 uint16_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride) / 2; in rgb565_to_yv12() 107 bool jeven = (j & 1) == 0; in rgb565_to_yv12() 160 for (int j = top; j <= bottom; ++j) { in rgb888_to_yv12() local 161 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb888_to_yv12() 162 uint8_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride); in rgb888_to_yv12() 163 bool jeven = (j & 1) == 0; in rgb888_to_yv12() 210 for (int j = top; j <= bottom; ++j) { in rgb888_to_yuv420p() local [all …]
|
/device/generic/opengl-transport/host/commands/emugen/ |
D | ApiGen.cpp | 101 for (size_t j = 0; j < n; j++) { in genProcTypes() local 102 if (!evars[j].isVoid()) { in genProcTypes() 103 …if (j != 0 || side == CLIENT_SIDE || (side == SERVER_SIDE && e->customDecoder())) fprintf(fp, ", "… in genProcTypes() 104 evars[j].printType(fp); in genProcTypes() 117 for (size_t j = 0; j < n; j++) { in genProcTypes() local 118 if (!evars[j].isVoid()) { in genProcTypes() 119 if (j != 0) fprintf(fp, ", "); in genProcTypes() 120 evars[j].printType(fp); in genProcTypes() 273 for (size_t j=0; j<e->vars().size(); j++) { in genEntryPoints() local 274 if (e->vars()[j].paramCheckExpression() != "") in genEntryPoints() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/mixer/ |
D | xa-mixer.c | 135 u32 i, j; in xa_mixer_do_execute_stereo_16bit() local 142 for (j = 0; j < XA_MIXER_MAX_TRACK_NUMBER; j++) in xa_mixer_do_execute_stereo_16bit() 144 u32 n = d->input_length[j]; in xa_mixer_do_execute_stereo_16bit() 150 b[j] = d->scratch; in xa_mixer_do_execute_stereo_16bit() 151 v_l[j] = v_r[j] = 0; in xa_mixer_do_execute_stereo_16bit() 158 XF_CHK_ERR(b[j] = d->input[j], XA_MIXER_EXEC_FATAL_INPUT); in xa_mixer_do_execute_stereo_16bit() 161 (k > 0 ? memset((void *)b[j] + n, 0x00, k) : 0); in xa_mixer_do_execute_stereo_16bit() 164 t32 = d->volume[j]; in xa_mixer_do_execute_stereo_16bit() 165 v_l[j] = (u16)(t32 & 0xFFFF), v_r[j] = (u16)(t32 >> 16); in xa_mixer_do_execute_stereo_16bit() 168 TRACE(PROCESS, _b("b[%u] = %p%s"), j, b[j], (n == 0 ? " - scratch" : "")); in xa_mixer_do_execute_stereo_16bit() [all …]
|
/device/generic/goldfish/camera/ |
D | EmulatedFakeRotatingCameraDevice.cpp | 75 for (int j = 0; j < height; ++j) { in rgba8888_to_nv21() local 76 uint8_t* outputY = output + j*yStride; in rgba8888_to_nv21() 78 uint8_t R = input[j*width*4 + i*4]; in rgba8888_to_nv21() 79 uint8_t G = input[j*width*4 + i*4 + 1]; in rgba8888_to_nv21() 80 uint8_t B = input[j*width*4 + i*4 + 2]; in rgba8888_to_nv21() 83 bool jeven = (j & 1) == 0; in rgba8888_to_nv21() 100 for (int j = 0; j < height; ++j) { in nv21_to_rgba8888() local 101 uint8_t* inputY = input + j*yStride; in nv21_to_rgba8888() 104 bool jeven = (j & 1) == 0; in nv21_to_rgba8888() 148 static void get_color(uint32_t* img, int i, int j, int w, int h, int dw, uint32_t * color) { in get_color() argument [all …]
|
/device/google/contexthub/lib/nanohub/ |
D | rsa.c | 114 uint32_t j, c; in biMulIterative() local 123 for (j = 0; j < RSA_LIMBS; j++) { in biMulIterative() 124 r = (uint64_t)a[step] * b[j] + c + ret[step + j]; in biMulIterative() 125 ret[step + j] = r; in biMulIterative() 130 for (j = step + RSA_LIMBS; j < RSA_LIMBS * 2; j++) { in biMulIterative() 131 r = (uint64_t)ret[j] + c; in biMulIterative() 132 ret[j] = r; in biMulIterative()
|
D | aes.c | 185 uint32_t i, j, *ks = ctx->K + 4, *encrK = tmpSpace->tmpCtx.K + 52; in aesInitForDecr() local 193 for (j = 0; j < 4; j++) { in aesInitForDecr() 194 ks[j] = in aesInitForDecr() 195 ror(RevTab0[FwdSbox[(encrK[j] >> 24) & 0xff]], 0) ^ in aesInitForDecr() 196 ror(RevTab0[FwdSbox[(encrK[j] >> 16) & 0xff]], 8) ^ in aesInitForDecr() 197 ror(RevTab0[FwdSbox[(encrK[j] >> 8) & 0xff]], 16) ^ in aesInitForDecr() 198 ror(RevTab0[FwdSbox[(encrK[j] >> 0) & 0xff]], 24); in aesInitForDecr()
|
/device/google/bonito/vibrator/cs40l20/wav_wavetable/ |
D | 10_THUD_0503.json | 1 …G�����F�����L����l�+�����e�-�������a�@���������������������������������;�j������A������X�����… 13 …X �U��%�D�T�X�L�7����i���D��������j���U���K���O���]���|����L�����[�����j�;… 25 >r������=������0�m�����Z����j���I���L���s���a�)�������x�v�������\���j���R���`����;�����b�!�… 31 …���,�X����B������K�����m�T�[�b�����7����s����0����h�7�����������+�K�h������%Qj���� � 53 ����P���U�8����!�U��bj "����_���.����*�u�a����<��l
|
/device/google/crosshatch/vibrator/cs40l20/wav_wavetable/ |
D | 10_THUD_0503.json | 1 …G�����F�����L����l�+�����e�-�������a�@���������������������������������;�j������A������X�����… 13 …X �U��%�D�T�X�L�7����i���D��������j���U���K���O���]���|����L�����[�����j�;… 25 >r������=������0�m�����Z����j���I���L���s���a�)�������x�v�������\���j���R���`����;�����b�!�… 31 …���,�X����B������K�����m�T�[�b�����7����s����0����h�7�����������+�K�h������%Qj���� � 53 ����P���U�8����!�U��bj "����_���.����*�u�a����<��l
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/pcm_proc/ |
D | xa-pcm.c | 146 u8 k = d->in_channels, j; in xa_pcm_do_execute_pcm16_chmap() local 161 for (j = 0, map = chmap; j < k; j++, map >>= 4) in xa_pcm_do_execute_pcm16_chmap() 190 u8 k = d->in_channels, j; in xa_pcm_do_execute_pcm24_chmap() local 203 for (j = 0, map = chmap; j < k; j++, map >>= 4) in xa_pcm_do_execute_pcm24_chmap() 227 u8 k = d->in_channels, j; in xa_pcm_do_execute_pcm24_to_pcm16() local 241 for (j = 0, map = chmap; j < k; j++, map >>= 4) in xa_pcm_do_execute_pcm24_to_pcm16() 269 u8 k = d->in_channels, j; in xa_pcm_do_execute_pcm16_to_pcm24() local 283 for (j = 0, map = chmap; j < k; j++, map >>= 4) in xa_pcm_do_execute_pcm16_to_pcm24() 306 u8 j; in xa_pcm_is_identity_mapping() local 308 for (j = 0; j < k; j++, chmap >>= 4) in xa_pcm_is_identity_mapping() [all …]
|
/device/google/contexthub/firmware/os/algos/ |
D | time_sync.c | 89 size_t j; in time_sync_estimate_time1() local 118 for (j = 0; j < n; ++j) { in time_sync_estimate_time1() 133 for (j = 0; j < n; ++j) { in time_sync_estimate_time1()
|
/device/google/contexthub/util/sensortest/ |
D | sensortest.cpp | 57 for (int j = 0; j < mNumSensors; j++) { in printSensorList() local 58 if ((ASensor_getType(mSensorList[j]) > prevMinType) && in printSensorList() 59 (ASensor_getType(mSensorList[j]) < currMinType)) { in printSensorList() 60 currMinType = ASensor_getType(mSensorList[j]); in printSensorList() 61 currMinIndex = j; in printSensorList()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/ |
D | xa_hikey.img | 36 �J�*�j��Z�:�z��F�&�f��V�6�v��N�.�n��^�>�~��A�!�a��Q�1�q� �I�)�i��Y�9�y��E�%�e��U�5�u� 40 …�j�qy�B�-���˥���C�G�#����\0$-7fK�`�wL�O����… 45 …X�/�`�[�U��6��=��o���c�&���K t�n8 ߪ�j 6��� z��� ��… 68 �ESfk5�E�JkR�E�/kd!F�kkKFl�jhuF��jY�F�j@�FQ�j�F}�j�G�mj�FG�QjmpG�5j�G…
|
/device/linaro/hikey/hifi/firmware/ |
D | hifi-hikey960.img | 38 �J�*�j��Z�:�z��F�&�f��V�6�v��N�.�n��^�>�~��A�!�a��Q�1�q� �I�)�i��Y�9�y��E�%�e��U�5�u� 42 …�j�qy�B�-���˥���C�G�#����\0$-7fK�`�wL�O����… 47 …X�/�`�[�U��6��=��o���c�&���K t�n8 ߪ�j 6��� z��� ��… 70 �ESfk5�E�JkR�E�/kd!F�kkKFl�jhuF��jY�F�j@�FQ�j�F}�j�G�mj�FG�QjmpG�5j�G…
|
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess.c | 126 size_t i, j, k; in packNanoRelocs() local 136 for (k = i, j = k + 1; j < app->nanoRelocSize; j++) { in packNanoRelocs() 137 if (app->nanoReloc[j].type > app->nanoReloc[k].type) in packNanoRelocs() 139 …if ((app->nanoReloc[j].type < app->nanoReloc[k].type) || (app->nanoReloc[j].ofstInRam < app->nanoR… in packNanoRelocs() 140 k = j; in packNanoRelocs() 187 for (j = 1; (j + i) < app->nanoRelocSize && j < MAX_RUN_LEN && in packNanoRelocs() 188 app->nanoReloc[j + i].type == lastOutType && in packNanoRelocs() 189 … (app->nanoReloc[j + i].ofstInRam - app->nanoReloc[j + i - 1].ofstInRam) == 4; j++); in packNanoRelocs() 190 if (j >= MIN_RUN_LEN) { in packNanoRelocs() 192 DBG("Out: Reloc0 [size 2]; repeat=%zu", j); in packNanoRelocs() [all …]
|
D | postprocess_elf.c | 125 uint32_t i, j, k; in packNanoRelocs() local 134 for (k = i, j = k + 1; j < outNumRelocs; j++) { in packNanoRelocs() 135 if (nanoRelocs[j].type > nanoRelocs[k].type) in packNanoRelocs() 137 …if ((nanoRelocs[j].type < nanoRelocs[k].type) || (nanoRelocs[j].ofstInRam < nanoRelocs[k].ofstInRa… in packNanoRelocs() 138 k = j; in packNanoRelocs() 179 …j = 1; j + i < outNumRelocs && j < MAX_RUN_LEN && nanoRelocs[j + i].type == lastOutType && nanoRel… in packNanoRelocs() 180 if (j >= MIN_RUN_LEN) { in packNanoRelocs() 182 fprintf(stderr, "Out: Reloc0 x%" PRIX32 "\n", j); in packNanoRelocs() 184 packedNanoRelocs[packedNanoRelocSz++] = j - MIN_RUN_LEN; in packNanoRelocs() 185 origin = nanoRelocs[j + i - 1].ofstInRam + 4; //reset origin to last one in packNanoRelocs() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/tools/ |
D | elftobin.sh | 41 for j in `seq 1 $SECTION_NUM` 43 VAR=`less __proc | awk 'FNR == "'"$j"'" {print $1}'` 74 for j in `seq 1 $SECTION_NUM` 76 DST_ADDR=`less __proc | awk 'FNR == "'"$j"'" {print $3}'`
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | cpp_bindings.cpp | 508 for (int j = 1; j < linelen; j++) { in log() local 509 appendFmt(line, offset, " %02x", data[i+j]); in log() 512 for (int j = linelen; j < 16; j++) { in log() local 520 for (int j = 0; j < linelen; j++) { in log() local 521 if (isprint(data[i+j])) { in log() 522 appendFmt(line, offset, "%c", data[i+j]); in log()
|
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/ |
D | Sensor.cpp | 444 for (unsigned int j = 1; j < inc; j++) mScene.getPixelElectrons(); in captureRGBA() local 472 for (unsigned int j = 1; j < inc; j++) mScene.getPixelElectrons(); in captureRGB() local 529 for (unsigned int j = 1; j < inc; j++) mScene.getPixelElectrons(); in captureNV21() local 552 for (unsigned int j = 1; j < inc; j++) mScene.getPixelElectrons(); in captureDepth() local
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | frame_buffer_watcher.cpp | 73 for (std::uint16_t j = 0; j < h; ++j) { in Rotated() local 74 size_t to = (i * h + j) * ScreenConnector::BytesPerPixel(); in Rotated() 75 size_t from = (w - (i + 1)) * ScreenConnector::BytesPerPixel() + s * j; in Rotated()
|