github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/chromeos/diagnostics/bindings/import_wasm.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build wasm
     5  
     6  package bindings
     7  
     8  import (
     9  	"unsafe"
    10  
    11  	"github.com/primecitizens/pcz/std/ffi/js"
    12  )
    13  
    14  type (
    15  	_ unsafe.Pointer
    16  	_ js.Ref
    17  )
    18  
    19  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_AcPowerStatus
    20  //go:noescape
    21  func ConstOfAcPowerStatus(str js.Ref) uint32
    22  
    23  //go:wasmimport plat/js/webext/chromeos/diagnostics store_CancelRoutineRequest
    24  //go:noescape
    25  func CancelRoutineRequestJSStore(
    26  	ptr unsafe.Pointer, ref js.Ref)
    27  
    28  //go:wasmimport plat/js/webext/chromeos/diagnostics load_CancelRoutineRequest
    29  //go:noescape
    30  func CancelRoutineRequestJSLoad(
    31  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    32  
    33  //go:wasmimport plat/js/webext/chromeos/diagnostics store_CreateMemoryRoutineResponse
    34  //go:noescape
    35  func CreateMemoryRoutineResponseJSStore(
    36  	ptr unsafe.Pointer, ref js.Ref)
    37  
    38  //go:wasmimport plat/js/webext/chromeos/diagnostics load_CreateMemoryRoutineResponse
    39  //go:noescape
    40  func CreateMemoryRoutineResponseJSLoad(
    41  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    42  
    43  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_DiskReadRoutineType
    44  //go:noescape
    45  func ConstOfDiskReadRoutineType(str js.Ref) uint32
    46  
    47  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_ExceptionReason
    48  //go:noescape
    49  func ConstOfExceptionReason(str js.Ref) uint32
    50  
    51  //go:wasmimport plat/js/webext/chromeos/diagnostics store_ExceptionInfo
    52  //go:noescape
    53  func ExceptionInfoJSStore(
    54  	ptr unsafe.Pointer, ref js.Ref)
    55  
    56  //go:wasmimport plat/js/webext/chromeos/diagnostics load_ExceptionInfo
    57  //go:noescape
    58  func ExceptionInfoJSLoad(
    59  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    60  
    61  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_RoutineType
    62  //go:noescape
    63  func ConstOfRoutineType(str js.Ref) uint32
    64  
    65  //go:wasmimport plat/js/webext/chromeos/diagnostics store_GetAvailableRoutinesResponse
    66  //go:noescape
    67  func GetAvailableRoutinesResponseJSStore(
    68  	ptr unsafe.Pointer, ref js.Ref)
    69  
    70  //go:wasmimport plat/js/webext/chromeos/diagnostics load_GetAvailableRoutinesResponse
    71  //go:noescape
    72  func GetAvailableRoutinesResponseJSLoad(
    73  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    74  
    75  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_RoutineStatus
    76  //go:noescape
    77  func ConstOfRoutineStatus(str js.Ref) uint32
    78  
    79  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_UserMessageType
    80  //go:noescape
    81  func ConstOfUserMessageType(str js.Ref) uint32
    82  
    83  //go:wasmimport plat/js/webext/chromeos/diagnostics store_GetRoutineUpdateResponse
    84  //go:noescape
    85  func GetRoutineUpdateResponseJSStore(
    86  	ptr unsafe.Pointer, ref js.Ref)
    87  
    88  //go:wasmimport plat/js/webext/chromeos/diagnostics load_GetRoutineUpdateResponse
    89  //go:noescape
    90  func GetRoutineUpdateResponseJSLoad(
    91  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    92  
    93  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_RoutineCommandType
    94  //go:noescape
    95  func ConstOfRoutineCommandType(str js.Ref) uint32
    96  
    97  //go:wasmimport plat/js/webext/chromeos/diagnostics store_GetRoutineUpdateRequest
    98  //go:noescape
    99  func GetRoutineUpdateRequestJSStore(
   100  	ptr unsafe.Pointer, ref js.Ref)
   101  
   102  //go:wasmimport plat/js/webext/chromeos/diagnostics load_GetRoutineUpdateRequest
   103  //go:noescape
   104  func GetRoutineUpdateRequestJSLoad(
   105  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   106  
   107  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_MemtesterTestItemEnum
   108  //go:noescape
   109  func ConstOfMemtesterTestItemEnum(str js.Ref) uint32
   110  
   111  //go:wasmimport plat/js/webext/chromeos/diagnostics store_MemtesterResult
   112  //go:noescape
   113  func MemtesterResultJSStore(
   114  	ptr unsafe.Pointer, ref js.Ref)
   115  
   116  //go:wasmimport plat/js/webext/chromeos/diagnostics load_MemtesterResult
   117  //go:noescape
   118  func MemtesterResultJSLoad(
   119  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   120  
   121  //go:wasmimport plat/js/webext/chromeos/diagnostics store_MemoryRoutineFinishedInfo
   122  //go:noescape
   123  func MemoryRoutineFinishedInfoJSStore(
   124  	ptr unsafe.Pointer, ref js.Ref)
   125  
   126  //go:wasmimport plat/js/webext/chromeos/diagnostics load_MemoryRoutineFinishedInfo
   127  //go:noescape
   128  func MemoryRoutineFinishedInfoJSLoad(
   129  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   130  
   131  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_NvmeSelfTestType
   132  //go:noescape
   133  func ConstOfNvmeSelfTestType(str js.Ref) uint32
   134  
   135  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RoutineInitializedInfo
   136  //go:noescape
   137  func RoutineInitializedInfoJSStore(
   138  	ptr unsafe.Pointer, ref js.Ref)
   139  
   140  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RoutineInitializedInfo
   141  //go:noescape
   142  func RoutineInitializedInfoJSLoad(
   143  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   144  
   145  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RoutineRunningInfo
   146  //go:noescape
   147  func RoutineRunningInfoJSStore(
   148  	ptr unsafe.Pointer, ref js.Ref)
   149  
   150  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RoutineRunningInfo
   151  //go:noescape
   152  func RoutineRunningInfoJSLoad(
   153  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   154  
   155  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_RoutineSupportStatus
   156  //go:noescape
   157  func ConstOfRoutineSupportStatus(str js.Ref) uint32
   158  
   159  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RoutineSupportStatusInfo
   160  //go:noescape
   161  func RoutineSupportStatusInfoJSStore(
   162  	ptr unsafe.Pointer, ref js.Ref)
   163  
   164  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RoutineSupportStatusInfo
   165  //go:noescape
   166  func RoutineSupportStatusInfoJSLoad(
   167  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   168  
   169  //go:wasmimport plat/js/webext/chromeos/diagnostics constof_RoutineWaitingReason
   170  //go:noescape
   171  func ConstOfRoutineWaitingReason(str js.Ref) uint32
   172  
   173  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RoutineWaitingInfo
   174  //go:noescape
   175  func RoutineWaitingInfoJSStore(
   176  	ptr unsafe.Pointer, ref js.Ref)
   177  
   178  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RoutineWaitingInfo
   179  //go:noescape
   180  func RoutineWaitingInfoJSLoad(
   181  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   182  
   183  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunAcPowerRoutineRequest
   184  //go:noescape
   185  func RunAcPowerRoutineRequestJSStore(
   186  	ptr unsafe.Pointer, ref js.Ref)
   187  
   188  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunAcPowerRoutineRequest
   189  //go:noescape
   190  func RunAcPowerRoutineRequestJSLoad(
   191  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   192  
   193  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunBatteryChargeRoutineRequest
   194  //go:noescape
   195  func RunBatteryChargeRoutineRequestJSStore(
   196  	ptr unsafe.Pointer, ref js.Ref)
   197  
   198  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunBatteryChargeRoutineRequest
   199  //go:noescape
   200  func RunBatteryChargeRoutineRequestJSLoad(
   201  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   202  
   203  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunBatteryDischargeRoutineRequest
   204  //go:noescape
   205  func RunBatteryDischargeRoutineRequestJSStore(
   206  	ptr unsafe.Pointer, ref js.Ref)
   207  
   208  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunBatteryDischargeRoutineRequest
   209  //go:noescape
   210  func RunBatteryDischargeRoutineRequestJSLoad(
   211  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   212  
   213  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunBluetoothPairingRoutineRequest
   214  //go:noescape
   215  func RunBluetoothPairingRoutineRequestJSStore(
   216  	ptr unsafe.Pointer, ref js.Ref)
   217  
   218  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunBluetoothPairingRoutineRequest
   219  //go:noescape
   220  func RunBluetoothPairingRoutineRequestJSLoad(
   221  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   222  
   223  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunBluetoothScanningRoutineRequest
   224  //go:noescape
   225  func RunBluetoothScanningRoutineRequestJSStore(
   226  	ptr unsafe.Pointer, ref js.Ref)
   227  
   228  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunBluetoothScanningRoutineRequest
   229  //go:noescape
   230  func RunBluetoothScanningRoutineRequestJSLoad(
   231  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   232  
   233  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunCpuRoutineRequest
   234  //go:noescape
   235  func RunCpuRoutineRequestJSStore(
   236  	ptr unsafe.Pointer, ref js.Ref)
   237  
   238  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunCpuRoutineRequest
   239  //go:noescape
   240  func RunCpuRoutineRequestJSLoad(
   241  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   242  
   243  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunDiskReadRequest
   244  //go:noescape
   245  func RunDiskReadRequestJSStore(
   246  	ptr unsafe.Pointer, ref js.Ref)
   247  
   248  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunDiskReadRequest
   249  //go:noescape
   250  func RunDiskReadRequestJSLoad(
   251  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   252  
   253  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunMemoryRoutineArguments
   254  //go:noescape
   255  func RunMemoryRoutineArgumentsJSStore(
   256  	ptr unsafe.Pointer, ref js.Ref)
   257  
   258  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunMemoryRoutineArguments
   259  //go:noescape
   260  func RunMemoryRoutineArgumentsJSLoad(
   261  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   262  
   263  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunNvmeSelfTestRequest
   264  //go:noescape
   265  func RunNvmeSelfTestRequestJSStore(
   266  	ptr unsafe.Pointer, ref js.Ref)
   267  
   268  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunNvmeSelfTestRequest
   269  //go:noescape
   270  func RunNvmeSelfTestRequestJSLoad(
   271  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   272  
   273  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunNvmeWearLevelRequest
   274  //go:noescape
   275  func RunNvmeWearLevelRequestJSStore(
   276  	ptr unsafe.Pointer, ref js.Ref)
   277  
   278  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunNvmeWearLevelRequest
   279  //go:noescape
   280  func RunNvmeWearLevelRequestJSLoad(
   281  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   282  
   283  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunPowerButtonRequest
   284  //go:noescape
   285  func RunPowerButtonRequestJSStore(
   286  	ptr unsafe.Pointer, ref js.Ref)
   287  
   288  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunPowerButtonRequest
   289  //go:noescape
   290  func RunPowerButtonRequestJSLoad(
   291  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   292  
   293  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunRoutineResponse
   294  //go:noescape
   295  func RunRoutineResponseJSStore(
   296  	ptr unsafe.Pointer, ref js.Ref)
   297  
   298  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunRoutineResponse
   299  //go:noescape
   300  func RunRoutineResponseJSLoad(
   301  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   302  
   303  //go:wasmimport plat/js/webext/chromeos/diagnostics store_RunSmartctlCheckRequest
   304  //go:noescape
   305  func RunSmartctlCheckRequestJSStore(
   306  	ptr unsafe.Pointer, ref js.Ref)
   307  
   308  //go:wasmimport plat/js/webext/chromeos/diagnostics load_RunSmartctlCheckRequest
   309  //go:noescape
   310  func RunSmartctlCheckRequestJSLoad(
   311  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   312  
   313  //go:wasmimport plat/js/webext/chromeos/diagnostics store_StartRoutineRequest
   314  //go:noescape
   315  func StartRoutineRequestJSStore(
   316  	ptr unsafe.Pointer, ref js.Ref)
   317  
   318  //go:wasmimport plat/js/webext/chromeos/diagnostics load_StartRoutineRequest
   319  //go:noescape
   320  func StartRoutineRequestJSLoad(
   321  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   322  
   323  //go:wasmimport plat/js/webext/chromeos/diagnostics has_CancelRoutine
   324  //go:noescape
   325  func HasFuncCancelRoutine() js.Ref
   326  
   327  //go:wasmimport plat/js/webext/chromeos/diagnostics func_CancelRoutine
   328  //go:noescape
   329  func FuncCancelRoutine(fn unsafe.Pointer)
   330  
   331  //go:wasmimport plat/js/webext/chromeos/diagnostics call_CancelRoutine
   332  //go:noescape
   333  func CallCancelRoutine(
   334  	retPtr unsafe.Pointer,
   335  	request unsafe.Pointer)
   336  
   337  //go:wasmimport plat/js/webext/chromeos/diagnostics try_CancelRoutine
   338  //go:noescape
   339  func TryCancelRoutine(
   340  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   341  	request unsafe.Pointer) (ok js.Ref)
   342  
   343  //go:wasmimport plat/js/webext/chromeos/diagnostics has_CreateMemoryRoutine
   344  //go:noescape
   345  func HasFuncCreateMemoryRoutine() js.Ref
   346  
   347  //go:wasmimport plat/js/webext/chromeos/diagnostics func_CreateMemoryRoutine
   348  //go:noescape
   349  func FuncCreateMemoryRoutine(fn unsafe.Pointer)
   350  
   351  //go:wasmimport plat/js/webext/chromeos/diagnostics call_CreateMemoryRoutine
   352  //go:noescape
   353  func CallCreateMemoryRoutine(
   354  	retPtr unsafe.Pointer,
   355  	args unsafe.Pointer)
   356  
   357  //go:wasmimport plat/js/webext/chromeos/diagnostics try_CreateMemoryRoutine
   358  //go:noescape
   359  func TryCreateMemoryRoutine(
   360  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   361  	args unsafe.Pointer) (ok js.Ref)
   362  
   363  //go:wasmimport plat/js/webext/chromeos/diagnostics has_GetAvailableRoutines
   364  //go:noescape
   365  func HasFuncGetAvailableRoutines() js.Ref
   366  
   367  //go:wasmimport plat/js/webext/chromeos/diagnostics func_GetAvailableRoutines
   368  //go:noescape
   369  func FuncGetAvailableRoutines(fn unsafe.Pointer)
   370  
   371  //go:wasmimport plat/js/webext/chromeos/diagnostics call_GetAvailableRoutines
   372  //go:noescape
   373  func CallGetAvailableRoutines(
   374  	retPtr unsafe.Pointer)
   375  
   376  //go:wasmimport plat/js/webext/chromeos/diagnostics try_GetAvailableRoutines
   377  //go:noescape
   378  func TryGetAvailableRoutines(
   379  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   380  
   381  //go:wasmimport plat/js/webext/chromeos/diagnostics has_GetRoutineUpdate
   382  //go:noescape
   383  func HasFuncGetRoutineUpdate() js.Ref
   384  
   385  //go:wasmimport plat/js/webext/chromeos/diagnostics func_GetRoutineUpdate
   386  //go:noescape
   387  func FuncGetRoutineUpdate(fn unsafe.Pointer)
   388  
   389  //go:wasmimport plat/js/webext/chromeos/diagnostics call_GetRoutineUpdate
   390  //go:noescape
   391  func CallGetRoutineUpdate(
   392  	retPtr unsafe.Pointer,
   393  	request unsafe.Pointer)
   394  
   395  //go:wasmimport plat/js/webext/chromeos/diagnostics try_GetRoutineUpdate
   396  //go:noescape
   397  func TryGetRoutineUpdate(
   398  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   399  	request unsafe.Pointer) (ok js.Ref)
   400  
   401  //go:wasmimport plat/js/webext/chromeos/diagnostics has_IsMemoryRoutineArgumentSupported
   402  //go:noescape
   403  func HasFuncIsMemoryRoutineArgumentSupported() js.Ref
   404  
   405  //go:wasmimport plat/js/webext/chromeos/diagnostics func_IsMemoryRoutineArgumentSupported
   406  //go:noescape
   407  func FuncIsMemoryRoutineArgumentSupported(fn unsafe.Pointer)
   408  
   409  //go:wasmimport plat/js/webext/chromeos/diagnostics call_IsMemoryRoutineArgumentSupported
   410  //go:noescape
   411  func CallIsMemoryRoutineArgumentSupported(
   412  	retPtr unsafe.Pointer,
   413  	args unsafe.Pointer)
   414  
   415  //go:wasmimport plat/js/webext/chromeos/diagnostics try_IsMemoryRoutineArgumentSupported
   416  //go:noescape
   417  func TryIsMemoryRoutineArgumentSupported(
   418  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   419  	args unsafe.Pointer) (ok js.Ref)
   420  
   421  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OnMemoryRoutineFinished
   422  //go:noescape
   423  func HasFuncOnMemoryRoutineFinished() js.Ref
   424  
   425  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OnMemoryRoutineFinished
   426  //go:noescape
   427  func FuncOnMemoryRoutineFinished(fn unsafe.Pointer)
   428  
   429  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OnMemoryRoutineFinished
   430  //go:noescape
   431  func CallOnMemoryRoutineFinished(
   432  	retPtr unsafe.Pointer,
   433  	callback js.Ref)
   434  
   435  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OnMemoryRoutineFinished
   436  //go:noescape
   437  func TryOnMemoryRoutineFinished(
   438  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   439  	callback js.Ref) (ok js.Ref)
   440  
   441  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OffMemoryRoutineFinished
   442  //go:noescape
   443  func HasFuncOffMemoryRoutineFinished() js.Ref
   444  
   445  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OffMemoryRoutineFinished
   446  //go:noescape
   447  func FuncOffMemoryRoutineFinished(fn unsafe.Pointer)
   448  
   449  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OffMemoryRoutineFinished
   450  //go:noescape
   451  func CallOffMemoryRoutineFinished(
   452  	retPtr unsafe.Pointer,
   453  	callback js.Ref)
   454  
   455  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OffMemoryRoutineFinished
   456  //go:noescape
   457  func TryOffMemoryRoutineFinished(
   458  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   459  	callback js.Ref) (ok js.Ref)
   460  
   461  //go:wasmimport plat/js/webext/chromeos/diagnostics has_HasOnMemoryRoutineFinished
   462  //go:noescape
   463  func HasFuncHasOnMemoryRoutineFinished() js.Ref
   464  
   465  //go:wasmimport plat/js/webext/chromeos/diagnostics func_HasOnMemoryRoutineFinished
   466  //go:noescape
   467  func FuncHasOnMemoryRoutineFinished(fn unsafe.Pointer)
   468  
   469  //go:wasmimport plat/js/webext/chromeos/diagnostics call_HasOnMemoryRoutineFinished
   470  //go:noescape
   471  func CallHasOnMemoryRoutineFinished(
   472  	retPtr unsafe.Pointer,
   473  	callback js.Ref)
   474  
   475  //go:wasmimport plat/js/webext/chromeos/diagnostics try_HasOnMemoryRoutineFinished
   476  //go:noescape
   477  func TryHasOnMemoryRoutineFinished(
   478  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   479  	callback js.Ref) (ok js.Ref)
   480  
   481  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OnRoutineException
   482  //go:noescape
   483  func HasFuncOnRoutineException() js.Ref
   484  
   485  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OnRoutineException
   486  //go:noescape
   487  func FuncOnRoutineException(fn unsafe.Pointer)
   488  
   489  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OnRoutineException
   490  //go:noescape
   491  func CallOnRoutineException(
   492  	retPtr unsafe.Pointer,
   493  	callback js.Ref)
   494  
   495  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OnRoutineException
   496  //go:noescape
   497  func TryOnRoutineException(
   498  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   499  	callback js.Ref) (ok js.Ref)
   500  
   501  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OffRoutineException
   502  //go:noescape
   503  func HasFuncOffRoutineException() js.Ref
   504  
   505  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OffRoutineException
   506  //go:noescape
   507  func FuncOffRoutineException(fn unsafe.Pointer)
   508  
   509  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OffRoutineException
   510  //go:noescape
   511  func CallOffRoutineException(
   512  	retPtr unsafe.Pointer,
   513  	callback js.Ref)
   514  
   515  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OffRoutineException
   516  //go:noescape
   517  func TryOffRoutineException(
   518  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   519  	callback js.Ref) (ok js.Ref)
   520  
   521  //go:wasmimport plat/js/webext/chromeos/diagnostics has_HasOnRoutineException
   522  //go:noescape
   523  func HasFuncHasOnRoutineException() js.Ref
   524  
   525  //go:wasmimport plat/js/webext/chromeos/diagnostics func_HasOnRoutineException
   526  //go:noescape
   527  func FuncHasOnRoutineException(fn unsafe.Pointer)
   528  
   529  //go:wasmimport plat/js/webext/chromeos/diagnostics call_HasOnRoutineException
   530  //go:noescape
   531  func CallHasOnRoutineException(
   532  	retPtr unsafe.Pointer,
   533  	callback js.Ref)
   534  
   535  //go:wasmimport plat/js/webext/chromeos/diagnostics try_HasOnRoutineException
   536  //go:noescape
   537  func TryHasOnRoutineException(
   538  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   539  	callback js.Ref) (ok js.Ref)
   540  
   541  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OnRoutineInitialized
   542  //go:noescape
   543  func HasFuncOnRoutineInitialized() js.Ref
   544  
   545  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OnRoutineInitialized
   546  //go:noescape
   547  func FuncOnRoutineInitialized(fn unsafe.Pointer)
   548  
   549  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OnRoutineInitialized
   550  //go:noescape
   551  func CallOnRoutineInitialized(
   552  	retPtr unsafe.Pointer,
   553  	callback js.Ref)
   554  
   555  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OnRoutineInitialized
   556  //go:noescape
   557  func TryOnRoutineInitialized(
   558  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   559  	callback js.Ref) (ok js.Ref)
   560  
   561  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OffRoutineInitialized
   562  //go:noescape
   563  func HasFuncOffRoutineInitialized() js.Ref
   564  
   565  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OffRoutineInitialized
   566  //go:noescape
   567  func FuncOffRoutineInitialized(fn unsafe.Pointer)
   568  
   569  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OffRoutineInitialized
   570  //go:noescape
   571  func CallOffRoutineInitialized(
   572  	retPtr unsafe.Pointer,
   573  	callback js.Ref)
   574  
   575  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OffRoutineInitialized
   576  //go:noescape
   577  func TryOffRoutineInitialized(
   578  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   579  	callback js.Ref) (ok js.Ref)
   580  
   581  //go:wasmimport plat/js/webext/chromeos/diagnostics has_HasOnRoutineInitialized
   582  //go:noescape
   583  func HasFuncHasOnRoutineInitialized() js.Ref
   584  
   585  //go:wasmimport plat/js/webext/chromeos/diagnostics func_HasOnRoutineInitialized
   586  //go:noescape
   587  func FuncHasOnRoutineInitialized(fn unsafe.Pointer)
   588  
   589  //go:wasmimport plat/js/webext/chromeos/diagnostics call_HasOnRoutineInitialized
   590  //go:noescape
   591  func CallHasOnRoutineInitialized(
   592  	retPtr unsafe.Pointer,
   593  	callback js.Ref)
   594  
   595  //go:wasmimport plat/js/webext/chromeos/diagnostics try_HasOnRoutineInitialized
   596  //go:noescape
   597  func TryHasOnRoutineInitialized(
   598  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   599  	callback js.Ref) (ok js.Ref)
   600  
   601  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OnRoutineRunning
   602  //go:noescape
   603  func HasFuncOnRoutineRunning() js.Ref
   604  
   605  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OnRoutineRunning
   606  //go:noescape
   607  func FuncOnRoutineRunning(fn unsafe.Pointer)
   608  
   609  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OnRoutineRunning
   610  //go:noescape
   611  func CallOnRoutineRunning(
   612  	retPtr unsafe.Pointer,
   613  	callback js.Ref)
   614  
   615  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OnRoutineRunning
   616  //go:noescape
   617  func TryOnRoutineRunning(
   618  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   619  	callback js.Ref) (ok js.Ref)
   620  
   621  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OffRoutineRunning
   622  //go:noescape
   623  func HasFuncOffRoutineRunning() js.Ref
   624  
   625  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OffRoutineRunning
   626  //go:noescape
   627  func FuncOffRoutineRunning(fn unsafe.Pointer)
   628  
   629  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OffRoutineRunning
   630  //go:noescape
   631  func CallOffRoutineRunning(
   632  	retPtr unsafe.Pointer,
   633  	callback js.Ref)
   634  
   635  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OffRoutineRunning
   636  //go:noescape
   637  func TryOffRoutineRunning(
   638  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   639  	callback js.Ref) (ok js.Ref)
   640  
   641  //go:wasmimport plat/js/webext/chromeos/diagnostics has_HasOnRoutineRunning
   642  //go:noescape
   643  func HasFuncHasOnRoutineRunning() js.Ref
   644  
   645  //go:wasmimport plat/js/webext/chromeos/diagnostics func_HasOnRoutineRunning
   646  //go:noescape
   647  func FuncHasOnRoutineRunning(fn unsafe.Pointer)
   648  
   649  //go:wasmimport plat/js/webext/chromeos/diagnostics call_HasOnRoutineRunning
   650  //go:noescape
   651  func CallHasOnRoutineRunning(
   652  	retPtr unsafe.Pointer,
   653  	callback js.Ref)
   654  
   655  //go:wasmimport plat/js/webext/chromeos/diagnostics try_HasOnRoutineRunning
   656  //go:noescape
   657  func TryHasOnRoutineRunning(
   658  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   659  	callback js.Ref) (ok js.Ref)
   660  
   661  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OnRoutineWaiting
   662  //go:noescape
   663  func HasFuncOnRoutineWaiting() js.Ref
   664  
   665  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OnRoutineWaiting
   666  //go:noescape
   667  func FuncOnRoutineWaiting(fn unsafe.Pointer)
   668  
   669  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OnRoutineWaiting
   670  //go:noescape
   671  func CallOnRoutineWaiting(
   672  	retPtr unsafe.Pointer,
   673  	callback js.Ref)
   674  
   675  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OnRoutineWaiting
   676  //go:noescape
   677  func TryOnRoutineWaiting(
   678  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   679  	callback js.Ref) (ok js.Ref)
   680  
   681  //go:wasmimport plat/js/webext/chromeos/diagnostics has_OffRoutineWaiting
   682  //go:noescape
   683  func HasFuncOffRoutineWaiting() js.Ref
   684  
   685  //go:wasmimport plat/js/webext/chromeos/diagnostics func_OffRoutineWaiting
   686  //go:noescape
   687  func FuncOffRoutineWaiting(fn unsafe.Pointer)
   688  
   689  //go:wasmimport plat/js/webext/chromeos/diagnostics call_OffRoutineWaiting
   690  //go:noescape
   691  func CallOffRoutineWaiting(
   692  	retPtr unsafe.Pointer,
   693  	callback js.Ref)
   694  
   695  //go:wasmimport plat/js/webext/chromeos/diagnostics try_OffRoutineWaiting
   696  //go:noescape
   697  func TryOffRoutineWaiting(
   698  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   699  	callback js.Ref) (ok js.Ref)
   700  
   701  //go:wasmimport plat/js/webext/chromeos/diagnostics has_HasOnRoutineWaiting
   702  //go:noescape
   703  func HasFuncHasOnRoutineWaiting() js.Ref
   704  
   705  //go:wasmimport plat/js/webext/chromeos/diagnostics func_HasOnRoutineWaiting
   706  //go:noescape
   707  func FuncHasOnRoutineWaiting(fn unsafe.Pointer)
   708  
   709  //go:wasmimport plat/js/webext/chromeos/diagnostics call_HasOnRoutineWaiting
   710  //go:noescape
   711  func CallHasOnRoutineWaiting(
   712  	retPtr unsafe.Pointer,
   713  	callback js.Ref)
   714  
   715  //go:wasmimport plat/js/webext/chromeos/diagnostics try_HasOnRoutineWaiting
   716  //go:noescape
   717  func TryHasOnRoutineWaiting(
   718  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   719  	callback js.Ref) (ok js.Ref)
   720  
   721  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunAcPowerRoutine
   722  //go:noescape
   723  func HasFuncRunAcPowerRoutine() js.Ref
   724  
   725  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunAcPowerRoutine
   726  //go:noescape
   727  func FuncRunAcPowerRoutine(fn unsafe.Pointer)
   728  
   729  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunAcPowerRoutine
   730  //go:noescape
   731  func CallRunAcPowerRoutine(
   732  	retPtr unsafe.Pointer,
   733  	request unsafe.Pointer)
   734  
   735  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunAcPowerRoutine
   736  //go:noescape
   737  func TryRunAcPowerRoutine(
   738  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   739  	request unsafe.Pointer) (ok js.Ref)
   740  
   741  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunAudioDriverRoutine
   742  //go:noescape
   743  func HasFuncRunAudioDriverRoutine() js.Ref
   744  
   745  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunAudioDriverRoutine
   746  //go:noescape
   747  func FuncRunAudioDriverRoutine(fn unsafe.Pointer)
   748  
   749  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunAudioDriverRoutine
   750  //go:noescape
   751  func CallRunAudioDriverRoutine(
   752  	retPtr unsafe.Pointer)
   753  
   754  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunAudioDriverRoutine
   755  //go:noescape
   756  func TryRunAudioDriverRoutine(
   757  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   758  
   759  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBatteryCapacityRoutine
   760  //go:noescape
   761  func HasFuncRunBatteryCapacityRoutine() js.Ref
   762  
   763  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBatteryCapacityRoutine
   764  //go:noescape
   765  func FuncRunBatteryCapacityRoutine(fn unsafe.Pointer)
   766  
   767  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBatteryCapacityRoutine
   768  //go:noescape
   769  func CallRunBatteryCapacityRoutine(
   770  	retPtr unsafe.Pointer)
   771  
   772  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBatteryCapacityRoutine
   773  //go:noescape
   774  func TryRunBatteryCapacityRoutine(
   775  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   776  
   777  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBatteryChargeRoutine
   778  //go:noescape
   779  func HasFuncRunBatteryChargeRoutine() js.Ref
   780  
   781  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBatteryChargeRoutine
   782  //go:noescape
   783  func FuncRunBatteryChargeRoutine(fn unsafe.Pointer)
   784  
   785  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBatteryChargeRoutine
   786  //go:noescape
   787  func CallRunBatteryChargeRoutine(
   788  	retPtr unsafe.Pointer,
   789  	request unsafe.Pointer)
   790  
   791  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBatteryChargeRoutine
   792  //go:noescape
   793  func TryRunBatteryChargeRoutine(
   794  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   795  	request unsafe.Pointer) (ok js.Ref)
   796  
   797  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBatteryDischargeRoutine
   798  //go:noescape
   799  func HasFuncRunBatteryDischargeRoutine() js.Ref
   800  
   801  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBatteryDischargeRoutine
   802  //go:noescape
   803  func FuncRunBatteryDischargeRoutine(fn unsafe.Pointer)
   804  
   805  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBatteryDischargeRoutine
   806  //go:noescape
   807  func CallRunBatteryDischargeRoutine(
   808  	retPtr unsafe.Pointer,
   809  	request unsafe.Pointer)
   810  
   811  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBatteryDischargeRoutine
   812  //go:noescape
   813  func TryRunBatteryDischargeRoutine(
   814  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   815  	request unsafe.Pointer) (ok js.Ref)
   816  
   817  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBatteryHealthRoutine
   818  //go:noescape
   819  func HasFuncRunBatteryHealthRoutine() js.Ref
   820  
   821  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBatteryHealthRoutine
   822  //go:noescape
   823  func FuncRunBatteryHealthRoutine(fn unsafe.Pointer)
   824  
   825  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBatteryHealthRoutine
   826  //go:noescape
   827  func CallRunBatteryHealthRoutine(
   828  	retPtr unsafe.Pointer)
   829  
   830  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBatteryHealthRoutine
   831  //go:noescape
   832  func TryRunBatteryHealthRoutine(
   833  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   834  
   835  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBluetoothDiscoveryRoutine
   836  //go:noescape
   837  func HasFuncRunBluetoothDiscoveryRoutine() js.Ref
   838  
   839  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBluetoothDiscoveryRoutine
   840  //go:noescape
   841  func FuncRunBluetoothDiscoveryRoutine(fn unsafe.Pointer)
   842  
   843  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBluetoothDiscoveryRoutine
   844  //go:noescape
   845  func CallRunBluetoothDiscoveryRoutine(
   846  	retPtr unsafe.Pointer)
   847  
   848  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBluetoothDiscoveryRoutine
   849  //go:noescape
   850  func TryRunBluetoothDiscoveryRoutine(
   851  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   852  
   853  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBluetoothPairingRoutine
   854  //go:noescape
   855  func HasFuncRunBluetoothPairingRoutine() js.Ref
   856  
   857  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBluetoothPairingRoutine
   858  //go:noescape
   859  func FuncRunBluetoothPairingRoutine(fn unsafe.Pointer)
   860  
   861  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBluetoothPairingRoutine
   862  //go:noescape
   863  func CallRunBluetoothPairingRoutine(
   864  	retPtr unsafe.Pointer,
   865  	request unsafe.Pointer)
   866  
   867  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBluetoothPairingRoutine
   868  //go:noescape
   869  func TryRunBluetoothPairingRoutine(
   870  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   871  	request unsafe.Pointer) (ok js.Ref)
   872  
   873  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBluetoothPowerRoutine
   874  //go:noescape
   875  func HasFuncRunBluetoothPowerRoutine() js.Ref
   876  
   877  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBluetoothPowerRoutine
   878  //go:noescape
   879  func FuncRunBluetoothPowerRoutine(fn unsafe.Pointer)
   880  
   881  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBluetoothPowerRoutine
   882  //go:noescape
   883  func CallRunBluetoothPowerRoutine(
   884  	retPtr unsafe.Pointer)
   885  
   886  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBluetoothPowerRoutine
   887  //go:noescape
   888  func TryRunBluetoothPowerRoutine(
   889  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   890  
   891  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunBluetoothScanningRoutine
   892  //go:noescape
   893  func HasFuncRunBluetoothScanningRoutine() js.Ref
   894  
   895  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunBluetoothScanningRoutine
   896  //go:noescape
   897  func FuncRunBluetoothScanningRoutine(fn unsafe.Pointer)
   898  
   899  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunBluetoothScanningRoutine
   900  //go:noescape
   901  func CallRunBluetoothScanningRoutine(
   902  	retPtr unsafe.Pointer,
   903  	request unsafe.Pointer)
   904  
   905  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunBluetoothScanningRoutine
   906  //go:noescape
   907  func TryRunBluetoothScanningRoutine(
   908  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   909  	request unsafe.Pointer) (ok js.Ref)
   910  
   911  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunCpuCacheRoutine
   912  //go:noescape
   913  func HasFuncRunCpuCacheRoutine() js.Ref
   914  
   915  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunCpuCacheRoutine
   916  //go:noescape
   917  func FuncRunCpuCacheRoutine(fn unsafe.Pointer)
   918  
   919  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunCpuCacheRoutine
   920  //go:noescape
   921  func CallRunCpuCacheRoutine(
   922  	retPtr unsafe.Pointer,
   923  	request unsafe.Pointer)
   924  
   925  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunCpuCacheRoutine
   926  //go:noescape
   927  func TryRunCpuCacheRoutine(
   928  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   929  	request unsafe.Pointer) (ok js.Ref)
   930  
   931  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunCpuFloatingPointAccuracyRoutine
   932  //go:noescape
   933  func HasFuncRunCpuFloatingPointAccuracyRoutine() js.Ref
   934  
   935  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunCpuFloatingPointAccuracyRoutine
   936  //go:noescape
   937  func FuncRunCpuFloatingPointAccuracyRoutine(fn unsafe.Pointer)
   938  
   939  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunCpuFloatingPointAccuracyRoutine
   940  //go:noescape
   941  func CallRunCpuFloatingPointAccuracyRoutine(
   942  	retPtr unsafe.Pointer,
   943  	request unsafe.Pointer)
   944  
   945  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunCpuFloatingPointAccuracyRoutine
   946  //go:noescape
   947  func TryRunCpuFloatingPointAccuracyRoutine(
   948  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   949  	request unsafe.Pointer) (ok js.Ref)
   950  
   951  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunCpuPrimeSearchRoutine
   952  //go:noescape
   953  func HasFuncRunCpuPrimeSearchRoutine() js.Ref
   954  
   955  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunCpuPrimeSearchRoutine
   956  //go:noescape
   957  func FuncRunCpuPrimeSearchRoutine(fn unsafe.Pointer)
   958  
   959  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunCpuPrimeSearchRoutine
   960  //go:noescape
   961  func CallRunCpuPrimeSearchRoutine(
   962  	retPtr unsafe.Pointer,
   963  	request unsafe.Pointer)
   964  
   965  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunCpuPrimeSearchRoutine
   966  //go:noescape
   967  func TryRunCpuPrimeSearchRoutine(
   968  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   969  	request unsafe.Pointer) (ok js.Ref)
   970  
   971  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunCpuStressRoutine
   972  //go:noescape
   973  func HasFuncRunCpuStressRoutine() js.Ref
   974  
   975  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunCpuStressRoutine
   976  //go:noescape
   977  func FuncRunCpuStressRoutine(fn unsafe.Pointer)
   978  
   979  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunCpuStressRoutine
   980  //go:noescape
   981  func CallRunCpuStressRoutine(
   982  	retPtr unsafe.Pointer,
   983  	request unsafe.Pointer)
   984  
   985  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunCpuStressRoutine
   986  //go:noescape
   987  func TryRunCpuStressRoutine(
   988  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   989  	request unsafe.Pointer) (ok js.Ref)
   990  
   991  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunDiskReadRoutine
   992  //go:noescape
   993  func HasFuncRunDiskReadRoutine() js.Ref
   994  
   995  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunDiskReadRoutine
   996  //go:noescape
   997  func FuncRunDiskReadRoutine(fn unsafe.Pointer)
   998  
   999  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunDiskReadRoutine
  1000  //go:noescape
  1001  func CallRunDiskReadRoutine(
  1002  	retPtr unsafe.Pointer,
  1003  	request unsafe.Pointer)
  1004  
  1005  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunDiskReadRoutine
  1006  //go:noescape
  1007  func TryRunDiskReadRoutine(
  1008  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1009  	request unsafe.Pointer) (ok js.Ref)
  1010  
  1011  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunDnsResolutionRoutine
  1012  //go:noescape
  1013  func HasFuncRunDnsResolutionRoutine() js.Ref
  1014  
  1015  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunDnsResolutionRoutine
  1016  //go:noescape
  1017  func FuncRunDnsResolutionRoutine(fn unsafe.Pointer)
  1018  
  1019  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunDnsResolutionRoutine
  1020  //go:noescape
  1021  func CallRunDnsResolutionRoutine(
  1022  	retPtr unsafe.Pointer)
  1023  
  1024  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunDnsResolutionRoutine
  1025  //go:noescape
  1026  func TryRunDnsResolutionRoutine(
  1027  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1028  
  1029  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunDnsResolverPresentRoutine
  1030  //go:noescape
  1031  func HasFuncRunDnsResolverPresentRoutine() js.Ref
  1032  
  1033  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunDnsResolverPresentRoutine
  1034  //go:noescape
  1035  func FuncRunDnsResolverPresentRoutine(fn unsafe.Pointer)
  1036  
  1037  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunDnsResolverPresentRoutine
  1038  //go:noescape
  1039  func CallRunDnsResolverPresentRoutine(
  1040  	retPtr unsafe.Pointer)
  1041  
  1042  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunDnsResolverPresentRoutine
  1043  //go:noescape
  1044  func TryRunDnsResolverPresentRoutine(
  1045  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1046  
  1047  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunEmmcLifetimeRoutine
  1048  //go:noescape
  1049  func HasFuncRunEmmcLifetimeRoutine() js.Ref
  1050  
  1051  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunEmmcLifetimeRoutine
  1052  //go:noescape
  1053  func FuncRunEmmcLifetimeRoutine(fn unsafe.Pointer)
  1054  
  1055  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunEmmcLifetimeRoutine
  1056  //go:noescape
  1057  func CallRunEmmcLifetimeRoutine(
  1058  	retPtr unsafe.Pointer)
  1059  
  1060  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunEmmcLifetimeRoutine
  1061  //go:noescape
  1062  func TryRunEmmcLifetimeRoutine(
  1063  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1064  
  1065  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunFingerprintAliveRoutine
  1066  //go:noescape
  1067  func HasFuncRunFingerprintAliveRoutine() js.Ref
  1068  
  1069  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunFingerprintAliveRoutine
  1070  //go:noescape
  1071  func FuncRunFingerprintAliveRoutine(fn unsafe.Pointer)
  1072  
  1073  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunFingerprintAliveRoutine
  1074  //go:noescape
  1075  func CallRunFingerprintAliveRoutine(
  1076  	retPtr unsafe.Pointer)
  1077  
  1078  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunFingerprintAliveRoutine
  1079  //go:noescape
  1080  func TryRunFingerprintAliveRoutine(
  1081  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1082  
  1083  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunGatewayCanBePingedRoutine
  1084  //go:noescape
  1085  func HasFuncRunGatewayCanBePingedRoutine() js.Ref
  1086  
  1087  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunGatewayCanBePingedRoutine
  1088  //go:noescape
  1089  func FuncRunGatewayCanBePingedRoutine(fn unsafe.Pointer)
  1090  
  1091  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunGatewayCanBePingedRoutine
  1092  //go:noescape
  1093  func CallRunGatewayCanBePingedRoutine(
  1094  	retPtr unsafe.Pointer)
  1095  
  1096  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunGatewayCanBePingedRoutine
  1097  //go:noescape
  1098  func TryRunGatewayCanBePingedRoutine(
  1099  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1100  
  1101  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunLanConnectivityRoutine
  1102  //go:noescape
  1103  func HasFuncRunLanConnectivityRoutine() js.Ref
  1104  
  1105  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunLanConnectivityRoutine
  1106  //go:noescape
  1107  func FuncRunLanConnectivityRoutine(fn unsafe.Pointer)
  1108  
  1109  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunLanConnectivityRoutine
  1110  //go:noescape
  1111  func CallRunLanConnectivityRoutine(
  1112  	retPtr unsafe.Pointer)
  1113  
  1114  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunLanConnectivityRoutine
  1115  //go:noescape
  1116  func TryRunLanConnectivityRoutine(
  1117  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1118  
  1119  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunMemoryRoutine
  1120  //go:noescape
  1121  func HasFuncRunMemoryRoutine() js.Ref
  1122  
  1123  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunMemoryRoutine
  1124  //go:noescape
  1125  func FuncRunMemoryRoutine(fn unsafe.Pointer)
  1126  
  1127  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunMemoryRoutine
  1128  //go:noescape
  1129  func CallRunMemoryRoutine(
  1130  	retPtr unsafe.Pointer)
  1131  
  1132  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunMemoryRoutine
  1133  //go:noescape
  1134  func TryRunMemoryRoutine(
  1135  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1136  
  1137  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunNvmeSelfTestRoutine
  1138  //go:noescape
  1139  func HasFuncRunNvmeSelfTestRoutine() js.Ref
  1140  
  1141  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunNvmeSelfTestRoutine
  1142  //go:noescape
  1143  func FuncRunNvmeSelfTestRoutine(fn unsafe.Pointer)
  1144  
  1145  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunNvmeSelfTestRoutine
  1146  //go:noescape
  1147  func CallRunNvmeSelfTestRoutine(
  1148  	retPtr unsafe.Pointer,
  1149  	request unsafe.Pointer)
  1150  
  1151  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunNvmeSelfTestRoutine
  1152  //go:noescape
  1153  func TryRunNvmeSelfTestRoutine(
  1154  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1155  	request unsafe.Pointer) (ok js.Ref)
  1156  
  1157  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunNvmeWearLevelRoutine
  1158  //go:noescape
  1159  func HasFuncRunNvmeWearLevelRoutine() js.Ref
  1160  
  1161  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunNvmeWearLevelRoutine
  1162  //go:noescape
  1163  func FuncRunNvmeWearLevelRoutine(fn unsafe.Pointer)
  1164  
  1165  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunNvmeWearLevelRoutine
  1166  //go:noescape
  1167  func CallRunNvmeWearLevelRoutine(
  1168  	retPtr unsafe.Pointer,
  1169  	request unsafe.Pointer)
  1170  
  1171  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunNvmeWearLevelRoutine
  1172  //go:noescape
  1173  func TryRunNvmeWearLevelRoutine(
  1174  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1175  	request unsafe.Pointer) (ok js.Ref)
  1176  
  1177  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunPowerButtonRoutine
  1178  //go:noescape
  1179  func HasFuncRunPowerButtonRoutine() js.Ref
  1180  
  1181  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunPowerButtonRoutine
  1182  //go:noescape
  1183  func FuncRunPowerButtonRoutine(fn unsafe.Pointer)
  1184  
  1185  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunPowerButtonRoutine
  1186  //go:noescape
  1187  func CallRunPowerButtonRoutine(
  1188  	retPtr unsafe.Pointer,
  1189  	request unsafe.Pointer)
  1190  
  1191  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunPowerButtonRoutine
  1192  //go:noescape
  1193  func TryRunPowerButtonRoutine(
  1194  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1195  	request unsafe.Pointer) (ok js.Ref)
  1196  
  1197  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunSensitiveSensorRoutine
  1198  //go:noescape
  1199  func HasFuncRunSensitiveSensorRoutine() js.Ref
  1200  
  1201  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunSensitiveSensorRoutine
  1202  //go:noescape
  1203  func FuncRunSensitiveSensorRoutine(fn unsafe.Pointer)
  1204  
  1205  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunSensitiveSensorRoutine
  1206  //go:noescape
  1207  func CallRunSensitiveSensorRoutine(
  1208  	retPtr unsafe.Pointer)
  1209  
  1210  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunSensitiveSensorRoutine
  1211  //go:noescape
  1212  func TryRunSensitiveSensorRoutine(
  1213  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1214  
  1215  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunSignalStrengthRoutine
  1216  //go:noescape
  1217  func HasFuncRunSignalStrengthRoutine() js.Ref
  1218  
  1219  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunSignalStrengthRoutine
  1220  //go:noescape
  1221  func FuncRunSignalStrengthRoutine(fn unsafe.Pointer)
  1222  
  1223  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunSignalStrengthRoutine
  1224  //go:noescape
  1225  func CallRunSignalStrengthRoutine(
  1226  	retPtr unsafe.Pointer)
  1227  
  1228  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunSignalStrengthRoutine
  1229  //go:noescape
  1230  func TryRunSignalStrengthRoutine(
  1231  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1232  
  1233  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunSmartctlCheckRoutine
  1234  //go:noescape
  1235  func HasFuncRunSmartctlCheckRoutine() js.Ref
  1236  
  1237  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunSmartctlCheckRoutine
  1238  //go:noescape
  1239  func FuncRunSmartctlCheckRoutine(fn unsafe.Pointer)
  1240  
  1241  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunSmartctlCheckRoutine
  1242  //go:noescape
  1243  func CallRunSmartctlCheckRoutine(
  1244  	retPtr unsafe.Pointer,
  1245  	request unsafe.Pointer)
  1246  
  1247  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunSmartctlCheckRoutine
  1248  //go:noescape
  1249  func TryRunSmartctlCheckRoutine(
  1250  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1251  	request unsafe.Pointer) (ok js.Ref)
  1252  
  1253  //go:wasmimport plat/js/webext/chromeos/diagnostics has_RunUfsLifetimeRoutine
  1254  //go:noescape
  1255  func HasFuncRunUfsLifetimeRoutine() js.Ref
  1256  
  1257  //go:wasmimport plat/js/webext/chromeos/diagnostics func_RunUfsLifetimeRoutine
  1258  //go:noescape
  1259  func FuncRunUfsLifetimeRoutine(fn unsafe.Pointer)
  1260  
  1261  //go:wasmimport plat/js/webext/chromeos/diagnostics call_RunUfsLifetimeRoutine
  1262  //go:noescape
  1263  func CallRunUfsLifetimeRoutine(
  1264  	retPtr unsafe.Pointer)
  1265  
  1266  //go:wasmimport plat/js/webext/chromeos/diagnostics try_RunUfsLifetimeRoutine
  1267  //go:noescape
  1268  func TryRunUfsLifetimeRoutine(
  1269  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1270  
  1271  //go:wasmimport plat/js/webext/chromeos/diagnostics has_StartRoutine
  1272  //go:noescape
  1273  func HasFuncStartRoutine() js.Ref
  1274  
  1275  //go:wasmimport plat/js/webext/chromeos/diagnostics func_StartRoutine
  1276  //go:noescape
  1277  func FuncStartRoutine(fn unsafe.Pointer)
  1278  
  1279  //go:wasmimport plat/js/webext/chromeos/diagnostics call_StartRoutine
  1280  //go:noescape
  1281  func CallStartRoutine(
  1282  	retPtr unsafe.Pointer,
  1283  	request unsafe.Pointer)
  1284  
  1285  //go:wasmimport plat/js/webext/chromeos/diagnostics try_StartRoutine
  1286  //go:noescape
  1287  func TryStartRoutine(
  1288  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1289  	request unsafe.Pointer) (ok js.Ref)