/system/core/toolbox/ |
D | ioctl.c | 17 int length = -1; in ioctl_main() local 38 length = strtol(optarg, NULL, 0); in ioctl_main() 75 length = 4; in ioctl_main() 78 if(length < 0) { in ioctl_main() 79 length = (argc - optind) * arg_size; in ioctl_main() 81 if(length) { in ioctl_main() 82 ioctl_args = calloc(1, length); in ioctl_main() 85 rem = length; in ioctl_main() 99 rem = length; in ioctl_main() 107 else if(length) in ioctl_main() [all …]
|
D | mount.c | 206 int length; in print_mounts() local 216 length = fread(buffer, 1, 100, f); in print_mounts() 217 if (length > 0) in print_mounts() 218 fwrite(buffer, 1, length, stdout); in print_mounts() 219 } while (length > 0); in print_mounts()
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
D | ioctl_list.c | 57 req->length, req->cmd ); in print_priv_ioctl_params() 65 print_memory_dump(extra, req->length ); in print_priv_ioctl_params() 95 req->cmd, data, req->user_data_pointer, req->length); in ti1610_ioctl_priv_proc_tl() 112 res = os_sendPacket(dev, data, req->length); in ti1610_ioctl_priv_proc_tl() 121 …res = DispatchCommand(&req_data->drv->adapter, req->cmd, &req->length, req->length, data,&IoComple… in ti1610_ioctl_priv_proc_tl() 149 req->user_data_pointer, req->length, aval_data_size ); in ti1610_do_ioctl() 157 if( req->length > aval_data_size ) in ti1610_do_ioctl() 162 print_deb("ti1610_do_ioctl() - alloc %ld bytes\n", req->length ); in ti1610_do_ioctl() 163 kbuf = extra = os_memoryAlloc(NULL,req->length); in ti1610_do_ioctl() 165 …T:%s:%d ::kmalloc(%lu, %x) : %lu\n", __FUNCTION__, __LINE__, req->length, GFP_KERNEL, req->length); in ti1610_do_ioctl() [all …]
|
D | ioctl_utils.h | 47 int util_get_statistics(struct net_device *dev, ULONG *statistic_data, ULONG *length ); 63 int util_get_bssid_list(struct net_device *dev, ULONG *data, ULONG *length ); 65 int util_get_privacy_filter(struct net_device *dev, ULONG *data, ULONG *length ); 67 int util_set_ssid(struct net_device *dev, void *buf, ULONG length); /* data - pointer to OS_802_11… 68 int util_get_ssid(struct net_device *dev, ULONG configMgr_param, void *data, ULONG *length); 90 int util_add_wep(struct net_device *dev, void *data, ULONG length); 91 int util_add_key(struct net_device *dev, void *data, ULONG length); 92 int util_remove_key(struct net_device *dev, void *data, ULONG length); 93 int util_remove_wep(struct net_device *dev, void *data, ULONG length); 94 int util_get_association_info(struct net_device *dev, ULONG *data, ULONG *length );
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/ |
D | wspi.c | 388 int WSPI_ReadSync (TI_HANDLE hWSPI, UINT32 address, UINT8* data, UINT32 length) in WSPI_ReadSync() argument 396 if (length == 0) in WSPI_ReadSync() 404 WSPI_ReadAsync (hWSPI, address, data, length, &cb, 1, 0); in WSPI_ReadSync() 407 timeout = WSPI_SYNC_OVER_ASYNC_TIMEOUT * length; in WSPI_ReadSync() 432 if (length == 0) in WSPI_ReadSync() 449 pWSPI->uCmd |= (length << WSPI_CMD_BYTE_LENGTH_OFFSET) & WSPI_CMD_BYTE_LENGTH; in WSPI_ReadSync() 486 ret |= SPI_ReadSync (pWSPI->hSPI, data, length); in WSPI_ReadSync() 523 int WSPI_ReadAsyncOld (TI_HANDLE hWSPI, UINT32 address, UINT8* data, UINT32 length, WSPI_CB_T* cb, … in WSPI_ReadAsyncOld() argument 528 if (length == 0) in WSPI_ReadAsyncOld() 552 pWSPI->uCmd |= (length << WSPI_CMD_BYTE_LENGTH_OFFSET) & WSPI_CMD_BYTE_LENGTH; in WSPI_ReadAsyncOld() [all …]
|
D | wspi.h | 88 int WSPI_ReadAsync (TI_HANDLE hWSPI, UINT32 address, UINT8* data, UINT32 length, WSPI_CB_T* … 89 int WSPI_WriteAsync (TI_HANDLE hWSPI, UINT32 address, UINT8* data, UINT32 length, WSPI_CB_T* … 92 int WSPI_ReadSync (TI_HANDLE hWSPI, UINT32 address, UINT8* data, UINT32 length); 93 int WSPI_WriteSync (TI_HANDLE hWSPI, UINT32 address, UINT8* data, UINT32 length); 131 UINT32 length; /* save length of the buffer to be read */ member
|
/system/vold/ |
D | Process.cpp | 37 int length; in readSymLink() local 45 length = readlink(path, link, max- 1); in readSymLink() 46 if (length <= 0) in readSymLink() 48 link[length] = 0; in readSymLink() 53 int length = strlen(mountPoint); in pathMatchesMountPoint() local 54 if (length > 1 && strncmp(path, mountPoint, length) == 0) { in pathMatchesMountPoint() 56 if (mountPoint[length - 1] == '/') in pathMatchesMountPoint() 60 return (path[length] == 0 || path[length] == '/'); in pathMatchesMountPoint() 73 int length = read(fd, buffer, max - 1); in getProcessName() local 74 buffer[length] = 0; in getProcessName()
|
/system/wlan/ti/wilink_6_1/platforms/os/common/inc/ |
D | spi_api.h | 66 int SPI_Write (void* hSPI, TI_UINT8 *data, TI_UINT32 length, request_callback_t fCb, void … 67 int SPI_Read (void* hSPI, TI_UINT8 *data, TI_UINT32 length, request_callback_t fCb, void … 68 int SPI_WriteRead (void* hSPI, TI_UINT8 *data, TI_UINT32 length, TI_UINT8 *rdata, TI_UINT32 rl… 69 int SPI_WriteSync (void* hSPI, TI_UINT8 *data, TI_UINT32 length, int more); 70 int SPI_ReadSync (void* hSPI, TI_UINT8 *data, TI_UINT32 length);
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/inc/ |
D | spi_api.h | 61 int SPI_Write (void* hSPI, UINT8 *data, UINT32 length, request_callback_t fCb, void *pCb, … 62 int SPI_Read (void* hSPI, UINT8 *data, UINT32 length, request_callback_t fCb, void *pCb, … 63 int SPI_WriteRead (void* hSPI, UINT8 *data, UINT32 length, UINT8 *rdata, UINT32 rlength, reque… 64 int SPI_WriteSync (void* hSPI, UINT8 *data, UINT32 length); 65 int SPI_ReadSync (void* hSPI, UINT8* data, UINT32 length);
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/FW_Transfer/Rx_Xfer/ |
D | RxXfer.c | 385 if (pRxXfer->rxDescriptor.length <= PLCP_HEADER_LENGTH || in rxXfer_ReadBody() 386 pRxXfer->rxDescriptor.length > (MAX_DATA_BODY_LENGTH + PLCP_HEADER_LENGTH)) in rxXfer_ReadBody() 390 pRxXfer->rxDescriptor.length)); in rxXfer_ReadBody() 394 pRxXfer->rxDescriptor.length = pRxXfer->rxDescriptor.length - PLCP_HEADER_LENGTH; in rxXfer_ReadBody() 405 … Recording, rxXfer_ReadBody (request for buffer), Length = 0x%x\n", pRxXfer->rxDescriptor.length)); in rxXfer_ReadBody() 426 uAlignToWord = 4 - (pRxXfer->rxDescriptor.length & 0x3); /* (&0x3) is equal to (% 4) */ in rxXfer_ReadBody() 436 pRxXfer->rxDescriptor.length + uAlignToWord + TNETWIF_READ_OFFSET_BYTES, in rxXfer_ReadBody() 443 pRxXfer->rxDescriptor.length, uAlignToWord)); in rxXfer_ReadBody() 447 pRxXfer->DbgStats.numBytesRead += pRxXfer->rxDescriptor.length; in rxXfer_ReadBody() 454 (UINT32)pRxXfer->rxDescriptor.length + uAlignToWord, in rxXfer_ReadBody() [all …]
|
/system/wlan/ti/wilink_6_1/Test/ |
D | smeDebug.c | 235 TI_UINT32 length; in sme_printBssidList() local 239 length = scanResultTable_CalculateBssidListSize (sme->hScanResultTable, TI_FALSE); in sme_printBssidList() 241 blist = os_memoryAlloc(NULL, length); in sme_printBssidList() 245 WLAN_OS_REPORT(("ERROR. sme_printBssidList(): Cannot allocate memory!! length = %d\n", length)); in sme_printBssidList() 249 …scanResultTable_GetBssidList (sme->hScanResultTable, (POS_802_11_BSSID_LIST_EX)blist, &length, TI_… in sme_printBssidList() 253 os_memoryFree(NULL, blist, length); in sme_printBssidList()
|
/system/core/adb/ |
D | framebuffer_service.c | 75 fbinfo.red_length = vinfo.red.length; in framebuffer_service() 77 fbinfo.green_length = vinfo.green.length; in framebuffer_service() 79 fbinfo.blue_length = vinfo.blue.length; in framebuffer_service() 81 fbinfo.alpha_length = vinfo.transp.length; in framebuffer_service()
|
/system/core/include/acc/ |
D | acc.h | 61 const ACCint* length); 71 ACCsizei* length, 84 ACCsizei* length);
|
/system/netd/ |
D | SoftapController.cpp | 59 wrq.u.data.length = sizeof(mBuf) / sizeof(struct iw_priv_args); in getPrivFuncNum() 66 for(i=0;(i < wrq.u.data.length);i++) { in getPrivFuncNum() 91 wrq.u.data.length = 0; in startDriver() 118 wrq.u.data.length = 0; in stopDriver() 156 wrq.u.data.length = 0; in startSoftap() 191 wrq.u.data.length = 0; in stopSoftap() 306 wrq.u.data.length = strlen(mBuf) + 1; in setSoftap() 358 wrq.u.data.length = strlen(mBuf) + 1; in fwReloadSoftap()
|
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/ |
D | CmdInterpretWext.c | 306 data->length = sizeof(struct iw_range); in cmdInterpret_convertAndExecute() 565 end_buf = (char *)(cmdObj->buffer2 + wrqu->data.length); in cmdInterpret_convertAndExecute() 620 iwe.u.data.length = min((TI_UINT8)my_current->Ssid.SsidLength, (TI_UINT8)32); in cmdInterpret_convertAndExecute() 679 iwe.u.data.length = 0; in cmdInterpret_convertAndExecute() 709 iwe.u.data.length = strlen(buf); in cmdInterpret_convertAndExecute() 735 iwe.u.data.length = ies_offset; in cmdInterpret_convertAndExecute() 746 wrqu->data.length = event - ((char *)cmdObj->buffer2); in cmdInterpret_convertAndExecute() 766 int length; in cmdInterpret_convertAndExecute() local 785 length = wrqu->essid.length - 1; in cmdInterpret_convertAndExecute() 786 if (length > 0) in cmdInterpret_convertAndExecute() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Ctrl/4X/ |
D | DeConcatenator.c | 305 CurrentMsduPtr->firstBDPtr->length = currentLength - sizeof(macAddress_t) + WLAN_HDR_LEN ; in deConcat_deConcatMsdu() 306 CurrentMsduPtr->dataLen = CurrentMsduPtr->firstBDPtr->length; in deConcat_deConcatMsdu() 354 buildMsduPtr->firstBDPtr->length = sizeof( dot11_header_t ) + sizeof(Wlan_LlcHeader_T); in deConcat_deConcatMsdu() 367 payloadBdPtr->length = currentLength - sizeof(macAddress_t) - sizeof(Wlan_LlcHeader_T); in deConcat_deConcatMsdu() 377 buildMsduPtr->dataLen = buildMsduPtr->firstBDPtr->length + payloadBdPtr->length; in deConcat_deConcatMsdu()
|
D | Concatenator.c | 223 (*pReturnMsduPtr)->firstBDPtr->length = WLAN_HDR_LEN + WLAN_SNAP_HDR_LEN + in concat_concatMsduList() 322 msduPtr->firstBDPtr->length -= WLAN_CONCAT_HDR_OFFSET; in concat_replaceWlanHeader() 340 tmpPtr = (UINT8 *) ((UINT32)msduPtr->lastBDPtr->data + msduPtr->lastBDPtr->length + in concat_replaceWlanHeader() 345 msduPtr->lastBDPtr->length += numOfPadBytes; in concat_replaceWlanHeader()
|
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/ |
D | cu_wext.c | 78 bssidList[index-1].Ssid.SsidLength = iwe->u.data.length; in CuWext_FillBssidList() 80 if(iwe->u.data.length != MAX_SSID_LEN) in CuWext_FillBssidList() 138 os_memcpy(buffer, iwe->u.data.pointer, iwe->u.data.length); in CuWext_FillBssidList() 186 pCuWext->req_data.essid.length = sizeof(OS_802_11_SSID) - sizeof(U32); in CuOs_Get_SSID() 193 ssid->SsidLength = pCuWext->req_data.essid.length; in CuOs_Get_SSID() 261 pCuWext->req_data.data.length = sizeof(struct iw_scan_req); in CuOs_Start_Scan() 288 pCuWext->req_data.data.length = IW_SCAN_MAX_DATA; in CuOs_GetBssidList() 298 if(pCuWext->req_data.data.length) in CuOs_GetBssidList() 307 stream.end = (char *)(buffer + pCuWext->req_data.data.length); in CuOs_GetBssidList() 351 pCuWext->req_data.essid.length = ssid->SsidLength; in CuOs_Set_ESSID()
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/rsn/ |
D | admCtrlWpa.c | 543 UINT8 length; in admCtrlWpa_getInfoElement() local 584 length = sizeof(wpaIePacket_t)-2; in admCtrlWpa_getInfoElement() 588 length -= 2; /* 2: capabilities + 4: keyMng suite, 2: keyMng count*/ in admCtrlWpa_getInfoElement() 593 length -= 6; /* 2: capabilities + 4: keyMng suite, 2: keyMng count*/ in admCtrlWpa_getInfoElement() 596 length -= 6; /* 4: unicast suite, 2: unicast count */ in admCtrlWpa_getInfoElement() 599 length -= 4; /* broadcast suite */ in admCtrlWpa_getInfoElement() 605 pWpaIePacket->length = length; in admCtrlWpa_getInfoElement() 606 *pLength = length+2; in admCtrlWpa_getInfoElement() 610 if (length>=WPA_IE_MIN_DEFAULT_LENGTH) in admCtrlWpa_getInfoElement() 615 if (length>=WPA_IE_MIN_KEY_MNG_SUITE_LENGTH(1)) in admCtrlWpa_getInfoElement() [all …]
|
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/ |
D | admCtrlWpa.c | 528 TI_UINT8 length; in admCtrlWpa_getInfoElement() local 574 length = sizeof(wpaIePacket_t)-2; in admCtrlWpa_getInfoElement() 579 length -= 2; /* 2: capabilities + 4: keyMng suite, 2: keyMng count*/ in admCtrlWpa_getInfoElement() 584 length -= 6; /* 2: capabilities + 4: keyMng suite, 2: keyMng count*/ in admCtrlWpa_getInfoElement() 587 length -= 6; /* 4: unicast suite, 2: unicast count */ in admCtrlWpa_getInfoElement() 590 length -= 4; /* broadcast suite */ in admCtrlWpa_getInfoElement() 597 pWpaIePacket->length = length; in admCtrlWpa_getInfoElement() 598 *pLength = length+2; in admCtrlWpa_getInfoElement() 600 if (length>=WPA_IE_MIN_DEFAULT_LENGTH) in admCtrlWpa_getInfoElement() 605 if (length>=WPA_IE_MIN_KEY_MNG_SUITE_LENGTH(1)) in admCtrlWpa_getInfoElement() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/ |
D | smeApi.h | 91 …veProbeRespBuffer(TI_HANDLE hSiteMgr, macAddress_t *bssid, UINT8 *pProbeRespBuffer, UINT32 length); 93 …Mgr_saveBeaconBuffer(TI_HANDLE hSiteMgr, macAddress_t *bssid, UINT8 *pBeaconBuffer, UINT32 length);
|
/system/core/libmincrypt/tools/ |
D | DumpPublicKey.java | 110 if (args.length < 1) { in main() 115 for (int i = 0; i < args.length; i++) { in main() 122 System.out.println(i < args.length - 1 ? "," : ""); in main()
|
/system/core/libcutils/ |
D | mspace.c | 258 size_t length; in destroy_contiguous_mspace() local 265 length = cs->top - (char *)cs; in destroy_contiguous_mspace() 266 if (munmap((char *)cs, length) != 0) in destroy_contiguous_mspace() 267 return length; in destroy_contiguous_mspace()
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
D | eth_utils.c | 80 int ethernet_utils_write_socket(int module_index, int length, unsigned char *buffer); 496 int ethernet_utils_write_socket(int module_index, int length, unsigned char *buffer) in ethernet_utils_write_socket() argument 503 result = write(SHARED_MEMORY_ETHERNET_SOCKET_ID(module_index), buffer, length); in ethernet_utils_write_socket() 507 if (result != length) in ethernet_utils_write_socket()
|
/system/extras/tests/framebuffer/ |
D | refresh.c | 98 info.red.offset, info.red.length, in main() 99 info.green.offset, info.green.length, in main() 100 info.blue.offset, info.blue.length in main()
|