/external/libusb-compat/libusb/ |
H A D | usbi.h | 25 #define LIST_ADD(begin, ent) \ 28 ent->next = begin; \ 29 ent->next->prev = ent; \ 31 ent->next = NULL; \ 32 ent->prev = NULL; \ 33 begin = ent; \ 36 #define LIST_DEL(begin, ent) \ 38 if (ent->prev) \ 39 ent [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | sv_move.cpp | 37 qboolean SV_CheckBottom (edict_t *ent) argument 44 VectorAdd (ent->u.v.origin, ent->u.v.mins, mins); 45 VectorAdd (ent->u.v.origin, ent->u.v.maxs, maxs); 74 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 87 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 110 qboolean SV_movestep (edict_t *ent, vec3_t move, qboolean relink) argument 119 VectorCopy (ent->u.v.origin, oldorg); 120 VectorAdd (ent 233 SV_StepDirection(edict_t *ent, float yaw, float dist) argument 268 SV_FixCheckBottom(edict_t *ent) argument 373 SV_CloseEnough(edict_t *ent, edict_t *goal, float dist) argument 395 edict_t *ent, *goal; local [all...] |
H A D | sv_phys.cpp | 54 void SV_Physics_Toss (edict_t *ent); 90 void SV_CheckVelocity (edict_t *ent) argument 99 if (IS_NAN(ent->u.v.velocity[i])) 101 Con_Printf ("Got a NaN velocity on %s\n", pr_strings + ent->u.v.classname); 102 ent->u.v.velocity[i] = 0; 104 if (IS_NAN(ent->u.v.origin[i])) 106 Con_Printf ("Got a NaN origin on %s\n", pr_strings + ent->u.v.classname); 107 ent->u.v.origin[i] = 0; 109 if (ent->u.v.velocity[i] > sv_maxvelocity.value) 110 ent 126 SV_RunThink(edict_t *ent) argument 229 SV_FlyMove(edict_t *ent, float time, trace_t *steptrace) argument 371 SV_AddGravity(edict_t *ent) argument 408 SV_PushEntity(edict_t *ent, vec3_t push) argument 704 SV_Physics_Pusher(edict_t *ent) argument 762 SV_CheckStuck(edict_t *ent) argument 808 SV_CheckWater(edict_t *ent) argument 867 SV_WallFriction(edict_t *ent, trace_t *trace) argument 901 SV_TryUnstick(edict_t *ent, vec3_t oldvel) argument 958 SV_WalkMove(edict_t *ent) argument 1059 SV_Physics_Client(edict_t *ent, int num) argument 1142 SV_Physics_None(edict_t *ent) argument 1156 SV_Physics_Follow(edict_t *ent) argument 1172 SV_Physics_Noclip(edict_t *ent) argument 1198 SV_CheckWaterTransition(edict_t *ent) argument 1245 SV_Physics_Toss(edict_t *ent) argument 1363 SV_Physics_Step(edict_t *ent) argument 1468 SV_Physics_Step(edict_t *ent) argument 1510 edict_t *ent; local 1568 SV_Trace_Toss(edict_t *ent, edict_t *ignore) argument [all...] |
H A D | world.h | 36 edict_t *ent; // entity the surface is on
member in struct:__anon11893 48 void SV_UnlinkEdict (edict_t *ent);
51 // flags ent->v.modified
53 void SV_LinkEdict (edict_t *ent, qboolean touch_triggers);
55 // flags ent->v.modified
56 // sets ent->v.absmin and ent->v.absmax
65 edict_t *SV_TestEntityPosition (edict_t *ent);
|
H A D | cl_parse.cpp | 104 int channel, ent; local 126 ent = channel >> 3; 129 if (ent > MAX_EDICTS) 130 Host_Error ("CL_ParseStartSoundPacket: ent = %i", ent); 135 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); 336 entity_t *ent; local 357 ent = CL_EntityNum (num); 363 if (ent->msgtime != cl.mtime[1]) 368 ent 491 CL_ParseBaseline(entity_t *ent) argument 670 entity_t *ent; local [all...] |
H A D | cl_main.cpp | 251 entity_t *ent; local 254 for (i=0,ent=cl_entities ; i<cl.num_entities ; i++,ent++) 257 if (!ent->model) 263 ,ent->model->name,ent->frame, ent->origin[0], ent->origin[1], ent->origin[2], ent 444 entity_t *ent; local [all...] |
H A D | sv_main.cpp | 124 int ent; local 150 ent = NUM_FOR_EDICT(entity); 152 channel = (ent<<3) | channel; 245 edict_t *ent; local 258 ent = EDICT_NUM(edictnum); 271 client->edict = ent; 434 edict_t *ent; local 441 ent = NEXT_EDICT(sv.edicts); 442 for (e=1 ; e<sv.num_edicts ; e++, ent = NEXT_EDICT(ent)) 560 edict_t *ent; local 576 SV_WriteClientdataToMessage(edict_t *ent, sizebuf_t *msg) argument 1050 edict_t *ent; local [all...] |
H A D | gl_refrag.cpp | 51 void R_RemoveEfrags (entity_t *ent) argument 55 ef = ent->efrag; 82 ent->efrag = NULL; 163 void R_AddEfrags (entity_t *ent) argument 168 if (!ent->model) 171 r_addent = ent; 173 lastlink = &ent->efrag; 176 entmodel = ent->model; 180 r_emins[i] = ent->origin[i] + entmodel->mins[i]; 181 r_emaxs[i] = ent [all...] |
H A D | world.cpp | 129 hull_t *SV_HullForEntity (edict_t *ent, vec3_t mins, vec3_t maxs, vec3_t offset) argument 137 if (ent->u.v.solid == SOLID_BSP) 139 if (ent->u.v.movetype != MOVETYPE_PUSH) 142 model = sv.models[ (int)ent->u.v.modelindex ]; 157 VectorAdd (offset, ent->u.v.origin, offset); 162 VectorSubtract (ent->u.v.mins, maxs, hullmins); 163 VectorSubtract (ent->u.v.maxs, mins, hullmaxs); 166 VectorCopy (ent->u.v.origin, offset); 263 void SV_UnlinkEdict (edict_t *ent) argument 265 if (!ent 277 SV_TouchLinks( edict_t *ent, areanode_t *node ) argument 328 SV_FindTouchedLeafs(edict_t *ent, mnode_t *node) argument 372 SV_LinkEdict(edict_t *ent, qboolean touch_triggers) argument 551 SV_TestEntityPosition(edict_t *ent) argument 722 SV_ClipMoveToEntity(edict_t *ent, vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end) argument [all...] |
/external/quake/quake/src/QW/server/ |
H A D | sv_move.c | 37 qboolean SV_CheckBottom (edict_t *ent) argument 44 VectorAdd (ent->v.origin, ent->v.mins, mins); 45 VectorAdd (ent->v.origin, ent->v.maxs, maxs); 74 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 87 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 110 qboolean SV_movestep (edict_t *ent, vec3_t move, qboolean relink) argument 119 VectorCopy (ent->v.origin, oldorg); 120 VectorAdd (ent 233 SV_StepDirection(edict_t *ent, float yaw, float dist) argument 268 SV_FixCheckBottom(edict_t *ent) argument 373 SV_CloseEnough(edict_t *ent, edict_t *goal, float dist) argument 395 edict_t *ent, *goal; local [all...] |
H A D | sv_phys.c | 57 void SV_Physics_Toss (edict_t *ent); 90 void SV_CheckVelocity (edict_t *ent) argument 99 if (IS_NAN(ent->v.velocity[i])) 101 Con_Printf ("Got a NaN velocity on %s\n", PR_GetString(ent->v.classname)); 102 ent->v.velocity[i] = 0; 104 if (IS_NAN(ent->v.origin[i])) 106 Con_Printf ("Got a NaN origin on %s\n", PR_GetString(ent->v.classname)); 107 ent->v.origin[i] = 0; 109 if (ent->v.velocity[i] > sv_maxvelocity.value) 110 ent 126 SV_RunThink(edict_t *ent) argument 238 SV_FlyMove(edict_t *ent, float time, trace_t *steptrace) argument 377 SV_AddGravity(edict_t *ent, float scale) argument 397 SV_PushEntity(edict_t *ent, vec3_t push) argument 577 SV_Physics_Pusher(edict_t *ent) argument 634 SV_Physics_None(edict_t *ent) argument 647 SV_Physics_Noclip(edict_t *ent) argument 673 SV_CheckWaterTransition(edict_t *ent) argument 712 SV_Physics_Toss(edict_t *ent) argument 790 SV_Physics_Step(edict_t *ent) argument 837 SV_RunEntity(edict_t *ent) argument 876 edict_t *ent; local 896 edict_t *ent; local [all...] |
H A D | sv_ents.c | 98 qboolean SV_AddNailUpdate (edict_t *ent) argument 100 if (ent->v.modelindex != sv_nailmodel 101 && ent->v.modelindex != sv_supernailmodel) 105 nails[numnails] = ent; 114 edict_t *ent; local 125 ent = nails[n]; 126 x = (int)(ent->v.origin[0]+4096)>>1; 127 y = (int)(ent->v.origin[1]+4096)>>1; 128 z = (int)(ent->v.origin[2]+4096)>>1; 129 p = (int)(16*ent 252 edict_t *ent; local 326 edict_t *ent; local 452 edict_t *ent; local [all...] |
H A D | world.h | 36 edict_t *ent; // entity the surface is on member in struct:__anon11570 62 void SV_UnlinkEdict (edict_t *ent); 65 // flags ent->v.modified 67 void SV_LinkEdict (edict_t *ent, qboolean touch_triggers); 69 // flags ent->v.modified 70 // sets ent->v.absmin and ent->v.absmax 77 edict_t *SV_TestEntityPosition (edict_t *ent); 93 edict_t *SV_TestPlayerPosition (edict_t *ent, vec3_t origin);
|
H A D | pr_cmds.c | 522 edict_t *ent; local 527 ent = G_EDICT(OFS_PARM3); 529 trace = SV_Move (v1, vec3_origin, vec3_origin, v2, nomonsters, ent); 539 if (trace.ent) 540 pr_global_struct->trace_ent = EDICT_TO_PROG(trace.ent); 567 edict_t *ent; local 588 ent = EDICT_NUM(i); 593 if (ent->free) 595 if (ent->v.health <= 0) 597 if ((int)ent 632 edict_t *ent, *self; local 765 edict_t *ent, *chain; local 972 edict_t *ent; local 1015 edict_t *ent; local 1097 edict_t *ent; local 1128 edict_t *ent; local 1160 edict_t *ent, *check, *bestent; local 1252 edict_t *ent; local 1305 edict_t *ent; local 1345 edict_t *ent; local 1442 edict_t *ent; local 1473 edict_t *ent; local [all...] |
/external/openssh/ |
H A D | auth-sia.c | 56 SIAENTITY *ent = NULL; local 64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user, 68 if ((ret = sia_ses_authent(NULL, pass, ent)) != SIASUCCESS) { 72 sia_ses_release(&ent); 77 sia_ses_release(&ent); 85 SIAENTITY *ent = NULL; local 90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name, 94 if (sia_make_entity_pwd(pw, ent) != SIASUCCESS) { 95 sia_ses_release(&ent); 99 ent [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_symbolize.cc | 25 ReportStack *ent = (ReportStack*)internal_alloc(MBlockReportStack, local 27 internal_memset(ent, 0, sizeof(*ent)); 28 ent->pc = addr; 29 return ent; 33 ReportStack *ent = NewReportStackEntry(info.address); local 41 ent->module = internal_strdup(short_module_name); 43 ent->offset = info.module_offset; 45 ent->func = internal_strdup(info.function); 48 ent [all...] |
H A D | tsan_report.cc | 52 void PrintStack(const ReportStack *ent) { argument 53 for (int i = 0; ent; ent = ent->next, i++) { 54 TsanPrintf(" #%d %s %s:%d", i, ent->func, ent->file, ent->line); 55 if (ent->col) 56 TsanPrintf(":%d", ent->col); 57 if (ent 149 PrintStack(const ReportStack *ent) argument [all...] |
/external/openssl/crypto/x509/ |
H A D | by_dir.c | 187 static void by_dir_entry_free(BY_DIR_ENTRY *ent) argument 189 if (ent->dir) 190 OPENSSL_free(ent->dir); 191 if (ent->hashes) 192 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); 193 OPENSSL_free(ent); 225 BY_DIR_ENTRY *ent; local 232 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); 233 if (strlen(ent->dir) == (size_t)len && 234 strncmp(ent 328 BY_DIR_ENTRY *ent; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | nethelpers.cc | 70 hostent* ent = gethostbyname(hostname); local 71 if (!ent) { 79 total_len += strlen(ent->h_name) + 1; 80 while (ent->h_aliases[num_aliases]) { 81 total_len += sizeof(char*) + strlen(ent->h_aliases[num_aliases]) + 1; 85 while (ent->h_addr_list[num_addrs]) { 86 total_len += sizeof(char*) + ent->h_length; 99 memcpy(p, ent->h_name, strlen(ent->h_name) + 1); 100 p += strlen(ent [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | brel.h | 38 struct ext2_block_relocate_entry *ent); 44 struct ext2_block_relocate_entry *ent); 56 struct ext2_block_relocate_entry *ent); 79 #define ext2fs_brel_put(brel, old, ent) ((brel)->put((brel), old, ent)) 80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent)) 82 #define ext2fs_brel_next(brel, old, ent) ((brel)->next((brel), old, ent))
|
H A D | irel.h | 36 struct ext2_inode_relocate_entry *ent); 41 struct ext2_inode_relocate_entry *ent); 47 struct ext2_inode_relocate_entry *ent); 59 struct ext2_inode_relocate_entry *ent); 103 #define ext2fs_irel_put(irel, old, ent) ((irel)->put((irel), old, ent)) 104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, ent)) 105 #define ext2fs_irel_get_by_orig(irel, orig, old, ent) \ 106 ((irel)->get_by_orig((irel), orig, old, ent)) [all...] |
/external/e2fsprogs/util/ |
H A D | subst.c | 37 struct subst_entry *ent = 0; local 41 ent = (struct subst_entry *) malloc(sizeof(struct subst_entry)); 42 if (!ent) 44 ent->name = (char *) malloc(strlen(name)+1); 45 if (!ent->name) 47 ent->value = (char *) malloc(strlen(value)+1); 48 if (!ent->value) 50 strcpy(ent->name, name); 51 strcpy(ent->value, value); 52 ent 66 struct subst_entry *ent; local 124 struct subst_entry *ent; local [all...] |
/external/e2fsprogs/resize/ |
H A D | extent.c | 82 struct ext2_extent_entry *ent; local 98 ent = extent->list + curr; 104 ent--; 105 if ((ent->old_loc + ent->size == old_loc) && 106 (ent->new_loc + ent->size == new_loc)) { 107 ent->size++; 113 if (ent->old_loc + ent 199 struct ext2_extent_entry *ent; local 216 struct ext2_extent_entry *ent; local [all...] |
/external/quake/quake/src/QW/client/ |
H A D | gl_refrag.c | 51 void R_RemoveEfrags (entity_t *ent) argument 55 ef = ent->efrag; 82 ent->efrag = NULL; 163 void R_AddEfrags (entity_t *ent) argument 168 if (!ent->model) 171 r_addent = ent; 173 lastlink = &ent->efrag; 176 entmodel = ent->model; 180 r_emins[i] = ent->origin[i] + entmodel->mins[i]; 181 r_emaxs[i] = ent [all...] |
/external/valgrind/main/none/tests/x86-linux/ |
H A D | seg_override.c | 37 inline static void *wine_ldt_get_base( const LDT_ENTRY *ent ) 39 return (void *)(ent->BaseLow | 40 (unsigned long)ent->HighWord.Bits.BaseMid << 16 | 41 (unsigned long)ent->HighWord.Bits.BaseHi << 24); 43 inline static unsigned int wine_ldt_get_limit( const LDT_ENTRY *ent ) 45 unsigned int limit = ent->LimitLow | (ent->HighWord.Bits.LimitHi << 16); 46 if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff;
|