Searched refs:count (Results 76 - 100 of 115) sorted by relevance

12345

/system/core/init/
H A Dkeychords.c54 keychord->count = svc->nkeycodes;
H A Dproperty_service.c304 if(pa->count == PA_COUNT_MAX) return -1;
306 pi = pa_info_array + pa->count;
311 pa->toc[pa->count] =
314 pa->count++;
/system/core/adb/
H A Dtransport_local.c140 int count = ADB_LOCAL_TRANSPORT_MAX; local
147 for ( ; count > 0; count--, port += 2 ) {
H A Dadb.c166 unsigned count; local
180 count = p->msg.data_length;
182 if(count > DUMPMAX) {
183 count = DUMPMAX;
188 while(count-- > 0){
759 DWORD count; local
761 ret = ReadFile( pipe_read, temp, 3, &count, NULL );
767 if (count != 3 || temp[0] != 'O' || temp[1] != 'K' || temp[2] != '\n') {
970 DWORD count; local
971 WriteFile( GetStdHandle( STD_OUTPUT_HANDLE ), "OK\n", 3, &count, NUL local
[all...]
H A Dfile_sync_client.c254 int count = size - total; local
255 if (count > SYNC_DATA_MAX) {
256 count = SYNC_DATA_MAX;
259 memcpy(sbuf->data, &file_buffer[total], count);
260 sbuf->size = htoll(count);
261 if(writex(fd, sbuf, sizeof(unsigned) * 2 + count)){
265 total += count;
266 total_bytes += count;
H A Dsysdeps_win32.c918 int avail, count = 0; local
960 count += avail;
981 count += avail;
990 assert( count > 0 );
997 BIPD(( "bip_buffer_write: exit %d->%d count %d (as=%d ae=%d be=%d cw=%d cr=%d\n",
998 bip->fdin, bip->fdout, count, bip->a_start, bip->a_end, bip->b_end, bip->can_write, bip->can_read ));
1001 return count;
1007 int avail, count = 0; local
1053 count += avail;
1069 count
[all...]
H A Dusb_osx.c232 int i, count; local
236 count = (req.wLenDone - 1) / 2;
237 for (i = 0; i < count; i++)
/system/core/debuggerd/
H A Dgetevent.c82 int count = nfds - i - 1; local
84 memmove(device_names + i, device_names + i + 1, sizeof(device_names[0]) * count);
85 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count);
/system/core/fastboot/
H A Dusb_windows.c157 unsigned count = 0; local
179 count += written;
184 return count;
H A Dusb_osx.c340 int i, count; local
343 count = (req.wLenDone - 1) / 2;
344 for (i = 0; i < count; i++)
/system/core/libpixelflinger/tinyutils/
H A DKeyedVector.h80 ssize_t removeItemsAt(size_t index, size_t count = 1);
171 ssize_t KeyedVector<KEY, VALUE>::removeItemsAt(size_t index, size_t count) { argument
172 return mVector.removeItemsAt(index, count);
H A DVectorImpl.cpp194 ssize_t VectorImpl::removeItemsAt(size_t index, size_t count)
196 LOG_ASSERT((index+count)<=size(),
197 "[%p] remove: index=%d, count=%d, size=%d",
198 this, (int)index, (int)count, (int)size());
200 if ((index+count) > size())
202 _shrink(index, count);
221 "[%p] itemLocation: index=%d, capacity=%d, count=%d",
233 "[%p] editItemLocation: index=%d, capacity=%d, count=%d",
275 // LOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
328 // LOGV("_shrink(this=%p, where=%d, amount=%d) count
[all...]
H A DSortedVector.h120 inline ssize_t removeItemsAt(size_t index, size_t count = 1);
236 ssize_t SortedVector<TYPE>::removeItemsAt(size_t index, size_t count) {
237 return VectorImpl::removeItemsAt(index, count);
H A DVector.h139 inline ssize_t removeItemsAt(size_t index, size_t count = 1);
302 ssize_t Vector<TYPE>::removeItemsAt(size_t index, size_t count) { argument
303 return VectorImpl::removeItemsAt(index, count);
/system/extras/procmem/
H A Dprocmem.c58 uint64_t count, flags; local
197 error = pm_kernel_count(ker, PM_PAGEMAP_PFN(mapentry), &count);
200 fprintf(stderr, "error getting count for frame.\n");
210 if (count > 1) {
/system/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java222 public void setVertexCount(int count) { argument
223 if (!setShaderVertexCount(count)) {
224 throw new RuntimeException("Could not set GL vertex count to " + count + "!");
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp86 size_t count = pc()-base(); local
88 while (count--) {
165 size_t count = mBranchTargets.size(); local
166 while (count--) {
167 const branch_target_t& bt = mBranchTargets[count];
H A DGGLAssembler.h127 int count = 0; local
129 count++;
132 if (count == 1) {
139 mCount = count;
294 reg_t count; member in struct:android::GGLAssembler::fragment_parts_t
/system/extras/ext4_utils/
H A Doutput_file.c181 int rnd_up_len, zero_len, count; local
238 count = chunk_header.chunk_sz;
239 while (count) {
241 count--;
340 error("sparse chunk count did not match: %d %d", out->chunk_cnt,
H A Dsha1.c208 context->count[0] = context->count[1] = 0;
225 j = context->count[0];
226 if ((context->count[0] += len << 3) < j)
227 context->count[1] += (len>>29)+1;
256 finalcount[i] = (u_char)((context->count[(i >= 4 ? 0 : 1)]
260 while ((context->count[0] & 504) != 448)
/system/media/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h95 XAuint32 count; member in struct:XAAndroidBufferQueueState_
/system/core/libpixelflinger/
H A Dtrap.cpp61 const GGLcoord* pts, int count);
651 int count )
653 LOGI( "%d edge%s:\n", count, count == 1 ? "" : "s" );
654 for ( ; count > 0; count--, edges++ )
725 int count = ((ybot - ytop)>>TRI_FRACTION_BITS) + 1; local
726 if (count<=0) return;
738 left->x += left_xi * count;
739 right->x += right_xi * count;
942 aapolyx(void* con, const GGLcoord* pts, int count) argument
[all...]
/system/core/libnetutils/
H A Difc_utils.c399 unsigned count, addr; local
401 for (count=0, addr=1;((addr != 0) && (count < 255)); count++) {
585 unsigned addr, count; local
592 for (count=0, addr=1;((addr != 0) && (count < 255)); count++) {
/system/media/wilhelm/include/SLES/
H A DOpenSLES_Android.h184 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_
253 SLuint32 count; member in struct:SLAndroidBufferQueueState_
/system/core/liblog/
H A Dlogprint.c534 unsigned char count; local
540 count = *eventData++;
550 for (i = 0; i < count; i++) {
556 if (i < count-1) {
680 * Terminate the buffer. The NUL byte does not count as part of
890 * Returns count bytes written

Completed in 208 milliseconds

12345