|
gwenhywfar 5.10.1
|
#include "gwenbuild/buildctx/buildcmd_p.h"#include <gwenhywfar/debug.h>#include <gwenhywfar/misc.h>
Go to the source code of this file.
|
static |
Definition at line 477 of file buildcmd.c.
References DBG_ERROR, GWB_File_List2_GetFileById(), GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_FindNextTag(), GWEN_XMLNode_GetIntProperty(), and NULL.
Referenced by GWB_BuildCmd_fromXml().


|
static |
Definition at line 431 of file buildcmd.c.
References GWB_BuildSubCmd_fromXml(), GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_FindNextTag(), and NULL.
Referenced by GWB_BuildCmd_fromXml().


|
static |
Definition at line 450 of file buildcmd.c.
References GWB_File_GetId(), GWEN_XMLNode_AddChild(), GWEN_XMLNode_new(), GWEN_XMLNode_SetIntProperty(), and GWEN_XMLNodeTypeTag.
Referenced by GWB_BuildCmd_toXml().


|
static |
Definition at line 412 of file buildcmd.c.
References GWB_BuildSubCmd_toXml(), GWEN_XMLNode_AddChild(), GWEN_XMLNode_new(), and GWEN_XMLNodeTypeTag.
Referenced by GWB_BuildCmd_toXml().


| void GWB_BuildCmd_AddBuildCommand | ( | GWB_BUILD_CMD * | bcmd, |
| GWB_BUILD_SUBCMD * | cmd | ||
| ) |
Definition at line 217 of file buildcmd.c.
Referenced by GWB_ParseBuildFiles().

| void GWB_BuildCmd_AddFlags | ( | GWB_BUILD_CMD * | bcmd, |
| uint32_t | i | ||
| ) |
Definition at line 134 of file buildcmd.c.
Referenced by _addBuildCmd(), _addCommands(), _parseBuildCmd(), _parseBuildCommand(), and _parseSubCmd().

| void GWB_BuildCmd_AddInFile | ( | GWB_BUILD_CMD * | bcmd, |
| GWB_FILE * | file | ||
| ) |
Definition at line 262 of file buildcmd.c.
Referenced by GWB_BuildCtx_AddInFileToCtxAndCmd().

| void GWB_BuildCmd_AddOutFile | ( | GWB_BUILD_CMD * | bcmd, |
| GWB_FILE * | file | ||
| ) |
Definition at line 277 of file buildcmd.c.
Referenced by GWB_BuildCtx_AddOutFileToCtxAndCmd().

| void GWB_BuildCmd_AddPrepareCommand | ( | GWB_BUILD_CMD * | bcmd, |
| GWB_BUILD_SUBCMD * | cmd | ||
| ) |
Definition at line 203 of file buildcmd.c.
| int GWB_BuildCmd_DecBlockingFiles | ( | GWB_BUILD_CMD * | bcmd | ) |
Definition at line 245 of file buildcmd.c.
Referenced by _decBlockingFilesInWaitingBuildCommands().

| void GWB_BuildCmd_DelFlags | ( | GWB_BUILD_CMD * | bcmd, |
| uint32_t | i | ||
| ) |
Definition at line 141 of file buildcmd.c.
| void GWB_BuildCmd_Dump | ( | const GWB_BUILD_CMD * | bcmd, |
| int | indent | ||
| ) |
Definition at line 571 of file buildcmd.c.
References GWBUILD_Debug_PrintFileList2(), GWBUILD_Debug_PrintIntValue(), GWBUILD_Debug_PrintKvpList(), and GWBUILD_Debug_PrintValue().
Referenced by GWBUILD_Debug_PrintBuildCmdList2().


| GWB_BUILD_CMD * GWB_BuildCmd_dup | ( | GWB_BUILD_CMD * | origCmd | ) |
Definition at line 60 of file buildcmd.c.
References GWB_BuildSubCmd_List_dup(), GWEN_LIST_INIT, GWEN_NEW_OBJECT, and NULL.
Referenced by _addBuildCommands().


| void GWB_BuildCmd_free | ( | GWB_BUILD_CMD * | bcmd | ) |
Definition at line 97 of file buildcmd.c.
References GWB_BuildCmd_SetCurrentCommand(), GWB_BuildCmd_SetCurrentProcess(), GWEN_FREE_OBJECT, GWEN_LIST_FINI, and NULL.
Referenced by _parseBuildCmd(), GWB_BuildCmd_List2_FreeAll(), and GWB_ParseBuildFiles().


| GWB_BUILD_CMD * GWB_BuildCmd_fromXml | ( | GWEN_XMLNODE * | xmlNode, |
| GWB_FILE_LIST2 * | fileList | ||
| ) |
Definition at line 371 of file buildcmd.c.
References _readFileIdsFromXml(), _readSubCommandListFromXml(), GWB_BuildCmd_new(), GWB_BuildCmd_SetBuilderName(), GWB_BuildCmd_SetBuildMessage(), GWB_BuildCmd_SetFolder(), GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_GetCharValue(), GWEN_XMLNode_GetIntValue(), and NULL.
Referenced by _readCommandsFromXml().


| int GWB_BuildCmd_GetBlockingFiles | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 224 of file buildcmd.c.
Referenced by _checkWaitingQueue().

| GWB_BUILD_SUBCMD_LIST * GWB_BuildCmd_GetBuildCommandList | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 210 of file buildcmd.c.
Referenced by _addBuildCommands(), and _setupCommands().

| const char * GWB_BuildCmd_GetBuilderName | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 148 of file buildcmd.c.
Referenced by GWB_BuildCtx_AddBuildCmdsByBuilderNameToList(), and GWB_BuildCtx_AddBuildCmdsForFileToList().

| const char * GWB_BuildCmd_GetBuildMessage | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 181 of file buildcmd.c.
| GWB_BUILD_SUBCMD * GWB_BuildCmd_GetCurrentCommand | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 306 of file buildcmd.c.
Referenced by _checkRunningQueue(), _checkWaitingQueue(), _needRunCurrentCommand(), _setupDepsForCmd(), _startCommand(), GWB_BuildCtx_AddBuildCmdsByBuilderNameToList(), and GWB_BuildCtx_AddBuildCmdsForFileToList().

| GWEN_PROCESS * GWB_BuildCmd_GetCurrentProcess | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 285 of file buildcmd.c.
Referenced by _checkRunningQueue().

| uint32_t GWB_BuildCmd_GetFlags | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 120 of file buildcmd.c.
Referenced by _needRunCurrentCommand(), _startCommand(), and GWB_BuildCtx_AddBuildCmdsByBuilderNameToList().

| const char * GWB_BuildCmd_GetFolder | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 166 of file buildcmd.c.
Referenced by _checkDependencies(), _startCommand(), and GWB_BuildCmd_PrintDescriptionWithText().

| GWB_FILE_LIST2 * GWB_BuildCmd_GetInFileList2 | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 255 of file buildcmd.c.
Referenced by _addBuildCommands(), _checkWaitingQueue(), _parseBuildInputFiles(), _prepareCmdDb(), and _setupDepsForCmd().

| GWB_FILE_LIST2 * GWB_BuildCmd_GetOutFileList2 | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 270 of file buildcmd.c.
Referenced by _addBuildCommands(), _checkWaitingQueue(), _parseBuildOutputFiles(), _prepareCmdDb(), _setBuildCmdInFiles(), and _signalJobFinished().

| GWB_BUILD_SUBCMD_LIST * GWB_BuildCmd_GetPrepareCommandList | ( | const GWB_BUILD_CMD * | bcmd | ) |
Definition at line 196 of file buildcmd.c.
Referenced by _addPrepareCommands(), and _setupCommands().

| int GWB_BuildCmd_IncBlockingFiles | ( | GWB_BUILD_CMD * | bcmd | ) |
Definition at line 238 of file buildcmd.c.
Referenced by _setupDepsForCmd().

| void GWB_BuildCmd_List2_FreeAll | ( | GWB_BUILD_CMD_LIST2 * | cmdList | ) |
Definition at line 548 of file buildcmd.c.
References GWB_BuildCmd_free().
Referenced by GWB_BuildCtx_free().


| void GWB_BuildCmd_List2_WriteXml | ( | const GWB_BUILD_CMD_LIST2 * | cmdList, |
| GWEN_XMLNODE * | xmlNode, | ||
| const char * | groupName | ||
| ) |
Definition at line 507 of file buildcmd.c.
References GWB_BuildCmd_toXml(), GWEN_XMLNode_AddChild(), GWEN_XMLNode_new(), and GWEN_XMLNodeTypeTag.

| void GWB_BuildCmd_List_WriteXml | ( | const GWB_BUILD_CMD_LIST * | cmdList, |
| GWEN_XMLNODE * | xmlNode, | ||
| const char * | groupName | ||
| ) |
Definition at line 530 of file buildcmd.c.
References GWB_BuildCmd_toXml(), GWEN_XMLNode_AddChild(), GWEN_XMLNode_new(), and GWEN_XMLNodeTypeTag.
Referenced by GWB_Project_toXml().


| GWB_BUILD_CMD * GWB_BuildCmd_new | ( | void | ) |
Definition at line 42 of file buildcmd.c.
References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.
Referenced by _addBuildCmd(), _parseBuildCmd(), and GWB_BuildCmd_fromXml().

| void GWB_BuildCmd_PrintDescriptionWithText | ( | const GWB_BUILD_CMD * | bcmd, |
| int | indent, | ||
| const char * | text | ||
| ) |
Definition at line 590 of file buildcmd.c.
References GWB_BuildCmd_GetFolder(), GWB_File_GetName(), and NULL.

| void GWB_BuildCmd_SetBlockingFiles | ( | GWB_BUILD_CMD * | bcmd, |
| int | i | ||
| ) |
Definition at line 231 of file buildcmd.c.
Referenced by _clearDepsInCommands().

| void GWB_BuildCmd_SetBuilderName | ( | GWB_BUILD_CMD * | bcmd, |
| const char * | s | ||
| ) |
Definition at line 155 of file buildcmd.c.
References NULL.
Referenced by _addBuildCmd(), _parseBuildCmd(), and GWB_BuildCmd_fromXml().

| void GWB_BuildCmd_SetBuildMessage | ( | GWB_BUILD_CMD * | bcmd, |
| const char * | s | ||
| ) |
Definition at line 188 of file buildcmd.c.
References NULL.
Referenced by GWB_BuildCmd_fromXml().

| void GWB_BuildCmd_SetCurrentCommand | ( | GWB_BUILD_CMD * | bcmd, |
| GWB_BUILD_SUBCMD * | cmd | ||
| ) |
Definition at line 313 of file buildcmd.c.
Referenced by _finishCurrentCommand(), _setupCommands(), and GWB_BuildCmd_free().

| void GWB_BuildCmd_SetCurrentProcess | ( | GWB_BUILD_CMD * | bcmd, |
| GWEN_PROCESS * | process | ||
| ) |
Definition at line 292 of file buildcmd.c.
References DBG_ERROR, GWEN_Process_CheckState(), GWEN_Process_free(), GWEN_Process_Terminate(), GWEN_ProcessStateRunning, and NULL.
Referenced by _abortCommandsInQueue(), _checkRunningQueue(), _startCommand(), and GWB_BuildCmd_free().


| void GWB_BuildCmd_SetFlags | ( | GWB_BUILD_CMD * | bcmd, |
| uint32_t | i | ||
| ) |
Definition at line 127 of file buildcmd.c.
| void GWB_BuildCmd_SetFolder | ( | GWB_BUILD_CMD * | bcmd, |
| const char * | s | ||
| ) |
Definition at line 173 of file buildcmd.c.
References NULL.
Referenced by _addBuildCmd(), _parseBuildCmd(), and GWB_BuildCmd_fromXml().

| void GWB_BuildCmd_toXml | ( | const GWB_BUILD_CMD * | bcmd, |
| GWEN_XMLNODE * | xmlNode | ||
| ) |
Definition at line 323 of file buildcmd.c.
References _writeIdsFromFile2ListToXml(), _writeSubCommandListToXml(), GWEN_XMLNode_AddChild(), GWEN_XMLNode_new(), GWEN_XMLNode_SetCharValue(), GWEN_XMLNode_SetIntValue(), and GWEN_XMLNodeTypeTag.
Referenced by _writeCommandList2ToXml(), GWB_BuildCmd_List2_WriteXml(), and GWB_BuildCmd_List_WriteXml().


| GWEN_LIST2_FUNCTIONS | ( | GWB_BUILD_CMD | , |
| GWB_BuildCmd | |||
| ) |
| GWEN_LIST_FUNCTIONS | ( | GWB_BUILD_CMD | , |
| GWB_BuildCmd | |||
| ) |