Searched defs:nn (Results 1 - 10 of 10) sorted by relevance

/system/core/adb/
H A Dconsole.c29 int fd, nn; local
37 for (nn = 1; nn < argc; nn++) {
38 adb_write( fd, argv[nn], strlen(argv[nn]) );
39 adb_write( fd, (nn == argc-1) ? "\n" : " ", 1 );
H A Dtransport_local.c344 int nn; local
346 for (nn = 0; nn < ADB_LOCAL_TRANSPORT_MAX; nn++) {
347 if (local_transports[nn] == t) {
348 local_transports[nn] = NULL;
H A Dtransport.c46 int nn, len2 = len; local
53 for (nn = 0; nn < len2; nn++) {
54 sprintf(pb, "%02x", ptr[nn]);
59 for (nn = 0; nn < len2; nn++) {
60 int c = ptr[nn];
H A Dsysdeps_win32.c161 int nn; local
171 for (nn = 0; nn < WIN32_MAX_FHS; nn++) {
172 if ( _win32_fhs[nn].clazz == NULL) {
173 f = &_win32_fhs[nn];
844 int nn, len2 = len;
848 for (nn = 0; nn < len2; nn
1686 int nn; local
[all...]
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_once.c66 int nn; local
68 for (nn = 0; nn < N_THREADS; nn++) {
69 if (pthread_create( &threads[nn], NULL, thread_function, (void*)(long int)nn) < 0) {
70 printf("creation of thread %d failed\n", nn);
75 for (nn = 0; nn < N_THREADS; nn
[all...]
H A Dtest_semaphore.c114 int nn; local
121 for ( nn = 0; nn < 3; nn++ ) {
122 if ( pthread_create( &t[nn], NULL, thread_routines[nn], NULL ) < 0 ) {
123 printf("could not create thread %d: %s\n", nn+1, strerror(errno) );
H A Dtest_sem_post.c60 int nn, value; local
69 for ( nn = 0; nn < MAX_THREADS; nn++ ) {
70 if ( pthread_create( &t[nn], NULL, thread_func, &semaphore ) < 0 ) {
71 printf("Could not create thread %d: %s\n", nn+1, strerror(errno) );
77 for (nn = 0; nn < MAX_THREADS; nn++) {
81 for ( nn
[all...]
H A Dtest_cpu_set.c70 int nn, nnMax = CPU_SETSIZE; local
81 for (nn = 0; nn < nnMax; nn++)
82 F(CPU_ISSET(nn, set));
85 for (nn = 0; nn < nnMax; nn++) {
87 CPU_SET(nn, set);
90 T(CPU_ISSET(mm, set) == (mm == nn));
100 TEST_INT_EQ(CPU_COUNT(set), nn+1); local
121 TEST_INT_EQ(CPU_COUNT(set), nn); local
132 int nn, nnMax; local
162 TEST_INT_EQ(CPU_COUNT_S(setsize, set), nn+1); local
183 TEST_INT_EQ(CPU_COUNT_S(setsize, set), nn); local
[all...]
/system/extras/tests/bionic/libc/bionic/
H A Dtest_cond.c77 int nn; local
80 for (nn = 0; nn < count; nn++) {
81 printf("main: creating thread %d\n", nn+1);
82 if (pthread_create( &t[nn], NULL, thread_routines[nn], NULL) < 0) {
83 printf("main: could not create thread %d: %s\n", nn+1, strerror(errno));
88 for (nn = 0; nn < coun
[all...]
/system/core/run-as/
H A Dpackage.c212 int nn; local
224 for (nn = 1; dataPath[nn] != '\0'; nn++)
229 if (dataPath[nn] != '/')
233 if (dataPath[nn+1] == '\0') {
238 if (nn >= (int)(sizeof subpath)) {
244 if (nn >= 3 &&
245 dataPath[nn-3] == '/' &&
246 dataPath[nn
[all...]

Completed in 3256 milliseconds