/external/qemu/telephony/ |
D | gsm.c | 183 int nn; in gsm_hex_to_bytes0() local 185 for (nn = 0; nn < hexlen/2; nn++ ) { in gsm_hex_to_bytes0() 186 dst[nn] = (byte_t) gsm_hex2_to_byte0( (const char*)hex+2*nn ); in gsm_hex_to_bytes0() 189 dst[nn] = gsm_hexchar_to_int0( hex[2*nn] ) << 4; in gsm_hex_to_bytes0() 196 int nn; in gsm_hex_to_bytes() local 201 for (nn = 0; nn < hexlen/2; nn++ ) { in gsm_hex_to_bytes() 202 int c = gsm_hex2_to_byte( (const char*)hex+2*nn ); in gsm_hex_to_bytes() 204 dst[nn] = (byte_t) c; in gsm_hex_to_bytes() 212 int nn; in gsm_hex_from_bytes() local 214 for (nn = 0; nn < srclen; nn++) { in gsm_hex_from_bytes() [all …]
|
D | android_modem.c | 133 int nn; in android_parse_modem_tech() local 135 for (nn = 0; techs[nn].name; nn++) { in android_parse_modem_tech() 136 if (!strcmp(tech, techs[nn].name)) in android_parse_modem_tech() 137 return techs[nn].tech; in android_parse_modem_tech() 157 int nn; in android_parse_network_type() local 159 for (nn = 0; types[nn].name; nn++) { in android_parse_network_type() 160 if (!strcmp(speed, types[nn].name)) in android_parse_network_type() 161 return types[nn].type; in android_parse_network_type() 536 int nn; in android_modem_state_save() local 537 for (nn = modem->call_count - 1; nn >= 0; nn--) { in android_modem_state_save() [all …]
|
D | sms.c | 409 int nn, len, num_digits; in sms_address_from_hex() local 422 for ( nn = 0; nn < len; nn++ ) in sms_address_from_hex() 423 address->data[nn] = gsm_hex2_to_byte( hex + nn*2 ); in sms_address_from_hex() 432 int nn; in sms_address_to_hex() local 446 for ( nn = 0; nn < hexlen; nn += 2 ) in sms_address_to_hex() 447 gsm_hex_from_byte( hex+nn, address->data[nn/2] ); in sms_address_to_hex() 1238 int nn; in smspdu_free_list() local 1239 for (nn = 0; pdus[nn] != NULL; nn++) in smspdu_free_list() 1240 smspdu_free( pdus[nn] ); in smspdu_free_list() 1294 int nn; in smspdu_create_deliver_utf8() local [all …]
|
D | sysdeps_posix.c | 59 int nn, count; 63 for ( nn = queue->start; count > 0; ++nn, --count ) { 64 if ( queue->pending[nn] == item ) { 65 queue->pending[nn] = queue->pending[nn+count-1]; 183 int nn; in sys_init_channels() local 185 for (nn = 0; nn < SYS_MAX_CHANNELS-1; nn++) in sys_init_channels() 186 _s_channels0[nn].next = &_s_channels0[nn+1]; in sys_init_channels() 189 for (nn = 0; nn < SYS_EVENT_MAX; nn++) in sys_init_channels() 190 FD_ZERO( &_s_fdsets[nn] ); in sys_init_channels() 334 int nn; in sys_init_timers() local [all …]
|
D | sysdeps_qemu.c | 65 int nn; in sys_init_timers() local 66 for (nn = 0; nn < MAX_TIMERS-1; nn++) in sys_init_timers() 67 _s_timers0[nn].next = _s_timers0 + (nn+1); in sys_init_timers() 170 int nn; in sys_init_channels() local 172 for ( nn = 0; nn < MAX_CHANNELS-1; nn++ ) { in sys_init_channels() 173 _s_channels0[nn].next = _s_channels0 + (nn+1); in sys_init_channels()
|
/external/freetype/src/base/ |
D | ftadvanc.c | 31 FT_UInt nn; in _ft_face_scale_advances() local 48 for ( nn = 0; nn < count; nn++ ) in _ft_face_scale_advances() 49 advances[nn] = FT_MulDiv( advances[nn], scale, 64 ); in _ft_face_scale_advances() 112 FT_UInt num, end, nn; in FT_Get_Advances() local 144 for ( nn = 0; nn < count; nn++ ) in FT_Get_Advances() 146 error = FT_Load_Glyph( face, start + nn, flags ); in FT_Get_Advances() 151 padvances[nn] = ( flags & FT_LOAD_VERTICAL_LAYOUT ) in FT_Get_Advances()
|
/external/freetype/src/autofit/ |
D | afglobal.c | 161 FT_Long nn; in af_face_globals_compute_script_coverage() local 164 for ( nn = 0; nn < globals->glyph_count; nn++ ) in af_face_globals_compute_script_coverage() 166 if ( ( gscripts[nn] & ~AF_DIGIT ) == AF_SCRIPT_LIST_NONE ) in af_face_globals_compute_script_coverage() 168 gscripts[nn] &= ~AF_SCRIPT_LIST_NONE; in af_face_globals_compute_script_coverage() 169 gscripts[nn] |= AF_SCRIPT_LIST_DEFAULT; in af_face_globals_compute_script_coverage() 216 FT_UInt nn; in af_face_globals_free() local 219 for ( nn = 0; nn < AF_SCRIPT_MAX; nn++ ) in af_face_globals_free() 221 if ( globals->metrics[nn] ) in af_face_globals_free() 223 AF_ScriptClass clazz = AF_SCRIPT_CLASSES_GET[nn]; in af_face_globals_free() 226 FT_ASSERT( globals->metrics[nn]->clazz == clazz ); in af_face_globals_free() [all …]
|
D | afwarp.c | 82 FT_UInt nn; in af_warper_compute_line_best() local 86 for ( nn = 0; nn < 65; nn++ ) in af_warper_compute_line_best() 87 scores[nn] = 0; in af_warper_compute_line_best() 120 for ( nn = 0; nn < num_segments; nn++ ) in af_warper_compute_line_best() 122 FT_Pos len = segments[nn].max_coord - segments[nn].min_coord; in af_warper_compute_line_best() 123 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best() 174 FT_UInt nn, num_points, num_segments; in af_warper_compute() local 214 for ( nn = 1; nn < num_points; nn++ ) in af_warper_compute() 216 FT_Int X = points[nn].fx; in af_warper_compute() 226 for ( nn = 1; nn < num_segments; nn++ ) in af_warper_compute() [all …]
|
/external/qemu/android/ |
D | console.c | 175 int nn; in control_global_del_redir() local 177 for (nn = 0; nn < global->num_redirs; nn++) in control_global_del_redir() 179 Redir redir = &global->redirs[nn]; in control_global_del_redir() 184 memmove( redir, redir + 1, ((global->num_redirs - nn)-1)*sizeof(*redir) ); in control_global_del_redir() 358 int nn; in find_command() local 369 for (nn = 0; commands[nn].names != NULL; nn++) in find_command() 371 const char* name = commands[nn].names; in find_command() 387 return &commands[nn]; in find_command() 562 int nn; in control_client_read() local 567 for (nn = 0; nn < count; nn++) { in control_client_read() [all …]
|
D | framebuffer.c | 273 int nn; in qframebuffer_check_updates() local 274 for (nn = 0; nn < framebuffer_fifo_count; nn++) { in qframebuffer_check_updates() 275 QFrameBuffer* q = framebuffer_fifo[nn]; in qframebuffer_check_updates() 286 int nn; in qframebuffer_pulse() local 287 for (nn = 0; nn < framebuffer_fifo_count; nn++) { in qframebuffer_pulse() 288 qframebuffer_poll(framebuffer_fifo[nn]); in qframebuffer_pulse() 295 int nn; in qframebuffer_invalidate_all() local 296 for (nn = 0; nn < framebuffer_fifo_count; nn++) { in qframebuffer_invalidate_all() 297 QFrameBuffer* q = framebuffer_fifo[nn]; in qframebuffer_invalidate_all()
|
D | hw-events.c | 78 int nn; in eventList_findByType() local 80 for (nn = 0; _codes[nn].type >= 0; nn++) { in eventList_findByType() 81 if (_codes[nn].type == type) in eventList_findByType() 82 return _codes[nn].table; in eventList_findByType() 90 int nn; in eventList_getCount() local 95 for (nn = 0; list[nn].name != NULL; nn++) { in eventList_getCount() 98 return nn; in eventList_getCount()
|
D | cmdline-option.c | 58 int nn; in android_parse_options() local 132 for (nn = 0; debug_tags[nn].name; nn++) { in android_parse_options() 133 if (!strcmp(arg2, debug_tags[nn].name)) { in android_parse_options() 134 mask = (1UL << debug_tags[nn].flag); in android_parse_options() 257 int nn, remove = 0; in parse_debug_tags() local 271 for (nn = 0; debug_tags[nn].name != NULL; nn++) { in parse_debug_tags() 272 if ( !strcmp( debug_tags[nn].name, temp ) ) { in parse_debug_tags() 273 mask |= (1 << debug_tags[nn].flag); in parse_debug_tags()
|
D | keycode-array.c | 34 int nn; in android_keycodes_flush() local 36 for (nn = 0; nn < keycodes->keycode_count; nn++) { in android_keycodes_flush() 37 int code = keycodes->keycodes[nn]; in android_keycodes_flush()
|
D | audio-test.c | 77 int nn; in testAudio_init() local 78 for (nn = 0; nn < SAMPLE_SIZE; nn++) { in testAudio_init() 79 ta->sample[nn] = (short)(((nn % (SAMPLE_SIZE/4))*65536/(SAMPLE_SIZE/4)) & 0xffff); in testAudio_init()
|
/external/qemu/android/utils/ |
D | tempfile.c | 155 int nn; in atexit_fds_del() local 156 for (nn = 0; nn < t->count; nn++) in atexit_fds_del() 157 if (t->fds[nn] == fd) { in atexit_fds_del() 160 t->fds[nn] = t->fds[t->count]; in atexit_fds_del() 168 int nn; in atexit_fds_close_all() local 169 for (nn = 0; nn < t->count; nn++) in atexit_fds_close_all() 170 close(t->fds[nn]); in atexit_fds_close_all()
|
D | refset.c | 88 unsigned nn, count = s->num_buckets; in _arefSet_resize() local 92 for (nn = 0; nn < s->max_buckets; nn++) { in _arefSet_resize() 93 void* item = s->buckets[nn]; in _arefSet_resize() 162 unsigned nn, newSize; in _arefSet_removeDeferred() local 164 for (nn = 0; nn < s->max_buckets; nn++) { in _arefSet_removeDeferred() 165 if (s->buckets[nn] == AREFSET_DELETED) { in _arefSet_removeDeferred() 166 s->buckets[nn] = NULL; in _arefSet_removeDeferred()
|
D | dll.c | 49 int nn; in reverse_slashes() local 51 for (nn = 0; nn < len; nn++) { in reverse_slashes() 52 int ch = path[nn]; in reverse_slashes() 56 result[nn] = (char)ch; in reverse_slashes() 58 result[nn] = '\0'; in reverse_slashes()
|
/external/qemu/android/skin/ |
D | keyset.c | 50 int nn; in skin_key_command_from_str() local 53 for (nn = 0; nn < SKIN_KEY_COMMAND_MAX; nn++) { in skin_key_command_from_str() 54 const char* cmd = command_strings[nn]; in skin_key_command_from_str() 57 return (SkinKeyCommand) nn; in skin_key_command_from_str() 227 int nn; in skin_key_symmod_to_str() local 247 for (nn = 0; keysym_names[nn]._sym != 0; nn++) { in skin_key_symmod_to_str() 248 if (keysym_names[nn]._sym == sym) { in skin_key_symmod_to_str() 249 p = bufprint(p, end, "%s", keysym_names[nn]._str); in skin_key_symmod_to_str() 268 int nn; in skin_key_symmod_from_str() local 290 for (nn = 0; mods[nn].prefix != NULL; nn++) { in skin_key_symmod_from_str() [all …]
|
/external/qemu/slirp/ |
D | socket.c | 157 int n, nn; in soread() local 171 nn = readv(so->s, (struct iovec *)iov, n); in soread() 172 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); in soread() 174 nn = recv(so->s, iov[0].iov_base, iov[0].iov_len,0); in soread() 176 if (nn <= 0) { in soread() 177 if (nn < 0 && (errno == EINTR || errno == EAGAIN)) in soread() 180 …DEBUG_MISC((dfd, " --- soread() disconnected, nn = %d, errno = %d-%s\n", nn, errno,strerror(errno)… in soread() 197 if (n == 2 && nn == iov[0].iov_len) { in soread() 201 nn += ret; in soread() 204 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); in soread() [all …]
|
/external/qemu/slirp-android/ |
D | socket.c | 165 int n, nn; in soread() local 179 nn = readv(so->s, (struct iovec *)iov, n); in soread() 180 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); in soread() 182 nn = socket_recv(so->s, iov[0].iov_base, iov[0].iov_len); in soread() 184 if (nn <= 0) { in soread() 185 if (nn < 0 && (errno == EINTR || errno == EAGAIN)) in soread() 188 DEBUG_MISC((dfd, " --- soread() disconnected, nn = %d, errno = %d-%s\n", nn, errno,errno_str)); in soread() 205 if (n == 2 && nn == iov[0].iov_len) { in soread() 209 nn += ret; in soread() 212 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); in soread() [all …]
|
/external/openssl/crypto/lhash/ |
D | lhash.c | 160 LHASH_NODE *n,*nn; in lh_free() local 170 nn=n->next; in lh_free() 172 n=nn; in lh_free() 182 LHASH_NODE *nn,**rn; in lh_insert() local 193 if ((nn=(LHASH_NODE *)OPENSSL_malloc(sizeof(LHASH_NODE))) == NULL) in lh_insert() 198 nn->data=data; in lh_insert() 199 nn->next=NULL; in lh_insert() 201 nn->hash=hash; in lh_insert() 203 *rn=nn; in lh_insert() 220 LHASH_NODE *nn,**rn; in lh_delete() local [all …]
|
/external/qemu/ |
D | user-events-qemu.c | 20 int nn; in user_event_keycodes() local 21 for (nn = 0; nn < count; nn++) in user_event_keycodes() 22 user_event_keycode(kcodes[nn]); in user_event_keycodes()
|
/external/freetype/src/truetype/ |
D | ttdriver.c | 135 FT_UInt nn; in tt_get_advances() local 143 for ( nn = 0; nn < count; nn++ ) in tt_get_advances() 149 TT_Get_VMetrics( face, start + nn, &tsb, &ah ); in tt_get_advances() 150 advances[nn] = ah; in tt_get_advances() 155 for ( nn = 0; nn < count; nn++ ) in tt_get_advances() 161 TT_Get_HMetrics( face, start + nn, &lsb, &aw ); in tt_get_advances() 162 advances[nn] = aw; in tt_get_advances()
|
/external/valgrind/main/VEX/priv/ |
D | host_generic_simd128.c | 279 V128* argL, UInt nn) in h_generic_calc_SarN64x2() argument 282 nn &= 63; in h_generic_calc_SarN64x2() 283 res->w64[0] = sar64(argL->w64[0], nn); in h_generic_calc_SarN64x2() 284 res->w64[1] = sar64(argL->w64[1], nn); in h_generic_calc_SarN64x2() 289 V128* argL, UInt nn) in h_generic_calc_SarN8x16() argument 292 nn &= 7; in h_generic_calc_SarN8x16() 293 res->w8[ 0] = sar8(argL->w8[ 0], nn); in h_generic_calc_SarN8x16() 294 res->w8[ 1] = sar8(argL->w8[ 1], nn); in h_generic_calc_SarN8x16() 295 res->w8[ 2] = sar8(argL->w8[ 2], nn); in h_generic_calc_SarN8x16() 296 res->w8[ 3] = sar8(argL->w8[ 3], nn); in h_generic_calc_SarN8x16() [all …]
|
/external/qemu/android/avd/ |
D | info.c | 162 int nn; in avdInfo_free() local 164 for (nn = 0; nn < AVD_IMAGE_MAX; nn++) in avdInfo_free() 165 AFREE(i->imagePath[nn]); in avdInfo_free() 171 for (nn = 0; nn < i->numSearchPaths; nn++) in avdInfo_free() 172 AFREE(i->searchPaths[nn]); in avdInfo_free() 245 int nn, count = 0; in _getSearchPaths() local 247 for (nn = 0; nn < maxSearchPaths; nn++) { in _getSearchPaths() 250 p = bufprint(temp, end, "%s%d", SEARCH_PREFIX, nn+1 ); in _getSearchPaths() 638 int nn; in _avdInfo_getSdkFilePath() local 640 for (nn = 0; nn < i->numSearchPaths; nn++) { in _avdInfo_getSdkFilePath() [all …]
|