Lines Matching refs:sBufferState
45 static u32 sBufferState = OS_DELIVER_ARG_BUF_INVALID; variable
415 sBufferState = OS_DELIVER_ARG_BUF_ACCESSIBLE | OS_DELIVER_ARG_BUF_WRITABLE; in OS_InitDeliverArgInfo()
441 if ( !(sBufferState & OS_DELIVER_ARG_BUF_WRITABLE) ) in OS_SetStringToDeliverArg()
482 if ( !(sBufferState & OS_DELIVER_ARG_BUF_WRITABLE) ) in OS_SetBinaryToDeliverArg()
519 if ( !(sBufferState & OS_DELIVER_ARG_BUF_WRITABLE) ) in OS_ConvertStringToDeliverArg()
578 if ( !(sBufferState & OS_DELIVER_ARG_BUF_ACCESSIBLE) ) in OS_EncodeDeliverArg()
604 sBufferState = OS_DELIVER_ARG_BUF_INVALID; in OS_EncodeDeliverArg()
654 sBufferState = OS_DELIVER_ARG_BUF_ACCESSIBLE; in OS_DecodeDeliverArg()
674 return sBufferState; in OS_GetDeliverArgState()
692 sBufferState = state; in OSi_SetDeliverArgState()
706 sBufferState = OS_DELIVER_ARG_BUF_INVALID; in OS_SetDeliverArgStateInvalid()
721 if ( !(sBufferState & OS_DELIVER_ARG_BUF_ACCESSIBLE) ) in OS_GetBinarySizeFromDeliverArg()
748 if ( !(sBufferState & OS_DELIVER_ARG_BUF_ACCESSIBLE) ) in OS_GetBinaryFromDeliverArg()
787 return (sBufferState & OS_DELIVER_ARG_BUF_ACCESSIBLE)? sBufferPtr->header.titleId: 0; in OS_GetTitleIdFromDeliverArg()
802 return (sBufferState & OS_DELIVER_ARG_BUF_ACCESSIBLE)? *(u32*)(&sBufferPtr->header.titleId): 0; in OS_GetGameCodeFromDeliverArg()
817 return (u16)((sBufferState & OS_DELIVER_ARG_BUF_ACCESSIBLE)? sBufferPtr->header.makerCode: 0); in OS_GetMakerCodeFromDeliverArg()
882 if ( !(sBufferState & OS_DELIVER_ARG_BUF_WRITABLE) ) in OS_SetSysParamToDeliverArg()
902 if ( !(sBufferState & OS_DELIVER_ARG_BUF_ACCESSIBLE) ) in OS_GetSysParamFromDeliverArg()
923 if ( sBufferPtr && sBufferState == OS_DELIVER_ARG_BUF_ACCESSIBLE ) in OS_GetDeliverArgc()
946 if ( sBufferPtr && sBufferState == OS_DELIVER_ARG_BUF_ACCESSIBLE ) in OS_GetDeliverArgv()