| /OK3568_Linux_fs/external/xserver/Xi/ |
| H A D | sendexev.c | 92 bytes_to_int32(sizeof(xSendExtensionEventReq)) + stuff->count + in SProcXSendExtensionEvent() 93 bytes_to_int32(stuff->num_events * sizeof(xEvent))) in SProcXSendExtensionEvent() 138 bytes_to_int32(sizeof(xSendExtensionEventReq)) + stuff->count + in ProcXSendExtensionEvent() 139 (stuff->num_events * bytes_to_int32(sizeof(xEvent)))) in ProcXSendExtensionEvent()
|
| H A D | chgfctl.c | 441 len = stuff->length - bytes_to_int32(sizeof(xChangeFeedbackControlReq)); in ProcXChangeFeedbackControl() 448 if (len != bytes_to_int32(sizeof(xKbdFeedbackCtl))) in ProcXChangeFeedbackControl() 457 if (len != bytes_to_int32(sizeof(xPtrFeedbackCtl))) in ProcXChangeFeedbackControl() 473 if (len < bytes_to_int32(sizeof(xStringFeedbackCtl))) in ProcXChangeFeedbackControl() 478 (bytes_to_int32(sizeof(xStringFeedbackCtl)) + f->num_keysyms)) in ProcXChangeFeedbackControl() 488 if (len != bytes_to_int32(sizeof(xIntegerFeedbackCtl))) in ProcXChangeFeedbackControl() 498 if (len != bytes_to_int32(sizeof(xLedFeedbackCtl))) in ProcXChangeFeedbackControl() 507 if (len != bytes_to_int32(sizeof(xBellFeedbackCtl))) in ProcXChangeFeedbackControl()
|
| H A D | chgdctl.c | 120 len = stuff->length - bytes_to_int32(sizeof(xChangeDeviceControlReq)); in ProcXChangeDeviceControl() 142 if ((len < bytes_to_int32(sizeof(xDeviceResolutionCtl))) || in ProcXChangeDeviceControl() 144 bytes_to_int32(sizeof(xDeviceResolutionCtl)) + r->num_valuators)) { in ProcXChangeDeviceControl() 195 if ((len != bytes_to_int32(sizeof(xDeviceEnableCtl)))) { in ProcXChangeDeviceControl()
|
| H A D | xiselectev.c | 126 len = stuff->length - bytes_to_int32(sizeof(xXISelectEventsReq)); in SProcXISelectEvents() 129 if (len < bytes_to_int32(sizeof(xXIEventMask))) in SProcXISelectEvents() 131 len -= bytes_to_int32(sizeof(xXIEventMask)); in SProcXISelectEvents() 173 if (bytes_to_int32(len) > stuff->length) in ProcXISelectEvents() 249 if (bytes_to_int32(len) != stuff->length) in ProcXISelectEvents()
|
| H A D | grabdev.c | 86 bytes_to_int32(sizeof(xGrabDeviceReq)) + stuff->event_count) in SProcXGrabDevice() 113 bytes_to_int32(sizeof(xGrabDeviceReq)) + stuff->event_count) in ProcXGrabDevice()
|
| H A D | chgkmap.c | 109 len = stuff->length - bytes_to_int32(sizeof(xChangeDeviceKeyMappingReq)); in ProcXChangeDeviceKeyMapping()
|
| H A D | getvers.c | 97 if (stuff->length != bytes_to_int32(sizeof(xGetExtensionVersionReq) + in ProcXGetExtensionVersion()
|
| H A D | setbmap.c | 96 bytes_to_int32(sizeof(xSetDeviceButtonMappingReq) + stuff->map_length)) in ProcXSetDeviceButtonMapping()
|
| H A D | getbmap.c | 112 rep.length = bytes_to_int32(rep.nElts); in ProcXGetDeviceButtonMapping()
|
| H A D | setmmap.c | 97 if (stuff->length != bytes_to_int32(sizeof(xSetDeviceModifierMappingReq)) + in ProcXSetDeviceModifierMapping()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | eventconvert.c | 475 mask_len = bytes_to_int32(bits_to_bytes(dce->buttons.num_buttons)); in appendButtonInfo() 479 info->length = bytes_to_int32(sizeof(xXIButtonInfo)) + in appendButtonInfo() 593 dcce->length = bytes_to_int32(len - sizeof(xEvent)); in eventToDeviceChanged() 655 btlen = bytes_to_int32(bits_to_bytes(MAX_BUTTONS)); in eventToDeviceEvent() 660 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS)); in eventToDeviceEvent() 669 xde->length = bytes_to_int32(len - sizeof(xEvent)); in eventToDeviceEvent() 735 xtoe->length = bytes_to_int32(len - sizeof(xEvent)); in eventToTouchOwnershipEvent() 758 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS)); in eventToRawEvent() 767 raw->length = bytes_to_int32(len - sizeof(xEvent)); in eventToRawEvent() 801 barrier->length = bytes_to_int32(len - sizeof(xEvent)); in eventToBarrierEvent()
|
| H A D | dispatch.c | 684 len = client->req_len - bytes_to_int32(sizeof(xCreateWindowReq)); in ProcCreateWindow() 722 len = client->req_len - bytes_to_int32(sizeof(xChangeWindowAttributesReq)); in ProcChangeWindowAttributes() 913 len = client->req_len - bytes_to_int32(sizeof(xConfigureWindowReq)); in ProcConfigureWindow() 1024 reply.length = bytes_to_int32(numChildren * sizeof(Window)); in ProcQueryTree() 1079 .length = bytes_to_int32(len), in ProcGetAtomName() 1306 reply->length = bytes_to_int32(rlength - sizeof(xGenericReply)); in ProcQueryFont() 1332 length = client->req_len - bytes_to_int32(sizeof(xQueryTextExtentsReq)); in ProcQueryTextExtents() 1497 len = client->req_len - bytes_to_int32(sizeof(xCreateGCReq)); in ProcCreateGC() 1523 len = client->req_len - bytes_to_int32(sizeof(xChangeGCReq)); in ProcChangeGC() 1795 npoint = bytes_to_int32((client->req_len << 2) - sizeof(xPolyPointReq)); in ProcPolyPoint() [all …]
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | security.c | 416 len = bytes_to_int32(SIZEOF(xSecurityGenerateAuthorizationReq)); in ProcSecurityGenerateAuthorization() 417 len += bytes_to_int32(stuff->nbytesAuthProto); in ProcSecurityGenerateAuthorization() 418 len += bytes_to_int32(stuff->nbytesAuthData); in ProcSecurityGenerateAuthorization() 478 protodata = protoname + bytes_to_int32(stuff->nbytesAuthProto); in ProcSecurityGenerateAuthorization() 536 .length = bytes_to_int32(authdata_len), in ProcSecurityGenerateAuthorization() 629 values_offset = bytes_to_int32(stuff->nbytesAuthProto) + in SProcSecurityGenerateAuthorization() 630 bytes_to_int32(stuff->nbytesAuthData); in SProcSecurityGenerateAuthorization() 632 stuff->length - bytes_to_int32(sz_xSecurityGenerateAuthorizationReq)) in SProcSecurityGenerateAuthorization()
|
| H A D | vidmode.c | 240 rep.length = bytes_to_int32(SIZEOF(xXF86OldVidModeGetModeLineReply) - in ProcVidModeGetModeLine() 244 rep.length = bytes_to_int32(SIZEOF(xXF86VidModeGetModeLineReply) - in ProcVidModeGetModeLine() 462 bytes_to_int32(sizeof(xXF86OldVidModeAddModeLineReq)); in ProcVidModeAddModeLine() 468 bytes_to_int32(sizeof(xXF86VidModeAddModeLineReq)); in ProcVidModeAddModeLine() 632 bytes_to_int32(sizeof(xXF86OldVidModeDeleteModeLineReq)); in ProcVidModeDeleteModeLine() 638 bytes_to_int32(sizeof(xXF86VidModeDeleteModeLineReq)); in ProcVidModeDeleteModeLine() 756 bytes_to_int32(sizeof(xXF86OldVidModeModModeLineReq)); in ProcVidModeModModeLine() 762 bytes_to_int32(sizeof(xXF86VidModeModModeLineReq)); in ProcVidModeModModeLine() 890 bytes_to_int32(sizeof(xXF86OldVidModeValidateModeLineReq)); in ProcVidModeValidateModeLine() 896 bytes_to_int32(sizeof(xXF86VidModeValidateModeLineReq)); in ProcVidModeValidateModeLine() [all …]
|
| H A D | xres.c | 239 .length = bytes_to_int32(num_clients * sz_xXResClient), in ProcXResQueryClients() 326 .length = bytes_to_int32(num_types * sz_xXResType), in ProcXResQueryClientResources() 591 .length = bytes_to_int32(ctx.resultBytes), in ProcXResQueryClientIds() 976 .length = bytes_to_int32(ctx.resultBytes), in ProcXResQueryResourceBytes()
|
| H A D | xvmc.c | 163 .length = bytes_to_int32(num_surfaces * sizeof(xvmcSurfaceInfo)), in ProcXvMCListSurfaceTypes() 558 rep.length = bytes_to_int32(rep.num * sizeof(xvImageFormatInfo)); in ProcXvMCListSubpictureTypes() 628 .nameLen = bytes_to_int32(strlen(pScreenPriv->clientDriverName) + 1), in ProcXvMCGetDRInfo() 629 .busIDLen = bytes_to_int32(strlen(pScreenPriv->busID) + 1), in ProcXvMCGetDRInfo()
|
| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rroutput.c | 479 .length = bytes_to_int32(OutputInfoExtra), in ProcRRGetOutputInfo() 492 extraLen = bytes_to_int32(rep.nameLength) << 2; in ProcRRGetOutputInfo() 494 rep.length += bytes_to_int32(extraLen); in ProcRRGetOutputInfo() 508 .length = bytes_to_int32(OutputInfoExtra), in ProcRRGetOutputInfo() 523 output->numClones + bytes_to_int32(rep.nameLength)) << 2); in ProcRRGetOutputInfo() 526 rep.length += bytes_to_int32(extraLen); in ProcRRGetOutputInfo()
|
| H A D | rrscreen.c | 423 total_modes * bytes_to_int32(SIZEOF(xRRModeInfo)) + in rrGetMultiScreenResources() 424 bytes_to_int32(total_name_len)); in rrGetMultiScreenResources() 465 assert(bytes_to_int32((char *) names - (char *) extra) == rep.length); in rrGetMultiScreenResources() 556 num_modes * bytes_to_int32(SIZEOF(xRRModeInfo)) + in rrGetScreenResources() 557 bytes_to_int32(rep.nbytesNames)); in rrGetScreenResources() 622 assert(bytes_to_int32((char *) names - (char *) extra) == rep.length); in rrGetScreenResources() 881 rep.length = bytes_to_int32(extraLen); in ProcRRGetScreenInfo()
|
| H A D | rrproviderproperty.c | 409 .length = bytes_to_int32(numProps * sizeof(Atom)), in ProcRRListProviderProperties() 487 stuff->length - bytes_to_int32(sizeof(xRRConfigureProviderPropertyReq)); in ProcRRConfigureProviderProperty() 518 if (len > bytes_to_int32((0xffffffff - sizeof(xChangePropertyReq)))) in ProcRRChangeProviderProperty() 681 reply.length = bytes_to_int32(len); in ProcRRGetProviderProperty()
|
| H A D | rrproperty.c | 434 .length = bytes_to_int32(numProps * sizeof(Atom)), in ProcRRListOutputProperties() 519 stuff->length - bytes_to_int32(sizeof(xRRConfigureOutputPropertyReq)); in ProcRRConfigureOutputProperty() 550 if (len > bytes_to_int32((0xffffffff - sizeof(xChangePropertyReq)))) in ProcRRChangeOutputProperty() 717 reply.length = bytes_to_int32(len); in ProcRRGetOutputProperty()
|
| H A D | rrmode.c | 305 units_after = (stuff->length - bytes_to_int32(sizeof(xRRCreateModeReq))); in ProcRRCreateMode() 308 if (bytes_to_int32(modeInfo->nameLength) > units_after) in ProcRRCreateMode()
|
| /OK3568_Linux_fs/external/xserver/glx/ |
| H A D | indirect_util.c | 124 reply_ints = bytes_to_int32(elements * element_size); in __glXSendReply() 171 reply_ints = bytes_to_int32(elements * element_size); in __glXSendReplySwap()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/dri/ |
| H A D | xf86dri.c | 168 .length = bytes_to_int32(SIZEOF(xXF86DRIOpenConnectionReply) - in ProcXF86DRIOpenConnection() 252 rep.length = bytes_to_int32(SIZEOF(xXF86DRIGetClientDriverNameReply) - in ProcXF86DRIGetClientDriverName() 452 rep.length = bytes_to_int32(rep.length); in ProcXF86DRIGetDrawableInfo() 507 rep.length = bytes_to_int32(SIZEOF(xXF86DRIGetDeviceInfoReply) - in ProcXF86DRIGetDeviceInfo()
|
| /OK3568_Linux_fs/external/xserver/test/xi2/ |
| H A D | protocol-eventconvert.c | 67 bytes_to_int32(bits_to_bytes(sizeof(in->valuators.mask)))); in test_values_XIRawEvent() 349 assert(out->buttons_len >= bytes_to_int32(bits_to_bytes(i))); in test_values_XIDeviceEvent() 363 assert(out->valuators_len >= bytes_to_int32(bits_to_bytes(valuators))); in test_values_XIDeviceEvent() 670 bytes_to_int32(sizeof(xXIButtonInfo)) + in test_values_XIDeviceChangedEvent() 671 bytes_to_int32(bits_to_bytes(b->num_buttons)) + in test_values_XIDeviceChangedEvent() 695 bytes_to_int32(sizeof(xXIKeyInfo)) + k->num_keycodes); in test_values_XIDeviceChangedEvent() 713 assert(v->length == bytes_to_int32(sizeof(xXIValuatorInfo))); in test_values_XIDeviceChangedEvent() 721 assert(s->length == bytes_to_int32(sizeof(xXIScrollInfo))); in test_values_XIDeviceChangedEvent()
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | io.c | 292 needed = bytes_to_int32(sizeof(xBigReq)); /* needed is in CARD32s now */ in ReadRequestFromClient() 389 needed = bytes_to_int32(sizeof(xBigReq)); in ReadRequestFromClient() 444 if (client->req_len < bytes_to_int32(sizeof(xBigReq) - sizeof(xReq))) { in ReadRequestFromClient() 453 client->req_len -= bytes_to_int32(sizeof(xBigReq) - sizeof(xReq)); in ReadRequestFromClient()
|