Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

linux_common.c File Reference

#include <unistd.h>
#include <string.h>

Include dependency graph for linux_common.c:

Include dependency graph

Go to the source code of this file.

Functions

void Com_Memcpy (void *dest, const void *src, const size_t count)
void Com_Memset (void *dest, const int val, const size_t count)


Function Documentation

void Com_Memcpy void *  dest,
const void *  src,
const size_t  count
 

GAS syntax equivalents of the MSVC asm memory calls in common.c

The following changes have been made to the asm: 1. Registers are loaded by the inline asm arguments when possible 2. Labels have been changed to local label format (0,1,etc.) to allow inlining

HISTORY: AH - Created on 08 Dec 2000

Definition at line 38 of file linux_common.c.

References count, memcpy(), and src.

Referenced by AAS_EntityCollision(), AAS_EntityInfo(), AAS_LoadBSPFile(), AAS_OptimizeArea(), AAS_OptimizeFace(), AAS_ReachabilityFromNum(), AAS_ShowBoundingBox(), AAS_ShowReachableAreas(), AddWindingToConvexHull(), BotGetSecondGoal(), BotGetTopGoal(), BotGetWeaponInfo(), BotImport_DebugPolygonCreate(), BotImport_DebugPolygonShow(), BotNextConsoleMessage(), BotPushGoal(), BotReplaceReplySynonyms(), BotReplyChat(), Cbuf_AddText(), Cbuf_Execute(), Cbuf_InsertText(), CL_CgameSystemCalls(), CL_ConfigstringModified(), CL_GetSnapshot(), CL_ParseGamestate(), CL_UISystemCalls(), CLUI_GetCDKey(), CLUI_SetCDKey(), CM_PatchCollideFromGrid(), CMod_LoadEntityString(), CMod_LoadShaders(), CMod_LoadVisibility(), Com_EventLoop(), ComputeColors(), Con_CheckResize(), CopyWinding(), EA_GetInput(), Field_CompleteCommand(), Field_VariableSizeDraw(), FS_FOpenFileRead(), FS_SortFileList(), GeneratePermanentShader(), GeneticParentsAndChildSelection(), Huff_Compress(), Huff_Decompress(), InvertErrorTable(), LAN_RemoveServer(), LoadBMP(), LoadPCX(), LoadScriptMemory(), LoadWeaponConfig(), MD4Update(), MSG_Copy(), NET_GetLoopPacket(), NET_SendLoopPacket(), Netchan_Process(), Netchan_Transmit(), PC_CheckTokenType(), PC_CopyToken(), PC_ReadSourceToken(), PC_ReadToken(), PS_CheckTokenType(), PS_ReadPrimitive(), PS_ReadToken(), PS_UnreadToken(), R_AddMarkFragments(), R_ChopPolyBehindPlane(), R_CreateSurfaceGridMesh(), R_LoadLightGrid(), R_LoadMD3(), R_LoadMD4(), R_LoadShaders(), R_LoadVisibility(), R_MipMap2(), R_MovePatchSurfacesToHunk(), RE_AddPolyToScene(), RE_RegisterFont(), RE_RenderScene(), RemoveColinearPoints(), RoQInterrupt(), SCR_DrawSmallStringExt(), SCR_DrawStringExt(), StringReplaceWords(), SV_GameSystemCalls(), unzReOpen(), Upload32(), VM_Compile(), VM_Create(), and VM_Restart().

00038                                                                   {
00039   memcpy(dest, src, count);
00040 }

Here is the call graph for this function:

void Com_Memset void *  dest,
const int  val,
const size_t  count
 

Definition at line 42 of file linux_common.c.

References count, and memset().

Referenced by AAS_AlternativeRouteGoals(), AAS_AreaEntityCollision(), AAS_BestReachableFromJumpPadArea(), AAS_CheckAreaForPossiblePortals(), AAS_ClientMovementPrediction(), AAS_ConnectedAreas(), AAS_DumpBSPData(), AAS_EntityInfo(), AAS_FreeReachability(), AAS_NearestHideArea(), AAS_Reachability_EqualFloorHeight(), AAS_Reachability_JumpPad(), AAS_ReachabilityFromNum(), AAS_Shutdown(), AAS_TraceClientBBox(), AAS_UpdateAreaRoutingCache(), AAS_WriteAASFile(), AllocLevelItem(), AllocWinding(), BotChooseLTGItem(), BotChooseNBGItem(), BotInitialChat(), BotMoveToGoal(), BotPredictVisiblePosition(), BotReplyChat(), BotResetAvoidGoals(), BotResetAvoidReach(), BotResetGoalState(), BotResetMoveState(), BotSetBrushModelTypes(), BotSetChatName(), CIN_PlayCinematic(), CL_CgameSystemCalls(), CL_ClearState(), CL_ConfigstringModified(), CL_CreateCmd(), CL_Disconnect(), CL_GetServerCommand(), CL_LocalServers_f(), CL_MapLoading(), CL_ParseGamestate(), CL_ParseSnapshot(), CL_Ping_f(), CL_Record_f(), CL_ServerStatus_f(), CL_Shutdown(), CL_ShutdownRef(), CL_UISystemCalls(), CL_WritePacket(), CM_ClearMap(), CM_LoadMap(), CM_PatchCollideFromGrid(), CM_Trace(), CM_WriteAreaBits(), CMod_LoadVisibility(), CollapseMultitexture(), Com_AppendCDKey(), Com_ReadCDKey(), ComputeColors(), ComputeTexCoords(), CreateInternalShaders(), Cvar_Restart_f(), DrawSkyBox(), FinishShader(), FS_FCloseFile(), FS_GetModList(), GetBotLibAPI(), GetClearedHunkMemory(), GetClearedMemory(), GetRefAPI(), GetWavinfo(), Huff_Compress(), Huff_Decompress(), Huff_Init(), Hunk_Alloc(), IN_ShutdownMIDI(), Info_Print(), LibVarAlloc(), LoadItemConfig(), LoadScriptFile(), LoadScriptMemory(), LoadSourceFile(), LoadSourceMemory(), LoadWeaponConfig(), MD4Final(), MD4Transform(), MSG_Init(), MSG_InitOOB(), MSG_ReadDeltaEntity(), MSG_ReadDeltaPlayerstate(), MSG_WriteDeltaPlayerstate(), NET_GetLoopPacket(), NET_StringToAdr(), Netchan_Setup(), PC_AddBuiltinDefines(), PC_DefineFromString(), PC_Directive_define(), PC_Directive_include(), PS_CreatePunctuationTable(), PS_ReadToken(), R_ClearFlares(), R_CreateBuiltinImages(), R_CreateDefaultImage(), R_CreateSurfaceGridMesh(), R_DeleteTextures(), R_FindShader(), R_Init(), R_InitImages(), R_InitShaders(), R_LevelShot(), R_LightForPoint(), R_LoadVisibility(), R_PerformanceCounters(), R_PlaneForSurface(), R_RotateForViewer(), RB_ShadowTessEnd(), RB_TakeScreenshot(), RE_LoadWorldMap(), RE_RegisterFont(), RE_RegisterShaderFromImage(), RE_RenderScene(), ResetScript(), S_BeginRegistration(), S_ChannelSetup(), S_ClearSoundBuffer(), S_FindName(), S_Init(), S_PaintChannels(), ScanAndLoadShaderFiles(), Snd_Memset(), SV_AuthorizeIpPacket(), SV_BuildClientSnapshot(), SV_ChangeMaxClients(), SV_ClearServer(), SV_ClearWorld(), SV_ClipToEntity(), SV_DirectConnect(), SV_GameSystemCalls(), SV_SendClientGameState(), SV_Shutdown(), SV_Trace(), SV_UserMove(), VertexLightingCollapse(), VM_Clear(), VM_Compile(), VM_Free(), VM_Init(), VM_Restart(), Z_Free(), and Z_Malloc().

00042                                                                 {
00043   memset(dest, val, count);
00044 }

Here is the call graph for this function:


Generated on Thu Aug 25 15:37:47 2005 for Quake III Arena by  doxygen 1.3.9.1