Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 1581) sorted by relevance

12345678910>>...64

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DCalls.py27 for i in xrange(self.rounds):
30 f1(i)
31 f1(i)
32 f1(i)
33 f1(i)
34 g(i,i,i)
35 g(i,i,i)
36 g(i,i,i)
37 g(i,i,i)
38 h(i,i,3,i,i)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dfastsearch.h43 Py_ssize_t i, j, mlast, w; in fastsearch() local
56 for (i = 0; i < n; i++) in fastsearch()
57 if (s[i] == p[0]) { in fastsearch()
64 for (i = 0; i < n; i++) in fastsearch()
65 if (s[i] == p[0]) in fastsearch()
66 return i; in fastsearch()
68 for (i = n - 1; i > -1; i--) in fastsearch()
69 if (s[i] == p[0]) in fastsearch()
70 return i; in fastsearch()
84 for (i = 0; i < mlast; i++) { in fastsearch()
[all …]
Dsplit.h61 Py_ssize_t i, j, count=0; in stringlib_split_whitespace() local
68 i = j = 0; in stringlib_split_whitespace()
70 while (i < str_len && STRINGLIB_ISSPACE(str[i])) in stringlib_split_whitespace()
71 i++; in stringlib_split_whitespace()
72 if (i == str_len) break; in stringlib_split_whitespace()
73 j = i; i++; in stringlib_split_whitespace()
74 while (i < str_len && !STRINGLIB_ISSPACE(str[i])) in stringlib_split_whitespace()
75 i++; in stringlib_split_whitespace()
77 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_whitespace()
85 SPLIT_ADD(str, j, i); in stringlib_split_whitespace()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dfastsearch.h43 Py_ssize_t i, j, mlast, w; in fastsearch() local
56 for (i = 0; i < n; i++) in fastsearch()
57 if (s[i] == p[0]) { in fastsearch()
64 for (i = 0; i < n; i++) in fastsearch()
65 if (s[i] == p[0]) in fastsearch()
66 return i; in fastsearch()
68 for (i = n - 1; i > -1; i--) in fastsearch()
69 if (s[i] == p[0]) in fastsearch()
70 return i; in fastsearch()
84 for (i = 0; i < mlast; i++) { in fastsearch()
[all …]
Dsplit.h61 Py_ssize_t i, j, count=0; in stringlib_split_whitespace() local
68 i = j = 0; in stringlib_split_whitespace()
70 while (i < str_len && STRINGLIB_ISSPACE(str[i])) in stringlib_split_whitespace()
71 i++; in stringlib_split_whitespace()
72 if (i == str_len) break; in stringlib_split_whitespace()
73 j = i; i++; in stringlib_split_whitespace()
74 while (i < str_len && !STRINGLIB_ISSPACE(str[i])) in stringlib_split_whitespace()
75 i++; in stringlib_split_whitespace()
77 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_whitespace()
85 SPLIT_ADD(str, j, i); in stringlib_split_whitespace()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Dk_rem_pio2.c159 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2() local
173 for(i=0;i<=m;i++,j++) f[i] = (j<0)? zero : (double) ipio2[j]; in __kernel_rem_pio2()
176 for (i=0;i<=jk;i++) { in __kernel_rem_pio2()
177 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; in __kernel_rem_pio2()
183 for(i=0,j=jz,z=q[jz];j>0;i++,j--) { in __kernel_rem_pio2()
185 iq[i] = (int32_t)(z-two24*fw); in __kernel_rem_pio2()
196 i = (iq[jz-1]>>(24-q0)); n += i; in __kernel_rem_pio2()
197 iq[jz-1] -= i<<(24-q0); in __kernel_rem_pio2()
205 for(i=0;i<jz ;i++) { /* compute 1-q */ in __kernel_rem_pio2()
206 j = iq[i]; in __kernel_rem_pio2()
[all …]
/device/google/contexthub/firmware/lib/libm/
Dkf_rem_pio2.c62 __int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
76 for(i=0;i<=m;i++,j++) f[i] = (j<0)? zero : (float) ipio2[j];
79 for (i=0;i<=jk;i++) {
80 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j];
81 q[i] = fw;
87 for(i=0,j=jz,z=q[jz];j>0;i++,j--) {
89 iq[i] = (__int32_t)(z-two8*fw);
100 i = (iq[jz-1]>>(8-q0)); n += i;
101 iq[jz-1] -= i<<(8-q0);
109 for(i=0;i<jz ;i++) { /* compute 1-q */
[all …]
/device/google/marlin/dataservices/datatop/src/
Ddatatop_str.c57 int i, j; in dt_read_line() local
65 i = 0; in dt_read_line()
68 while ((i < (len1-1)) && (j < len2)) { in dt_read_line()
69 buf1[i] = buf2[j]; in dt_read_line()
70 if (buf1[i] == '\n') in dt_read_line()
72 i++; in dt_read_line()
75 buf1[i] = 0; in dt_read_line()
76 return i; in dt_read_line()
95 int i, j, k; in dt_parse_proc_dictionary() local
104 for (i = 0; i < len1 && k < DTOP_DICT_SIZE; i++) { in dt_parse_proc_dictionary()
[all …]
Ddatatop_meminfo_file_poll.c75 int i, k, n; in dt_meminfo_parse() local
84 for (i = 0; i < len1 && k < DTOP_DICT_SIZE; i++) { in dt_meminfo_parse()
85 if (line1[i] == ' ' || line1[i] == ' ') { in dt_meminfo_parse()
86 line1[i] = 0; in dt_meminfo_parse()
87 n = i+1; in dt_meminfo_parse()
117 int i, j, n, sum; in dtop_meminfo_poll() local
139 for (i = 0; i < dpg->data_points_len; i++) in dtop_meminfo_poll()
141 (dpg->priv))->line[i], line_len[i], i, &dict); in dtop_meminfo_poll()
145 i = dt_find_dict_idx(dpg->data_points[j].name, &dict); in dtop_meminfo_poll()
146 if (i >= 0 && i < dict.max) { in dtop_meminfo_poll()
[all …]
/device/google/contexthub/firmware/os/algos/common/math/
Dmat.c39 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);
56 uint32_t i; in initDiagonalMatrix() local
57 for (i = 0; i < 3; ++i) { in initDiagonalMatrix()
58 A->elem[i][i] = x; in initDiagonalMatrix()
99 uint32_t i; in mat33Multiply() local
100 for (i = 0; i < 3; ++i) { in mat33Multiply()
106 sum += A->elem[i][k] * B->elem[k][j]; in mat33Multiply()
109 out->elem[i][j] = sum; in mat33Multiply()
[all …]
Dvec.c58 size_t i; in vecAdd() local
59 for (i = 0; i < dim; i++) { in vecAdd()
60 u[i] = v[i] + w[i]; in vecAdd()
67 size_t i; in vecAddInPlace() local
68 for (i = 0; i < dim; i++) { in vecAddInPlace()
69 v[i] += w[i]; in vecAddInPlace()
77 size_t i; in vecSub() local
78 for (i = 0; i < dim; i++) { in vecSub()
79 u[i] = v[i] - w[i]; in vecSub()
86 size_t i; in vecScalarMul() local
[all …]
/device/google/dragon/audio/hal/
Ddictionary.c92 int i ; in dictionary_hash() local
95 for (hash=0, i=0 ; i<len ; i++) { in dictionary_hash()
96 hash += (unsigned)key[i] ; in dictionary_hash()
145 int i ; in dictionary_del() local
148 for (i=0 ; i<d->size ; i++) { in dictionary_del()
149 if (d->key[i]!=NULL) in dictionary_del()
150 free(d->key[i]); in dictionary_del()
151 if (d->val[i]!=NULL) in dictionary_del()
152 free(d->val[i]); in dictionary_del()
178 int i ; in dictionary_get() local
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c46 int i; in mm_app_tc_open_close() local
50 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_open_close()
52 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_open_close()
55 i, rc); in mm_app_tc_open_close()
62 i, rc); in mm_app_tc_open_close()
78 int i, j; in mm_app_tc_start_stop_preview() local
82 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_preview()
84 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_start_stop_preview()
87 i, rc); in mm_app_tc_start_stop_preview()
95 i, rc); in mm_app_tc_start_stop_preview()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
DHTMLParser.py145 i = 0
147 while i < n:
148 match = self.interesting.search(rawdata, i) # < or &
155 if i < j: self.handle_data(rawdata[i:j])
156 i = self.updatepos(i, j)
157 if i == n: break
159 if startswith('<', i):
160 if starttagopen.match(rawdata, i): # < + letter
161 k = self.parse_starttag(i)
162 elif startswith("</", i):
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c43 int i; in mm_app_tc_open_close() local
47 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_open_close()
49 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_open_close()
52 __func__, i, rc); in mm_app_tc_open_close()
59 __func__, i, rc); in mm_app_tc_open_close()
75 int i, j; in mm_app_tc_start_stop_preview() local
79 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_preview()
81 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_start_stop_preview()
84 __func__, i, rc); in mm_app_tc_start_stop_preview()
92 __func__, i, rc); in mm_app_tc_start_stop_preview()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c43 int i; in mm_app_tc_open_close() local
47 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_open_close()
49 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_open_close()
52 __func__, i, rc); in mm_app_tc_open_close()
59 __func__, i, rc); in mm_app_tc_open_close()
75 int i, j; in mm_app_tc_start_stop_preview() local
79 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_preview()
81 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_start_stop_preview()
84 __func__, i, rc); in mm_app_tc_start_stop_preview()
92 __func__, i, rc); in mm_app_tc_start_stop_preview()
[all …]
/device/asus/fugu/libaudio/
DAudioHardwareInput.cpp51 for (int i=0; i<kMaxDevices; i++) { in AudioHardwareInput() local
52 mDeviceInfos[i].valid = false; in AudioHardwareInput()
133 for (size_t i = 0; i < mInputStreams.size(); i++) { in closeInputStream() local
134 if (in == mInputStreams[i]) { in closeInputStream()
135 mInputStreams.removeAt(i); in closeInputStream()
155 for (size_t i = 0; i < mInputStreams.size(); i++) { in standbyAllInputStreams() local
156 if (deviceInfo == NULL || deviceInfo == mInputStreams[i]->getDeviceInfo()) { in standbyAllInputStreams()
157 mInputStreams[i]->standby(); in standbyAllInputStreams()
176 for (int i=0; i<kMaxDevices; i++) { in dump() local
177 if (mDeviceInfos[i].valid) { in dump()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpeephole.c14 #define GETARG(arr, i) ((int)((arr[i+2]<<8) + arr[i+1])) argument
22 #define GETJUMPTGT(arr, i) (GETARG(arr,i) + (ABSOLUTE_JUMP(arr[i]) ? 0 : i+3)) argument
23 #define SETARG(arr, i, val) arr[i+2] = val>>8; arr[i+1] = val & 255 argument
40 Py_ssize_t i, arg, len_consts; in tuple_of_constants() local
46 for (i=0 ; i<n ; i++) in tuple_of_constants()
47 assert(codestr[i*3] == LOAD_CONST); in tuple_of_constants()
54 for (i=0 ; i<n ; i++) { in tuple_of_constants()
55 arg = GETARG(codestr, (i*3)); in tuple_of_constants()
59 PyTuple_SET_ITEM(newconst, i, constant); in tuple_of_constants()
257 int i,j, opcode, blockcnt = 0; local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpeephole.c14 #define GETARG(arr, i) ((int)((arr[i+2]<<8) + arr[i+1])) argument
22 #define GETJUMPTGT(arr, i) (GETARG(arr,i) + (ABSOLUTE_JUMP(arr[i]) ? 0 : i+3)) argument
23 #define SETARG(arr, i, val) arr[i+2] = val>>8; arr[i+1] = val & 255 argument
40 Py_ssize_t i, arg, len_consts; in tuple_of_constants() local
46 for (i=0 ; i<n ; i++) in tuple_of_constants()
47 assert(codestr[i*3] == LOAD_CONST); in tuple_of_constants()
54 for (i=0 ; i<n ; i++) { in tuple_of_constants()
55 arg = GETARG(codestr, (i*3)); in tuple_of_constants()
59 PyTuple_SET_ITEM(newconst, i, constant); in tuple_of_constants()
246 int i,j, opcode, blockcnt = 0; in markblocks() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_generators.py967 def gen(i): argument
968 if i >= len(gs):
971 for values[i] in gs[i]():
972 for x in gen(i+1):
992 def gen(i): argument
993 if i >= n:
996 elif (n-i) % 3:
997 ip1 = i+1
998 for values[i] in gs[i]():
1003 for x in _gen3(i):
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Degman.c61 int i; local
81 for (i=BlkLevel+1; i<=highWater ; i++) {
82 for (innerEG=egArray[i]; innerEG != NULL ; innerEG=nextEG) {
87 egArray[i]=NULL;
101 for (i=BlkLevel; i<=highWater ; i++) {
102 for (innerLE=leArray[i]; innerLE != NULL ; innerLE=nextLE) {
104 if (BlkLevel != i ||
111 if (BlkLevel != i) leArray[i]=NULL;
135 for (i=BlkLevel; i <= highWater ; i++) {
136 for (innerAlt=altArray[i]; innerAlt != NULL ; innerAlt=nextAlt) {
[all …]
/device/google/dragon/audio/hal/dsp/
Ddrc.c53 int i; in init_data_buffer() local
56 for (i = 0; i < DRC_NUM_CHANNELS; i++) { in init_data_buffer()
57 drc->data1[i] = (float *)calloc(1, size); in init_data_buffer()
58 drc->data2[i] = (float *)calloc(1, size); in init_data_buffer()
65 int i; in free_data_buffer() local
67 for (i = 0; i < DRC_NUM_CHANNELS; i++) { in free_data_buffer()
68 free(drc->data1[i]); in free_data_buffer()
69 free(drc->data2[i]); in free_data_buffer()
90 int i; in set_default_parameters() local
92 for (i = 0; i < DRC_NUM_KERNELS; i++) { in set_default_parameters()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.cpp204 size_t i, count; in reset() local
209 for (i = 0; i < count; i++) { in reset()
210 mMemInfo[i].fd = -1; in reset()
211 mMemInfo[i].main_ion_fd = -1; in reset()
249 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef() local
250 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
251 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
252 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
253 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
254 bufDef.planes_buf.planes[i-1].reserved[0] + in getBufDef()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp204 size_t i, count; in reset() local
209 for (i = 0; i < count; i++) { in reset()
210 mMemInfo[i].fd = -1; in reset()
211 mMemInfo[i].main_ion_fd = -1; in reset()
249 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef() local
250 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
251 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
252 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
253 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
254 bufDef.planes_buf.planes[i-1].reserved[0] + in getBufDef()
[all …]
/device/google/contexthub/firmware/os/cpu/cortexm4/
Dpendsv.c26 int32_t i, free = -1; in pendsvSubscribe() local
29 for (i = 0; i < MAX_PENDSV_SUBSCRIBERS; i++) { in pendsvSubscribe()
30 if (!mSubscribers[i]) in pendsvSubscribe()
31 free = i; in pendsvSubscribe()
32 if (mSubscribers[i] == cbk) in pendsvSubscribe()
46 uint32_t i; in pendsvUnsubscribe() local
48 for (i = 0; i < MAX_PENDSV_SUBSCRIBERS; i++) { in pendsvUnsubscribe()
49 if (mSubscribers[i] == cbk) { in pendsvUnsubscribe()
50 mSubscribers[i] = NULL; in pendsvUnsubscribe()
75 uint32_t i; in pendSvHandleC() local
[all …]

12345678910>>...64