repo_name
stringlengths
6
101
path
stringlengths
4
300
text
stringlengths
7
1.31M
thewizrd-projects/SimpleWeather-Android
shared_resources/src/main/java/com/thewizrd/shared_resources/weatherdata/openweather/CurrentRootobject.java
package com.thewizrd.shared_resources.weatherdata.openweather; import com.google.gson.annotations.SerializedName; import com.vimeo.stag.UseStag; import java.util.List; @UseStag(UseStag.FieldOption.ALL) public class CurrentRootobject { @SerializedName("dt") private long dt; @SerializedName("coord") private Coord coord; @SerializedName("visibility") private int visibility; @SerializedName("weather") private List<WeatherItem> weather; @SerializedName("name") private String name; @SerializedName("cod") private int cod; @SerializedName("main") private Main main; @SerializedName("clouds") private Clouds clouds; @SerializedName("id") private int id; @SerializedName("sys") private CurrentSys sys; @SerializedName("timezone") private int timezone; @SerializedName("base") private String base; @SerializedName("wind") private Wind wind; @SerializedName("rain") private Rain rain; @SerializedName("snow") private Snow snow; public void setDt(long dt) { this.dt = dt; } public long getDt() { return dt; } public void setCoord(Coord coord) { this.coord = coord; } public Coord getCoord() { return coord; } public void setVisibility(int visibility) { this.visibility = visibility; } public int getVisibility() { return visibility; } public void setWeather(List<WeatherItem> weather) { this.weather = weather; } public List<WeatherItem> getWeather() { return weather; } public void setName(String name) { this.name = name; } public String getName() { return name; } public void setCod(int cod) { this.cod = cod; } public int getCod() { return cod; } public void setMain(Main main) { this.main = main; } public Main getMain() { return main; } public void setClouds(Clouds clouds) { this.clouds = clouds; } public Clouds getClouds() { return clouds; } public void setId(int id) { this.id = id; } public int getId() { return id; } public void setSys(CurrentSys sys) { this.sys = sys; } public CurrentSys getSys() { return sys; } public void setTimezone(int timezone) { this.timezone = timezone; } public int getTimezone() { return timezone; } public void setBase(String base) { this.base = base; } public String getBase() { return base; } public void setWind(Wind wind) { this.wind = wind; } public Wind getWind() { return wind; } public Rain getRain() { return rain; } public void setRain(Rain rain) { this.rain = rain; } public Snow getSnow() { return snow; } public void setSnow(Snow snow) { this.snow = snow; } }
zhengyangtean/CG4001_Heron_ElasticBolt
heron/scheduler-core/tests/java/com/twitter/heron/scheduler/RuntimeManagerRunnerTest.java
<filename>heron/scheduler-core/tests/java/com/twitter/heron/scheduler/RuntimeManagerRunnerTest.java // Copyright 2016 Twitter. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.twitter.heron.scheduler; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; import com.twitter.heron.api.generated.TopologyAPI; import com.twitter.heron.packing.roundrobin.RoundRobinPacking; import com.twitter.heron.proto.scheduler.Scheduler; import com.twitter.heron.proto.system.PackingPlans; import com.twitter.heron.scheduler.client.ISchedulerClient; import com.twitter.heron.scheduler.utils.Runtime; import com.twitter.heron.spi.common.Config; import com.twitter.heron.spi.common.Key; import com.twitter.heron.spi.statemgr.SchedulerStateManagerAdaptor; import com.twitter.heron.spi.utils.PackingTestUtils; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.any; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @RunWith(PowerMockRunner.class) public class RuntimeManagerRunnerTest { private static final String TOPOLOGY_NAME = "testTopology"; private final Config config = mock(Config.class); private final Config runtime = mock(Config.class); @Before public void setUp() throws Exception { when(config.getStringValue(Key.TOPOLOGY_NAME)).thenReturn(TOPOLOGY_NAME); } private RuntimeManagerRunner newRuntimeManagerRunner(Command command) { return newRuntimeManagerRunner(command, mock(ISchedulerClient.class)); } private RuntimeManagerRunner newRuntimeManagerRunner(Command command, ISchedulerClient client) { return spy(new RuntimeManagerRunner(config, runtime, command, client)); } @Test public void testCallRestart() throws Exception { // Restart Runner RuntimeManagerRunner restartRunner = newRuntimeManagerRunner(Command.RESTART); doNothing().when(restartRunner).restartTopologyHandler(TOPOLOGY_NAME); restartRunner.call(); verify(restartRunner).restartTopologyHandler(TOPOLOGY_NAME); } @Test public void testCallKill() throws Exception { // Kill Runner RuntimeManagerRunner killRunner = newRuntimeManagerRunner(Command.KILL); doNothing().when(killRunner).killTopologyHandler(TOPOLOGY_NAME); killRunner.call(); verify(killRunner).killTopologyHandler(TOPOLOGY_NAME); } @Test(expected = TopologyRuntimeManagementException.class) public void testRestartTopologyHandlerFailRestartTopology() { ISchedulerClient client = mock(ISchedulerClient.class); SchedulerStateManagerAdaptor adaptor = mock(SchedulerStateManagerAdaptor.class); RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.RESTART, client); // Restart container 1, not containing TMaster Scheduler.RestartTopologyRequest restartTopologyRequest = Scheduler.RestartTopologyRequest.newBuilder() .setTopologyName(TOPOLOGY_NAME).setContainerIndex(1).build(); when(config.getIntegerValue(Key.TOPOLOGY_CONTAINER_ID)).thenReturn(1); when(client.restartTopology(restartTopologyRequest)).thenReturn(false); try { runner.restartTopologyHandler(TOPOLOGY_NAME); } finally { verify(adaptor, never()).deleteTMasterLocation(TOPOLOGY_NAME); } } @Test public void testRestartTopologyHandlerSuccRestartTopology() { ISchedulerClient client = mock(ISchedulerClient.class); SchedulerStateManagerAdaptor adaptor = mock(SchedulerStateManagerAdaptor.class); RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.RESTART, client); // Restart container 1, not containing TMaster Scheduler.RestartTopologyRequest restartTopologyRequest = Scheduler.RestartTopologyRequest.newBuilder() .setTopologyName(TOPOLOGY_NAME).setContainerIndex(1).build(); when(config.getIntegerValue(Key.TOPOLOGY_CONTAINER_ID)).thenReturn(1); // Success case when(client.restartTopology(restartTopologyRequest)).thenReturn(true); runner.restartTopologyHandler(TOPOLOGY_NAME); // Should not invoke DeleteTMasterLocation verify(adaptor, never()).deleteTMasterLocation(TOPOLOGY_NAME); } @Test(expected = TopologyRuntimeManagementException.class) public void testRestartTopologyHandlerFailDeleteTMasterLoc() { ISchedulerClient client = mock(ISchedulerClient.class); SchedulerStateManagerAdaptor adaptor = mock(SchedulerStateManagerAdaptor.class); RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.RESTART, client); // Restart container 1, not containing TMaster Scheduler.RestartTopologyRequest restartTopologyRequest = Scheduler.RestartTopologyRequest.newBuilder() .setTopologyName(TOPOLOGY_NAME).setContainerIndex(1).build(); when(config.getIntegerValue(Key.TOPOLOGY_CONTAINER_ID)).thenReturn(1); // Restart container 0, containing TMaster when(config.getIntegerValue(Key.TOPOLOGY_CONTAINER_ID)).thenReturn(0); when(runtime.get(Key.SCHEDULER_STATE_MANAGER_ADAPTOR)).thenReturn(adaptor); when(adaptor.deleteTMasterLocation(TOPOLOGY_NAME)).thenReturn(false); try { runner.restartTopologyHandler(TOPOLOGY_NAME); } finally { // DeleteTMasterLocation should be invoked verify(adaptor).deleteTMasterLocation(TOPOLOGY_NAME); } } @Test(expected = TopologyRuntimeManagementException.class) public void testKillTopologyHandlerClientCantKill() { Scheduler.KillTopologyRequest killTopologyRequest = Scheduler.KillTopologyRequest.newBuilder() .setTopologyName(TOPOLOGY_NAME).build(); ISchedulerClient client = mock(ISchedulerClient.class); RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.KILL, client); // Failed to invoke client's killTopology when(client.killTopology(killTopologyRequest)).thenReturn(false); try { runner.killTopologyHandler(TOPOLOGY_NAME); } finally { verify(client).killTopology(killTopologyRequest); } } @Test(expected = TopologyRuntimeManagementException.class) public void testKillTopologyHandlerFailCleanState() { Scheduler.KillTopologyRequest killTopologyRequest = Scheduler.KillTopologyRequest.newBuilder() .setTopologyName(TOPOLOGY_NAME).build(); ISchedulerClient client = mock(ISchedulerClient.class); RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.KILL, client); // Failed to invoke client's killTopology when(client.killTopology(killTopologyRequest)).thenReturn(true); doThrow(new TopologyRuntimeManagementException("")).when(runner).cleanState( eq(TOPOLOGY_NAME), any(SchedulerStateManagerAdaptor.class)); try { runner.killTopologyHandler(TOPOLOGY_NAME); } finally { verify(client).killTopology(killTopologyRequest); } } @Test public void testKillTopologyHandlerOk() { Scheduler.KillTopologyRequest killTopologyRequest = Scheduler.KillTopologyRequest.newBuilder() .setTopologyName(TOPOLOGY_NAME).build(); ISchedulerClient client = mock(ISchedulerClient.class); RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.KILL, client); when(client.killTopology(killTopologyRequest)).thenReturn(true); // Success case doNothing().when(runner).cleanState( eq(TOPOLOGY_NAME), any(SchedulerStateManagerAdaptor.class)); runner.killTopologyHandler(TOPOLOGY_NAME); verify(client).killTopology(killTopologyRequest); } @PrepareForTest(Runtime.class) @Test public void testUpdateTopologyHandler() throws Exception { String newParallelism = "testSpout:1,testBolt:4"; doUpdateTopologyHandlerTest(newParallelism, true); } @PrepareForTest(Runtime.class) @Test(expected = TopologyRuntimeManagementException.class) public void testUpdateTopologyHandlerWithSameParallelism() throws Exception { String newParallelism = "testSpout:2,testBolt:3"; // same as current test packing plan doUpdateTopologyHandlerTest(newParallelism, false); } private void doUpdateTopologyHandlerTest(String newParallelism, boolean expectedResult) { ISchedulerClient client = mock(ISchedulerClient.class); SchedulerStateManagerAdaptor manager = mock(SchedulerStateManagerAdaptor.class); RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.UPDATE, client); PowerMockito.mockStatic(Runtime.class); PowerMockito.when(Runtime.schedulerStateManagerAdaptor(runtime)).thenReturn(manager); RoundRobinPacking packing = new RoundRobinPacking(); PackingPlans.PackingPlan currentPlan = PackingTestUtils.testProtoPackingPlan(TOPOLOGY_NAME, packing); PackingPlans.PackingPlan proposedPlan = PackingTestUtils.testProtoPackingPlan(TOPOLOGY_NAME, packing); Map<String, Integer> changeRequests = runner.parseNewParallelismParam(newParallelism); when(manager.getPackingPlan(eq(TOPOLOGY_NAME))).thenReturn(currentPlan); doReturn(proposedPlan).when(runner).buildNewPackingPlan( eq(currentPlan), eq(changeRequests), any(TopologyAPI.Topology.class)); Scheduler.UpdateTopologyRequest updateTopologyRequest = Scheduler.UpdateTopologyRequest.newBuilder() .setCurrentPackingPlan(currentPlan) .setProposedPackingPlan(proposedPlan) .build(); when(client.updateTopology(updateTopologyRequest)).thenReturn(true); try { runner.updateTopologyHandler(TOPOLOGY_NAME, newParallelism); } finally { int expectedClientUpdateCalls = expectedResult ? 1 : 0; verify(client, times(expectedClientUpdateCalls)).updateTopology(updateTopologyRequest); } } @Test public void testParseNewParallelismParam() { RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.SUBMIT); Map<String, Integer> changes = runner.parseNewParallelismParam("foo:1,bar:2"); assertEquals(2, changes.size()); assertEquals(new Integer(1), changes.get("foo")); assertEquals(new Integer(2), changes.get("bar")); } @Test public void testParseNewParallelismParamEmpty() { RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.SUBMIT); Map<String, Integer> changes = runner.parseNewParallelismParam(""); assertEquals(0, changes.size()); } @Test(expected = IllegalArgumentException.class) public void testParseNewParallelismParamInvalid1() { RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.SUBMIT); try { runner.parseNewParallelismParam("foo:1,bar2"); } catch (IllegalArgumentException e) { assertEquals(e.getMessage(), "Invalid parallelism parameter found. Expected: " + "<component>:<parallelism>[,<component>:<parallelism>], Found: foo:1,bar2"); throw e; } } @Test(expected = IllegalArgumentException.class) public void testParseNewParallelismParamInvalid12() { RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.SUBMIT); try { runner.parseNewParallelismParam("foo:1bar:2"); } catch (IllegalArgumentException e) { assertEquals(e.getMessage(), "Invalid parallelism parameter found. Expected: " + "<component>:<parallelism>[,<component>:<parallelism>], Found: foo:1bar:2"); throw e; } } @Test public void testParallelismDelta() { doTestParallelismDelta("foo:1,bar:2", "foo:3", "foo:2"); doTestParallelismDelta("foo:1,bar:2", "foo:1", ""); doTestParallelismDelta("foo:1,bar:2", "bar:1", "bar:-1"); } private void doTestParallelismDelta(String initial, String changes, String delta) { RuntimeManagerRunner runner = newRuntimeManagerRunner(Command.SUBMIT); Map<String, Integer> initialCounts = runner.parseNewParallelismParam(initial); Map<String, Integer> changeRequest = runner.parseNewParallelismParam(changes); assertEquals(runner.parseNewParallelismParam(delta), runner.parallelismDelta(initialCounts, changeRequest)); } }
yeetee179/TizenRT
apps/examples/testcase/le_tc/network/tc_net_setsockopt.c
<reponame>yeetee179/TizenRT /**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific * language governing permissions and limitations under the License. * ****************************************************************************/ /// @file tc_net_setsockopt.c /// @brief Test Case Example for setsockopt() API #include <tinyara/config.h> #include <stdio.h> #include <errno.h> #include <sys/stat.h> #include <net/if.h> #include <arpa/inet.h> #include <netinet/in.h> #include <netutils/netlib.h> #include <sys/socket.h> #include "tc_internal.h" /** * @fn :tc_net_setsockopt_multicast_ttl_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void */ /* static void tc_net_setsockopt_multicast_ttl_p(int s) { int ret = -1; u8_t optval = 1; ret = setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &optval, sizeof(optval)); if (ret < 0) { printf("tc_net_setsockopt_multicast_ttl_p: SETSOCKOPT Multicast failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_multicast_ttl_p: PASS\n"); nw_total_pass++; } */ /** * @fn :tc_net_setsockopt_multicast_ttl_loop_own_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void */ /* static void tc_net_setsockopt_multicast_ttl_loop_own_p(int s) { int ret = -1; u8_t loop = 1; ret = setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, sizeof(loop)); if (ret < 0) { printf("tc_net_setsockopt_multicast_ttl_loop_own_p: SETSOCKOPT Multicast failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_multicast_ttl_loop_own_p: PASS\n"); nw_total_pass++; } */ /** * @fn :tc_net_setsockopt_multicast_ttl_loop_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void */ /* static void tc_net_setsockopt_multicast_ttl_loop_p(int s) { int ret = -1; u8_t loop = 250; ret = setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, sizeof(loop)); if (ret < 0) { printf("tc_net_setsockopt_multicast_ttl_loop_p: SETSOCKOPT Multicast failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_multicast_ttl_loop_p: PASS\n"); nw_total_pass++; } */ /** * @fn :tc_net_setsockopt_multicast_if_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor, ipv4 addr * Postconditions : * @return :void */ /* static void tc_net_setsockopt_multicast_if_p(int s, const char *my_ipv4addr) { int ret = -1; struct sockaddr_in interface_addr; interface_addr.sin_addr.s_addr = inet_addr(my_ipv4addr); ret = setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, &interface_addr, sizeof(interface_addr)); if (ret < 0) { printf("tc_net_setsockopt_multicast_if_p: SETSOCKOPT Multicast failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_multicast_if_p: PASS\n"); nw_total_pass++; } */ /** * @fn :tc_net_setsockopt_multicast_add_group_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor, group ipv4 addr * Postconditions : * @return :void */ /* static void tc_net_setsockopt_multicast_add_group_p(int s, const char *group_ipv4addr) { int ret = -1; struct ip_mreq mreq; mreq.imr_multiaddr.s_addr = inet_addr(group_ipv4addr); //mreq.imr_interface.s_addr=htonl(INADDR_ANY); ret = setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)); if (ret < 0) { printf("tc_net_setsockopt_multicast_add_group_p: SETSOCKOPT Multicast failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_multicast_add_group_p: PASS\n"); nw_total_pass++; } */ /** * @fn :tc_net_setsockopt_multicast_drop_group_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor, group ipv4 addr * Postconditions : * @return :void */ /* static void tc_net_setsockopt_multicast_drop_group_p(int s, const char *group_ipv4addr) { int ret = -1; struct ip_mreq mreq; mreq.imr_multiaddr.s_addr = inet_addr(group_ipv4addr); mreq.imr_interface.s_addr = htonl(INADDR_ANY); ret = setsockopt(s, IPPROTO_IP, IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq)); if (ret < 0) { printf("tc_net_setsockopt_multicast_add_group_p: SETSOCKOPT Multicast failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_multicast_add_group_p: PASS\n"); nw_total_pass++; } */ /** * @testcase :tc_net_setsockopt_multicast_tcp_nodelay_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_multicast_tcp_nodelay_p(int s) { int ret = -1; int option = 1; ret = setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &option, sizeof(option)); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_multicast_tcp_keepalive_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_multicast_tcp_keepalive_p(int s) { int ret = -1; int option = 1; ret = setsockopt(s, IPPROTO_TCP, TCP_KEEPALIVE, &option, sizeof(option)); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_multicast_tcp_keepidle_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_multicast_tcp_keepidle_p(int s) { int ret = -1; int keepidle = 30; ret = setsockopt(s, IPPROTO_TCP, TCP_KEEPIDLE, &keepidle, sizeof(keepidle)); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_multicast_tcp_keepintvl_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_multicast_tcp_keepintvl_p(int s) { int ret = -1; int keepintvl = 120; ret = setsockopt(s, IPPROTO_TCP, TCP_KEEPINTVL, &keepintvl, sizeof(keepintvl)); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_multicast_tcp_keepcnt_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_multicast_tcp_keepcnt_p(int s) { int ret = -1; int keepcnt = 5; ret = setsockopt(s, IPPROTO_TCP, TCP_KEEPCNT, &keepcnt, sizeof(keepcnt)); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_ip_tos_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_ip_tos_p(int s) { int ret = -1; int optval = 1; ret = setsockopt(s, IPPROTO_IP, IP_TOS, &optval, sizeof(optval)); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @fn :tc_net_setsockopt_ip_ttl_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void */ /* static void tc_net_setsockopt_ip_ttl_p(int s) { int ret = -1; int optval = 1; ret = setsockopt(s, IPPROTO_IP, IP_TTL, &optval, sizeof(optval)); if (ret < 0) { printf("tc_net_setsockopt_ip_ttl_p FAIL: setopt SO_IP_TTL failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_ip_ttl_p PASS\n"); nw_total_pass++; } */ /** * @fn :tc_net_setsockopt_no_check_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void */ /* static void tc_net_setsockopt_no_check_p(int s) { int ret = -1; int optval = 1; ret = setsockopt(s, SOL_SOCKET, SO_NO_CHECK, &optval, sizeof(optval)); if (ret < 0) { printf("tc_net_setsockopt_no_check_p FAIL: setopt SO_NO_CHECK failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_no_check_p PASS\n"); nw_total_pass++; } */ /** * @testcase :tc_net_setsockopt_broadcast_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_broadcast_p(int s) { int ret = 0; int optval = 1; //broadcast value ret = setsockopt(s, SOL_SOCKET, SO_BROADCAST, &optval, sizeof optval); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @fn :tc_net_setsockopt_sndtimo_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void */ /* static void tc_net_setsockopt_sndtimo_p(int s) { int ret = -1; struct timeval timeout; timeout.tv_sec = 10; timeout.tv_usec = 0; ret = setsockopt(s, SOL_SOCKET, SO_SNDTIMEO, (char *)&timeout, sizeof(timeout)); if (ret < 0) { printf("tc_net_setsockopt_sndtimo_p FAIL: setopt SO_SNDTIMO failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_sndtimo_p PASS\n"); nw_total_pass++; } */ /** * @testcase :tc_net_setsockopt_rcvtimo_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_rcvtimo_p(int s) { int ret = -1; struct timeval tv; tv.tv_sec = 1; tv.tv_usec = 0; ret = setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, (struct timeval *)&tv, sizeof(struct timeval)); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_reuseaddr_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_reuseaddr_p(int s) { int ret = -1; int option = 1; ret = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&option, sizeof option); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } #if 0 /** * @testcase :tc_net_setsockopt_reuseport_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_reuseport_p(int s) { int ret = -1; int option = 1; ret = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, (char *)&option, sizeof option); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } #endif /** * @fn :tc_net_setsockopt_rcvbuf_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void */ /* static void tc_net_setsockopt_rcvbuf_p(int s) { int ret = -1; int size = 1000; ret = setsockopt(s, SOL_SOCKET, SO_RCVBUF, &size, size); if (ret < 0) { printf("tc_net_setsockopt_rcvbuf_p FAIL: setopt SO_RCVBUF failure \n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_rcvbuf_p PASS\n"); nw_total_pass++; } */ /** * @testcase :tc_net_setsockopt_keepalive_p * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_keepalive_p(int s) { int ret = -1; int optval = 1; ret = setsockopt(s, SOL_SOCKET, SO_KEEPALIVE, &optval, sizeof optval); TC_ASSERT_GEQ("setsockopt", ret, 0); TC_SUCCESS_RESULT(); } /** * @fn :tc_net_setsockopt_ipproto_ip_ip_pktinfo_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void static void tc_net_setsockopt_ipproto_ip_ip_pktinfo_p(int s) { int ret = -1; int optval=1; ret = setsockopt(s, IPPROTO_IP, IP_PKTINFO, &optval, sizeof(optval));; if (ret < 0) { printf("tc_net_setsockopt_ipproto_ip_ip_pktinfo_p FAIL: setopt KEEPALIVE failure\n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_ipproto_ip_ip_pktinfo_p PASS\n"); nw_total_pass++; }*/ /** * @fn :tc_net_setsockopt_sol_socket_timestamping_p * @brief : * @Scenario : * @API's covered :setsockopt() * Preconditions :socket file descriptor * Postconditions : * @return :void static void tc_net_setsockopt_sol_socket_timestamping_p(fd) { int ret = -1; int optval=1; ret = setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, &optval, sizeof(optval)); if (ret < 0) { printf("tc_net_setsockopt_sol_socket_timestamping_p FAIL: setopt KEEPALIVE failure\n"); nw_total_fail++; RETURN_ERR; } printf("tc_net_setsockopt_sol_socket_timestamping_p PASS\n"); nw_total_pass++; }*/ /** * @testcase :tc_net_setsockopt_bad_filedesc_n * @brief : * @scenario : * @apicovered :setsockopt() * @precondition : * @postcondition : */ static void tc_net_setsockopt_bad_filedesc_n(void) { int ret = -1; // int optval=1; ret = setsockopt(-1, SOL_SOCKET, 0, 0, 0); TC_ASSERT_EQ("setsockopt", ret, -1); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_invalid_filedesc_n * @brief : * @scenario : * @apicovered :setsockopt() * @precondition : * @postcondition : */ static void tc_net_setsockopt_invalid_filedesc_n(void) { int ret = -1; // int optval=1; ret = setsockopt(0, SOL_SOCKET, 0, 0, 0); TC_ASSERT_EQ("setsockopt", ret, -1); TC_SUCCESS_RESULT(); } /** * @testcase :tc_net_setsockopt_invalid_level_n * @brief : * @scenario : * @apicovered :setsockopt() * @precondition :socket file descriptor * @postcondition : */ static void tc_net_setsockopt_invalid_level_n(int s) { int ret = -1; //int optval=1; ret = setsockopt(s, -1, 0, 0, 0); TC_ASSERT_EQ("setsockopt", ret, -1); TC_SUCCESS_RESULT(); } /**************************************************************************** * Name: setsockopt() ****************************************************************************/ void net_setsockopt_main(void) { int fd = -1; //char *mip = "192.168.127.12"; //char *ip = "192.168.1.100"; fd = socket(AF_INET, SOCK_STREAM, 0); if (fd < 0) { printf("socket creation error (%s) line:%d\n", __FUNCTION__, __LINE__); return; } tc_net_setsockopt_invalid_level_n(fd); tc_net_setsockopt_invalid_filedesc_n(); tc_net_setsockopt_bad_filedesc_n(); //tc_net_setsockopt_sol_socket_timestamping_p(fd); //tc_net_setsockopt_ipproto_ip_ip_pktinfo_p(fd); tc_net_setsockopt_keepalive_p(fd); //tc_net_setsockopt_rcvbuf_p(fd); //tc_net_setsockopt_reuseport_p(fd); tc_net_setsockopt_reuseaddr_p(fd); tc_net_setsockopt_rcvtimo_p(fd); //tc_net_setsockopt_sndtimo_p(fd); tc_net_setsockopt_broadcast_p(fd); //tc_net_setsockopt_no_check_p(fd); //tc_net_setsockopt_ip_ttl_p(fd); tc_net_setsockopt_ip_tos_p(fd); tc_net_setsockopt_multicast_tcp_keepcnt_p(fd); tc_net_setsockopt_multicast_tcp_keepintvl_p(fd); tc_net_setsockopt_multicast_tcp_keepidle_p(fd); tc_net_setsockopt_multicast_tcp_keepalive_p(fd); tc_net_setsockopt_multicast_tcp_nodelay_p(fd); //tc_net_setsockopt_multicast_drop_group_p(fd,mip); //tc_net_setsockopt_multicast_add_group_p(fd,mip); //tc_net_setsockopt_multicast_if_p(fd,ip); //tc_net_setsockopt_multicast_ttl_loop_p(fd); //tc_net_setsockopt_multicast_ttl_loop_own_p(fd); //tc_net_setsockopt_multicast_ttl_p(fd); close(fd); return; }
itmat0/votr
aisikl/components/menuitem.py
from aisikl.events import action_event from .actionablecontrol import ActionableControl class MenuItem(ActionableControl): def __init__(self, dialog, id, type, parent_id, properties, element): super().__init__(dialog, id, type, parent_id, properties, element) self.popup_menu_id = properties.get('pmid') self.confirm_question = properties.get('confirmQuestion') self.image = properties.get('image') def _ais_setConfirmQuestion(self, value): self.confirm_question = value def _ais_setImage(self, value): self.image = value def click(self, params=None): self.log('action', 'Clicking {}'.format(self.id)) if self.try_execute_action(params): return ev = action_event(self, None, self.id, params) # TODO: We should technically ask confirm_question before firing # (if ev.listening is True), but we probably don't care. self.dialog.app.send_events(ev)
jeikabu/lumberyard
dev/Code/CryEngine/CryCommon/StatObjBus.h
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ #ifndef CRYINCLUDE_CRYCOMMON_STATOBJBUS_H #define CRYINCLUDE_CRYCOMMON_STATOBJBUS_H #include <AzCore/EBus/EBus.h> #include <AzCore/std/containers/unordered_set.h> struct IStatObj; ////////////////////////////////////////////////////////////////////////// // // Ebus support for triggering necessary update of Entity/Object when // associated static geometry is hot loaded in the level on the fly as // Asset Pipeline finishes the job. // ////////////////////////////////////////////////////////////////////////// class StatObjEvents : public AZ::EBusTraits { public: virtual ~StatObjEvents() = default; static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById; typedef IStatObj* BusIdType; virtual void OnStatObjReloaded() { } }; using StatObjEventBus = AZ::EBus<StatObjEvents>; ////////////////////////////////////////////////////////////////////////// // // Ebus support for handling unique IDs between IStatInstGroup instances. // ////////////////////////////////////////////////////////////////////////// using StatInstGroupId = int; class StatInstGroupEvents : public AZ::EBusTraits { public: const static StatInstGroupId s_InvalidStatInstGroupId = -1; virtual ~StatInstGroupEvents() = default; // AZ::EBusTraits static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single; static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple; using MutexType = AZStd::recursive_mutex; virtual StatInstGroupId GenerateStatInstGroupId() = 0; virtual void ReleaseStatInstGroupId(StatInstGroupId statInstGroupId) = 0; virtual void ReleaseStatInstGroupIdSet(const AZStd::unordered_set<StatInstGroupId>& statInstGroupIdSet) = 0; virtual void ReserveStatInstGroupIdRange(StatInstGroupId from, StatInstGroupId to) = 0; }; using StatInstGroupEventBus = AZ::EBus<StatInstGroupEvents>; ////////////////////////////////////////////////////////////////////////// // // EBUS support for triggering necessary updates when IStatObj instances // caches should be updated when 3D Engine events happen during level loads, // shutting down the application, and so forth // ////////////////////////////////////////////////////////////////////////// class InstanceStatObjEvents : public AZ::EBusTraits { public: virtual ~InstanceStatObjEvents() = default; // AZ::EBusTraits static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single; static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple; using MutexType = AZStd::recursive_mutex; virtual void ReleaseData() { } }; using InstanceStatObjEventBus = AZ::EBus<InstanceStatObjEvents>; #endif // CRYINCLUDE_CRYCOMMON_STATOBJBUS_H #pragma once
phatblat/macOSPrivateFrameworks
PrivateFrameworks/Safari/SafariSandboxBroker.h
<reponame>phatblat/macOSPrivateFrameworks<gh_stars>10-100 // // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "WBSSafariSandboxBroker.h" #import "SafariSandboxBrokerProtocol.h" @class NSMutableDictionary, NSObject<OS_dispatch_group>, NSString; @interface SafariSandboxBroker : WBSSafariSandboxBroker <SafariSandboxBrokerProtocol> { NSMutableDictionary *_unarchivingOperations; NSObject<OS_dispatch_group> *_archiveGroup; } - (void).cxx_destruct; - (void)migrateResourcesToSandbox:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; - (void)synchronouslyRemoveQuarantineHardAttributeFromFileAtURL:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; - (void)cancelUnarchivingOperationWithIdentifier:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; - (void)extractArchiveAtPath:(id)arg1 type:(unsigned long long)arg2 identifier:(id)arg3 completionHandler:(CDUnknownBlockType)arg4; - (void)writeWebArchiveWithoutQuarantineFlag:(id)arg1 atURL:(id)arg2 completionHandler:(CDUnknownBlockType)arg3; - (void)synchronouslyIssueExtensionForDirectoryContainingDownloadDestinationAtURL:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; - (void)issueRootExtensionWithCompletionHandler:(CDUnknownBlockType)arg1; - (void)issueDevelopModeExtensionWithCompletionHandler:(CDUnknownBlockType)arg1; - (BOOL)_isDeveloperModeEnabled; - (id)_URLsRelatedToURL:(id)arg1 containingOriginalURL:(char *)arg2; - (BOOL)_canHostWriteFileAtURL:(id)arg1; - (void)_addFileExtensionToMigratedResources:(id)arg1 forURL:(id)arg2 migrationType:(unsigned long long)arg3 permissions:(long long)arg4; - (void)dealloc; - (id)initWithPID:(int)arg1 auditToken:(CDStruct_6ad76789)arg2; // Remaining properties @property(readonly, copy) NSString *debugDescription; @property(readonly, copy) NSString *description; @property(readonly) unsigned long long hash; @property(readonly) Class superclass; @end
rtxu/cp
leetcode/design-browser-histor/solution.go
<filename>leetcode/design-browser-histor/solution.go type BrowserHistory struct { history []string current int } func Constructor(homepage string) BrowserHistory { h := BrowserHistory{} h.history = append(h.history, homepage) h.current = 0 return h } func (this *BrowserHistory) Visit(url string) { this.history = this.history[0:this.current+1] this.history = append(this.history, url) this.current++ } func (this *BrowserHistory) Back(steps int) string { this.current -= steps if this.current < 0 { this.current = 0 } return this.history[this.current] } func (this *BrowserHistory) Forward(steps int) string { this.current += steps if this.current >= len(this.history) { this.current = len(this.history)-1 } return this.history[this.current] } /** * Your BrowserHistory object will be instantiated and called as such: * obj := Constructor(homepage); * obj.Visit(url); * param_2 := obj.Back(steps); * param_3 := obj.Forward(steps); */
06needhamt/intellij-community
platform/lang-impl/src/com/intellij/application/options/editor/EditorOptionsTopHitProvider.java
<gh_stars>0 // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.application.options.editor; import com.intellij.ide.ui.OptionsSearchTopHitProvider; import com.intellij.ide.ui.search.OptionDescription; import org.jetbrains.annotations.NotNull; import java.util.Collection; final class EditorOptionsTopHitProvider implements OptionsSearchTopHitProvider.ApplicationLevelProvider { @NotNull @Override public String getId() { return EditorOptionsPanel.ID; } @NotNull @Override public Collection<OptionDescription> getOptions() { return EditorOptionsPanelKt.getOptionDescriptors(); } }
ytjia/coding-pratice
algorithms/java/src/test/java/leetcode/RotateImageTest.java
<reponame>ytjia/coding-pratice package leetcode; import org.junit.Assert; import org.junit.Before; import org.junit.Test; /** * @author ytjia created on 2017-10-31 19:26 */ public class RotateImageTest { RotateImage.Solution solution; @Before public void setUp() throws Exception { RotateImage rotateImage = new RotateImage(); solution = rotateImage.new Solution(); } @Test public void testRotate() throws Exception { int[] a1 = new int[]{5, 1, 9, 11}; int[] a2 = new int[]{2, 4, 8, 10}; int[] a3 = new int[]{13, 3, 6, 7}; int[] a4 = new int[]{15, 14, 12, 16}; int[][] arr2d = new int[][]{a1, a2, a3, a4}; solution.rotate(arr2d); System.out.println(arr2d); } }
luisbouca/Schmocial
public/javascripts/events.js
<reponame>luisbouca/Schmocial $(() => { //Carrega o evento mais proximo que participas var eventos var pic var contador = 0 $.ajax({ type: "GET", contentType: "application/json", url: "http://localhost:3000/api/events/byDate/", dataType: "json", success: function (data) { $("#conteudoEventos").html('') eventos = data if (eventos.length == 0) { var myvar = '<div class="w3-container">' + ' <p>Upcoming Events:</p>' + ' <p><strong>Não tem eventos próximos</strong></p>'+ ' <p><a class="w3-button w3-block w3-white" href="/events">See more Events</a></p>' + '</div>'; } else { for (i = 0; i < eventos.length; i++) { if(contador==1){ break; }else{ for (j = 0; j < eventos[i].participants.length; j++) { if (eventos[i].participants[j].id == $("#userId").attr('name')) { contador=1 if (eventos[i].picture) { pic = '<img src="images/eventos/'+eventos[i].picture+'" alt="Forest" style="width:100%;" />' } else { pic = "" } var myvar = '<div class="w3-container">' + ' <p>Upcoming Events:</p>'+pic+'' + ' <p><strong>' + eventos[i].title + '</strong></p>' + ' <p>' + eventos[i].date + '</p>' + ' <p><a class="w3-button w3-block w3-white" href="/events">See more Events</a></p>' + '</div>'; break; } } } if(contador==0 && i==eventos.length-1){ var myvar = '<div class="w3-container">' + ' <p>Upcoming Events:</p>' + ' <p><strong>Não tem eventos próximos</strong></p>' + ' <p><a class="w3-button w3-block w3-white" href="/events">See more Events</a></p>' + '</div>'; } } } $("#conteudoEventos").append(myvar) } }) }) //Mostra a informação de cada evento function showEventInfo(id, data, local, titulo, descricao, utilizador) { $("#idDoEvento").text(id) $("#eventoData").text(data) $("#eventoLocal").text(local) $("#eventoTitle").text(titulo) $("#eventoDescription").text(descricao) var participantes $.ajax({ type: "GET", contentType: "application/json", url: "http://localhost:3000/api/events/participants/" + id, dataType: "json", success: function (data) { $("#eventoParticipants").html('') participantes = data[0].participants if (participantes.length != 0) { for (i = 0; i < participantes.length; i++) { $("#eventoParticipants").append(participantes[i].name) if (participantes[i].id == utilizador) { $("#acceptEvent").hide(); $("#cancelEvent").show(); break; }else{ $("#acceptEvent").show(); $("#cancelEvent").hide(); } } } else { $("#acceptEvent").show(); $("#cancelEvent").hide(); $("#eventoParticipants").text("Ainda não existem participantes") } $("#eventInfo").css("display", "block"); } }) } //Submete participaçao function submeteParticipacao(idUtilizador, nameUtilizador) { var idPost = $("#idDoEvento").text() var participante = { id: idUtilizador, name: nameUtilizador } $.ajax({ type: "POST", contentType: "application/json", url: "http://localhost:3000/api/events/participant", data: JSON.stringify({ idPost: idPost, participant: participante }), dataType: "json", success: function () { window.location.href = "http://localhost:3000/home" } }) } //cancela participaçao function cancelParticipacao(idUtilizador) { var idPost = $("#idDoEvento").text() $.ajax({ type: "POST", contentType: "application/json", url: "http://localhost:3000/api/events/participant/remove", data: JSON.stringify({ idPost: idPost, participant: idUtilizador }), dataType: "json", success: function () { window.location.href = "http://localhost:3000/home" } }) }
trumanwong/leetcode
algorithms/0011.ContainerWithMostWater/maxArea/maxArea.go
package maxArea func MaxArea(height []int) int { if len(height) <= 1 { return -1 } left, right := 0, len(height)-1 res := 0 for left < right { h := min(height[left], height[right]) res = max(res, h*(right-left)) if height[left] < height[right] { left++ } else { right-- } } return res } func max(x, y int) int { if x > y { return x } return y } func min(x, y int) int { if x < y { return x } return y }
dgr8akki/DS-Algo-Made-Easy-With-Aakash
Leetcode/Solution_448_NumbersDisapper.java
package Leetcode; class Solution_448_NumbersDisapper { public List<Integer> findDisappearedNumbers(int[] nums) { List<Integer> ret = new ArrayList<Integer>(); for (int i = 0; i < nums.length; i++) { int val = Math.abs(nums[i]) - 1; if (nums[val] > 0) { nums[val] = -nums[val]; } } for (int i = 0; i < nums.length; i++) { if (nums[i] > 0) { ret.add(i + 1); } } return ret; } }
google/brailleback
braille/brailleback/src/com/googlecode/eyesfree/brailleback/rule/VerticalContainerBrailleRule.java
/* * Copyright (C) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package com.googlecode.eyesfree.brailleback.rule; import android.content.Context; import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; import android.text.Editable; import android.widget.AbsListView; import android.widget.GridView; import android.widget.ScrollView; import com.googlecode.eyesfree.brailleback.R; import com.googlecode.eyesfree.utils.AccessibilityNodeInfoUtils; /** * Rule for formatting certain large vertical containers (such as lists * and grids). A generic description of the view is added and child nodes are not * included. */ class VerticalContainerBrailleRule implements BrailleRule { @Override public boolean accept(Context context, AccessibilityNodeInfoCompat node) { return AccessibilityNodeInfoUtils.nodeMatchesAnyClassByType( context, node, AbsListView.class, ScrollView.class); } @Override public void format(Editable result, Context context, AccessibilityNodeInfoCompat node) { boolean empty = (node.getChildCount() == 0); int res; if (AccessibilityNodeInfoUtils.nodeMatchesClassByType(context, node, GridView.class)) { res = empty ? R.string.type_emptygridview : R.string.type_gridview; } else if (AccessibilityNodeInfoUtils.nodeMatchesClassByType( context, node, ScrollView.class)) { res = empty ? R.string.type_emptyscrollview : R.string.type_scrollview; } else { res = empty ? R.string.type_emptylistview : R.string.type_listview; } result.append(context.getString(res)); } public boolean includeChildren(AccessibilityNodeInfoCompat node, Context context) { return false; } }
knoteHOW/ver2
src/router/index.js
import React, { Suspense } from "react"; import { isMobile, isTablet } from 'react-device-detect'; import PcRouter from './PcRouter'; import MobileRouter from './MobileRouter'; const routing = () => { if (isMobile && !isTablet) { return <MobileRouter /> } return <PcRouter /> } const Router = () => { return ( <Suspense> {routing()} </Suspense> ); }; export default Router
parasharrajat/qml-tools
server/Qt5.12.8.static/include/QtCharts/qtchartsversion.h
/* This file was generated by syncqt. */ #ifndef QT_QTCHARTS_VERSION_H #define QT_QTCHARTS_VERSION_H #define QTCHARTS_VERSION_STR "5.12.8" #define QTCHARTS_VERSION 0x050C08 #endif // QT_QTCHARTS_VERSION_H
Mrcopytuo/Design_Pattern_2020
src/main/java/com/github/tongjisserollman/iceamusementpark/abstractfactory/Facility.java
package com.github.tongjisserollman.iceamusementpark.abstractfactory; /** * @author Moreonenight * * 不同类型的游乐设施 */ public abstract class Facility { protected int facilityId; protected String facilityName; public Facility(int facilityId, String facilityName) { this.facilityId = facilityId; this.facilityName = facilityName; } /** * 运行设施 */ public abstract void run(); }
SnowPrimate/ChaosRadio
node_modules/skipper/lib/private/Upstream/build-renamer-stream.js
/** * Module dependencies */ var util = require('util'); var path = require('path'); var TransformStream = require('stream').Transform; var _ = require('@sailshq/lodash'); var debug = require('debug')('skipper'); var UUIDGenerator = require('uuid/v4'); /** * [exports description] * @param {Object} options [description] * @return {[type]} [description] */ module.exports = function buildRenamerStream (options) { options = options || {}; var __renamer__ = new TransformStream({objectMode: true}); __renamer__._transform = function(__file, enctype, next) { // Determine the unique file descriptor (`fd`). // Represents the location where file should be written in the remote fs. (function determineBasename (cb) { // Use the `saveAs` string verbatim if (_.isString(options.saveAs)) { return cb(undefined, options.saveAs); } // Run the `saveAs` fn to determine the basename else if (_.isFunction(options.saveAs)) { options.saveAs(__file, function (err, fdFromUserland){ if (err) { return cb(err); } if (!_.isString(fdFromUserland)) { return cb(new Error('The `saveAs` function triggered its callback, but did not send back a valid string as the 2nd argument. Instead, got: '+util.inspect(fdFromUserland, {depth:null})+'')); } return cb(undefined, fdFromUserland); });//</saveAs> } // The default `saveAs` implements a unique filename by combining: // • a generated UUID (like "4d5f444-38b4-4dc3-b9c3-74cb7fbbc932") // • the uploaded file's original extension (like ".jpg") else { return cb(undefined, UUIDGenerator()+ path.extname(__file.filename)); } })(function (err, basename) { if (err) { return next(err); } __file.fd = basename; if (_.isString(options.dirname)) { __file.fd = path.join(options.dirname, __file.fd); } debug('RenamerPump:\n• dirname => %s\n• field => %s\n• fd => %s', __file.dirname, __file.field, __file.fd); __renamer__.push(__file); next(); }); }; return __renamer__; };
pazamelin/openvino
docs/template_plugin/tests/functional/op_reference/lrn.cpp
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include "base_reference_test.hpp" #include "openvino/op/constant.hpp" #include "openvino/op/lrn.hpp" using namespace reference_tests; using namespace ov; namespace { struct LRNParams { template <class T> LRNParams(const Shape& input_shape, const Shape& expected_shape, const element::Type& input_type, const element::Type& expected_type, const std::vector<T>& input_value, const std::vector<T>& expected_value, const float& alpha, const float& beta, const float& bias, const size_t& size, const std::shared_ptr<op::v0::Constant>& axes) { m_input_shape = input_shape; m_expected_shape = expected_shape; m_input_type = input_type; m_expected_type = expected_type; m_input_value = CreateTensor(input_type, input_value); m_expected_value = CreateTensor(expected_type, expected_value); m_alpha = alpha; m_beta = beta; m_bias = bias; m_size = size; m_axes = axes; } template <class T> LRNParams(const Shape& input_shape, const Shape& expected_shape, const element::Type& input_type, const element::Type& expected_type, const T& input_value_step, const std::vector<T>& expected_value, const float& alpha, const float& beta, const float& bias, const size_t& size, const std::shared_ptr<op::v0::Constant>& axes) { m_input_shape = input_shape; m_expected_shape = expected_shape; m_input_type = input_type; m_expected_type = expected_type; std::vector<T> input_value(shape_size(input_shape)); std::iota(std::begin(input_value), std::end(input_value), input_value_step); m_input_value = CreateTensor(input_type, input_value); m_expected_value = CreateTensor(expected_type, expected_value); m_alpha = alpha; m_beta = beta; m_bias = bias; m_size = size; m_axes = axes; } Shape m_input_shape; Shape m_expected_shape; element::Type m_input_type; element::Type m_expected_type; runtime::Tensor m_input_value; runtime::Tensor m_expected_value; float m_alpha; float m_beta; float m_bias; size_t m_size; std::shared_ptr<op::v0::Constant> m_axes; }; class ReferenceLRNLayerTest : public testing::TestWithParam<LRNParams>, public CommonReferenceTest { public: void SetUp() override { const auto params = GetParam(); function = CreateFunction(params.m_input_shape, params.m_input_type, params.m_alpha, params.m_beta, params.m_bias, params.m_size, params.m_axes); inputData = {params.m_input_value}; refOutData = {params.m_expected_value}; } static std::string getTestCaseName(const testing::TestParamInfo<LRNParams>& obj) { const auto param = obj.param; std::ostringstream result; result << "input_shape=" << param.m_input_shape << "; "; result << "output_shape=" << param.m_expected_shape << "; "; result << "input_type=" << param.m_input_type << "; "; result << "output_type=" << param.m_expected_type << "; "; if (param.m_axes != NULL) { result << "axes=" << param.m_axes << "; "; } result << "gamma=" << param.m_alpha << "; "; result << "beta=" << param.m_beta << "; "; result << "mean=" << param.m_bias << "; "; result << "variance=" << param.m_size << "; "; return result.str(); } private: static std::shared_ptr<Model> CreateFunction(const Shape& input_shape, const element::Type_t& input_type, const float& alpah, const float& beta, const float& bias, const size_t& size, const std::shared_ptr<op::v0::Constant>& axes) { auto in = std::make_shared<op::v0::Parameter>(input_type, input_shape); std::shared_ptr<op::v0::LRN> lrn; if (axes != NULL) { lrn = std::make_shared<op::v0::LRN>(in, axes, alpah, beta, bias, size); } else { lrn = std::make_shared<op::v0::LRN>(in, alpah, beta, bias, size); } return std::make_shared<ov::Model>(lrn, ParameterVector{in}); } }; TEST_P(ReferenceLRNLayerTest, CompareWithHardcodedRefs) { Exec(); } template <element::Type_t ET> std::vector<LRNParams> generateParamsForLRN() { using T = typename element_type_traits<ET>::value_type; std::vector<LRNParams> params{ // lrn_across_channel LRNParams(Shape{2, 3, 2, 1}, Shape{2, 3, 2, 1}, ET, ET, std::vector<T>{0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f}, std::vector<T>{0.0000000f, 0.3015113f, 0.4364358f, 0.5000000f, 0.8728716f, 0.8451542f, 0.5970223f, 0.6115928f, 0.5642765f, 0.5669467f, 0.7784989f, 0.7720487f}, 3, 0.5, 1, 3, NULL), // lrn_across_h LRNParams(Shape{2, 3, 2, 1}, Shape{2, 3, 2, 1}, ET, ET, std::vector<T>{0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f}, std::vector<T>{0.0000000f, 0.7071068f, 0.5345225f, 0.8017837f, 0.6172134f, 0.7715167f, 0.6469966f, 0.7548294f, 0.6620847f, 0.7448453f, 0.6711560f, 0.7382717f}, 3, 0.5, 1, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{1}, std::vector<int64_t>{2})), // lrn_across_hw LRNParams(Shape{2, 3, 2, 1}, Shape{2, 3, 2, 1}, ET, ET, std::vector<T>{0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f}, std::vector<T>{0.0000000f, 0.8660254f, 0.8660254f, 1.2990381f, 1.0444659f, 1.3055824f, 1.1078234f, 1.2924607f, 1.1389896f, 1.2813632f, 1.1572751f, 1.2730026f}, 3, 0.5, 1, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{2}, std::vector<int64_t>{2, 3})), // lrn_across_all_dims LRNParams(Shape{2, 3, 2, 1}, Shape{2, 3, 2, 1}, ET, ET, std::vector<T>{0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f}, std::vector<T>{0.0000000f, 0.3156438f, 0.4501407f, 0.6752110f, 0.9830783f, 1.2288479f, 1.8938627f, 2.2095065f, 1.8005627f, 2.0256331f, 2.4576957f, 2.7034652f}, 3, 0.5, 1, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{4}, std::vector<int64_t>{0, 1, 2, 3})), // lrn_across_nw LRNParams(Shape{2, 3, 2, 1}, Shape{2, 3, 2, 1}, ET, ET, std::vector<T>{0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f}, std::vector<T>{0.0000000f, 0.2379155f, 0.4111132f, 0.5388159f, 0.6351073f, 0.7094756f, 1.6641006f, 1.6654084f, 1.6444529f, 1.6164477f, 1.5877683f, 1.5608464f}, 3, 0.5, 1, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{2}, std::vector<int64_t>{0, 3})), // lrn_across_empty LRNParams(Shape{2, 3, 2, 1}, Shape{2, 3, 2, 1}, ET, ET, std::vector<T>{0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f}, std::vector<T>{0.0000000f, 0.5000000f, 0.5547002f, 0.5669467f, 0.5714286f, 0.5735393f, 0.5746958f, 0.5753965f, 0.5758526f, 0.5761660f, 0.5763904f, 0.5765567f}, 3, 0.5, 1, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{0}, std::vector<int64_t>{})), // lrn_6D_across_2_axes LRNParams(Shape{2, 3, 2, 2, 1, 1}, Shape{2, 3, 2, 2, 1, 1}, ET, ET, static_cast<T>(0), std::vector<T>{0.0000000f, 0.4200840f, 0.8401681f, 1.2602521f, 0.6099943f, 0.7624928f, 0.9149914f, 1.0674900f, 0.7213357f, 0.8115027f, 0.9016696f, 0.9918366f, 0.7656109f, 0.8294119f, 0.8932127f, 0.9570137f, 0.7892218f, 0.8385482f, 0.8878745f, 0.9372009f, 0.8038679f, 0.8440613f, 0.8842546f, 0.9244481f}, 3, 0.5, 1, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{2}, std::vector<int64_t>{2, 3})), // lrn_2d_across_empty LRNParams(Shape{12}, Shape{12}, ET, ET, std::vector<T>{0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f}, std::vector<T>{0.0000000f, 0.5000000f, 0.5547002f, 0.5669467f, 0.5714286f, 0.5735393f, 0.5746958f, 0.5753964f, 0.5758526f, 0.5761660f, 0.5763904f, 0.5765566f}, 3, 0.5, 1, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{0}, std::vector<int64_t>{})), // lrn_2d_across_empty LRNParams(Shape{6, 2}, Shape{6, 2}, ET, ET, std::vector<T>{0.64915806f, 0.21213771f, -1.48256505f, -1.41040838f, 0.58189541f, 0.11432108f, -0.22993855f, -0.13325502f, -0.03083259f, -0.48450908f, 0.50342429f, -0.99551708f}, std::vector<T>{0.4590040f, 0.1499989f, -1.0482801f, -0.9972753f, 0.4114444f, 0.0808345f, -0.1625900f, -0.0942251f, -0.0218018f, -0.3425926f, 0.3559732f, -0.7039225f}, 0.0002, 0.5, 2.0, 3, std::make_shared<op::v0::Constant>(element::Type_t::i64, Shape{1}, std::vector<int64_t>{0})), }; return params; } std::vector<LRNParams> generateCombinedParamsForLRN() { const std::vector<std::vector<LRNParams>> allTypeParams{ generateParamsForLRN<element::Type_t::f64>(), generateParamsForLRN<element::Type_t::f32>() }; std::vector<LRNParams> combinedParams; for (const auto& params : allTypeParams) { combinedParams.insert(combinedParams.end(), params.begin(), params.end()); } return combinedParams; } INSTANTIATE_TEST_SUITE_P( smoke_LRN_With_Hardcoded_Refs, ReferenceLRNLayerTest, ::testing::ValuesIn(generateCombinedParamsForLRN()), ReferenceLRNLayerTest::getTestCaseName); } // namespace
Razor-87/hackerrank
python/easy/introduction/division.py
<filename>python/easy/introduction/division.py<gh_stars>0 # -*- coding: utf-8 -*- from typing import Tuple def division(a: int, b: int) -> Tuple[int, float]: """ >>> division(4, 3) (1, 1.3333333333333333) """ return a // b, a / b if __name__ == '__main__': a, b = int(input()), int(input()) print(*division(a, b), sep='\n')
okamumu/jspetrinet
src/jspetrinet/marking/Mark.java
package jspetrinet.marking; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import jspetrinet.graph.Arc; public final class Mark extends jspetrinet.graph.Node implements Comparable<Mark> { private final int[] vec; private GenVec genvec; private boolean imm; public Mark(int size) { this.vec = new int [size]; this.genvec = null; this.imm = false; } public Mark(Mark m) { this.vec = Arrays.copyOf(m.vec, m.vec.length); this.genvec = null; } public final void setIMM() { this.imm = true; } public final void setGEN() { this.imm = false; } public final boolean isIMM() { return this.imm; } public final int get(int i) { return vec[i]; } public final void set(int i, int v) { vec[i] = v; } public final GenVec getGenVec() { return this.genvec; } public final void setGroup(GenVec genvec) { this.genvec = genvec; } public final List<Mark> next() { List<Mark> next = new ArrayList<Mark>(); for (Arc a: getOutArc()) { next.add((Mark) a.getDest()); } return next; } @Override public String toString() { return Arrays.toString(vec); } @Override public final int hashCode() { return Arrays.hashCode(vec); } @Override public final boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; Mark other = (Mark) obj; if (!Arrays.equals(vec, other.vec)) return false; return true; } @Override public int compareTo(Mark other) { if (vec.length < other.vec.length) { return -1; } if (vec.length > other.vec.length) { return 1; } for (int i=vec.length-1; i>=0; i--) { if (vec[i] < other.vec[i]) { return -1; } if (vec[i] > other.vec[i]) { return 1; } } return 0; } }
taskography/3dscenegraph-dev
scenegraph/exp-official/taskographyv5medium5bagslots5_Cerberus-sat/taskographyv5medium5bagslots5_Cerberus-sat_test.py
STATS = [] num_timeouts = 182 num_timeouts = 0 num_problems = 182
bingpobing/FMnew
FM/FM/Player/Controller/PlayerController.h
// // PlayerController.h // FM // // Created by lanou3g on 15/10/6. // Copyright (c) 2015年 YT. All rights reserved. // #import <UIKit/UIKit.h> #import <TCBlobDownload/TCBlobDownload.h> @class FMmodel; @interface PlayerController : UIViewController @property (nonatomic, strong) NSMutableArray *musicArray; @property (nonatomic, assign) int str; @property (nonatomic, strong) NSString *tag; //图片 @property(nonatomic , strong) NSURL *PicUrl; //小标题 @property(nonatomic , strong) NSString *radioTitle; //主持电台 @property(nonatomic , strong) NSString *nickname; //持续时间 @property(nonatomic , strong) NSString *duration; //电台地址 @property (nonatomic,strong)NSString *playPathAacv224; //电台下载地址 @property (nonatomic,strong)NSString *file_m4a_url; @property (nonatomic,strong)NSString *file_low_url; @property (nonatomic,strong)FMmodel *playModel; @property (nonatomic,strong)UIButton *backBtn; @property (nonatomic,strong)UIImageView *imgView; @property (nonatomic,strong)UILabel *titleLab; @property (nonatomic,strong)UILabel *djLab; @property (nonatomic,strong)UIButton *liebiaoBtn; @property (nonatomic,strong)UIButton *xiazaiBtn; @property (nonatomic,strong)UIButton *shoucangBtn; @property (nonatomic,strong)UILabel *liebiaoLab; @property (nonatomic,strong)UILabel *xiazaiLab; @property (nonatomic,strong)UILabel *shoucangLab; @property (nonatomic,strong)UISlider *timeSlider; @property (nonatomic,strong)UIButton *previousBtn; @property (nonatomic,strong)UIButton *startOrPuaseBtn; @property (nonatomic,strong)UIButton *nextBtn; @end
kiranhs/ITKv4FEM-Kiran
Code/Algorithms/itkIsoContourDistanceImageFilter.h
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkIsoContourDistanceImageFilter.h Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #ifndef __itkIsoContourDistanceImageFilter_h #define __itkIsoContourDistanceImageFilter_h #include "itkImageToImageFilter.h" #include "itkNarrowBand.h" #include "itkBarrier.h" namespace itk { /** \class IsoContourDistanceImageFilter * \brief Compute an approximate distance from an interpolated isocontour to the close grid points. * * For standard level set algorithms, it is useful to periodically * reinitialize the evolving image to prevent numerical accuracy * problems in computing derivatives. * This reinitialization is done by computing a signed distance map * to the current level set. * This class provides the first step in this reinitialization by * computing an estimate of the distance from the interpolated isocontour * to the pixels (or voxels) that are close to it, i.e. for which the * isocontour crosses a segment between them and one of their direct * neighbors. * This class supports narrowbanding. If the input narrowband is provided, * the algorithm will only locate the level set within the input narrowband. * * Implementation of this class is based on * Fast and Accurate Redistancing for Level Set Methods *`<NAME>. and <NAME>.', * EUROCAST NeuroImaging Workshop Las Palmas Spain, * Ninth International Conference on Computer Aided Systems Theory , pages 48-51, Feb 2003. * * * \ingroup LevelSetSegmentation * */ template <class TInputImage, class TOutputImage> class ITK_EXPORT IsoContourDistanceImageFilter : public ImageToImageFilter<TInputImage,TOutputImage> { public: /** Standard class typedefs. */ typedef IsoContourDistanceImageFilter Self; typedef ImageToImageFilter<TInputImage,TOutputImage> Superclass; typedef SmartPointer<Self> Pointer; typedef SmartPointer<const Self> ConstPointer; /** Method for creation through the object factory. */ itkNewMacro(Self); /** Run-time type information (and related methods). */ itkTypeMacro(IsoContourDistanceImageFilter, ImageToImageFilter); /**Typedefs from the superclass */ typedef typename Superclass::InputImageType InputImageType; typedef typename Superclass::OutputImageType OutputImageType; /** Dimensionality of input and output data is assumed to be the same. * It is inherited from the superclass. */ itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension); itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension); /** The pixel type of the output image will be used in computations. * Inherited from the superclass. */ typedef typename OutputImageType::PixelType PixelType; typedef typename InputImageType::PixelType InputPixelType; typedef typename OutputImageType::RegionType OutputImageRegionType; /** Some typedef */ typedef typename InputImageType::SizeType InputSizeType; typedef typename OutputImageType::SizeType SizeType; typedef typename InputImageType::IndexType InputIndexType; typedef typename OutputImageType::IndexType IndexType; /** NarrowBand typedef support. */ typedef BandNode<IndexType,PixelType> BandNodeType; typedef NarrowBand<BandNodeType> NarrowBandType; typedef typename NarrowBandType::Pointer NarrowBandPointer; typedef typename NarrowBandType::RegionType RegionType; typedef typename NarrowBandType::ConstIterator ConstBandIterator; typedef typename NarrowBandType::Iterator BandIterator; /** Set/Get the value of the level set to be located. The default value is * 0. */ itkSetMacro( LevelSetValue, InputPixelType ); itkGetConstMacro( LevelSetValue, InputPixelType ); /** Set/Get the value of the level set to be located. The default value is * 0. */ itkSetMacro( FarValue, PixelType ); itkGetConstMacro( FarValue, PixelType ); /** Set/Get the narrowbanding flag. By default, narrowbanding is switched * off. */ itkSetMacro( NarrowBanding, bool ); itkGetConstMacro( NarrowBanding, bool ); itkBooleanMacro( NarrowBanding ); /** Set/Get the narrowband. */ void SetNarrowBand( NarrowBandType * ptr ); NarrowBandPointer GetNarrowBand() const { return m_NarrowBand; } #ifdef ITK_USE_CONCEPT_CHECKING /** Begin concept checking */ itkConceptMacro(InputEqualityComparableCheck, (Concept::EqualityComparable<InputPixelType>)); itkConceptMacro(OutputEqualityComparableCheck, (Concept::EqualityComparable<PixelType>)); itkConceptMacro(SameDimensionCheck, (Concept::SameDimension<ImageDimension, OutputImageDimension>)); itkConceptMacro(DoubleConvertibleToOutputCheck, (Concept::Convertible<double, PixelType>)); itkConceptMacro(InputConvertibleToOutputCheck, (Concept::Convertible<InputPixelType, PixelType>)); itkConceptMacro(OutputAdditiveOperatorsCheck, (Concept::AdditiveOperators<PixelType>)); itkConceptMacro(InputOStreamWritableCheck, (Concept::OStreamWritable<InputPixelType>)); itkConceptMacro(OutputOStreamWritableCheck, (Concept::OStreamWritable<PixelType>)); /** End concept checking */ #endif protected: IsoContourDistanceImageFilter(); ~IsoContourDistanceImageFilter(){}; void PrintSelf(std::ostream& os, Indent indent) const; void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId ); void ThreadedGenerateDataFull(const OutputImageRegionType& outputRegionForThread, int threadId ); void ThreadedGenerateDataBand(const OutputImageRegionType& outputRegionForThread, int threadId ); void BeforeThreadedGenerateData(); virtual void GenerateInputRequestedRegion(); virtual void EnlargeOutputRequestedRegion( DataObject * ); private: IsoContourDistanceImageFilter(const Self&); //purposely not implemented void operator=(const Self&); //purposely not implemented InputPixelType m_LevelSetValue; PixelType m_FarValue; bool m_NarrowBanding; NarrowBandPointer m_NarrowBand; std::vector<RegionType> m_NarrowBandRegion; /** A global barrier used for synchronization between all threads. */ typename Barrier::Pointer m_Barrier; }; } // namespace itk #ifndef ITK_MANUAL_INSTANTIATION #include "itkIsoContourDistanceImageFilter.txx" #endif #endif
zhangkn/iOS14Header
System/Library/Frameworks/PhotosUI.framework/PUAdjustmentsViewController.h
/* * This header is generated by classdump-dyld 1.0 * on Monday, September 28, 2020 at 5:54:47 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/PhotosUI.framework/PhotosUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #import <PhotosUI/PhotosUI-Structs.h> #import <UIKitCore/UIViewController.h> #import <UIKit/UICollectionViewDelegateFlowLayout.h> #import <UIKit/UICollectionViewDataSource.h> #import <UIKit/UIGestureRecognizerDelegate.h> #import <libobjc.A.dylib/PUPhotoEditBaseAdjustmentCellDelegate.h> #import <libobjc.A.dylib/CEKSliderDelegate.h> @protocol PUAdjustmentsViewDataSource, PUAdjustmentViewControllerDelegate; @class UIImage, PXUISnappingController, PUAdjustmentInfo, UICollectionView, PUAdjustmentsViewFlowLayout, CEKSlider, NSIndexPath, PUSelectionFeedbackGenerator, NSString; @interface PUAdjustmentsViewController : UIViewController <UICollectionViewDelegateFlowLayout, UICollectionViewDataSource, UIGestureRecognizerDelegate, PUPhotoEditBaseAdjustmentCellDelegate, CEKSliderDelegate> { CGPoint _lastOffset; double _previousTimeStamp; UIImage* _selectedItemBackgroundImage; UIImage* _itemBackgroundImage; BOOL _sliderIsScrubbing; PXUISnappingController* _snappingController; BOOL _shouldDisplayControlValues; BOOL _shouldDisplayMappedValues; BOOL _didSetupControls; BOOL _isAnimatingScroll; BOOL _didPerformHapticFeedback; id<PUAdjustmentsViewDataSource> _dataSource; id<PUAdjustmentViewControllerDelegate> _delegate; long long _layoutDirection; PUAdjustmentInfo* _selectedAdjustmentInfo; UICollectionView* _collectionView; PUAdjustmentsViewFlowLayout* _collectionViewLayout; CEKSlider* _slider; NSIndexPath* _selectedIndexPath; PUSelectionFeedbackGenerator* _selectionFeedbackGenerator; CGSize _controlSize; } @property (nonatomic,retain) UICollectionView * collectionView; //@synthesize collectionView=_collectionView - In the implementation block @property (nonatomic,retain) PUAdjustmentsViewFlowLayout * collectionViewLayout; //@synthesize collectionViewLayout=_collectionViewLayout - In the implementation block @property (nonatomic,retain) CEKSlider * slider; //@synthesize slider=_slider - In the implementation block @property (nonatomic,retain) NSIndexPath * selectedIndexPath; //@synthesize selectedIndexPath=_selectedIndexPath - In the implementation block @property (assign,nonatomic) CGSize controlSize; //@synthesize controlSize=_controlSize - In the implementation block @property (assign,nonatomic) BOOL didSetupControls; //@synthesize didSetupControls=_didSetupControls - In the implementation block @property (assign,nonatomic) BOOL isAnimatingScroll; //@synthesize isAnimatingScroll=_isAnimatingScroll - In the implementation block @property (nonatomic,retain) PUSelectionFeedbackGenerator * selectionFeedbackGenerator; //@synthesize selectionFeedbackGenerator=_selectionFeedbackGenerator - In the implementation block @property (assign,nonatomic) BOOL didPerformHapticFeedback; //@synthesize didPerformHapticFeedback=_didPerformHapticFeedback - In the implementation block @property (assign,nonatomic,__weak) id<PUAdjustmentsViewDataSource> dataSource; //@synthesize dataSource=_dataSource - In the implementation block @property (assign,nonatomic,__weak) id<PUAdjustmentViewControllerDelegate> delegate; //@synthesize delegate=_delegate - In the implementation block @property (assign,nonatomic) long long layoutDirection; //@synthesize layoutDirection=_layoutDirection - In the implementation block @property (assign,nonatomic) BOOL shouldDisplayControlValues; //@synthesize shouldDisplayControlValues=_shouldDisplayControlValues - In the implementation block @property (assign,nonatomic) BOOL shouldDisplayMappedValues; //@synthesize shouldDisplayMappedValues=_shouldDisplayMappedValues - In the implementation block @property (nonatomic,readonly) PUAdjustmentInfo * selectedAdjustmentInfo; //@synthesize selectedAdjustmentInfo=_selectedAdjustmentInfo - In the implementation block @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy,readonly) NSString * description; @property (copy,readonly) NSString * debugDescription; -(void)collectionView:(id)arg1 didSelectItemAtIndexPath:(id)arg2 ; -(CGSize)controlSize; -(long long)collectionView:(id)arg1 numberOfItemsInSection:(long long)arg2 ; -(void)collectionView:(id)arg1 willDisplayCell:(id)arg2 forItemAtIndexPath:(id)arg3 ; -(CEKSlider *)slider; -(long long)layoutDirection; -(void)viewDidLayoutSubviews; -(UICollectionView *)collectionView; -(void)setDataSource:(id<PUAdjustmentsViewDataSource>)arg1 ; -(long long)numberOfSectionsInCollectionView:(id)arg1 ; -(void)setIsAnimatingScroll:(BOOL)arg1 ; -(id)collectionView:(id)arg1 cellForItemAtIndexPath:(id)arg2 ; -(id)initWithNibName:(id)arg1 bundle:(id)arg2 ; -(PUSelectionFeedbackGenerator *)selectionFeedbackGenerator; -(void)scrollViewDidEndScrollingAnimation:(id)arg1 ; -(void)scrollViewDidEndDragging:(id)arg1 willDecelerate:(BOOL)arg2 ; -(void)updateControls; -(PUAdjustmentInfo *)selectedAdjustmentInfo; -(void)sliderWillBeginScrolling:(id)arg1 ; -(void)slider:(id)arg1 willUpdateValue:(double*)arg2 withVelocity:(double)arg3 ; -(void)sliderWillEndScrolling:(id)arg1 withVelocity:(CGPoint)arg2 targetContentOffset:(inout CGPoint*)arg3 ; -(void)sliderDidEndScrolling:(id)arg1 ; -(BOOL)canToggleCell:(id)arg1 ; -(void)didToggleCell:(id)arg1 ; -(void)_updateViewLayout; -(void)_updateSliderForControlAtIndexPath:(id)arg1 ; -(void)_updateCollectionViewLayoutDirection:(long long)arg1 ; -(void)_updateSelectedInfo; -(void)_resetControlsAtIndexPath:(id)arg1 ; -(id)_circularImageWithSize:(CGSize)arg1 color:(id)arg2 ; -(void)resetControls; -(BOOL)isAnimatingScroll; -(void)scrollViewDidScroll:(id)arg1 ; -(void)_setupCellBackgroundImagesIfNeeded; -(id)_backgroundImageForItemAtIndexPath:(id)arg1 ; -(void)_updateCell:(id)arg1 withInfo:(id)arg2 ; -(void)_sliderDidEndScrolling; -(void)_performFeedbackIfNeeded; -(BOOL)shouldDisplayControlValues; -(void)setShouldDisplayControlValues:(BOOL)arg1 ; -(BOOL)shouldDisplayMappedValues; -(void)setShouldDisplayMappedValues:(BOOL)arg1 ; -(BOOL)didSetupControls; -(void)setDidSetupControls:(BOOL)arg1 ; -(BOOL)didPerformHapticFeedback; -(void)setDidPerformHapticFeedback:(BOOL)arg1 ; -(void)viewDidAppear:(BOOL)arg1 ; -(NSIndexPath *)selectedIndexPath; -(void)setLayoutDirection:(long long)arg1 ; -(void)setSelectedIndexPath:(NSIndexPath *)arg1 ; -(void)viewDidLoad; -(void)setSlider:(CEKSlider *)arg1 ; -(void)setSelectionFeedbackGenerator:(PUSelectionFeedbackGenerator *)arg1 ; -(void)setCollectionView:(UICollectionView *)arg1 ; -(id<PUAdjustmentsViewDataSource>)dataSource; -(void)setDelegate:(id<PUAdjustmentViewControllerDelegate>)arg1 ; -(void)scrollViewWillBeginDragging:(id)arg1 ; -(void)viewWillTransitionToSize:(CGSize)arg1 withTransitionCoordinator:(id)arg2 ; -(void)sliderValueChanged:(id)arg1 ; -(void)scrollViewDidEndDecelerating:(id)arg1 ; -(id<PUAdjustmentViewControllerDelegate>)delegate; -(void)setCollectionViewLayout:(PUAdjustmentsViewFlowLayout *)arg1 ; -(long long)preferredUserInterfaceStyle; -(PUAdjustmentsViewFlowLayout *)collectionViewLayout; -(UIEdgeInsets)collectionView:(id)arg1 layout:(id)arg2 insetForSectionAtIndex:(long long)arg3 ; -(void)setControlSize:(CGSize)arg1 ; @end
husseinrasti/MVVM-BmiCalculator
app/src/main/java/ir/radicalcode/app/bmi/data/dao/BaseDao.java
<reponame>husseinrasti/MVVM-BmiCalculator package ir.radicalcode.app.bmi.data.dao; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Update; @Dao public interface BaseDao<T> { @Insert void insert( T model ); @Insert(onConflict = OnConflictStrategy.REPLACE) void insertByReplaceIt( T model ); @Delete void delete( T model ); @Update void update(T model); }
bobby-vandiver/reeltime-ios
ReelTime-iOS/UseCase/Newsfeed/Presentation/RTNewsfeedPresenter.h
<filename>ReelTime-iOS/UseCase/Newsfeed/Presentation/RTNewsfeedPresenter.h #import "RTPagedListPresenter.h" #import "RTPagedListPresenterDelegate.h" @protocol RTNewsfeedView; @class RTPagedListInteractor; @class RTNewsfeedWireframe; @class RTNewsfeedMessageSource; @interface RTNewsfeedPresenter : RTPagedListPresenter <RTPagedListPresenterDelegate> - (instancetype)initWithView:(id<RTNewsfeedView>)view interactor:(RTPagedListInteractor *)interactor wireframe:(RTNewsfeedWireframe *)wireframe messageSource:(RTNewsfeedMessageSource *)messageSource; - (void)requestedUserDetailsForUsername:(NSString *)username; - (void)requestedReelDetailsForReelId:(NSNumber *)reelId ownerUsername:(NSString *)ownerUsername; - (void)requestedVideoDetailsForVideoId:(NSNumber *)videoId; @end
Maarc/spring-boot-migrator
components/sbm-openrewrite/src/main/java/org/springframework/sbm/support/openrewrite/java/FindTypesImplementing.java
/* * Copyright 2021 - 2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.sbm.support.openrewrite.java; import org.openrewrite.ExecutionContext; import org.openrewrite.Recipe; import org.openrewrite.Tree; import org.openrewrite.TreeVisitor; import org.openrewrite.java.JavaIsoVisitor; import org.openrewrite.java.tree.J; import org.openrewrite.java.tree.JavaType.FullyQualified; import org.openrewrite.marker.SearchResult; import java.util.List; import java.util.UUID; import java.util.stream.Collectors; public class FindTypesImplementing extends Recipe { private final List<FullyQualified> interfaces; public FindTypesImplementing(List<FullyQualified> interfaces) { this.interfaces = interfaces; } private final UUID id = Tree.randomId(); protected TreeVisitor<?, ExecutionContext> getVisitor() { return new JavaIsoVisitor<ExecutionContext>() { @Override public J.ClassDeclaration visitClassDeclaration(J.ClassDeclaration classDecl, ExecutionContext executionContext) { J.ClassDeclaration a = super.visitClassDeclaration(classDecl, executionContext); if (classDecl.getKind() == J.ClassDeclaration.Kind.Type.Class && implementsInterface(classDecl)) { a = a.withMarkers(a.getMarkers().addIfAbsent(new SearchResult(FindTypesImplementing.this.id, "FindTypesImplementing"))); } return a; } }; } private boolean implementsInterface(J.ClassDeclaration classDecl) { if (classDecl.getImplements() == null) { return false; } List<String> fqns = interfaces.stream().map(fqn -> fqn.getFullyQualifiedName()).collect(Collectors.toList()); return classDecl.getType().getInterfaces().stream() .filter(fqn -> !fqns.contains(fqn.getFullyQualifiedName())) .findFirst() .isEmpty(); } @Override public String getDisplayName() { return "Find types implementing "; } }
amarin/gomorphy
pkg/categories/cases.go
<filename>pkg/categories/cases.go package categories import ( "strings" ) // Падеж это словоизменительная грамматическая категория именных и местоимённых частей речи // (существительных, прилагательных, числительных) и близких к ним гибридных частей речи // (причастий, герундиев, инфинитивов и проч.), // выражающая их синтаксическую и/или семантическую роль в предложении. // https://ru.wikipedia.org/wiki/Падеж type Case string // Наименование грамматической категории падежа. const CategoryNameCase CategoryName = "case" // Словарь всех определяемых падежей. type CaseDictionary []Case // Словарь падежей возвращает тип грамматической категории. func (c CaseDictionary) CategoryName() CategoryName { return CategoryNameCase } // Словарь падежей может быть представлен в виде не типизированного словаря. func (c CaseDictionary) Slice() []interface{} { res := make([]interface{}, 0) for _, item := range c { res = append(res, item) } return res } // Получить константное значение по строковому представлению. // Возвращает nil если значение не найдено. func (c CaseDictionary) ByString(text string) *Case { for _, pos := range c { if strings.ToUpper(text) == strings.ToUpper(string(pos)) { return &pos } } return nil } // Константные значения падежей для использования в коде. // Названия переменных на латыни согласно https://ru.wikipedia.org/wiki/Падеж, // Значения совпадают с OpenCorpora const ( // NominativusCase Номинатив (именительный). Кто? Что? хомяк ест NominativusCase Case = "nomn" GenitivusCase Case = "gent" // Генитив (родительный). Кого? Чего? у нас нет хомяка DativusCase Case = "datv" // Датив (дательный). Кому? Чему? сказать хомяку спасибо AccusativusCase Case = "accs" // Аккузатив (винительный). Кого? Что? хомяк читает книгу InstrumentalisCase Case = "ablt" // Инструментатив (творительный). Кем? Чем? зерно съедено хомяком PraepositionalisCase Case = "loct" // Препозитив (предложный). О ком? О чём? и т.п. хомяка несут в корзинке VocativusCase Case = "voct" // Вокатив (звательный). Его формы используются при обращении к человеку. Саш, пойдем в кино. PartitivusCase Case = "gen2" // Партитив (количественно-отделительный, второй родительный, частичный). Ложка сахару (GenitivusCase - производство сахара); стакан яду (GenitivusCase - нет яда) TranslativusCase Case = "acc2" // Транслатив (превратительный, включительный падеж, второй винительный). Записался в солдаты избрать в президенты LocativusCase Case = "loc2" // Локатив (местный падеж, второй предложный). Я у него в долгу (PraepositionalisCase - напоминать о долге); висит в шкафу (PraepositionalisCase - монолог о шкафе); весь в снегу (PraepositionalisCase - писать о снеге) ) // Список определяемых падежей содержит все константные значения var KnownCases = CaseDictionary{ NominativusCase, GenitivusCase, DativusCase, AccusativusCase, InstrumentalisCase, PraepositionalisCase, VocativusCase, PartitivusCase, TranslativusCase, LocativusCase, } // Сущности, определяющие части речи, обладающие падежом, // предоставляют и сохраняют значение падежа с помощью методов Case() и SetCase() соответственно type CaseProvider interface { // Получить значение падежа Case() Case // Установить значение падежа SetCase(Case) } var MapStringToCase map[string]Case var CaseStrings []string func init() { CaseStrings = make([]string, 0) MapStringToCase = make(map[string]Case) for _, c := range KnownCases { CaseStrings = append(CaseStrings, string(c)) MapStringToCase[string(c)] = c } }
shaojiankui/iOS10-Runtime-Headers
PrivateFrameworks/StoreKitUI.framework/SKUIHandleRulesSettingsHeaderFooterDescriptionView.h
<gh_stars>10-100 /* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI */ @interface SKUIHandleRulesSettingsHeaderFooterDescriptionView : SKUISettingsHeaderFooterDescriptionView { NSMutableArray * _buttons; SKUIHandleRulesSettingsHeaderFooterDescription * _description; UILabel * _label; } + (id)_labelWithDescription:(id)arg1 forWidth:(double)arg2; + (struct CGSize { double x1; double x2; })preferredSizeForSettingsHeaderFooterDescription:(id)arg1 context:(id)arg2; + (bool)prefetchResourcesForSettingsHeaderFooterDescription:(id)arg1 reason:(long long)arg2 context:(id)arg3; + (void)requestLayoutForSettingsHeaderFooterDescription:(id)arg1 width:(double)arg2 context:(id)arg3; + (struct CGSize { double x1; double x2; })sizeThatFitsWidth:(double)arg1 settingsHeaderFooterDescription:(id)arg2 context:(id)arg3; - (void).cxx_destruct; - (void)layoutSubviews; - (void)reloadWithSettingsHeaderFooterDescription:(id)arg1 width:(double)arg2 context:(id)arg3; - (bool)setImage:(id)arg1 forArtworkRequest:(id)arg2 context:(id)arg3; @end
snowonbridge/cms
public/assets/js/backend/sysnotice.js
<gh_stars>0 define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) { var Controller = { index: function () { // 初始化表格参数配置 Table.api.init({ extend: { index_url: 'sysnotice/index', add_url: 'sysnotice/add', edit_url: 'sysnotice/edit', del_url: 'sysnotice/del', multi_url: 'sysnotice/multi', send_url: 'sysnotice/send', table: 'sysnotice_config', } }); var table = $("#table"); // 初始化表格 table.bootstrapTable({ url: $.fn.bootstrapTable.defaults.extend.index_url, pk: 'id', sortName: 'id', columns: [ [ {checkbox: true}, {field: 'id', title: __('Id')}, {field: 'title', title: __('Title')}, {field: 'logo_image', title: __('Logo_image'), formatter: Table.api.formatter.image}, {field: 'tab_text', title: __('Tab'), operate:false}, {field: 'type_id_text', title: __('Type_id'), operate:false}, {field: 'maxver', title: __('Maxver')}, {field: 'minver', title: __('Minver')}, {field: 'mids', title: __('Mids')}, {field: 'start_time', title: __('Start_time')}, {field: 'end_time', title: __('End_time')}, {field: 'ctime', title: __('Ctime'), formatter: Table.api.formatter.datetime,visible:false}, {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} ] ] }); // 为表格绑定事件 Table.api.bindevent(table); }, add: function () { Controller.api.bindevent(); }, edit: function () { Controller.api.bindevent(); }, api: { bindevent: function () { Form.api.bindevent($("form[role=form]")); } } }; return Controller; });
JINSCOP/gosyntax
tourofgo/main.go
package main import ( "fmt" "math" "math/cmplx" "math/rand" "time" //"test/add1" ) /*The example shows variables of several types, and also that variable declarations may be "factored" into blocks, as with import statements. */ var ( ToBe bool = false MaxInt uint64 = 1<<64 - 1 z complex128 = cmplx.Sqrt(-5 + 12i) ) const ( // 将 1 左移 100 位来创建一个非常大的数字 // 即这个数的二进制是 1 后面跟着 100 个 0 Big = 1 << 100 // 再往右移 99 位,即 Small = 1 << 1,或者说 Small = 2 Small = Big >> 99 ) func needInt(x int) int { return x*10 + 1 } func needFloat(x float64) float64 { return x * 0.1 } func main(){ fmt.Println("Hello,world!") fmt.Println(time.Now()) fmt.Println(rand.Int63n(time.Now().Unix())) fmt.Println(math.Pi) fmt.Println(add(3,4)) //fmt.Println(add1) fmt.Println(processAToAB(2)) fmt.Println("c = ", c) fmt.Println("i + j = ",i + j) k := 1000//Short variable declarations :=短变量声明 fmt.Println(k) fmt.Printf("Type: %T Value: %v\n", ToBe, ToBe) fmt.Printf("Type: %T Value: %v\n", MaxInt, MaxInt) fmt.Printf("Type: %T Value: %v\n", z, z) // Zero values var i int var f float64 var b bool var s string fmt.Printf("%v %v %v %q\n", i, f, b, s) fmt.Println(Big * 0.1 / 0.1) fmt.Println(float64(Big)) fmt.Println(Small) fmt.Println("-------------") fmt.Println(needInt(Small)) fmt.Println(needFloat(Small)) fmt.Println(needFloat(Big)) }
chuckmersereau/api_practice
app/controllers/api/v2/account_lists/pledges_controller.rb
class Api::V2::AccountLists::PledgesController < Api::V2Controller def index authorize_pledges load_pledges render_pledges end def show load_pledge authorize_pledge render_pledge end def create persist_pledge end def update load_pledge authorize_pledge persist_pledge end def destroy load_pledge authorize_pledge destroy_pledge end protected def permit_coach? %w(index show).include? params[:action] end private def coach? !load_account_list.users.where(id: current_user).exists? && load_account_list.coaches.where(id: current_user).exists? end def pledge_params params .require(:pledge) .permit(pledge_attributes) end def pledge_attributes Pledge::PERMITTED_ATTRIBUTES end def pledge_scope scope = load_account_list.pledges if coach? scope = scope.where('expected_date < ?', Date.today) .where(appeal_id: load_account_list.primary_appeal_id, status: :not_received) end scope end def authorize_pledge authorize @pledge end def authorize_pledges authorize load_account_list, :show? end def build_pledge @pledge ||= pledge_scope.build @pledge.assign_attributes(pledge_params) end def destroy_pledge @pledge.destroy head :no_content end def load_pledge @pledge ||= Pledge.find(params[:id]) end def load_account_list @account_list ||= AccountList.find(params[:account_list_id]) end def load_pledges @pledges = filter_pledges.joins(sorting_join) .reorder(sorting_param) .page(page_number_param) .per(per_page_param) end def filter_pledges filters = if coach? # only allow coach to filter by contact_id filter_params.slice(:contact_id) else filter_params end pledge_scope.where(filters) end def permitted_filters [:contact_id, :appeal_id, :status] end def persist_pledge build_pledge authorize_pledge if save_pledge render_pledge else render_with_resource_errors(@pledge) end end def permitted_sorting_params %w(amount expected_date contact.name) end def render_pledges options = base_render_options.merge(json: @pledges.preload_valid_associations(include_associations), meta: meta_hash(@pledges)) options[:each_serializer] = Coaching::PledgeSerializer if coach? render options end def render_pledge options = base_render_options.merge(json: @pledge, status: success_status) options[:serializer] = Coaching::PledgeSerializer if coach? render options end def base_render_options { include: include_params, fields: field_params } end def save_pledge @pledge.save(context: persistence_context) end end
PrakharPipersania/LeetCode-Solutions
Dynamic Programming/unique-paths-ii.cpp
class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { int flag=0,m=obstacleGrid.size(),n=obstacleGrid[0].size(),arr[m][n]; for(int i=0;i<m;i++) { if(obstacleGrid[i][0]==1) flag=1; if(flag==0) arr[i][0]=1; else arr[i][0]=0; } flag=0; for(int i=0;i<n;i++) { if(obstacleGrid[0][i]==1) flag=1; if(flag==0) arr[0][i]=1; else arr[0][i]=0; } for(int i=1;i<m;i++) for(int j=1;j<n;j++) { if(obstacleGrid[i][j]!=1) arr[i][j]=arr[i-1][j]+arr[i][j-1]; else arr[i][j]=0; } return arr[m-1][n-1]; } };
QinganZhao/LXXtCode
LeetCode/703. Kth Largest Element in a Stream.py
<gh_stars>1-10 ### Algorithm 1 ### construct heap from scratch ### Use min-heap ### TLE class KthLargest: def __init__(self, k: int, nums: List[int]): self.nums = nums self.k = k def add(self, val: int) -> int: h = heap() self.nums.append(val) for i in range(len(self.nums)): if len(h.list) == self.k: if self.nums[i] > h.list[0]: h.pop() h.add(self.nums[i]) else: h.add(self.nums[i]) return h.list[0] class heap: def __init__(self): self.list = [] self.size = 0 def add(self, val): self.size += 1 self.list.append(val) self.swapup(self.size-1) def construct(self, List): self.list = List self.size = len(List) end = len(List) - 1 endParent = (end - 1) // 2 while endParent >= 0: self.swapdown(endParent) endParent -= 1 def swapup(self, node): while node > 0 and node < self.size: if self.list[node] < self.list[(node-1)//2]: self.list[node], self.list[(node-1)//2] = self.list[:][(node-1)//2], self.list[:][node] node = (node - 1) // 2 ### if max-heap, change ">" to "<" in if statement ### and change "minChild" to "maxChild" def swapdown(self, node): while 2 * node + 1 < self.size and node >= 0: minChild = self.minChild(node) if self.list[node] > self.list[minChild]: self.list[node], self.list[minChild] = self.list[:][minChild], self.list[:][node] node = minChild def maxChild(self, node): if 2 * node + 2 >= self.size: return 2 * node + 1 if self.list[2 * node + 2] > self.list[2 * node + 1]: return 2 * node + 2 return 2 * node + 1 def minChild(self, node): if 2 * node + 2 >= self.size: return 2 * node + 1 if self.list[2 * node + 2] < self.list[2 * node + 1]: return 2 * node + 2 return 2 * node + 1 def pop(self): res = self.list[0] self.list[0] = self.list[-1] self.list.pop() self.size -= 1 self.swapdown(0) ### Algorithm 1 (pro) ### Use Python heapq ### TLE class KthLargest: def __init__(self, k: int, nums: List[int]): self.nums = nums self.k = k def add(self, val: int) -> int: h = [] heapq.heapify(h) self.nums.append(val) for i in range(len(self.nums)): if len(h) == self.k: Min = heapq.heappop(h) if self.nums[i] > Min: heapq.heappush(h, self.nums[i]) else: heapq.heappush(h, Min) else: heapq.heappush(h, self.nums[i]) return heapq.heappop(h) ### Algorithm 2 ### construct heap from scratch ### Use min-heap ### SUCCEED!!!!!! Fucking algorithm king Franklin!!! ### 8060 ms though... class KthLargest: def __init__(self, k: int, nums: List[int]): self.nums = nums self.k = k h = heap() h.construct(self.nums) while h.size > self.k: h.pop() self.heap = h def add(self, val: int) -> int: if self.heap.size < self.k: self.heap.add(val) elif val > self.heap.list[0]: self.heap.pop() self.heap.add(val) return self.heap.list[0] ### Algorithm 2 (pro) ### Use Python heapq class KthLargest(object): def __init__(self, k: int, nums: List[int]): self.nums = nums self.k = k heapq.heapify(self.nums) while len(self.nums) > self.k: heapq.heappop(self.nums) def add(self, val): if len(self.nums) < self.k: heapq.heappush(self.nums, val) elif val > self.nums[0]: heapq.heapreplace(self.nums, val) return self.nums[0] ### Python heapq cheating ### TLE (no cheating...) class KthLargest(object): def __init__(self, k: int, nums: List[int]): self.nums = nums self.k = k def add(self, val): self.nums.append(val) return heapq.nlargest(self.k, self.nums)[-1] ### Sorting cheating ### TLE (no cheating...) class KthLargest(object): def __init__(self, k: int, nums: List[int]): self.nums = nums self.k = k def add(self, val): self.nums.append(val) return sorted(self.nums, reverse=True)[self.k-1] # Your KthLargest object will be instantiated and called as such: # obj = KthLargest(k, nums) # param_1 = obj.add(val)
gidsg/frontend
common/app/assets/javascripts/modules/story/experiment.js
<filename>common/app/assets/javascripts/modules/story/experiment.js define([ "common", "bean", "ajax", "modules/accordion", "modules/expandable", "bootstraps/story", 'modules/storage' ], function( common, bean, ajax, Accordion, Expandable, Story, storage ) { function Experiment(config, context) { var experimentName = storage.get('gu.experiment') || '', that = this; this.init = function () { if (!experimentName) { for (var key in config.switches) { if (config.switches[key] && key.match(/^experiment(\w+)/)) { experimentName = key.match(/^experiment(\w+)/)[1]; break; } } } experimentName = experimentName.toLowerCase(); if (experimentName) { this.load('/stories/' + experimentName + '/' + config.page.pageId); } else { common.mediator.emit("modules:related:load"); } }; // View this.view = { render: function (json) { switch (experimentName) { case 'storymodule01': this.renderStoryModule01(json); break; case 'somethingElse': break; } }, renderStoryModule01: function(json) { var el, story; document.querySelector('h2.article-zone.type-1').innerHTML = json.title; document.querySelector('#js-related').innerHTML = json.block; el = document.querySelector('#related-trails'); if (el) { el.parentNode.removeChild(el); } el = document.querySelector('h3.type-2.article-zone'); if (el) { el.parentNode.removeChild(el); } story = new Story.init({}, config); if(context.querySelector('.accordion')) { var a = new Accordion(context); } common.mediator.emit('modules:tabs:loaded', {}, context); }, fallback: function () { common.mediator.emit("modules:related:load"); } }; this.load = function (url) { return ajax({ url: url, type: 'jsonp', jsonpCallback: 'callback', jsonpCallbackName: 'showExperiment', success: function (json) { if (json && json.title && json.block) { that.view.render(json); } else { that.view.fallback(); } } }); }; } return Experiment; });
golemiso/playframework
documentation/manual/working/commonGuide/configuration/code/CustomAkkaHttpServer.scala
/* * Copyright (C) 2009-2019 Lightbend Inc. <https://www.lightbend.com> */ //#custom-akka-http-server //###replace: package server package detailedtopics.configuration.customakkaserver import java.util.Random import play.core.server.{AkkaHttpServer, AkkaHttpServerProvider, ServerProvider} import akka.http.scaladsl.ConnectionContext import akka.http.scaladsl.model.HttpMethod import akka.http.scaladsl.settings.{ParserSettings, ServerSettings} /** A custom Akka HTTP server with advanced configuration. */ class CustomAkkaHttpServer(context: AkkaHttpServer.Context) extends AkkaHttpServer(context) { override protected def createParserSettings(): ParserSettings = { val defaultSettings: ParserSettings = super.createParserSettings() defaultSettings.withCustomMethods(HttpMethod.custom("TICKLE")) } override protected def createServerSettings(port: Int, connectionContext: ConnectionContext, secure: Boolean): ServerSettings = { val defaultSettings: ServerSettings = super.createServerSettings(port, connectionContext, secure) defaultSettings.withWebsocketRandomFactory(() => new Random()) } } /** A factory that instantiates a CustomAkkaHttpServer. */ class CustomAkkaHttpServerProvider extends ServerProvider { def createServer(context: ServerProvider.Context) = { val serverContext = AkkaHttpServer.Context.fromServerProviderContext(context) new CustomAkkaHttpServer(serverContext) } } //#custom-akka-http-server
bnlrnz/xsite_ue
Source/xsite_ue/include/interface.hpp
<reponame>bnlrnz/xsite_ue #ifndef __VRPN_PYTHON_INTERFACE_HPP__ #define __VRPN_PYTHON_INTERFACE_HPP__ #include <Python.h> namespace vrpn_python { namespace receiver { bool init_types(); void add_types(PyObject* module); } namespace sender { bool init_types(); void add_types(PyObject* module); } namespace quaternion { bool init_types(); void add_types(PyObject* module); } } #endif // defined(__VRPN_PYTHON_INTERFACE_H__)
Ziver/zutil
src/zutil/osal/MultiCommandExecutor.java
/* * The MIT License (MIT) * * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package zutil.osal; import zutil.parser.Base64Encoder; import java.io.*; import java.security.SecureRandom; /** * This class starts a platform specific shell and runs all commands * in a single process thereby lowering the execution time. * * <br><br> */ public class MultiCommandExecutor implements AutoCloseable{ private static final String SHELL_WINDOWS = "cmd.exe"; private static final String SHELL_LINUX = "/bin/bash"; private String delimiter; private Process process; private BufferedWriter stdin; private BufferedReader stdout; private boolean eol = true; public MultiCommandExecutor() { try { // Generate delimiter byte[] tmp = new byte[16]; SecureRandom.getInstance("SHA1PRNG").nextBytes(tmp); delimiter = Base64Encoder.encode(tmp); //init shell String shellCmd; switch (OSAbstractionLayer.getInstance().getOSType()) { case Windows: shellCmd = SHELL_WINDOWS; break; case Linux: case MacOS: shellCmd = SHELL_LINUX; break; default: throw new RuntimeException("Unsupported OS"); } process = new ProcessBuilder(shellCmd).start(); //get stdin of shell stdin = new BufferedWriter(new OutputStreamWriter(process.getOutputStream())); stdout = new BufferedReader(new InputStreamReader(process.getInputStream())); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new RuntimeException("Unable to initiate shell",e); } } public void exec(String cmd) throws IOException { while (readLine() != null); // read the output from previous exec eol = false; stdin.write(cmd); switch (OSAbstractionLayer.getInstance().getOSType()) { case Windows: stdin.write(" & echo & echo " + delimiter); break; case Linux: case MacOS: stdin.write(" ; echo ; echo " + delimiter); break; } stdin.newLine(); stdin.flush(); } /** * @return one line from command execution, or null if the command has finished running */ public String readLine() throws IOException { if (eol) return null; String line = stdout.readLine(); if (line != null && line.startsWith(delimiter)) { eol = true; return null; } return line; } @Override public void close() { try { // finally close the shell by execution exit command stdin.write("exit"); stdin.newLine(); stdin.flush(); process.destroy(); process = null; stdin = null; stdout = null; } catch (Exception e) { e.printStackTrace(); } } }
shreejitverma/GeeksforGeeks
LeetCode/C++/1572. Matrix Diagonal Sum.cpp
//Runtime: 32 ms, faster than 50.00% of C++ online submissions for Matrix Diagonal Sum. //Memory Usage: 11.4 MB, less than 83.33% of C++ online submissions for Matrix Diagonal Sum. class Solution { public: int diagonalSum(vector<vector<int>>& mat) { int n = mat.size(); int sum = 0; for(int i = 0; i < n; ++i){ sum += mat[i][i]; sum += mat[i][n-1-i]; } if(n&1) sum -= mat[n/2][n/2]; return sum; } };
smoe/interproscan
core/io/src/main/java/uk/ac/ebi/interpro/scan/io/prosite/PrositeDatFileParser.java
package uk.ac.ebi.interpro.scan.io.prosite; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Required; import org.springframework.core.io.Resource; import uk.ac.ebi.interpro.scan.io.AbstractModelFileParser; import uk.ac.ebi.interpro.scan.model.Model; import uk.ac.ebi.interpro.scan.model.Signature; import uk.ac.ebi.interpro.scan.model.SignatureLibraryRelease; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Collections; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Class to parse Prosite dat files and HAMAP prf files, so Signatures / Models can be loaded into I5. * * @author <NAME> * @version $Id$ * @since 1.0-SNAPSHOT */ public class PrositeDatFileParser extends AbstractModelFileParser { private static final Logger LOGGER = Logger.getLogger(PrositeDatFileParser.class.getName()); private static final String END_OF_RECORD = "//"; private static final Pattern ID_LINE_ALL = Pattern.compile("^ID\\s+([^;]+);.*$"); private static final Pattern ID_LINE_PROFILE = Pattern.compile("^ID\\s+([^;]+);\\s*MATRIX\\.\\s*$"); private static final Pattern ID_LINE_PATTERN = Pattern.compile("^ID\\s+([^;]+);\\s*PATTERN\\.\\s*$"); private static final Pattern ACCESSION_PATTERN = Pattern.compile("^AC\\s+([^;]+);.*$"); private static final Pattern DESC_LINE = Pattern.compile("^DE\\s+(.*)$"); public enum PrositeModelType { PATTERNS(ID_LINE_PATTERN), PROFILES(ID_LINE_PROFILE), ALL(ID_LINE_ALL),; private Pattern idLinePattern; PrositeModelType(Pattern idLinePattern) { this.idLinePattern = idLinePattern; } public Pattern getIdLinePattern() { return idLinePattern; } } private PrositeModelType prositeModelType; @Required public void setPrositeModelType(PrositeModelType prositeModelType) { this.prositeModelType = prositeModelType; } /** * Method to parse a model file and return a SignatureLibraryRelease. * * @return a complete SignatureLibraryRelease object */ @Override public SignatureLibraryRelease parse() throws IOException { LOGGER.debug("Starting to parse hmm file."); SignatureLibraryRelease release = new SignatureLibraryRelease(library, releaseVersion); for (Resource modelFile : modelFiles) { BufferedReader reader = null; try { String accession = null, id = null, description = null; reader = new BufferedReader(new InputStreamReader(modelFile.getInputStream())); int lineNumber = 0; String line; while ((line = reader.readLine()) != null) { if (LOGGER.isDebugEnabled() && lineNumber++ % 10000 == 0) { LOGGER.debug("Parsed " + lineNumber + " lines of the HMM file."); LOGGER.debug("Parsed " + release.getSignatures().size() + " signatures."); } line = line.trim(); // Speed things up a LOT - there are lots of lines we are not // interested in parsing, so just check the first char of each line if (line.length() > 0) { switch (line.charAt(0)) { case '/': // Looks like an end of record marker - just to check: if (END_OF_RECORD.equals(line.trim())) { if (accession != null && id != null) { release.addSignature(createSignature(accession, id, description, release)); } accession = null; id = null; description = null; } break; case 'I': if (id == null) { id = extractValue(prositeModelType.getIdLinePattern(), line, 1); } break; case 'A': if (accession == null) { accession = extractValue(ACCESSION_PATTERN, line, 1); } break; case 'D': if (description == null) { description = extractValue(DESC_LINE, line, 1); } break; } } } } finally { if (reader != null) { reader.close(); } } } return release; } private String extractValue(Pattern pattern, String line, int groupNumber) { Matcher matcher = pattern.matcher(line); return (matcher.matches()) ? matcher.group(groupNumber) : null; } private Signature createSignature(String accession, String name, String description, SignatureLibraryRelease release) { Model model = new Model(accession, name, description); return new Signature(accession, name, null, description, null, release, Collections.singleton(model)); } }
monosidev/monosi
tests/server/handlers/test_monitors.py
<gh_stars>100-1000 import uuid import pytest from server import create_app MONITORS_ENDPOINT = "/v1/api/monitors" NUM_MONITORS_ENDPOINT = 1 @pytest.fixture def client(tmpdir): app = create_app() app.config["TESTING"] = True with app.test_client() as client: yield client def test_monitors_get_all(client): response = client.get(f"{MONITORS_ENDPOINT}") assert response.status_code == 200 assert len(response.json) == NUM_MONITORS_ENDPOINT def test_monitors_post(client): new_monitor_json = {"table_name": uuid.uuid4().hex + "table_name", "database": "database", "schema": "schema", "timestamp_field": "timestamp", "workspace": "workspace", "source": "source", "type": "table_health"} response = client.post(f"{MONITORS_ENDPOINT}", json=new_monitor_json) assert response.status_code == 200 def test_monitors_post_job(client): pass # creates job def test_monitors_destroy_job(client): pass # deletes job def test_monitors_destroy_associated(client): pass # deletes metrics and executions def test_monitors_post_error(client): missing_monitor_information_json = {} response = client.post(f"{MONITORS_ENDPOINT}", json=missing_monitor_information_json) assert response.status_code == 500 def test_monitor_single(client): response = client.get(f"{MONITORS_ENDPOINT}/126") assert response.status_code == 200 assert response.json["monitor"] is not None def test_monitor_not_found(client): response = client.get(f"{MONITORS_ENDPOINT}/7") assert response.status_code == 404
baker-beach/market-catalog
src/main/java/com/bakerbeach/market/xcatalog/model/CategoryFacetImpl.java
package com.bakerbeach.market.xcatalog.model; import java.util.List; import org.apache.commons.lang3.exception.ExceptionUtils; import com.bakerbeach.market.xcatalog.model.FacetOption; public class CategoryFacetImpl extends AbstractFacet { public CategoryFacetImpl(String id) { super(id); } @Override public String toUrl(FacetOption currentOption) { StringBuilder url = new StringBuilder(); try { List<FacetOption> selectedOptions = getSelectedOptions(); if (currentOption != null && this.equals(currentOption.getFacet())) { if (!selectedOptions.contains(currentOption)) { url.append("/").append(currentOption.getValue()).append("/"); } } else { for (FacetOption option : selectedOptions) { url.append("/").append(option.getValue()).append("/"); } } } catch (Exception e) { LOG.error(ExceptionUtils.getStackTrace(e)); } return url.toString(); } }
Dahk/triggerflow-examples
triggerflow/dags/other/notebook.py
import graphviz def display_graph(dag): graph = graphviz.Digraph() for task in dag.tasks: graph.node(task.task_id) for task in dag.tasks: for downstream_dep in task.downstream_relatives: graph.edge(task.task_id, downstream_dep.task_id) return graph
xpxstar/Puppet-AST-diff
src/main/java/cn/ac/iscas/cloudeploy/v2/model/service/script/ScriptService.java
<filename>src/main/java/cn/ac/iscas/cloudeploy/v2/model/service/script/ScriptService.java package cn.ac.iscas.cloudeploy.v2.model.service.script; import java.util.List; import java.util.Map; import cn.ac.iscas.cloudeploy.v2.model.graph.EdgeType; import cn.ac.iscas.cloudeploy.v2.model.graph.Graph; import cn.ac.iscas.cloudeploy.v2.model.service.script.entity.Node; import cn.ac.iscas.cloudeploy.v2.model.service.script.entity.Operation; /** * * Using for transform a graph to a executable script * * @author RichardLcc * @date 2015年1月28日-下午3:10:26 */ public interface ScriptService { /** * create a new operation for a component * @param graph * @param operationName name of the new operation * @param extractParams parameters of the new operation, but this parameters must come from the * operation or node in the graph. * @return */ @SuppressWarnings("rawtypes") public Operation createOperation(Graph<Node, EdgeType> graph,String operationName,Map extractParams); /** * create a new operation for a component using a adjacency lists graph * @param graph a adjacency lists graph * @param operationName name of the new operation * @param extractParams parameters of the new operation, but this parameters must come from the * operation or node in the graph. * @return */ @SuppressWarnings("rawtypes") public Operation createOperation(List<List<? extends Node>> graph, String operationName, Map extractParams); /** * * Use this graph to create a executable task script for the host * @param graph * @param hostname * @return md5 key of the task script file */ public String createTask(Graph<Operation, EdgeType> graph,String hostname); /** * * Use a adjacency lists graph to create a executable task script for the host * @param graph a adjacency lists graph * @param hostname the host you want to configure * @return md5 key of the task script file */ public String createTask(List<List<Operation>> graph, String hostname); /** * analysis a module, get all define,class and their parameters defined in this module. * @param moduleFilePath the absolute path of this module * @param moduleName the name of this module * @return a node list */ public List<Node> analysisModule(String moduleFilePath,String moduleName); }
charleshuangcai/enos-device-sdk-python
enos/message/downstream/ota/OtaUpgradeReply.py
from enos.core.constant.DeliveryTopicFormat import DeliveryTopicFormat from enos.core.message.BaseReply import BaseReply, BaseBuilder class OtaUpgradeReply(BaseReply): @classmethod def builder(cls): return Builder() def get_format_topic(self): return DeliveryTopicFormat.DEVICE_OTA_REPLY class Builder(BaseBuilder): def create_data(self): return "" def create_reply_instance(self): return OtaUpgradeReply()
smager/app-ci01
assets/js/jsdb/systems-error_list.js
var bs = zsi.bs.ctrl; var proc_url = base_url + "common/executeproc/"; $(document).ready(function(){ displayRecords(); }); function displayRecords(){ zsi.json.loadGrid({ table : "#grid" ,url : proc_url + "getErrors" ,td_body: [ function(d){ return bs({name:"error_no[]",type:"hidden",value: d.error_no}) + bs({name:"cb[]",type:"checkbox"}); } ,function(d){ return "<a target='_blank' href='" + d.url + "'>" + d.url.replace(base_url,"") + "</a>" ; } ,function(d){ return d.error_type; } ,function(d){ return d.error_message; } ,function(d){ return d.occurence; } ] }); } function checkDelete() { var l_stmt=[], l_count; var data = zsi.table.getCheckBoxesValues("input[name='p_cb[]']:checked"); for(var x=0;x<data.length; x++){ l_stmt.push( { name:"p_del_id[]",value : data[x] } ); } if (l_stmt.length > 0) { if(confirm("Are you sure you want to delete selected items?")) { $.post( controller_url + "errors_delete" , l_stmt, function(d){ displayRecords(); }).fail(function(d) { alert("Sorry, the curent transaction is not successfull."); }); } } return false; }
WigWagCo/alljoyn
alljoyn/alljoyn_core/samples/basic/basic_client.cc
<gh_stars>0 /** * @file * @brief Sample implementation of an AllJoyn client. */ /****************************************************************************** * * * Copyright (c) 2009-2012, AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************************/ #include <qcc/platform.h> #include <assert.h> #include <signal.h> #include <stdio.h> #include <vector> #include <qcc/String.h> #include <alljoyn/BusAttachment.h> #include <alljoyn/version.h> #include <alljoyn/AllJoynStd.h> #include <alljoyn/Status.h> using namespace std; using namespace qcc; using namespace ajn; /** Static top level message bus object */ static BusAttachment* g_msgBus = NULL; /*constants*/ static const char* INTERFACE_NAME = "org.alljoyn.Bus.sample"; static const char* SERVICE_NAME = "org.alljoyn.Bus.sample"; static const char* SERVICE_PATH = "/sample"; static const SessionPort SERVICE_PORT = 25; static bool s_joinComplete = false; static SessionId s_sessionId = 0; static volatile sig_atomic_t s_interrupt = false; static void SigIntHandler(int sig) { s_interrupt = true; } /** AllJoynListener receives discovery events from AllJoyn */ class MyBusListener : public BusListener, public SessionListener { public: void FoundAdvertisedName(const char* name, TransportMask transport, const char* namePrefix) { if (0 == strcmp(name, SERVICE_NAME)) { printf("FoundAdvertisedName(name='%s', prefix='%s')\n", name, namePrefix); /* We found a remote bus that is advertising basic service's well-known name so connect to it. */ /* Since we are in a callback we must enable concurrent callbacks before calling a synchronous method. */ g_msgBus->EnableConcurrentCallbacks(); SessionOpts opts(SessionOpts::TRAFFIC_MESSAGES, false, SessionOpts::PROXIMITY_ANY, TRANSPORT_ANY); QStatus status = g_msgBus->JoinSession(name, SERVICE_PORT, this, s_sessionId, opts); if (ER_OK == status) { printf("JoinSession SUCCESS (Session id=%d).\n", s_sessionId); } else { printf("JoinSession failed (status=%s).\n", QCC_StatusText(status)); } } s_joinComplete = true; } void NameOwnerChanged(const char* busName, const char* previousOwner, const char* newOwner) { if (newOwner && (0 == strcmp(busName, SERVICE_NAME))) { printf("NameOwnerChanged: name='%s', oldOwner='%s', newOwner='%s'.\n", busName, previousOwner ? previousOwner : "<none>", newOwner ? newOwner : "<none>"); } } }; /** Create the interface, report the result to stdout, and return the result status. */ QStatus CreateInterface(void) { /* Add org.alljoyn.Bus.method_sample interface */ InterfaceDescription* testIntf = NULL; QStatus status = g_msgBus->CreateInterface(INTERFACE_NAME, testIntf); if (status == ER_OK) { printf("Interface '%s' created.\n", INTERFACE_NAME); testIntf->AddMethod("cat", "ss", "s", "inStr1,inStr2,outStr", 0); testIntf->Activate(); } else { printf("Failed to create interface '%s'.\n", INTERFACE_NAME); } return status; } /** Start the message bus, report the result to stdout, and return the result status. */ QStatus StartMessageBus(void) { QStatus status = g_msgBus->Start(); if (ER_OK == status) { printf("BusAttachment started.\n"); } else { printf("BusAttachment::Start failed.\n"); } return status; } /** Handle the connection to the bus, report the result to stdout, and return the result status. */ QStatus ConnectToBus(void) { QStatus status = g_msgBus->Connect(); if (ER_OK == status) { printf("BusAttachment connected to '%s'.\n", g_msgBus->GetConnectSpec().c_str()); } else { printf("BusAttachment::Connect('%s') failed.\n", g_msgBus->GetConnectSpec().c_str()); } return status; } /** Register a bus listener in order to get discovery indications and report the event to stdout. */ void RegisterBusListener(void) { /* Static bus listener */ static MyBusListener s_busListener; g_msgBus->RegisterBusListener(s_busListener); printf("BusListener Registered.\n"); } /** Begin discovery on the well-known name of the service to be called, report the result to stdout, and return the result status. */ QStatus FindAdvertisedName(void) { /* Begin discovery on the well-known name of the service to be called */ QStatus status = g_msgBus->FindAdvertisedName(SERVICE_NAME); if (status == ER_OK) { printf("org.alljoyn.Bus.FindAdvertisedName ('%s') succeeded.\n", SERVICE_NAME); } else { printf("org.alljoyn.Bus.FindAdvertisedName ('%s') failed (%s).\n", SERVICE_NAME, QCC_StatusText(status)); } return status; } /** Wait for join session to complete, report the event to stdout, and return the result status. */ QStatus WaitForJoinSessionCompletion(void) { unsigned int count = 0; while (!s_joinComplete && !s_interrupt) { if (0 == (count++ % 10)) { printf("Waited %u seconds for JoinSession completion.\n", count / 10); } #ifdef _WIN32 Sleep(100); #else usleep(100 * 1000); #endif } return s_joinComplete && !s_interrupt ? ER_OK : ER_ALLJOYN_JOINSESSION_REPLY_CONNECT_FAILED; } /** Do a method call, report the result to stdout, and return the result status. */ QStatus MakeMethodCall(void) { ProxyBusObject remoteObj(*g_msgBus, SERVICE_NAME, SERVICE_PATH, s_sessionId); const InterfaceDescription* alljoynTestIntf = g_msgBus->GetInterface(INTERFACE_NAME); assert(alljoynTestIntf); remoteObj.AddInterface(*alljoynTestIntf); Message reply(*g_msgBus); MsgArg inputs[2]; inputs[0].Set("s", "Hello "); inputs[1].Set("s", "World!"); QStatus status = remoteObj.MethodCall(SERVICE_NAME, "cat", inputs, 2, reply, 5000); if (ER_OK == status) { printf("'%s.%s' (path='%s') returned '%s'.\n", SERVICE_NAME, "cat", SERVICE_PATH, reply->GetArg(0)->v_string.str); } else { printf("MethodCall on '%s.%s' failed.", SERVICE_NAME, "cat"); } return status; } /** Main entry point */ int main(int argc, char** argv, char** envArg) { printf("AllJoyn Library version: %s.\n", ajn::GetVersion()); printf("AllJoyn Library build info: %s.\n", ajn::GetBuildInfo()); /* Install SIGINT handler. */ signal(SIGINT, SigIntHandler); QStatus status = ER_OK; /* Create message bus. */ g_msgBus = new BusAttachment("myApp", true); /* This test for NULL is only required if new() behavior is to return NULL * instead of throwing an exception upon an out of memory failure. */ if (!g_msgBus) { status = ER_OUT_OF_MEMORY; } if (ER_OK == status) { status = CreateInterface(); } if (ER_OK == status) { status = StartMessageBus(); } if (ER_OK == status) { status = ConnectToBus(); } if (ER_OK == status) { RegisterBusListener(); status = FindAdvertisedName(); } if (ER_OK == status) { status = WaitForJoinSessionCompletion(); } if (ER_OK == status) { status = MakeMethodCall(); } /* Deallocate bus */ delete g_msgBus; g_msgBus = NULL; printf("Basic client exiting with status 0x%04x (%s).\n", status, QCC_StatusText(status)); return (int) status; }
TooBiased/DySECT
include/cuckoo_overlap.h
#pragma once /******************************************************************************* * include/cuckoo_overlap.h * * cuckoo_overlap is an experimental variant of cuckoo hashing, where * two different buckets can overlap by some cells. In theory, this * achieves higher load factors. In practice it seems to be slow * (ATTENTION NOT OPTIMIZED) additionally it might be * counterproductive for DySECT since we want to encourage exchange * between different tables. * * Part of Project DySECT - https://github.com/TooBiased/DySECT.git * * Copyright (C) 2017 <NAME> <<EMAIL>> * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ******************************************************************************/ #include "utils/default_hash.hpp" #include "utils/fastrange.hpp" #include "cuckoo_base.h" #include "cobucket.h" namespace dysect { template<class K, class D, class HF = utils_tm::hash_tm::default_hash, class Conf = cuckoo_config<> > class cuckoo_overlap : public cuckoo_traits<cuckoo_overlap<K,D,HF,Conf> >::base_type { private: using this_type = cuckoo_overlap<K,D,HF,Conf>; using base_type = typename cuckoo_traits<this_type>::base_type; using bucket_type = typename cuckoo_traits<this_type>::bucket_type; using hasher_type = typename cuckoo_traits<this_type>::hasher_type; using hashed_type = typename hasher_type::hashed_type; using ext = typename hasher_type::extractor_type; friend base_type; friend iterator_incr<this_type>; public: using size_type = typename cuckoo_traits<this_type>::size_type; using key_type = typename cuckoo_traits<this_type>::key_type; using mapped_type = typename cuckoo_traits<this_type>::mapped_type; using iterator = typename base_type::iterator; using const_iterator = typename base_type::const_iterator; private: using value_intern = std::pair<key_type, mapped_type>; public: cuckoo_overlap(size_type cap = 0 , double size_constraint = 1.1, size_type dis_steps = 256, size_type seed = 0) : base_type(size_constraint, dis_steps, seed), beta((size_constraint + 1.)/2.) { n_subbuckets = size_type(double(cap)*size_constraint)/sbs; n_subbuckets = std::max<size_type>(n_subbuckets, 256); capacity = n_subbuckets*sbs; grow_thresh = beta*std::max<size_type>(256ull, cap); //factor = double(n_subbuckets+1-(bs/sbs))/double(1ull<<32); acap = n_subbuckets+1-(bs/sbs); table = std::make_unique<value_intern[]>(n_subbuckets*sbs); } cuckoo_overlap(const cuckoo_overlap&) = delete; cuckoo_overlap& operator=(const cuckoo_overlap&) = delete; cuckoo_overlap(cuckoo_overlap&&) = default; cuckoo_overlap& operator=(cuckoo_overlap&&) = default; private: using base_type::n; using base_type::capacity; using base_type::grow_thresh; using base_type::alpha; using base_type::hasher; static constexpr size_type sbs = cuckoo_traits<this_type>::sbs; static constexpr size_type bs = cuckoo_traits<this_type>::bs; static constexpr size_type nh = cuckoo_traits<this_type>::nh; static constexpr size_type tl = 1; static constexpr bool fix_errors = cuckoo_traits<this_type>::fix_errors; static constexpr size_type min_grow_buckets = 10; size_type n_subbuckets; size_type acap; double beta; // double factor; std::unique_ptr<value_intern[]> table; using base_type::make_iterator; using base_type::make_citerator; public: using base_type::insert; inline iterator begin() { auto temp = make_iterator(&table[0].elements[0]); if (! temp->first) temp++; return temp; } inline const_iterator cbegin() const { auto temp = make_citerator(&table[0].elements[0]); if (! temp->first) temp++; return temp; } private: // Functions for finding buckets ******************************************* inline void get_buckets(hashed_type h, bucket_type** mem) const { for (size_type i = 0; i < nh; ++i) { mem[i] = get_bucket(h,i); } } inline bucket_type* get_bucket(hashed_type h, size_type i) const { size_type l = utils_tm::fastrange32(acap, ext::loc(h,i));// * factor; return reinterpret_cast<bucket_type*>(&(table[l*sbs])); } // Size changes (GROWING) ************************************************** inline void grow() { //if (!fix_errors && grow_buffer.size()) return; // I think this should not happen size_type nsize = size_type(double(n)*alpha) / sbs; nsize = std::max(nsize, n_subbuckets+min_grow_buckets); //double nfactor = double(nsize+1-(bs/sbs))/double(1ull << 32); size_type ncap = nsize+1-(bs/sbs); size_type nthresh = n * beta; //std::cout << n << " " << n_buckets << " -> " << nsize << std::endl; auto ntable = std::make_unique<value_intern[]>(nsize*sbs); std::vector<value_intern> grow_buffer; migrate(ntable, ncap, grow_buffer); n_subbuckets = nsize; table = std::move(ntable); capacity = nsize*sbs; grow_thresh = nthresh; //factor = nfactor; acap = ncap; finalize_grow(grow_buffer); } inline void migrate(std::unique_ptr<value_intern[]>& target, size_type ncap, std::vector<value_intern>& grow_buffer) { for (size_type i = 0; i < capacity; ++i) { auto e = table[i]; if (! e.first) continue; auto hash = hasher(e.first); for (size_type ti = 0; ti < nh; ++ti) { size_type off_ti = utils_tm::fastrange32(acap, ext::loc(hash,ti))*sbs; if (i >= off_ti && i < off_ti+bs) { if (! reinterpret_cast<bucket_type*> (&target[utils_tm::fastrange32(ncap, ext::loc(hash, ti))*sbs]) ->insert(e)) { grow_buffer.push_back(e); } } } } } inline void finalize_grow(std::vector<value_intern>& grow_buffer) { n -= grow_buffer.size(); // the size will be reincremented by insertions for (auto& e : grow_buffer) { insert(e); } } }; // Traits class defining types ************************************************* template<class K, class D, class HF, class Conf> class cuckoo_traits<cuckoo_overlap<K,D,HF,Conf> > { public: using specialized_type = cuckoo_overlap<K,D,HF,Conf>; using base_type = cuckoo_base<specialized_type>; using config_type = Conf; using size_type = size_t; using key_type = K; using mapped_type = D; static constexpr size_type tl = 1; static constexpr size_type bs = Conf::bs; static constexpr size_type sbs = Conf::sbs; static constexpr size_type nh = Conf::nh; static constexpr bool fix_errors = Conf::fix_errors; using hasher_type = hasher<K, HF, 0, nh, true, true>; using bucket_type = co_bucket<K,D,bs>; }; // Iterator increment ********************************************************** template<class K, class D, class HF, class Conf> class iterator_incr<cuckoo_overlap<K,D,HF,Conf> > { public: using table_type = cuckoo_overlap<K,D,HF,Conf>; private: using size_type = typename table_type::size_type; using pointer = std::pair<const K,D>*; static constexpr size_type bs = Conf::bs; public: iterator_incr(const table_type& table_) : end_ptr(reinterpret_cast<pointer> (&table_.table[table_.capacity-1])) { } iterator_incr(const iterator_incr&) = default; iterator_incr& operator=(const iterator_incr&) = default; pointer next(pointer cur) { while (cur < end_ptr) { if ((++cur)->first) return cur; } return nullptr; } private: pointer end_ptr; }; // ***************************************************************************** // IN PLACE GROWING ************************************************************ // ***************************************************************************** template<class K, class D, class HF = utils_tm::hash_tm::default_hash, class Conf = cuckoo_config<> > class cuckoo_overlap_inplace : public cuckoo_traits<cuckoo_overlap_inplace<K,D,HF,Conf> >::base_type { private: using this_type = cuckoo_overlap_inplace<K,D,HF,Conf>; using base_type = typename cuckoo_traits<this_type>::base_type; using bucket_type = typename cuckoo_traits<this_type>::bucket_type; using hasher_type = typename cuckoo_traits<this_type>::hasher_type; using hashed_type = typename hasher_type::hashed_type; using ext = typename hasher_type::extractor_type; friend base_type; friend iterator_incr<this_type>; public: using size_type = typename cuckoo_traits<this_type>::size_type; using key_type = typename cuckoo_traits<this_type>::key_type; using mapped_type = typename cuckoo_traits<this_type>::mapped_type; using iterator = typename base_type::iterator; using const_iterator = typename base_type::const_iterator; private: using value_intern = std::pair<key_type, mapped_type>; static constexpr size_type bs = cuckoo_traits<this_type>::bs; static constexpr size_type sbs = cuckoo_traits<this_type>::sbs; static constexpr size_type nh = cuckoo_traits<this_type>::nh; static constexpr size_type tl = 1; static constexpr bool fix_errors = cuckoo_traits<this_type>::fix_errors; static constexpr size_type min_grow_buckets = 10; static constexpr size_type max_size = 10ull << 30; public: cuckoo_overlap_inplace(size_type cap = 0 , double size_constraint = 1.1, size_type dis_steps = 256, size_type seed = 0) : base_type(size_constraint, dis_steps, seed), beta((size_constraint + 1.)/2.) { auto temp = reinterpret_cast<value_intern*>(operator new (max_size)); table = std::unique_ptr<value_intern[]>(temp); n_subbuckets = size_type(double(cap)*size_constraint)/sbs; n_subbuckets = std::max<size_type>(n_subbuckets, 256); capacity = n_subbuckets*sbs; grow_thresh = beta*std::max<size_type>(256ull, cap); //factor = double(n_subbuckets+1-(bs/sbs))/double(1ull<<32); acap = n_subbuckets+1-(bs/sbs); std::fill(table.get(), table.get()+capacity, value_intern()); } cuckoo_overlap_inplace(const cuckoo_overlap_inplace&) = delete; cuckoo_overlap_inplace& operator=(const cuckoo_overlap_inplace&) = delete; cuckoo_overlap_inplace(cuckoo_overlap_inplace&&) = default; cuckoo_overlap_inplace& operator=(cuckoo_overlap_inplace&&) = default; private: using base_type::n; using base_type::capacity; using base_type::grow_thresh; using base_type::alpha; using base_type::hasher; size_type n_subbuckets; size_type acap; double beta; // double factor; std::unique_ptr<value_intern[]> table; using base_type::make_iterator; using base_type::make_citerator; public: using base_type::insert; inline iterator begin() { auto temp = make_iterator(&table[0].elements[0]); if (! temp->first) temp++; return temp; } inline const_iterator cbegin() const { auto temp = make_citerator(&table[0].elements[0]); if (! temp->first) temp++; return temp; } private: // Functions for finding buckets ******************************************* inline void get_buckets(hashed_type h, bucket_type** mem) const { for (size_type i = 0; i < nh; ++i) { mem[i] = get_bucket(h,i); } } inline bucket_type* get_bucket(hashed_type h, size_type i) const { size_type l = utils_tm::fastrange32(acap, ext::loc(h,i));// * factor; return reinterpret_cast<bucket_type*>(&(table[l*sbs])); } // Size changes (GROWING) ************************************************** inline void grow() { size_type nsize = size_type(double(n)*alpha) / sbs; nsize = std::max(nsize, n_subbuckets+min_grow_buckets); capacity = nsize*sbs; //double nfactor = double(nsize+1-(bs/sbs))/double(1ull << 32); size_type ncap = nsize+1-(bs/sbs); size_type nthresh = n * beta; std::fill(table.get()+capacity, table.get()+(nsize*sbs), value_intern()); std::vector<value_intern> grow_buffer; migrate(ncap, grow_buffer); n_subbuckets = nsize; grow_thresh = nthresh; // factor = nfactor; acap = ncap; finalize_grow(grow_buffer); } inline void migrate(size_type ncap, std::vector<value_intern>& grow_buffer) { for (int i = capacity-1; i >= 0; --i) { auto e = table[i]; if (!e.first) continue; table[i] = value_intern(); auto hash = hasher(e.first); for (size_type ti = 0; ti < nh; ++ti) { size_type off_i = utils_tm::fastrange32(acap, ext::loc(hash, ti))*sbs; if (i >= int(off_i) && i < int(off_i + bs)) { size_type nbucket = utils_tm::fastrange32(ncap, ext::loc(hash,ti))*sbs; if (nbucket >= size_type(i) || ! reinterpret_cast<bucket_type*>(&table[nbucket])->insert(e)) { grow_buffer.push_back(e); } break; } } } } inline void finalize_grow(std::vector<value_intern>& grow_buffer) { n -= grow_buffer.size(); // n will be increased by insertions for (auto& e : grow_buffer) { insert(e); } } }; // Traits class defining types ************************************************* template<class K, class D, class HF, class Conf> class cuckoo_traits<cuckoo_overlap_inplace<K,D,HF,Conf> > { public: using specialized_type = cuckoo_overlap_inplace<K,D,HF,Conf>; using base_type = cuckoo_base<specialized_type>; using config_type = Conf; using size_type = size_t; using key_type = K; using mapped_type = D; static constexpr size_type tl = 1; static constexpr size_type bs = Conf::bs; static constexpr size_type nh = Conf::nh; static constexpr size_type sbs= Conf::sbs; static constexpr bool fix_errors = Conf::fix_errors; using hasher_type = hasher<K, HF, 0, nh, true, true>; using bucket_type = co_bucket<K,D,bs>; }; // Iterator increment ********************************************************** template<class K, class D, class HF, class Conf> class iterator_incr<cuckoo_overlap_inplace<K,D,HF,Conf> > { public: using table_type = cuckoo_overlap_inplace<K,D,HF,Conf>; private: using size_type = typename table_type::size_type; using pointer = std::pair<const K,D>*; public: iterator_incr(const table_type& table_) : end_ptr(reinterpret_cast<pointer> (&table_.table[table_.capacity-1])) { } iterator_incr(const iterator_incr&) = default; iterator_incr& operator=(const iterator_incr&) = default; pointer next(pointer cur) { while (cur < end_ptr) { if ((++cur)->first) return cur; } return nullptr; } private: pointer end_ptr; }; } // namespace dysect
a381654729/web-platform
ssh-jpa/src/main/java/com/hirain/web/ssh/entity/Person.java
<filename>ssh-jpa/src/main/java/com/hirain/web/ssh/entity/Person.java<gh_stars>0 package com.hirain.web.ssh.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import lombok.Data; final @Data @Entity @Table(name = "Person") public class Person { @Id @GeneratedValue private Long id; @Column(name = "created") private Long created = System.currentTimeMillis(); @Column(name = "username") private String username; @Column(name = "address") private String address; @Column(name = "phone") private String phone; @Column(name = "remark") private String remark; }
kumarss20/superset-neo4j
superset/assets/node_modules/vega-scenegraph/build/vega-scenegraph.js
<filename>superset/assets/node_modules/vega-scenegraph/build/vega-scenegraph.js (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vega-util'), require('vega-canvas'), require('vega-loader'), require('d3-shape'), require('d3-path')) : typeof define === 'function' && define.amd ? define(['exports', 'vega-util', 'vega-canvas', 'vega-loader', 'd3-shape', 'd3-path'], factory) : (global = global || self, factory(global.vega = {}, global.vega, global.vega, global.vega, global.d3, global.d3)); }(this, function (exports, vegaUtil, vegaCanvas, vegaLoader, d3Shape, d3Path) { 'use strict'; function Bounds(b) { this.clear(); if (b) this.union(b); } var prototype = Bounds.prototype; prototype.clone = function() { return new Bounds(this); }; prototype.clear = function() { this.x1 = +Number.MAX_VALUE; this.y1 = +Number.MAX_VALUE; this.x2 = -Number.MAX_VALUE; this.y2 = -Number.MAX_VALUE; return this; }; prototype.empty = function() { return ( this.x1 === +Number.MAX_VALUE && this.y1 === +Number.MAX_VALUE && this.x2 === -Number.MAX_VALUE && this.y2 === -Number.MAX_VALUE ); }; prototype.equals = function(b) { return ( this.x1 === b.x1 && this.y1 === b.y1 && this.x2 === b.x2 && this.y2 === b.y2 ); }; prototype.set = function(x1, y1, x2, y2) { if (x2 < x1) { this.x2 = x1; this.x1 = x2; } else { this.x1 = x1; this.x2 = x2; } if (y2 < y1) { this.y2 = y1; this.y1 = y2; } else { this.y1 = y1; this.y2 = y2; } return this; }; prototype.add = function(x, y) { if (x < this.x1) this.x1 = x; if (y < this.y1) this.y1 = y; if (x > this.x2) this.x2 = x; if (y > this.y2) this.y2 = y; return this; }; prototype.expand = function(d) { this.x1 -= d; this.y1 -= d; this.x2 += d; this.y2 += d; return this; }; prototype.round = function() { this.x1 = Math.floor(this.x1); this.y1 = Math.floor(this.y1); this.x2 = Math.ceil(this.x2); this.y2 = Math.ceil(this.y2); return this; }; prototype.translate = function(dx, dy) { this.x1 += dx; this.x2 += dx; this.y1 += dy; this.y2 += dy; return this; }; prototype.rotate = function(angle, x, y) { const p = this.rotatedPoints(angle, x, y); return this.clear() .add(p[0], p[1]) .add(p[2], p[3]) .add(p[4], p[5]) .add(p[6], p[7]); }; prototype.rotatedPoints = function(angle, x, y) { var {x1, y1, x2, y2} = this, cos = Math.cos(angle), sin = Math.sin(angle), cx = x - x*cos + y*sin, cy = y - x*sin - y*cos; return [ cos*x1 - sin*y1 + cx, sin*x1 + cos*y1 + cy, cos*x1 - sin*y2 + cx, sin*x1 + cos*y2 + cy, cos*x2 - sin*y1 + cx, sin*x2 + cos*y1 + cy, cos*x2 - sin*y2 + cx, sin*x2 + cos*y2 + cy ]; }; prototype.union = function(b) { if (b.x1 < this.x1) this.x1 = b.x1; if (b.y1 < this.y1) this.y1 = b.y1; if (b.x2 > this.x2) this.x2 = b.x2; if (b.y2 > this.y2) this.y2 = b.y2; return this; }; prototype.intersect = function(b) { if (b.x1 > this.x1) this.x1 = b.x1; if (b.y1 > this.y1) this.y1 = b.y1; if (b.x2 < this.x2) this.x2 = b.x2; if (b.y2 < this.y2) this.y2 = b.y2; return this; }; prototype.encloses = function(b) { return b && ( this.x1 <= b.x1 && this.x2 >= b.x2 && this.y1 <= b.y1 && this.y2 >= b.y2 ); }; prototype.alignsWith = function(b) { return b && ( this.x1 == b.x1 || this.x2 == b.x2 || this.y1 == b.y1 || this.y2 == b.y2 ); }; prototype.intersects = function(b) { return b && !( this.x2 < b.x1 || this.x1 > b.x2 || this.y2 < b.y1 || this.y1 > b.y2 ); }; prototype.contains = function(x, y) { return !( x < this.x1 || x > this.x2 || y < this.y1 || y > this.y2 ); }; prototype.width = function() { return this.x2 - this.x1; }; prototype.height = function() { return this.y2 - this.y1; }; var gradient_id = 0; const patternPrefix = 'p_'; function isGradient(value) { return value && value.gradient; } function gradientRef(g, defs, base) { let id = g.id, type = g.gradient, prefix = type === 'radial' ? patternPrefix : ''; // check id, assign default values as needed if (!id) { id = g.id = 'gradient_' + (gradient_id++); if (type === 'radial') { g.x1 = get(g.x1, 0.5); g.y1 = get(g.y1, 0.5); g.r1 = get(g.r1, 0); g.x2 = get(g.x2, 0.5); g.y2 = get(g.y2, 0.5); g.r2 = get(g.r2, 0.5); prefix = patternPrefix; } else { g.x1 = get(g.x1, 0); g.y1 = get(g.y1, 0); g.x2 = get(g.x2, 1); g.y2 = get(g.y2, 0); } } // register definition defs[id] = g; // return url reference return 'url(' + (base || '') + '#' + prefix + id + ')'; } function get(val, def) { return val != null ? val : def; } function Gradient(p0, p1) { var stops = [], gradient; return gradient = { gradient: 'linear', x1: p0 ? p0[0] : 0, y1: p0 ? p0[1] : 0, x2: p1 ? p1[0] : 1, y2: p1 ? p1[1] : 0, stops: stops, stop: function(offset, color) { stops.push({offset: offset, color: color}); return gradient; } }; } function Item(mark) { this.mark = mark; this.bounds = (this.bounds || new Bounds()); } function GroupItem(mark) { Item.call(this, mark); this.items = (this.items || []); } vegaUtil.inherits(GroupItem, Item); function ResourceLoader(customLoader) { this._pending = 0; this._loader = customLoader || vegaLoader.loader(); } var prototype$1 = ResourceLoader.prototype; prototype$1.pending = function() { return this._pending; }; function increment(loader) { loader._pending += 1; } function decrement(loader) { loader._pending -= 1; } prototype$1.sanitizeURL = function(uri) { var loader = this; increment(loader); return loader._loader.sanitize(uri, {context:'href'}) .then(function(opt) { decrement(loader); return opt; }) .catch(function() { decrement(loader); return null; }); }; prototype$1.loadImage = function(uri) { var loader = this, Image = vegaCanvas.image(); increment(loader); return loader._loader .sanitize(uri, {context: 'image'}) .then(function(opt) { var url = opt.href; if (!url || !Image) throw {url: url}; var img = new Image(); img.onload = function() { decrement(loader); img.loaded = true; }; img.onerror = function() { decrement(loader); img.loaded = false; }; img.src = url; return img; }) .catch(function(e) { decrement(loader); return {loaded: false, width: 0, height: 0, src: e && e.url || ''}; }); }; prototype$1.ready = function() { var loader = this; return new Promise(function(accept) { function poll(value) { if (!loader.pending()) accept(value); else setTimeout(function() { poll(true); }, 10); } poll(false); }); }; var lookup = { 'basis': { curve: d3Shape.curveBasis }, 'basis-closed': { curve: d3Shape.curveBasisClosed }, 'basis-open': { curve: d3Shape.curveBasisOpen }, 'bundle': { curve: d3Shape.curveBundle, tension: 'beta', value: 0.85 }, 'cardinal': { curve: d3Shape.curveCardinal, tension: 'tension', value: 0 }, 'cardinal-open': { curve: d3Shape.curveCardinalOpen, tension: 'tension', value: 0 }, 'cardinal-closed': { curve: d3Shape.curveCardinalClosed, tension: 'tension', value: 0 }, 'catmull-rom': { curve: d3Shape.curveCatmullRom, tension: 'alpha', value: 0.5 }, 'catmull-rom-closed': { curve: d3Shape.curveCatmullRomClosed, tension: 'alpha', value: 0.5 }, 'catmull-rom-open': { curve: d3Shape.curveCatmullRomOpen, tension: 'alpha', value: 0.5 }, 'linear': { curve: d3Shape.curveLinear }, 'linear-closed': { curve: d3Shape.curveLinearClosed }, 'monotone': { horizontal: d3Shape.curveMonotoneY, vertical: d3Shape.curveMonotoneX }, 'natural': { curve: d3Shape.curveNatural }, 'step': { curve: d3Shape.curveStep }, 'step-after': { curve: d3Shape.curveStepAfter }, 'step-before': { curve: d3Shape.curveStepBefore } }; function curves(type, orientation, tension) { var entry = lookup.hasOwnProperty(type) && lookup[type], curve = null; if (entry) { curve = entry.curve || entry[orientation || 'vertical']; if (entry.tension && tension != null) { curve = curve[entry.tension](tension); } } return curve; } // Path parsing and rendering code adapted from fabric.js -- Thanks! var cmdlen = { m:2, l:2, h:1, v:1, c:6, s:4, q:4, t:2, a:7 }, regexp = [/([MLHVCSQTAZmlhvcsqtaz])/g, /###/, /(\d)([-+])/g, /\s|,|###/]; function pathParse(pathstr) { var result = [], path, curr, chunks, parsed, param, cmd, len, i, j, n, m; // First, break path into command sequence path = pathstr .slice() .replace(regexp[0], '###$1') .split(regexp[1]) .slice(1); // Next, parse each command in turn for (i=0, n=path.length; i<n; ++i) { curr = path[i]; chunks = curr .slice(1) .trim() .replace(regexp[2],'$1###$2') .split(regexp[3]); cmd = curr.charAt(0); parsed = [cmd]; for (j=0, m=chunks.length; j<m; ++j) { if ((param = +chunks[j]) === param) { // not NaN parsed.push(param); } } len = cmdlen[cmd.toLowerCase()]; if (parsed.length-1 > len) { for (j=1, m=parsed.length; j<m; j+=len) { result.push([cmd].concat(parsed.slice(j, j+len))); } } else { result.push(parsed); } } return result; } var DegToRad = Math.PI / 180; var HalfPi = Math.PI / 2; var Tau = Math.PI * 2; var HalfSqrt3 = Math.sqrt(3) / 2; var segmentCache = {}; var bezierCache = {}; var join = [].join; // Copied from Inkscape svgtopdf, thanks! function segments(x, y, rx, ry, large, sweep, rotateX, ox, oy) { var key = join.call(arguments); if (segmentCache[key]) { return segmentCache[key]; } var th = rotateX * DegToRad; var sin_th = Math.sin(th); var cos_th = Math.cos(th); rx = Math.abs(rx); ry = Math.abs(ry); var px = cos_th * (ox - x) * 0.5 + sin_th * (oy - y) * 0.5; var py = cos_th * (oy - y) * 0.5 - sin_th * (ox - x) * 0.5; var pl = (px*px) / (rx*rx) + (py*py) / (ry*ry); if (pl > 1) { pl = Math.sqrt(pl); rx *= pl; ry *= pl; } var a00 = cos_th / rx; var a01 = sin_th / rx; var a10 = (-sin_th) / ry; var a11 = (cos_th) / ry; var x0 = a00 * ox + a01 * oy; var y0 = a10 * ox + a11 * oy; var x1 = a00 * x + a01 * y; var y1 = a10 * x + a11 * y; var d = (x1-x0) * (x1-x0) + (y1-y0) * (y1-y0); var sfactor_sq = 1 / d - 0.25; if (sfactor_sq < 0) sfactor_sq = 0; var sfactor = Math.sqrt(sfactor_sq); if (sweep == large) sfactor = -sfactor; var xc = 0.5 * (x0 + x1) - sfactor * (y1-y0); var yc = 0.5 * (y0 + y1) + sfactor * (x1-x0); var th0 = Math.atan2(y0-yc, x0-xc); var th1 = Math.atan2(y1-yc, x1-xc); var th_arc = th1-th0; if (th_arc < 0 && sweep === 1) { th_arc += Tau; } else if (th_arc > 0 && sweep === 0) { th_arc -= Tau; } var segs = Math.ceil(Math.abs(th_arc / (HalfPi + 0.001))); var result = []; for (var i=0; i<segs; ++i) { var th2 = th0 + i * th_arc / segs; var th3 = th0 + (i+1) * th_arc / segs; result[i] = [xc, yc, th2, th3, rx, ry, sin_th, cos_th]; } return (segmentCache[key] = result); } function bezier(params) { var key = join.call(params); if (bezierCache[key]) { return bezierCache[key]; } var cx = params[0], cy = params[1], th0 = params[2], th1 = params[3], rx = params[4], ry = params[5], sin_th = params[6], cos_th = params[7]; var a00 = cos_th * rx; var a01 = -sin_th * ry; var a10 = sin_th * rx; var a11 = cos_th * ry; var cos_th0 = Math.cos(th0); var sin_th0 = Math.sin(th0); var cos_th1 = Math.cos(th1); var sin_th1 = Math.sin(th1); var th_half = 0.5 * (th1 - th0); var sin_th_h2 = Math.sin(th_half * 0.5); var t = (8/3) * sin_th_h2 * sin_th_h2 / Math.sin(th_half); var x1 = cx + cos_th0 - t * sin_th0; var y1 = cy + sin_th0 + t * cos_th0; var x3 = cx + cos_th1; var y3 = cy + sin_th1; var x2 = x3 + t * sin_th1; var y2 = y3 - t * cos_th1; return (bezierCache[key] = [ a00 * x1 + a01 * y1, a10 * x1 + a11 * y1, a00 * x2 + a01 * y2, a10 * x2 + a11 * y2, a00 * x3 + a01 * y3, a10 * x3 + a11 * y3 ]); } var temp = ['l', 0, 0, 0, 0, 0, 0, 0]; function scale(current, s) { var c = (temp[0] = current[0]); if (c === 'a' || c === 'A') { temp[1] = s * current[1]; temp[2] = s * current[2]; temp[3] = current[3]; temp[4] = current[4]; temp[5] = current[5]; temp[6] = s * current[6]; temp[7] = s * current[7]; } else { for (var i=1, n=current.length; i<n; ++i) { temp[i] = s * current[i]; } } return temp; } function pathRender(context, path, l, t, s) { var current, // current instruction previous = null, x = 0, // current x y = 0, // current y controlX = 0, // current control point x controlY = 0, // current control point y tempX, tempY, tempControlX, tempControlY; if (l == null) l = 0; if (t == null) t = 0; if (s == null) s = 1; if (context.beginPath) context.beginPath(); for (var i=0, len=path.length; i<len; ++i) { current = path[i]; if (s !== 1) current = scale(current, s); switch (current[0]) { // first letter case 'l': // lineto, relative x += current[1]; y += current[2]; context.lineTo(x + l, y + t); break; case 'L': // lineto, absolute x = current[1]; y = current[2]; context.lineTo(x + l, y + t); break; case 'h': // horizontal lineto, relative x += current[1]; context.lineTo(x + l, y + t); break; case 'H': // horizontal lineto, absolute x = current[1]; context.lineTo(x + l, y + t); break; case 'v': // vertical lineto, relative y += current[1]; context.lineTo(x + l, y + t); break; case 'V': // verical lineto, absolute y = current[1]; context.lineTo(x + l, y + t); break; case 'm': // moveTo, relative x += current[1]; y += current[2]; context.moveTo(x + l, y + t); break; case 'M': // moveTo, absolute x = current[1]; y = current[2]; context.moveTo(x + l, y + t); break; case 'c': // bezierCurveTo, relative tempX = x + current[5]; tempY = y + current[6]; controlX = x + current[3]; controlY = y + current[4]; context.bezierCurveTo( x + current[1] + l, // x1 y + current[2] + t, // y1 controlX + l, // x2 controlY + t, // y2 tempX + l, tempY + t ); x = tempX; y = tempY; break; case 'C': // bezierCurveTo, absolute x = current[5]; y = current[6]; controlX = current[3]; controlY = current[4]; context.bezierCurveTo( current[1] + l, current[2] + t, controlX + l, controlY + t, x + l, y + t ); break; case 's': // shorthand cubic bezierCurveTo, relative // transform to absolute x,y tempX = x + current[3]; tempY = y + current[4]; // calculate reflection of previous control points controlX = 2 * x - controlX; controlY = 2 * y - controlY; context.bezierCurveTo( controlX + l, controlY + t, x + current[1] + l, y + current[2] + t, tempX + l, tempY + t ); // set control point to 2nd one of this command // the first control point is assumed to be the reflection of // the second control point on the previous command relative // to the current point. controlX = x + current[1]; controlY = y + current[2]; x = tempX; y = tempY; break; case 'S': // shorthand cubic bezierCurveTo, absolute tempX = current[3]; tempY = current[4]; // calculate reflection of previous control points controlX = 2*x - controlX; controlY = 2*y - controlY; context.bezierCurveTo( controlX + l, controlY + t, current[1] + l, current[2] + t, tempX + l, tempY + t ); x = tempX; y = tempY; // set control point to 2nd one of this command // the first control point is assumed to be the reflection of // the second control point on the previous command relative // to the current point. controlX = current[1]; controlY = current[2]; break; case 'q': // quadraticCurveTo, relative // transform to absolute x,y tempX = x + current[3]; tempY = y + current[4]; controlX = x + current[1]; controlY = y + current[2]; context.quadraticCurveTo( controlX + l, controlY + t, tempX + l, tempY + t ); x = tempX; y = tempY; break; case 'Q': // quadraticCurveTo, absolute tempX = current[3]; tempY = current[4]; context.quadraticCurveTo( current[1] + l, current[2] + t, tempX + l, tempY + t ); x = tempX; y = tempY; controlX = current[1]; controlY = current[2]; break; case 't': // shorthand quadraticCurveTo, relative // transform to absolute x,y tempX = x + current[1]; tempY = y + current[2]; if (previous[0].match(/[QqTt]/) === null) { // If there is no previous command or if the previous command was not a Q, q, T or t, // assume the control point is coincident with the current point controlX = x; controlY = y; } else if (previous[0] === 't') { // calculate reflection of previous control points for t controlX = 2 * x - tempControlX; controlY = 2 * y - tempControlY; } else if (previous[0] === 'q') { // calculate reflection of previous control points for q controlX = 2 * x - controlX; controlY = 2 * y - controlY; } tempControlX = controlX; tempControlY = controlY; context.quadraticCurveTo( controlX + l, controlY + t, tempX + l, tempY + t ); x = tempX; y = tempY; controlX = x + current[1]; controlY = y + current[2]; break; case 'T': tempX = current[1]; tempY = current[2]; // calculate reflection of previous control points controlX = 2 * x - controlX; controlY = 2 * y - controlY; context.quadraticCurveTo( controlX + l, controlY + t, tempX + l, tempY + t ); x = tempX; y = tempY; break; case 'a': drawArc(context, x + l, y + t, [ current[1], current[2], current[3], current[4], current[5], current[6] + x + l, current[7] + y + t ]); x += current[6]; y += current[7]; break; case 'A': drawArc(context, x + l, y + t, [ current[1], current[2], current[3], current[4], current[5], current[6] + l, current[7] + t ]); x = current[6]; y = current[7]; break; case 'z': case 'Z': context.closePath(); break; } previous = current; } } function drawArc(context, x, y, coords) { var seg = segments( coords[5], // end x coords[6], // end y coords[0], // radius x coords[1], // radius y coords[3], // large flag coords[4], // sweep flag coords[2], // rotation x, y ); for (var i=0; i<seg.length; ++i) { var bez = bezier(seg[i]); context.bezierCurveTo(bez[0], bez[1], bez[2], bez[3], bez[4], bez[5]); } } var Tan30 = 0.5773502691896257; var builtins = { 'circle': { draw: function(context, size) { var r = Math.sqrt(size) / 2; context.moveTo(r, 0); context.arc(0, 0, r, 0, Tau); } }, 'cross': { draw: function(context, size) { var r = Math.sqrt(size) / 2, s = r / 2.5; context.moveTo(-r, -s); context.lineTo(-r, s); context.lineTo(-s, s); context.lineTo(-s, r); context.lineTo(s, r); context.lineTo(s, s); context.lineTo(r, s); context.lineTo(r, -s); context.lineTo(s, -s); context.lineTo(s, -r); context.lineTo(-s, -r); context.lineTo(-s, -s); context.closePath(); } }, 'diamond': { draw: function(context, size) { var r = Math.sqrt(size) / 2; context.moveTo(-r, 0); context.lineTo(0, -r); context.lineTo(r, 0); context.lineTo(0, r); context.closePath(); } }, 'square': { draw: function(context, size) { var w = Math.sqrt(size), x = -w / 2; context.rect(x, x, w, w); } }, 'arrow': { draw: function(context, size) { var r = Math.sqrt(size) / 2, s = r / 7, t = r / 2.5, v = r / 8; context.moveTo(-s, r); context.lineTo(s, r); context.lineTo(s, -v); context.lineTo(t, -v); context.lineTo(0, -r); context.lineTo(-t, -v); context.lineTo(-s, -v); context.closePath(); } }, 'wedge': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = HalfSqrt3 * r, o = (h - r * Tan30), b = r / 4; context.moveTo(0, -h - o); context.lineTo(-b, h - o); context.lineTo(b, h - o); context.closePath(); } }, 'triangle': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = HalfSqrt3 * r, o = (h - r * Tan30); context.moveTo(0, -h - o); context.lineTo(-r, h - o); context.lineTo(r, h - o); context.closePath(); } }, 'triangle-up': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = HalfSqrt3 * r; context.moveTo(0, -h); context.lineTo(-r, h); context.lineTo(r, h); context.closePath(); } }, 'triangle-down': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = HalfSqrt3 * r; context.moveTo(0, h); context.lineTo(-r, -h); context.lineTo(r, -h); context.closePath(); } }, 'triangle-right': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = HalfSqrt3 * r; context.moveTo(h, 0); context.lineTo(-h, -r); context.lineTo(-h, r); context.closePath(); } }, 'triangle-left': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = HalfSqrt3 * r; context.moveTo(-h, 0); context.lineTo(h, -r); context.lineTo(h, r); context.closePath(); } }, 'stroke': { draw: function(context, size) { var r = Math.sqrt(size) / 2; context.moveTo(-r, 0); context.lineTo(r, 0); } } }; function symbols(_) { return builtins.hasOwnProperty(_) ? builtins[_] : customSymbol(_); } var custom = {}; function customSymbol(path) { if (!custom.hasOwnProperty(path)) { var parsed = pathParse(path); custom[path] = { draw: function(context, size) { pathRender(context, parsed, 0, 0, Math.sqrt(size) / 2); } }; } return custom[path]; } function rectangleX(d) { return d.x; } function rectangleY(d) { return d.y; } function rectangleWidth(d) { return d.width; } function rectangleHeight(d) { return d.height; } function constant(_) { return function() { return _; }; } function vg_rect() { var x = rectangleX, y = rectangleY, width = rectangleWidth, height = rectangleHeight, cornerRadius = constant(0), context = null; function rectangle(_, x0, y0) { var buffer, x1 = x0 != null ? x0 : +x.call(this, _), y1 = y0 != null ? y0 : +y.call(this, _), w = +width.call(this, _), h = +height.call(this, _), cr = +cornerRadius.call(this, _); if (!context) context = buffer = d3Path.path(); if (cr <= 0) { context.rect(x1, y1, w, h); } else { var x2 = x1 + w, y2 = y1 + h; context.moveTo(x1 + cr, y1); context.lineTo(x2 - cr, y1); context.quadraticCurveTo(x2, y1, x2, y1 + cr); context.lineTo(x2, y2 - cr); context.quadraticCurveTo(x2, y2, x2 - cr, y2); context.lineTo(x1 + cr, y2); context.quadraticCurveTo(x1, y2, x1, y2 - cr); context.lineTo(x1, y1 + cr); context.quadraticCurveTo(x1, y1, x1 + cr, y1); context.closePath(); } if (buffer) { context = null; return buffer + '' || null; } } rectangle.x = function(_) { if (arguments.length) { x = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return x; } }; rectangle.y = function(_) { if (arguments.length) { y = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return y; } }; rectangle.width = function(_) { if (arguments.length) { width = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return width; } }; rectangle.height = function(_) { if (arguments.length) { height = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return height; } }; rectangle.cornerRadius = function(_) { if (arguments.length) { cornerRadius = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return cornerRadius; } }; rectangle.context = function(_) { if (arguments.length) { context = _ == null ? null : _; return rectangle; } else { return context; } }; return rectangle; } function vg_trail() { var x, y, size, defined, context = null, ready, x1, y1, r1; function point(x2, y2, w2) { var r2 = w2 / 2; if (ready) { var ux = y1 - y2, uy = x2 - x1; if (ux || uy) { // get normal vector var ud = Math.sqrt(ux * ux + uy * uy), rx = (ux /= ud) * r1, ry = (uy /= ud) * r1, t = Math.atan2(uy, ux); // draw segment context.moveTo(x1 - rx, y1 - ry); context.lineTo(x2 - ux * r2, y2 - uy * r2); context.arc(x2, y2, r2, t - Math.PI, t); context.lineTo(x1 + rx, y1 + ry); context.arc(x1, y1, r1, t, t + Math.PI); } else { context.arc(x2, y2, r2, 0, Tau); } context.closePath(); } else { ready = 1; } x1 = x2; y1 = y2; r1 = r2; } function trail(data) { var i, n = data.length, d, defined0 = false, buffer; if (context == null) context = buffer = d3Path.path(); for (i = 0; i <= n; ++i) { if (!(i < n && defined(d = data[i], i, data)) === defined0) { if (defined0 = !defined0) ready = 0; } if (defined0) point(+x(d, i, data), +y(d, i, data), +size(d, i, data)); } if (buffer) { context = null; return buffer + '' || null; } } trail.x = function(_) { if (arguments.length) { x = _; return trail; } else { return x; } }; trail.y = function(_) { if (arguments.length) { y = _; return trail; } else { return y; } }; trail.size = function(_) { if (arguments.length) { size = _; return trail; } else { return size; } }; trail.defined = function(_) { if (arguments.length) { defined = _; return trail; } else { return defined; } }; trail.context = function(_) { if (arguments.length) { if (_ == null) { context = null; } else { context = _; } return trail; } else { return context; } }; return trail; } function x(item) { return item.x || 0; } function y(item) { return item.y || 0; } function w(item) { return item.width || 0; } function ts(item) { return item.size || 1; } function h(item) { return item.height || 0; } function xw(item) { return (item.x || 0) + (item.width || 0); } function yh(item) { return (item.y || 0) + (item.height || 0); } function sa(item) { return item.startAngle || 0; } function ea(item) { return item.endAngle || 0; } function pa(item) { return item.padAngle || 0; } function ir(item) { return item.innerRadius || 0; } function or(item) { return item.outerRadius || 0; } function cr(item) { return item.cornerRadius || 0; } function def(item) { return !(item.defined === false); } function size(item) { return item.size == null ? 64 : item.size; } function type(item) { return symbols(item.shape || 'circle'); } var arcShape = d3Shape.arc().startAngle(sa).endAngle(ea).padAngle(pa) .innerRadius(ir).outerRadius(or).cornerRadius(cr), areavShape = d3Shape.area().x(x).y1(y).y0(yh).defined(def), areahShape = d3Shape.area().y(y).x1(x).x0(xw).defined(def), lineShape = d3Shape.line().x(x).y(y).defined(def), rectShape = vg_rect().x(x).y(y).width(w).height(h).cornerRadius(cr), symbolShape = d3Shape.symbol().type(type).size(size), trailShape = vg_trail().x(x).y(y).defined(def).size(ts); function arc(context, item) { return arcShape.context(context)(item); } function area(context, items) { var item = items[0], interp = item.interpolate || 'linear'; return (item.orient === 'horizontal' ? areahShape : areavShape) .curve(curves(interp, item.orient, item.tension)) .context(context)(items); } function line(context, items) { var item = items[0], interp = item.interpolate || 'linear'; return lineShape.curve(curves(interp, item.orient, item.tension)) .context(context)(items); } function rectangle(context, item, x, y) { return rectShape.context(context)(item, x, y); } function shape(context, item) { return (item.mark.shape || item.shape) .context(context)(item); } function symbol(context, item) { return symbolShape.context(context)(item); } function trail(context, items) { return trailShape.context(context)(items); } function boundStroke(bounds, item) { if (item.stroke && item.opacity !== 0 && item.strokeOpacity !== 0) { bounds.expand(item.strokeWidth != null ? +item.strokeWidth : 1); } return bounds; } var bounds, circleThreshold = Tau - 1e-8; function context(_) { bounds = _; return context; } function noop() {} function add(x, y) { bounds.add(x, y); } context.beginPath = noop; context.closePath = noop; context.moveTo = add; context.lineTo = add; context.rect = function(x, y, w, h) { add(x, y); add(x + w, y + h); }; context.quadraticCurveTo = function(x1, y1, x2, y2) { add(x1, y1); add(x2, y2); }; context.bezierCurveTo = function(x1, y1, x2, y2, x3, y3) { add(x1, y1); add(x2, y2); add(x3, y3); }; context.arc = function(cx, cy, r, sa, ea, ccw) { if (Math.abs(ea - sa) > circleThreshold) { add(cx - r, cy - r); add(cx + r, cy + r); return; } var xmin = Infinity, xmax = -Infinity, ymin = Infinity, ymax = -Infinity, s, i, x, y; function update(a) { x = r * Math.cos(a); y = r * Math.sin(a); if (x < xmin) xmin = x; if (x > xmax) xmax = x; if (y < ymin) ymin = y; if (y > ymax) ymax = y; } // Sample end points and interior points aligned with 90 degrees update(sa); update(ea); if (ea !== sa) { sa = sa % Tau; if (sa < 0) sa += Tau; ea = ea % Tau; if (ea < 0) ea += Tau; if (ea < sa) { ccw = !ccw; // flip direction s = sa; sa = ea; ea = s; // swap end-points } if (ccw) { ea -= Tau; s = sa - (sa % HalfPi); for (i=0; i<4 && s>ea; ++i, s-=HalfPi) update(s); } else { s = sa - (sa % HalfPi) + HalfPi; for (i=0; i<4 && s<ea; ++i, s=s+HalfPi) update(s); } } add(cx + xmin, cy + ymin); add(cx + xmax, cy + ymax); }; var context$1 = (context$1 = vegaCanvas.canvas(1,1)) ? context$1.getContext('2d') : null; const b = new Bounds(); function intersectPath(draw) { return function(item, brush) { // rely on (inaccurate) bounds intersection if no context if (!context$1) return true; // add path to offscreen graphics context draw(context$1, item); // get bounds intersection region b.clear().union(item.bounds).intersect(brush).round(); const {x1, y1, x2, y2} = b; // iterate over intersection region // perform fine grained inclusion test for (let y = y1; y <= y2; ++y) { for (let x = x1; x <= x2; ++x) { if (context$1.isPointInPath(x, y)) { return true; } } } // false if no hits in intersection region return false; } } function intersectPoint(item, box) { return box.contains(item.x || 0, item.y || 0); } function intersectRect(item, box) { const x = item.x || 0, y = item.y || 0, w = item.width || 0, h = item.height || 0; return box.intersects(b.set(x, y, x + w, y + h)); } function intersectRule(item, box) { const x = item.x || 0, y = item.y || 0, x2 = item.x2 != null ? item.x2 : x, y2 = item.y2 != null ? item.y2 : y; return intersectBoxLine(box, x, y, x2, y2); } function intersectBoxLine(box, x, y, u, v) { const {x1, y1, x2, y2} = box, dx = u - x, dy = v - y; let t0 = 0, t1 = 1, p, q, r, e; for (e=0; e<4; ++e) { if (e === 0) { p = -dx; q = -(x1 - x); } if (e === 1) { p = dx; q = (x2 - x); } if (e === 2) { p = -dy; q = -(y1 - y); } if (e === 3) { p = dy; q = (y2 - y); } if (Math.abs(p) < 1e-10 && q < 0) return false; r = q / p; if (p < 0) { if (r > t1) return false; else if (r > t0) t0 = r; } else if (p > 0) { if (r < t0) return false; else if (r < t1) t1 = r; } } return true; } function gradient(context, gradient, bounds) { const w = bounds.width(), h = bounds.height(), stop = gradient.stops, n = stop.length; const canvasGradient = gradient.gradient === 'radial' ? context.createRadialGradient( bounds.x1 + (gradient.x1 || 0.5) * w, bounds.y1 + (gradient.y1 || 0.5) * h, Math.max(w, h) * (gradient.r1 || 0), bounds.x1 + (gradient.x2 || 0.5) * w, bounds.y1 + (gradient.y2 || 0.5) * h, Math.max(w, h) * (gradient.r2 || 0.5) ) : context.createLinearGradient( bounds.x1 + (gradient.x1 || 0) * w, bounds.y1 + (gradient.y1 || 0) * h, bounds.x1 + (gradient.x2 || 1) * w, bounds.y1 + (gradient.y2 || 0) * h ); for (let i=0; i<n; ++i) { canvasGradient.addColorStop(stop[i].offset, stop[i].color); } return canvasGradient; } function color(context, item, value) { return isGradient(value) ? gradient(context, value, item.bounds) : value; } function fill(context, item, opacity) { opacity *= (item.fillOpacity==null ? 1 : item.fillOpacity); if (opacity > 0) { context.globalAlpha = opacity; context.fillStyle = color(context, item, item.fill); return true; } else { return false; } } var Empty = []; function stroke(context, item, opacity) { var lw = (lw = item.strokeWidth) != null ? lw : 1; if (lw <= 0) return false; opacity *= (item.strokeOpacity==null ? 1 : item.strokeOpacity); if (opacity > 0) { context.globalAlpha = opacity; context.strokeStyle = color(context, item, item.stroke); context.lineWidth = lw; context.lineCap = item.strokeCap || 'butt'; context.lineJoin = item.strokeJoin || 'miter'; context.miterLimit = item.strokeMiterLimit || 10; if (context.setLineDash) { context.setLineDash(item.strokeDash || Empty); context.lineDashOffset = item.strokeDashOffset || 0; } return true; } else { return false; } } function compare(a, b) { return a.zindex - b.zindex || a.index - b.index; } function zorder(scene) { if (!scene.zdirty) return scene.zitems; var items = scene.items, output = [], item, i, n; for (i=0, n=items.length; i<n; ++i) { item = items[i]; item.index = i; if (item.zindex) output.push(item); } scene.zdirty = false; return scene.zitems = output.sort(compare); } function visit(scene, visitor) { var items = scene.items, i, n; if (!items || !items.length) return; var zitems = zorder(scene); if (zitems && zitems.length) { for (i=0, n=items.length; i<n; ++i) { if (!items[i].zindex) visitor(items[i]); } items = zitems; } for (i=0, n=items.length; i<n; ++i) { visitor(items[i]); } } function pickVisit(scene, visitor) { var items = scene.items, hit, i; if (!items || !items.length) return null; var zitems = zorder(scene); if (zitems && zitems.length) items = zitems; for (i=items.length; --i >= 0;) { if (hit = visitor(items[i])) return hit; } if (items === zitems) { for (items=scene.items, i=items.length; --i >= 0;) { if (!items[i].zindex) { if (hit = visitor(items[i])) return hit; } } } return null; } function drawAll(path) { return function(context, scene, bounds) { visit(scene, function(item) { if (!bounds || bounds.intersects(item.bounds)) { drawPath(path, context, item, item); } }); }; } function drawOne(path) { return function(context, scene, bounds) { if (scene.items.length && (!bounds || bounds.intersects(scene.bounds))) { drawPath(path, context, scene.items[0], scene.items); } }; } function drawPath(path, context, item, items) { var opacity = item.opacity == null ? 1 : item.opacity; if (opacity === 0) return; if (path(context, items)) return; if (item.fill && fill(context, item, opacity)) { context.fill(); } if (item.stroke && stroke(context, item, opacity)) { context.stroke(); } } function pick(test) { test = test || vegaUtil.truthy; return function(context, scene, x, y, gx, gy) { x *= context.pixelRatio; y *= context.pixelRatio; return pickVisit(scene, function(item) { var b = item.bounds; // first hit test against bounding box if ((b && !b.contains(gx, gy)) || !b) return; // if in bounding box, perform more careful test if (test(context, item, x, y, gx, gy)) return item; }); }; } function hitPath(path, filled) { return function(context, o, x, y) { var item = Array.isArray(o) ? o[0] : o, fill = (filled == null) ? item.fill : filled, stroke = item.stroke && context.isPointInStroke, lw, lc; if (stroke) { lw = item.strokeWidth; lc = item.strokeCap; context.lineWidth = lw != null ? lw : 1; context.lineCap = lc != null ? lc : 'butt'; } return path(context, o) ? false : (fill && context.isPointInPath(x, y)) || (stroke && context.isPointInStroke(x, y)); }; } function pickPath(path) { return pick(hitPath(path)); } function translate(x, y) { return 'translate(' + x + ',' + y + ')'; } function rotate(a) { return 'rotate(' + a + ')'; } function translateItem(item) { return translate(item.x || 0, item.y || 0); } function transformItem(item) { return translate(item.x || 0, item.y || 0) + (item.angle ? ' ' + rotate(item.angle) : ''); } function markItemPath(type, shape, isect) { function attr(emit, item) { emit('transform', transformItem(item)); emit('d', shape(null, item)); } function bound(bounds, item) { var x = item.x || 0, y = item.y || 0; shape(context(bounds), item); boundStroke(bounds, item).translate(x, y); if (item.angle) { bounds.rotate(item.angle * DegToRad, x, y); } return bounds; } function draw(context, item) { var x = item.x || 0, y = item.y || 0, a = item.angle || 0; context.translate(x, y); if (a) context.rotate(a *= DegToRad); context.beginPath(); shape(context, item); if (a) context.rotate(-a); context.translate(-x, -y); } return { type: type, tag: 'path', nested: false, attr: attr, bound: bound, draw: drawAll(draw), pick: pickPath(draw), isect: isect || intersectPath(draw) }; } var arc$1 = markItemPath('arc', arc); function pickArea(a, p) { var v = a[0].orient === 'horizontal' ? p[1] : p[0], z = a[0].orient === 'horizontal' ? 'y' : 'x', i = a.length, min = +Infinity, hit, d; while (--i >= 0) { if (a[i].defined === false) continue; d = Math.abs(a[i][z] - v); if (d < min) { min = d; hit = a[i]; } } return hit; } function pickLine(a, p) { var t = Math.pow(a[0].strokeWidth || 1, 2), i = a.length, dx, dy, dd; while (--i >= 0) { if (a[i].defined === false) continue; dx = a[i].x - p[0]; dy = a[i].y - p[1]; dd = dx * dx + dy * dy; if (dd < t) return a[i]; } return null; } function pickTrail(a, p) { var i = a.length, dx, dy, dd; while (--i >= 0) { if (a[i].defined === false) continue; dx = a[i].x - p[0]; dy = a[i].y - p[1]; dd = dx * dx + dy * dy; dx = a[i].size || 1; if (dd < dx*dx) return a[i]; } return null; } function markMultiItemPath(type, shape, tip) { function attr(emit, item) { var items = item.mark.items; if (items.length) emit('d', shape(null, items)); } function bound(bounds, mark) { var items = mark.items; if (items.length === 0) { return bounds; } else { shape(context(bounds), items); return boundStroke(bounds, items[0]); } } function draw(context, items) { context.beginPath(); shape(context, items); } var hit = hitPath(draw); function pick(context, scene, x, y, gx, gy) { var items = scene.items, b = scene.bounds; if (!items || !items.length || b && !b.contains(gx, gy)) { return null; } x *= context.pixelRatio; y *= context.pixelRatio; return hit(context, items, x, y) ? items[0] : null; } return { type: type, tag: 'path', nested: true, attr: attr, bound: bound, draw: drawOne(draw), pick: pick, isect: intersectPoint, tip: tip }; } var area$1 = markMultiItemPath('area', area, pickArea); var clip_id = 1; function resetSVGClipId() { clip_id = 1; } function clip(renderer, item, size) { var clip = item.clip, defs = renderer._defs, id = item.clip_id || (item.clip_id = 'clip' + clip_id++), c = defs.clipping[id] || (defs.clipping[id] = {id: id}); if (vegaUtil.isFunction(clip)) { c.path = clip(null); } else { c.width = size.width || 0; c.height = size.height || 0; } return 'url(#' + id + ')'; } var StrokeOffset = 0.5; function attr(emit, item) { emit('transform', translateItem(item)); } function background(emit, item) { var offset = item.stroke ? StrokeOffset : 0; emit('class', 'background'); emit('d', rectangle(null, item, offset, offset)); } function foreground(emit, item, renderer) { var url = item.clip ? clip(renderer, item, item) : null; emit('clip-path', url); } function bound(bounds, group) { if (!group.clip && group.items) { var items = group.items; for (var j=0, m=items.length; j<m; ++j) { bounds.union(items[j].bounds); } } if ((group.clip || group.width || group.height) && !group.noBound) { bounds.add(0, 0).add(group.width || 0, group.height || 0); } boundStroke(bounds, group); return bounds.translate(group.x || 0, group.y || 0); } function backgroundPath(context, group) { var offset = group.stroke ? StrokeOffset : 0; context.beginPath(); rectangle(context, group, offset, offset); } var hitBackground = hitPath(backgroundPath); function draw(context, scene, bounds) { var renderer = this; visit(scene, function(group) { var gx = group.x || 0, gy = group.y || 0, w = group.width || 0, h = group.height || 0, opacity; // setup graphics context context.save(); context.translate(gx, gy); // draw group background if (group.stroke || group.fill) { opacity = group.opacity == null ? 1 : group.opacity; if (opacity > 0) { backgroundPath(context, group); if (group.fill && fill(context, group, opacity)) { context.fill(); } if (group.stroke && stroke(context, group, opacity)) { context.stroke(); } } } // set clip and bounds if (group.clip) { context.beginPath(); context.rect(0, 0, w, h); context.clip(); } if (bounds) bounds.translate(-gx, -gy); // draw group contents visit(group, function(item) { renderer.draw(context, item, bounds); }); // restore graphics context if (bounds) bounds.translate(gx, gy); context.restore(); }); } function pick$1(context, scene, x, y, gx, gy) { if (scene.bounds && !scene.bounds.contains(gx, gy) || !scene.items) { return null; } var handler = this, cx = x * context.pixelRatio, cy = y * context.pixelRatio; return pickVisit(scene, function(group) { var hit, dx, dy, b; // first hit test against bounding box // if a group is clipped, that should be handled by the bounds check. b = group.bounds; if (b && !b.contains(gx, gy)) return; // passed bounds check, so test sub-groups dx = (group.x || 0); dy = (group.y || 0); context.save(); context.translate(dx, dy); dx = gx - dx; dy = gy - dy; // hit test against contained marks hit = pickVisit(group, function(mark) { return pickMark(mark, dx, dy) ? handler.pick(mark, x, y, dx, dy) : null; }); // hit test against group background if (!hit && scene.interactive !== false && (group.fill || group.stroke) && hitBackground(context, group, cx, cy)) { hit = group; } context.restore(); return hit || null; }); } function pickMark(mark, x, y) { return (mark.interactive !== false || mark.marktype === 'group') && mark.bounds && mark.bounds.contains(x, y); } var group = { type: 'group', tag: 'g', nested: false, attr: attr, bound: bound, draw: draw, pick: pick$1, isect: intersectRect, background: background, foreground: foreground }; function getImage(item, renderer) { var image = item.image; if (!image || image.url !== item.url) { image = {loaded: false, width: 0, height: 0}; renderer.loadImage(item.url).then(function(image) { item.image = image; item.image.url = item.url; }); } return image; } function imageXOffset(align, w) { return align === 'center' ? w / 2 : align === 'right' ? w : 0; } function imageYOffset(baseline, h) { return baseline === 'middle' ? h / 2 : baseline === 'bottom' ? h : 0; } function attr$1(emit, item, renderer) { var image = getImage(item, renderer), x = item.x || 0, y = item.y || 0, w = (item.width != null ? item.width : image.width) || 0, h = (item.height != null ? item.height : image.height) || 0, a = item.aspect === false ? 'none' : 'xMidYMid'; x -= imageXOffset(item.align, w); y -= imageYOffset(item.baseline, h); emit('href', image.src || '', 'http://www.w3.org/1999/xlink', 'xlink:href'); emit('transform', translate(x, y)); emit('width', w); emit('height', h); emit('preserveAspectRatio', a); } function bound$1(bounds, item) { var image = item.image, x = item.x || 0, y = item.y || 0, w = (item.width != null ? item.width : (image && image.width)) || 0, h = (item.height != null ? item.height : (image && image.height)) || 0; x -= imageXOffset(item.align, w); y -= imageYOffset(item.baseline, h); return bounds.set(x, y, x + w, y + h); } function draw$1(context, scene, bounds) { var renderer = this; visit(scene, function(item) { if (bounds && !bounds.intersects(item.bounds)) return; // bounds check var image = getImage(item, renderer), x = item.x || 0, y = item.y || 0, w = (item.width != null ? item.width : image.width) || 0, h = (item.height != null ? item.height : image.height) || 0, opacity, ar0, ar1, t; x -= imageXOffset(item.align, w); y -= imageYOffset(item.baseline, h); if (item.aspect !== false) { ar0 = image.width / image.height; ar1 = item.width / item.height; if (ar0 === ar0 && ar1 === ar1 && ar0 !== ar1) { if (ar1 < ar0) { t = w / ar0; y += (h - t) / 2; h = t; } else { t = h * ar0; x += (w - t) / 2; w = t; } } } if (image.loaded) { context.globalAlpha = (opacity = item.opacity) != null ? opacity : 1; context.drawImage(image, x, y, w, h); } }); } var image = { type: 'image', tag: 'image', nested: false, attr: attr$1, bound: bound$1, draw: draw$1, pick: pick(), isect: vegaUtil.truthy, // bounds check is sufficient get: getImage, xOffset: imageXOffset, yOffset: imageYOffset }; var line$1 = markMultiItemPath('line', line, pickLine); function attr$2(emit, item) { emit('transform', translateItem(item)); emit('d', item.path); } function path(context, item) { var path = item.path; if (path == null) return true; var cache = item.pathCache; if (!cache || cache.path !== path) { (item.pathCache = cache = pathParse(path)).path = path; } pathRender(context, cache, item.x, item.y); } function bound$2(bounds, item) { return path(context(bounds), item) ? bounds.set(0, 0, 0, 0) : boundStroke(bounds, item); } var path$1 = { type: 'path', tag: 'path', nested: false, attr: attr$2, bound: bound$2, draw: drawAll(path), pick: pickPath(path), isect: intersectPath(path) }; function attr$3(emit, item) { emit('d', rectangle(null, item)); } function bound$3(bounds, item) { var x, y; return boundStroke(bounds.set( x = item.x || 0, y = item.y || 0, (x + item.width) || 0, (y + item.height) || 0 ), item); } function draw$2(context, item) { context.beginPath(); rectangle(context, item); } var rect = { type: 'rect', tag: 'path', nested: false, attr: attr$3, bound: bound$3, draw: drawAll(draw$2), pick: pickPath(draw$2), isect: intersectRect }; function attr$4(emit, item) { emit('transform', translateItem(item)); emit('x2', item.x2 != null ? item.x2 - (item.x || 0) : 0); emit('y2', item.y2 != null ? item.y2 - (item.y || 0) : 0); } function bound$4(bounds, item) { var x1, y1; return boundStroke(bounds.set( x1 = item.x || 0, y1 = item.y || 0, item.x2 != null ? item.x2 : x1, item.y2 != null ? item.y2 : y1 ), item); } function path$2(context, item, opacity) { var x1, y1, x2, y2; if (item.stroke && stroke(context, item, opacity)) { x1 = item.x || 0; y1 = item.y || 0; x2 = item.x2 != null ? item.x2 : x1; y2 = item.y2 != null ? item.y2 : y1; context.beginPath(); context.moveTo(x1, y1); context.lineTo(x2, y2); return true; } return false; } function draw$3(context, scene, bounds) { visit(scene, function(item) { if (bounds && !bounds.intersects(item.bounds)) return; // bounds check var opacity = item.opacity == null ? 1 : item.opacity; if (opacity && path$2(context, item, opacity)) { context.stroke(); } }); } function hit(context, item, x, y) { if (!context.isPointInStroke) return false; return path$2(context, item, 1) && context.isPointInStroke(x, y); } var rule = { type: 'rule', tag: 'line', nested: false, attr: attr$4, bound: bound$4, draw: draw$3, pick: pick(hit), isect: intersectRule }; var shape$1 = markItemPath('shape', shape); var symbol$1 = markItemPath('symbol', symbol, intersectPoint); var currFontHeight; var textMetrics = { height: fontSize, measureWidth: measureWidth, estimateWidth: estimateWidth, width: estimateWidth, canvas: useCanvas }; useCanvas(true); // make dumb, simple estimate if no canvas is available function estimateWidth(item) { currFontHeight = fontSize(item); return estimate(textValue(item)); } function estimate(text) { return ~~(0.8 * text.length * currFontHeight); } // measure text width if canvas is available function measureWidth(item) { return fontSize(item) <= 0 ? 0 : (context$1.font = font(item), measure(textValue(item))); } function measure(text) { return context$1.measureText(text).width; } function fontSize(item) { return item.fontSize != null ? item.fontSize : 11; } function useCanvas(use) { textMetrics.width = (use && context$1) ? measureWidth : estimateWidth; } function textValue(item) { var s = item.text; if (s == null) { return ''; } else { return item.limit > 0 ? truncate(item) : s + ''; } } function truncate(item) { var limit = +item.limit, text = item.text + '', width; if (textMetrics.width === measureWidth) { // we are using canvas context$1.font = font(item); width = measure; } else { // we are relying on estimates currFontHeight = fontSize(item); width = estimate; } if (width(text) < limit) return text; var ellipsis = item.ellipsis || '\u2026', rtl = item.dir === 'rtl', lo = 0, hi = text.length, mid; limit -= width(ellipsis); if (rtl) { while (lo < hi) { mid = (lo + hi >>> 1); if (width(text.slice(mid)) > limit) lo = mid + 1; else hi = mid; } return ellipsis + text.slice(lo); } else { while (lo < hi) { mid = 1 + (lo + hi >>> 1); if (width(text.slice(0, mid)) < limit) lo = mid; else hi = mid - 1; } return text.slice(0, lo) + ellipsis; } } function fontFamily(item, quote) { var font = item.font; return (quote && font ? String(font).replace(/"/g, '\'') : font) || 'sans-serif'; } function font(item, quote) { return '' + (item.fontStyle ? item.fontStyle + ' ' : '') + (item.fontVariant ? item.fontVariant + ' ' : '') + (item.fontWeight ? item.fontWeight + ' ' : '') + fontSize(item) + 'px ' + fontFamily(item, quote); } function offset(item) { // perform our own font baseline calculation // why? not all browsers support SVG 1.1 'alignment-baseline' :( var baseline = item.baseline, h = fontSize(item); return Math.round( baseline === 'top' ? 0.79*h : baseline === 'middle' ? 0.30*h : baseline === 'bottom' ? -0.21*h : 0 ); } var textAlign = { 'left': 'start', 'center': 'middle', 'right': 'end' }; var tempBounds = new Bounds(); function anchorPoint(item) { var x = item.x || 0, y = item.y || 0, r = item.radius || 0, t; if (r) { t = (item.theta || 0) - HalfPi; x += r * Math.cos(t); y += r * Math.sin(t); } tempBounds.x1 = x; tempBounds.y1 = y; return tempBounds; } function attr$5(emit, item) { var dx = item.dx || 0, dy = (item.dy || 0) + offset(item), p = anchorPoint(item), x = p.x1, y = p.y1, a = item.angle || 0, t; emit('text-anchor', textAlign[item.align] || 'start'); if (a) { t = translate(x, y) + ' ' + rotate(a); if (dx || dy) t += ' ' + translate(dx, dy); } else { t = translate(x + dx, y + dy); } emit('transform', t); } function bound$5(bounds, item, mode) { var h = textMetrics.height(item), a = item.align, p = anchorPoint(item), x = p.x1, y = p.y1, dx = item.dx || 0, dy = (item.dy || 0) + offset(item) - Math.round(0.8*h), // use 4/5 offset w; // horizontal alignment w = textMetrics.width(item); if (a === 'center') { dx -= (w / 2); } else if (a === 'right') { dx -= w; } bounds.set(dx+=x, dy+=y, dx+w, dy+h); if (item.angle && !mode) { bounds.rotate(item.angle * DegToRad, x, y); } else if (mode === 2) { return bounds.rotatedPoints(item.angle * DegToRad, x, y); } return bounds; } function draw$4(context, scene, bounds) { visit(scene, function(item) { var opacity, p, x, y, str; if (bounds && !bounds.intersects(item.bounds)) return; // bounds check if (!(str = textValue(item))) return; // get text string opacity = item.opacity == null ? 1 : item.opacity; if (opacity === 0 || item.fontSize <= 0) return; context.font = font(item); context.textAlign = item.align || 'left'; p = anchorPoint(item); x = p.x1, y = p.y1; if (item.angle) { context.save(); context.translate(x, y); context.rotate(item.angle * DegToRad); x = y = 0; // reset x, y } x += (item.dx || 0); y += (item.dy || 0) + offset(item); if (item.fill && fill(context, item, opacity)) { context.fillText(str, x, y); } if (item.stroke && stroke(context, item, opacity)) { context.strokeText(str, x, y); } if (item.angle) context.restore(); }); } function hit$1(context, item, x, y, gx, gy) { if (item.fontSize <= 0) return false; if (!item.angle) return true; // bounds sufficient if no rotation // project point into space of unrotated bounds var p = anchorPoint(item), ax = p.x1, ay = p.y1, b = bound$5(tempBounds, item, 1), a = -item.angle * DegToRad, cos = Math.cos(a), sin = Math.sin(a), px = cos * gx - sin * gy + (ax - cos * ax + sin * ay), py = sin * gx + cos * gy + (ay - sin * ax - cos * ay); return b.contains(px, py); } function intersectText(item, box) { var p = bound$5(tempBounds, item, 2); return intersectBoxLine(box, p[0], p[1], p[2], p[3]) || intersectBoxLine(box, p[0], p[1], p[4], p[5]) || intersectBoxLine(box, p[4], p[5], p[6], p[7]) || intersectBoxLine(box, p[2], p[3], p[6], p[7]); } var text = { type: 'text', tag: 'text', nested: false, attr: attr$5, bound: bound$5, draw: draw$4, pick: pick(hit$1), isect: intersectText }; var trail$1 = markMultiItemPath('trail', trail, pickTrail); var Marks = { arc: arc$1, area: area$1, group: group, image: image, line: line$1, path: path$1, rect: rect, rule: rule, shape: shape$1, symbol: symbol$1, text: text, trail: trail$1 }; function boundItem(item, func, opt) { var type = Marks[item.mark.marktype], bound = func || type.bound; if (type.nested) item = item.mark; return bound(item.bounds || (item.bounds = new Bounds()), item, opt); } var DUMMY = {mark: null}; function boundMark(mark, bounds, opt) { var type = Marks[mark.marktype], bound = type.bound, items = mark.items, hasItems = items && items.length, i, n, item, b; if (type.nested) { if (hasItems) { item = items[0]; } else { // no items, fake it DUMMY.mark = mark; item = DUMMY; } b = boundItem(item, bound, opt); bounds = bounds && bounds.union(b) || b; return bounds; } bounds = bounds || mark.bounds && mark.bounds.clear() || new Bounds(); if (hasItems) { for (i=0, n=items.length; i<n; ++i) { bounds.union(boundItem(items[i], bound, opt)); } } return mark.bounds = bounds; } var keys = [ 'marktype', 'name', 'role', 'interactive', 'clip', 'items', 'zindex', 'x', 'y', 'width', 'height', 'align', 'baseline', // layout 'fill', 'fillOpacity', 'opacity', // fill 'stroke', 'strokeOpacity', 'strokeWidth', 'strokeCap', // stroke 'strokeDash', 'strokeDashOffset', // stroke dash 'startAngle', 'endAngle', 'innerRadius', 'outerRadius', // arc 'cornerRadius', 'padAngle', // arc, rect 'interpolate', 'tension', 'orient', 'defined', // area, line 'url', // image 'path', // path 'x2', 'y2', // rule 'size', 'shape', // symbol 'text', 'angle', 'theta', 'radius', 'dx', 'dy', // text 'font', 'fontSize', 'fontWeight', 'fontStyle', 'fontVariant' // font ]; function sceneToJSON(scene, indent) { return JSON.stringify(scene, keys, indent); } function sceneFromJSON(json) { var scene = (typeof json === 'string' ? JSON.parse(json) : json); return initialize(scene); } function initialize(scene) { var type = scene.marktype, items = scene.items, parent, i, n; if (items) { for (i=0, n=items.length; i<n; ++i) { parent = type ? 'mark' : 'group'; items[i][parent] = scene; if (items[i].zindex) items[i][parent].zdirty = true; if ('group' === (type || parent)) initialize(items[i]); } } if (type) boundMark(scene); return scene; } function Scenegraph(scene) { if (arguments.length) { this.root = sceneFromJSON(scene); } else { this.root = createMark({ marktype: 'group', name: 'root', role: 'frame' }); this.root.items = [new GroupItem(this.root)]; } } var prototype$2 = Scenegraph.prototype; prototype$2.toJSON = function(indent) { return sceneToJSON(this.root, indent || 0); }; prototype$2.mark = function(markdef, group, index) { group = group || this.root.items[0]; var mark = createMark(markdef, group); group.items[index] = mark; if (mark.zindex) mark.group.zdirty = true; return mark; }; function createMark(def, group) { return { bounds: new Bounds(), clip: !!def.clip, group: group, interactive: def.interactive === false ? false : true, items: [], marktype: def.marktype, name: def.name || undefined, role: def.role || undefined, zindex: def.zindex || 0 }; } // create a new DOM element function domCreate(doc, tag, ns) { if (!doc && typeof document !== 'undefined' && document.createElement) { doc = document; } return doc ? (ns ? doc.createElementNS(ns, tag) : doc.createElement(tag)) : null; } // find first child element with matching tag function domFind(el, tag) { tag = tag.toLowerCase(); var nodes = el.childNodes, i = 0, n = nodes.length; for (; i<n; ++i) if (nodes[i].tagName.toLowerCase() === tag) { return nodes[i]; } } // retrieve child element at given index // create & insert if doesn't exist or if tags do not match function domChild(el, index, tag, ns) { var a = el.childNodes[index], b; if (!a || a.tagName.toLowerCase() !== tag.toLowerCase()) { b = a || null; a = domCreate(el.ownerDocument, tag, ns); el.insertBefore(a, b); } return a; } // remove all child elements at or above the given index function domClear(el, index) { var nodes = el.childNodes, curr = nodes.length; while (curr > index) el.removeChild(nodes[--curr]); return el; } // generate css class name for mark function cssClass(mark) { return 'mark-' + mark.marktype + (mark.role ? ' role-' + mark.role : '') + (mark.name ? ' ' + mark.name : ''); } function point(event, el) { var rect = el.getBoundingClientRect(); return [ event.clientX - rect.left - (el.clientLeft || 0), event.clientY - rect.top - (el.clientTop || 0) ]; } function resolveItem(item, event, el, origin) { var mark = item && item.mark, mdef, p; if (mark && (mdef = Marks[mark.marktype]).tip) { p = point(event, el); p[0] -= origin[0]; p[1] -= origin[1]; while (item = item.mark.group) { p[0] -= item.x || 0; p[1] -= item.y || 0; } item = mdef.tip(mark.items, p); } return item; } /** * Create a new Handler instance. * @param {object} [customLoader] - Optional loader instance for * href URL sanitization. If not specified, a standard loader * instance will be generated. * @param {function} [customTooltip] - Optional tooltip handler * function for custom tooltip display. * @constructor */ function Handler(customLoader, customTooltip) { this._active = null; this._handlers = {}; this._loader = customLoader || vegaLoader.loader(); this._tooltip = customTooltip || defaultTooltip; } // The default tooltip display handler. // Sets the HTML title attribute on the visualization container. function defaultTooltip(handler, event, item, value) { handler.element().setAttribute('title', value || ''); } var prototype$3 = Handler.prototype; /** * Initialize a new Handler instance. * @param {DOMElement} el - The containing DOM element for the display. * @param {Array<number>} origin - The origin of the display, in pixels. * The coordinate system will be translated to this point. * @param {object} [obj] - Optional context object that should serve as * the "this" context for event callbacks. * @return {Handler} - This handler instance. */ prototype$3.initialize = function(el, origin, obj) { this._el = el; this._obj = obj || null; return this.origin(origin); }; /** * Returns the parent container element for a visualization. * @return {DOMElement} - The containing DOM element. */ prototype$3.element = function() { return this._el; }; /** * Returns the scene element (e.g., canvas or SVG) of the visualization * Subclasses must override if the first child is not the scene element. * @return {DOMElement} - The scene (e.g., canvas or SVG) element. */ prototype$3.canvas = function() { return this._el && this._el.firstChild; }; /** * Get / set the origin coordinates of the visualization. */ prototype$3.origin = function(origin) { if (arguments.length) { this._origin = origin || [0, 0]; return this; } else { return this._origin.slice(); } }; /** * Get / set the scenegraph root. */ prototype$3.scene = function(scene) { if (!arguments.length) return this._scene; this._scene = scene; return this; }; /** * Add an event handler. Subclasses should override this method. */ prototype$3.on = function(/*type, handler*/) {}; /** * Remove an event handler. Subclasses should override this method. */ prototype$3.off = function(/*type, handler*/) {}; /** * Utility method for finding the array index of an event handler. * @param {Array} h - An array of registered event handlers. * @param {string} type - The event type. * @param {function} handler - The event handler instance to find. * @return {number} - The handler's array index or -1 if not registered. */ prototype$3._handlerIndex = function(h, type, handler) { for (var i = h ? h.length : 0; --i>=0;) { if (h[i].type === type && (!handler || h[i].handler === handler)) { return i; } } return -1; }; /** * Returns an array with registered event handlers. * @param {string} [type] - The event type to query. Any annotations * are ignored; for example, for the argument "click.foo", ".foo" will * be ignored and the method returns all "click" handlers. If type is * null or unspecified, this method returns handlers for all types. * @return {Array} - A new array containing all registered event handlers. */ prototype$3.handlers = function(type) { var h = this._handlers, a = [], k; if (type) { a.push.apply(a, h[this.eventName(type)]); } else { for (k in h) { a.push.apply(a, h[k]); } } return a; }; /** * Parses an event name string to return the specific event type. * For example, given "click.foo" returns "click" * @param {string} name - The input event type string. * @return {string} - A string with the event type only. */ prototype$3.eventName = function(name) { var i = name.indexOf('.'); return i < 0 ? name : name.slice(0,i); }; /** * Handle hyperlink navigation in response to an item.href value. * @param {Event} event - The event triggering hyperlink navigation. * @param {Item} item - The scenegraph item. * @param {string} href - The URL to navigate to. */ prototype$3.handleHref = function(event, item, href) { this._loader .sanitize(href, {context:'href'}) .then(function(opt) { var e = new MouseEvent(event.type, event), a = domCreate(null, 'a'); for (var name in opt) a.setAttribute(name, opt[name]); a.dispatchEvent(e); }) .catch(function() { /* do nothing */ }); }; /** * Handle tooltip display in response to an item.tooltip value. * @param {Event} event - The event triggering tooltip display. * @param {Item} item - The scenegraph item. * @param {boolean} show - A boolean flag indicating whether * to show or hide a tooltip for the given item. */ prototype$3.handleTooltip = function(event, item, show) { if (item && item.tooltip != null) { item = resolveItem(item, event, this.canvas(), this._origin); var value = (show && item && item.tooltip) || null; this._tooltip.call(this._obj, this, event, item, value); } }; /** * Returns the size of a scenegraph item and its position relative * to the viewport. * @param {Item} item - The scenegraph item. * @return {object} - A bounding box object (compatible with the * DOMRect type) consisting of x, y, width, heigh, top, left, * right, and bottom properties. */ prototype$3.getItemBoundingClientRect = function(item) { if (!(el = this.canvas())) return; var el, rect = el.getBoundingClientRect(), origin = this._origin, itemBounds = item.bounds, x = itemBounds.x1 + origin[0] + rect.left, y = itemBounds.y1 + origin[1] + rect.top, w = itemBounds.width(), h = itemBounds.height(); // translate coordinate for each parent group while (item.mark && (item = item.mark.group)) { x += item.x || 0; y += item.y || 0; } // return DOMRect-compatible bounding box return { x: x, y: y, width: w, height: h, left: x, top: y, right: x + w, bottom: y + h }; }; /** * Create a new Renderer instance. * @param {object} [loader] - Optional loader instance for * image and href URL sanitization. If not specified, a * standard loader instance will be generated. * @constructor */ function Renderer(loader) { this._el = null; this._bgcolor = null; this._loader = new ResourceLoader(loader); } var prototype$4 = Renderer.prototype; /** * Initialize a new Renderer instance. * @param {DOMElement} el - The containing DOM element for the display. * @param {number} width - The coordinate width of the display, in pixels. * @param {number} height - The coordinate height of the display, in pixels. * @param {Array<number>} origin - The origin of the display, in pixels. * The coordinate system will be translated to this point. * @param {number} [scaleFactor=1] - Optional scaleFactor by which to multiply * the width and height to determine the final pixel size. * @return {Renderer} - This renderer instance. */ prototype$4.initialize = function(el, width, height, origin, scaleFactor) { this._el = el; return this.resize(width, height, origin, scaleFactor); }; /** * Returns the parent container element for a visualization. * @return {DOMElement} - The containing DOM element. */ prototype$4.element = function() { return this._el; }; /** * Returns the scene element (e.g., canvas or SVG) of the visualization * Subclasses must override if the first child is not the scene element. * @return {DOMElement} - The scene (e.g., canvas or SVG) element. */ prototype$4.canvas = function() { return this._el && this._el.firstChild; }; /** * Get / set the background color. */ prototype$4.background = function(bgcolor) { if (arguments.length === 0) return this._bgcolor; this._bgcolor = bgcolor; return this; }; /** * Resize the display. * @param {number} width - The new coordinate width of the display, in pixels. * @param {number} height - The new coordinate height of the display, in pixels. * @param {Array<number>} origin - The new origin of the display, in pixels. * The coordinate system will be translated to this point. * @param {number} [scaleFactor=1] - Optional scaleFactor by which to multiply * the width and height to determine the final pixel size. * @return {Renderer} - This renderer instance; */ prototype$4.resize = function(width, height, origin, scaleFactor) { this._width = width; this._height = height; this._origin = origin || [0, 0]; this._scale = scaleFactor || 1; return this; }; /** * Report a dirty item whose bounds should be redrawn. * This base class method does nothing. Subclasses that perform * incremental should implement this method. * @param {Item} item - The dirty item whose bounds should be redrawn. */ prototype$4.dirty = function(/*item*/) { }; /** * Render an input scenegraph, potentially with a set of dirty items. * This method will perform an immediate rendering with available resources. * The renderer may also need to perform image loading to perform a complete * render. This process can lead to asynchronous re-rendering of the scene * after this method returns. To receive notification when rendering is * complete, use the renderAsync method instead. * @param {object} scene - The root mark of a scenegraph to render. * @return {Renderer} - This renderer instance. */ prototype$4.render = function(scene) { var r = this; // bind arguments into a render call, and cache it // this function may be subsequently called for async redraw r._call = function() { r._render(scene); }; // invoke the renderer r._call(); // clear the cached call for garbage collection // async redraws will stash their own copy r._call = null; return r; }; /** * Internal rendering method. Renderer subclasses should override this * method to actually perform rendering. * @param {object} scene - The root mark of a scenegraph to render. */ prototype$4._render = function(/*scene*/) { // subclasses to override }; /** * Asynchronous rendering method. Similar to render, but returns a Promise * that resolves when all rendering is completed. Sometimes a renderer must * perform image loading to get a complete rendering. The returned * Promise will not resolve until this process completes. * @param {object} scene - The root mark of a scenegraph to render. * @return {Promise} - A Promise that resolves when rendering is complete. */ prototype$4.renderAsync = function(scene) { var r = this.render(scene); return this._ready ? this._ready.then(function() { return r; }) : Promise.resolve(r); }; /** * Internal method for asynchronous resource loading. * Proxies method calls to the ImageLoader, and tracks loading * progress to invoke a re-render once complete. * @param {string} method - The method name to invoke on the ImageLoader. * @param {string} uri - The URI for the requested resource. * @return {Promise} - A Promise that resolves to the requested resource. */ prototype$4._load = function(method, uri) { var r = this, p = r._loader[method](uri); if (!r._ready) { // re-render the scene when loading completes var call = r._call; r._ready = r._loader.ready() .then(function(redraw) { if (redraw) call(); r._ready = null; }); } return p; }; /** * Sanitize a URL to include as a hyperlink in the rendered scene. * This method proxies a call to ImageLoader.sanitizeURL, but also tracks * image loading progress and invokes a re-render once complete. * @param {string} uri - The URI string to sanitize. * @return {Promise} - A Promise that resolves to the sanitized URL. */ prototype$4.sanitizeURL = function(uri) { return this._load('sanitizeURL', uri); }; /** * Requests an image to include in the rendered scene. * This method proxies a call to ImageLoader.loadImage, but also tracks * image loading progress and invokes a re-render once complete. * @param {string} uri - The URI string of the image. * @return {Promise} - A Promise that resolves to the loaded Image. */ prototype$4.loadImage = function(uri) { return this._load('loadImage', uri); }; var Events = [ 'keydown', 'keypress', 'keyup', 'dragenter', 'dragleave', 'dragover', 'mousedown', 'mouseup', 'mousemove', 'mouseout', 'mouseover', 'click', 'dblclick', 'wheel', 'mousewheel', 'touchstart', 'touchmove', 'touchend' ]; var TooltipShowEvent = 'mousemove'; var TooltipHideEvent = 'mouseout'; var HrefEvent = 'click'; function CanvasHandler(loader, tooltip) { Handler.call(this, loader, tooltip); this._down = null; this._touch = null; this._first = true; } var prototype$5 = vegaUtil.inherits(CanvasHandler, Handler); prototype$5.initialize = function(el, origin, obj) { // add event listeners var canvas = this._canvas = el && domFind(el, 'canvas'); if (canvas) { var that = this; this.events.forEach(function(type) { canvas.addEventListener(type, function(evt) { if (prototype$5[type]) { prototype$5[type].call(that, evt); } else { that.fire(type, evt); } }); }); } return Handler.prototype.initialize.call(this, el, origin, obj); }; // return the backing canvas instance prototype$5.canvas = function() { return this._canvas; }; // retrieve the current canvas context prototype$5.context = function() { return this._canvas.getContext('2d'); }; // supported events prototype$5.events = Events; // to keep old versions of firefox happy prototype$5.DOMMouseScroll = function(evt) { this.fire('mousewheel', evt); }; function move(moveEvent, overEvent, outEvent) { return function(evt) { var a = this._active, p = this.pickEvent(evt); if (p === a) { // active item and picked item are the same this.fire(moveEvent, evt); // fire move } else { // active item and picked item are different if (!a || !a.exit) { // fire out for prior active item // suppress if active item was removed from scene this.fire(outEvent, evt); } this._active = p; // set new active item this.fire(overEvent, evt); // fire over for new active item this.fire(moveEvent, evt); // fire move for new active item } }; } function inactive(type) { return function(evt) { this.fire(type, evt); this._active = null; }; } prototype$5.mousemove = move('mousemove', 'mouseover', 'mouseout'); prototype$5.dragover = move('dragover', 'dragenter', 'dragleave'); prototype$5.mouseout = inactive('mouseout'); prototype$5.dragleave = inactive('dragleave'); prototype$5.mousedown = function(evt) { this._down = this._active; this.fire('mousedown', evt); }; prototype$5.click = function(evt) { if (this._down === this._active) { this.fire('click', evt); this._down = null; } }; prototype$5.touchstart = function(evt) { this._touch = this.pickEvent(evt.changedTouches[0]); if (this._first) { this._active = this._touch; this._first = false; } this.fire('touchstart', evt, true); }; prototype$5.touchmove = function(evt) { this.fire('touchmove', evt, true); }; prototype$5.touchend = function(evt) { this.fire('touchend', evt, true); this._touch = null; }; // fire an event prototype$5.fire = function(type, evt, touch) { var a = touch ? this._touch : this._active, h = this._handlers[type], i, len; // set event type relative to scenegraph items evt.vegaType = type; // handle hyperlinks and tooltips first if (type === HrefEvent && a && a.href) { this.handleHref(evt, a, a.href); } else if (type === TooltipShowEvent || type === TooltipHideEvent) { this.handleTooltip(evt, a, type !== TooltipHideEvent); } // invoke all registered handlers if (h) { for (i=0, len=h.length; i<len; ++i) { h[i].handler.call(this._obj, evt, a); } } }; // add an event handler prototype$5.on = function(type, handler) { var name = this.eventName(type), h = this._handlers, i = this._handlerIndex(h[name], type, handler); if (i < 0) { (h[name] || (h[name] = [])).push({ type: type, handler: handler }); } return this; }; // remove an event handler prototype$5.off = function(type, handler) { var name = this.eventName(type), h = this._handlers[name], i = this._handlerIndex(h, type, handler); if (i >= 0) { h.splice(i, 1); } return this; }; prototype$5.pickEvent = function(evt) { var p = point(evt, this._canvas), o = this._origin; return this.pick(this._scene, p[0], p[1], p[0] - o[0], p[1] - o[1]); }; // find the scenegraph item at the current mouse position // x, y -- the absolute x, y mouse coordinates on the canvas element // gx, gy -- the relative coordinates within the current group prototype$5.pick = function(scene, x, y, gx, gy) { var g = this.context(), mark = Marks[scene.marktype]; return mark.pick.call(this, g, scene, x, y, gx, gy); }; function clip$1(context, scene) { var clip = scene.clip; context.save(); context.beginPath(); if (vegaUtil.isFunction(clip)) { clip(context); } else { var group = scene.group; context.rect(0, 0, group.width || 0, group.height || 0); } context.clip(); } function devicePixelRatio() { return typeof window !== 'undefined' ? window.devicePixelRatio || 1 : 1; } var pixelRatio = devicePixelRatio(); function resize(canvas, width, height, origin, scaleFactor, opt) { var inDOM = typeof HTMLElement !== 'undefined' && canvas instanceof HTMLElement && canvas.parentNode != null; var context = canvas.getContext('2d'), ratio = inDOM ? pixelRatio : scaleFactor, key; canvas.width = width * ratio; canvas.height = height * ratio; for (key in opt) { context[key] = opt[key]; } if (inDOM && ratio !== 1) { canvas.style.width = width + 'px'; canvas.style.height = height + 'px'; } context.pixelRatio = ratio; context.setTransform( ratio, 0, 0, ratio, ratio * origin[0], ratio * origin[1] ); return canvas; } function CanvasRenderer(loader) { Renderer.call(this, loader); this._redraw = false; this._dirty = new Bounds(); } var prototype$6 = vegaUtil.inherits(CanvasRenderer, Renderer), base = Renderer.prototype, tempBounds$1 = new Bounds(); prototype$6.initialize = function(el, width, height, origin, scaleFactor, options) { this._options = options; this._canvas = vegaCanvas.canvas(1, 1, options && options.type); // instantiate a small canvas if (el) { domClear(el, 0).appendChild(this._canvas); this._canvas.setAttribute('class', 'marks'); } // this method will invoke resize to size the canvas appropriately return base.initialize.call(this, el, width, height, origin, scaleFactor); }; prototype$6.resize = function(width, height, origin, scaleFactor) { base.resize.call(this, width, height, origin, scaleFactor); resize(this._canvas, this._width, this._height, this._origin, this._scale, this._options && this._options.context); this._redraw = true; return this; }; prototype$6.canvas = function() { return this._canvas; }; prototype$6.context = function() { return this._canvas ? this._canvas.getContext('2d') : null; }; prototype$6.dirty = function(item) { var b = translate$1(item.bounds, item.mark.group); this._dirty.union(b); }; function clipToBounds(g, b, origin) { // expand bounds by 1 pixel, then round to pixel boundaries b.expand(1).round(); // to avoid artifacts translate if origin has fractional pixels b.translate(-(origin[0] % 1), -(origin[1] % 1)); // set clipping path g.beginPath(); g.rect(b.x1, b.y1, b.width(), b.height()); g.clip(); return b; } function translate$1(bounds, group) { if (group == null) return bounds; var b = tempBounds$1.clear().union(bounds); for (; group != null; group = group.mark.group) { b.translate(group.x || 0, group.y || 0); } return b; } prototype$6._render = function(scene) { var g = this.context(), o = this._origin, w = this._width, h = this._height, b = this._dirty; // setup g.save(); if (this._redraw || b.empty()) { this._redraw = false; b = null; } else { b = clipToBounds(g, b, o); } this.clear(-o[0], -o[1], w, h); // render this.draw(g, scene, b); // takedown g.restore(); this._dirty.clear(); return this; }; prototype$6.draw = function(ctx, scene, bounds) { var mark = Marks[scene.marktype]; if (scene.clip) clip$1(ctx, scene); mark.draw.call(this, ctx, scene, bounds); if (scene.clip) ctx.restore(); }; prototype$6.clear = function(x, y, w, h) { var g = this.context(); g.clearRect(x, y, w, h); if (this._bgcolor != null) { g.fillStyle = this._bgcolor; g.fillRect(x, y, w, h); } }; function SVGHandler(loader, tooltip) { Handler.call(this, loader, tooltip); var h = this; h._hrefHandler = listener(h, function(evt, item) { if (item && item.href) h.handleHref(evt, item, item.href); }); h._tooltipHandler = listener(h, function(evt, item) { h.handleTooltip(evt, item, evt.type !== TooltipHideEvent); }); } var prototype$7 = vegaUtil.inherits(SVGHandler, Handler); prototype$7.initialize = function(el, origin, obj) { var svg = this._svg; if (svg) { svg.removeEventListener(HrefEvent, this._hrefHandler); svg.removeEventListener(TooltipShowEvent, this._tooltipHandler); svg.removeEventListener(TooltipHideEvent, this._tooltipHandler); } this._svg = svg = el && domFind(el, 'svg'); if (svg) { svg.addEventListener(HrefEvent, this._hrefHandler); svg.addEventListener(TooltipShowEvent, this._tooltipHandler); svg.addEventListener(TooltipHideEvent, this._tooltipHandler); } return Handler.prototype.initialize.call(this, el, origin, obj); }; prototype$7.canvas = function() { return this._svg; }; // wrap an event listener for the SVG DOM function listener(context, handler) { return function(evt) { var target = evt.target, item = target.__data__; evt.vegaType = evt.type; item = Array.isArray(item) ? item[0] : item; handler.call(context._obj, evt, item); }; } // add an event handler prototype$7.on = function(type, handler) { var name = this.eventName(type), h = this._handlers, i = this._handlerIndex(h[name], type, handler); if (i < 0) { var x = { type: type, handler: handler, listener: listener(this, handler) }; (h[name] || (h[name] = [])).push(x); if (this._svg) { this._svg.addEventListener(name, x.listener); } } return this; }; // remove an event handler prototype$7.off = function(type, handler) { var name = this.eventName(type), h = this._handlers[name], i = this._handlerIndex(h, type, handler); if (i >= 0) { if (this._svg) { this._svg.removeEventListener(name, h[i].listener); } h.splice(i, 1); } return this; }; // generate string for an opening xml tag // tag: the name of the xml tag // attr: hash of attribute name-value pairs to include // raw: additional raw string to include in tag markup function openTag(tag, attr, raw) { var s = '<' + tag, key, val; if (attr) { for (key in attr) { val = attr[key]; if (val != null) { s += ' ' + key + '="' + val + '"'; } } } if (raw) s += ' ' + raw; return s + '>'; } // generate string for closing xml tag // tag: the name of the xml tag function closeTag(tag) { return '</' + tag + '>'; } var metadata = { 'version': '1.1', 'xmlns': 'http://www.w3.org/2000/svg', 'xmlns:xlink': 'http://www.w3.org/1999/xlink' }; var styles = { 'fill': 'fill', 'fillOpacity': 'fill-opacity', 'stroke': 'stroke', 'strokeOpacity': 'stroke-opacity', 'strokeWidth': 'stroke-width', 'strokeCap': 'stroke-linecap', 'strokeJoin': 'stroke-linejoin', 'strokeDash': 'stroke-dasharray', 'strokeDashOffset': 'stroke-dashoffset', 'strokeMiterLimit': 'stroke-miterlimit', 'opacity': 'opacity' }; var styleProperties = Object.keys(styles); var ns = metadata.xmlns; function SVGRenderer(loader) { Renderer.call(this, loader); this._dirtyID = 1; this._dirty = []; this._svg = null; this._root = null; this._defs = null; } var prototype$8 = vegaUtil.inherits(SVGRenderer, Renderer); var base$1 = Renderer.prototype; prototype$8.initialize = function(el, width, height, padding) { if (el) { this._svg = domChild(el, 0, 'svg', ns); this._svg.setAttribute('class', 'marks'); domClear(el, 1); // set the svg root group this._root = domChild(this._svg, 0, 'g', ns); domClear(this._svg, 1); } // create the svg definitions cache this._defs = { gradient: {}, clipping: {} }; // set background color if defined this.background(this._bgcolor); return base$1.initialize.call(this, el, width, height, padding); }; prototype$8.background = function(bgcolor) { if (arguments.length && this._svg) { this._svg.style.setProperty('background-color', bgcolor); } return base$1.background.apply(this, arguments); }; prototype$8.resize = function(width, height, origin, scaleFactor) { base$1.resize.call(this, width, height, origin, scaleFactor); if (this._svg) { this._svg.setAttribute('width', this._width * this._scale); this._svg.setAttribute('height', this._height * this._scale); this._svg.setAttribute('viewBox', '0 0 ' + this._width + ' ' + this._height); this._root.setAttribute('transform', 'translate(' + this._origin + ')'); } this._dirty = []; return this; }; prototype$8.canvas = function() { return this._svg; }; prototype$8.svg = function() { if (!this._svg) return null; var attr = { class: 'marks', width: this._width * this._scale, height: this._height * this._scale, viewBox: '0 0 ' + this._width + ' ' + this._height }; for (var key in metadata) { attr[key] = metadata[key]; } var bg = !this._bgcolor ? '' : (openTag('rect', { width: this._width, height: this._height, style: 'fill: ' + this._bgcolor + ';' }) + closeTag('rect')); return openTag('svg', attr) + bg + this._svg.innerHTML + closeTag('svg'); }; // -- Render entry point -- prototype$8._render = function(scene) { // perform spot updates and re-render markup if (this._dirtyCheck()) { if (this._dirtyAll) this._resetDefs(); this.draw(this._root, scene); domClear(this._root, 1); } this.updateDefs(); this._dirty = []; ++this._dirtyID; return this; }; // -- Manage SVG definitions ('defs') block -- prototype$8.updateDefs = function() { var svg = this._svg, defs = this._defs, el = defs.el, index = 0, id; for (id in defs.gradient) { if (!el) defs.el = (el = domChild(svg, 0, 'defs', ns)); index = updateGradient(el, defs.gradient[id], index); } for (id in defs.clipping) { if (!el) defs.el = (el = domChild(svg, 0, 'defs', ns)); index = updateClipping(el, defs.clipping[id], index); } // clean-up if (el) { if (index === 0) { svg.removeChild(el); defs.el = null; } else { domClear(el, index); } } }; function updateGradient(el, grad, index) { var i, n, stop; if (grad.gradient === 'radial') { // SVG radial gradients automatically transform to normalized bbox // coordinates, in a way that is cumbersome to replicate in canvas. // So we wrap the radial gradient in a pattern element, allowing us // to mantain a circular gradient that matches what canvas provides. var pt = domChild(el, index++, 'pattern', ns); pt.setAttribute('id', patternPrefix + grad.id); pt.setAttribute('viewBox', '0,0,1,1'); pt.setAttribute('width', '100%'); pt.setAttribute('height', '100%'); pt.setAttribute('preserveAspectRatio', 'xMidYMid slice'); pt = domChild(pt, 0, 'rect', ns); pt.setAttribute('width', '1'); pt.setAttribute('height', '1'); pt.setAttribute('fill', 'url(' + href() + '#' + grad.id + ')'); el = domChild(el, index++, 'radialGradient', ns); el.setAttribute('id', grad.id); el.setAttribute('fx', grad.x1); el.setAttribute('fy', grad.y1); el.setAttribute('fr', grad.r1); el.setAttribute('cx', grad.x2); el.setAttribute('cy', grad.y2); el.setAttribute( 'r', grad.r2); } else { el = domChild(el, index++, 'linearGradient', ns); el.setAttribute('id', grad.id); el.setAttribute('x1', grad.x1); el.setAttribute('x2', grad.x2); el.setAttribute('y1', grad.y1); el.setAttribute('y2', grad.y2); } for (i=0, n=grad.stops.length; i<n; ++i) { stop = domChild(el, i, 'stop', ns); stop.setAttribute('offset', grad.stops[i].offset); stop.setAttribute('stop-color', grad.stops[i].color); } domClear(el, i); return index; } function updateClipping(el, clip, index) { var mask; el = domChild(el, index, 'clipPath', ns); el.setAttribute('id', clip.id); if (clip.path) { mask = domChild(el, 0, 'path', ns); mask.setAttribute('d', clip.path); } else { mask = domChild(el, 0, 'rect', ns); mask.setAttribute('x', 0); mask.setAttribute('y', 0); mask.setAttribute('width', clip.width); mask.setAttribute('height', clip.height); } return index + 1; } prototype$8._resetDefs = function() { var def = this._defs; def.gradient = {}; def.clipping = {}; }; // -- Manage rendering of items marked as dirty -- prototype$8.dirty = function(item) { if (item.dirty !== this._dirtyID) { item.dirty = this._dirtyID; this._dirty.push(item); } }; prototype$8.isDirty = function(item) { return this._dirtyAll || !item._svg || item.dirty === this._dirtyID; }; prototype$8._dirtyCheck = function() { this._dirtyAll = true; var items = this._dirty; if (!items.length) return true; var id = ++this._dirtyID, item, mark, type, mdef, i, n, o; for (i=0, n=items.length; i<n; ++i) { item = items[i]; mark = item.mark; if (mark.marktype !== type) { // memoize mark instance lookup type = mark.marktype; mdef = Marks[type]; } if (mark.zdirty && mark.dirty !== id) { this._dirtyAll = false; dirtyParents(item, id); mark.items.forEach(function(i) { i.dirty = id; }); } if (mark.zdirty) continue; // handle in standard drawing pass if (item.exit) { // EXIT if (mdef.nested && mark.items.length) { // if nested mark with remaining points, update instead o = mark.items[0]; if (o._svg) this._update(mdef, o._svg, o); } else if (item._svg) { // otherwise remove from DOM o = item._svg.parentNode; if (o) o.removeChild(item._svg); } item._svg = null; continue; } item = (mdef.nested ? mark.items[0] : item); if (item._update === id) continue; // already visited if (!item._svg || !item._svg.ownerSVGElement) { // ENTER this._dirtyAll = false; dirtyParents(item, id); } else { // IN-PLACE UPDATE this._update(mdef, item._svg, item); } item._update = id; } return !this._dirtyAll; }; function dirtyParents(item, id) { for (; item && item.dirty !== id; item=item.mark.group) { item.dirty = id; if (item.mark && item.mark.dirty !== id) { item.mark.dirty = id; } else return; } } // -- Construct & maintain scenegraph to SVG mapping --- // Draw a mark container. prototype$8.draw = function(el, scene, prev) { if (!this.isDirty(scene)) return scene._svg; var renderer = this, svg = this._svg, mdef = Marks[scene.marktype], events = scene.interactive === false ? 'none' : null, isGroup = mdef.tag === 'g', sibling = null, i = 0, parent; parent = bind(scene, el, prev, 'g', svg); parent.setAttribute('class', cssClass(scene)); if (!isGroup) { parent.style.setProperty('pointer-events', events); } if (scene.clip) { parent.setAttribute('clip-path', clip(renderer, scene, scene.group)); } else { parent.removeAttribute('clip-path'); } function process(item) { var dirty = renderer.isDirty(item), node = bind(item, parent, sibling, mdef.tag, svg); if (dirty) { renderer._update(mdef, node, item); if (isGroup) recurse(renderer, node, item); } sibling = node; ++i; } if (mdef.nested) { if (scene.items.length) process(scene.items[0]); } else { visit(scene, process); } domClear(parent, i); return parent; }; // Recursively process group contents. function recurse(renderer, el, group) { el = el.lastChild; var prev, idx = 0; visit(group, function(item) { prev = renderer.draw(el, item, prev); ++idx; }); // remove any extraneous DOM elements domClear(el, 1 + idx); } // Bind a scenegraph item to an SVG DOM element. // Create new SVG elements as needed. function bind(item, el, sibling, tag, svg) { var node = item._svg, doc; // create a new dom node if needed if (!node) { doc = el.ownerDocument; node = domCreate(doc, tag, ns); item._svg = node; if (item.mark) { node.__data__ = item; node.__values__ = {fill: 'default'}; // if group, create background and foreground elements if (tag === 'g') { var bg = domCreate(doc, 'path', ns); bg.setAttribute('class', 'background'); node.appendChild(bg); bg.__data__ = item; var fg = domCreate(doc, 'g', ns); node.appendChild(fg); fg.__data__ = item; } } } // (re-)insert if (a) not contained in SVG or (b) sibling order has changed if (node.ownerSVGElement !== svg || hasSiblings(item) && node.previousSibling !== sibling) { el.insertBefore(node, sibling ? sibling.nextSibling : el.firstChild); } return node; } function hasSiblings(item) { var parent = item.mark || item.group; return parent && parent.items.length > 1; } // -- Set attributes & styles on SVG elements --- var element = null, // temp var for current SVG element values = null; // temp var for current values hash // Extra configuration for certain mark types var mark_extras = { group: function(mdef, el, item) { values = el.__values__; // use parent's values hash element = el.childNodes[1]; mdef.foreground(emit, item, this); element = el.childNodes[0]; mdef.background(emit, item, this); var value = item.mark.interactive === false ? 'none' : null; if (value !== values.events) { element.style.setProperty('pointer-events', value); values.events = value; } }, text: function(mdef, el, item) { var value; value = textValue(item); if (value !== values.text) { el.textContent = value; values.text = value; } setStyle(el, 'font-family', fontFamily(item)); setStyle(el, 'font-size', fontSize(item) + 'px'); setStyle(el, 'font-style', item.fontStyle); setStyle(el, 'font-variant', item.fontVariant); setStyle(el, 'font-weight', item.fontWeight); } }; function setStyle(el, name, value) { if (value !== values[name]) { if (value == null) { el.style.removeProperty(name); } else { el.style.setProperty(name, value + ''); } values[name] = value; } } prototype$8._update = function(mdef, el, item) { // set dom element and values cache // provides access to emit method element = el; values = el.__values__; // apply svg attributes mdef.attr(emit, item, this); // some marks need special treatment var extra = mark_extras[mdef.type]; if (extra) extra.call(this, mdef, el, item); // apply svg css styles // note: element may be modified by 'extra' method this.style(element, item); }; function emit(name, value, ns) { // early exit if value is unchanged if (value === values[name]) return; if (value != null) { // if value is provided, update DOM attribute if (ns) { element.setAttributeNS(ns, name, value); } else { element.setAttribute(name, value); } } else { // else remove DOM attribute if (ns) { element.removeAttributeNS(ns, name); } else { element.removeAttribute(name); } } // note current value for future comparison values[name] = value; } prototype$8.style = function(el, o) { if (o == null) return; var i, n, prop, name, value; for (i=0, n=styleProperties.length; i<n; ++i) { prop = styleProperties[i]; value = o[prop]; if (prop === 'font') { value = fontFamily(o); } if (value === values[prop]) continue; name = styles[prop]; if (value == null) { if (name === 'fill') { el.style.setProperty(name, 'none'); } else { el.style.removeProperty(name); } } else { if (isGradient(value)) { value = gradientRef(value, this._defs.gradient, href()); } el.style.setProperty(name, value + ''); } values[prop] = value; } }; function href() { var loc; return typeof window === 'undefined' ? '' : (loc = window.location).hash ? loc.href.slice(0, -loc.hash.length) : loc.href; } function SVGStringRenderer(loader) { Renderer.call(this, loader); this._text = { head: '', bg: '', root: '', foot: '', defs: '', body: '' }; this._defs = { gradient: {}, clipping: {} }; } var prototype$9 = vegaUtil.inherits(SVGStringRenderer, Renderer); var base$2 = Renderer.prototype; prototype$9.resize = function(width, height, origin, scaleFactor) { base$2.resize.call(this, width, height, origin, scaleFactor); var o = this._origin, t = this._text; var attr = { class: 'marks', width: this._width * this._scale, height: this._height * this._scale, viewBox: '0 0 ' + this._width + ' ' + this._height }; for (var key in metadata) { attr[key] = metadata[key]; } t.head = openTag('svg', attr); var bg = this._bgcolor; if (bg === 'transparent' || bg === 'none') bg = null; if (bg) { t.bg = openTag('rect', { width: this._width, height: this._height, style: 'fill: ' + bg + ';' }) + closeTag('rect'); } else { t.bg = ''; } t.root = openTag('g', { transform: 'translate(' + o + ')' }); t.foot = closeTag('g') + closeTag('svg'); return this; }; prototype$9.background = function() { var rv = base$2.background.apply(this, arguments); if (arguments.length && this._text.head) { this.resize(this._width, this._height, this._origin, this._scale); } return rv; }; prototype$9.svg = function() { var t = this._text; return t.head + t.bg + t.defs + t.root + t.body + t.foot; }; prototype$9._render = function(scene) { this._text.body = this.mark(scene); this._text.defs = this.buildDefs(); return this; }; prototype$9.buildDefs = function() { var all = this._defs, defs = '', i, id, def, tag, stops; for (id in all.gradient) { def = all.gradient[id]; stops = def.stops; if (def.gradient === 'radial') { // SVG radial gradients automatically transform to normalized bbox // coordinates, in a way that is cumbersome to replicate in canvas. // So we wrap the radial gradient in a pattern element, allowing us // to mantain a circular gradient that matches what canvas provides. defs += openTag(tag = 'pattern', { id: patternPrefix + id, viewBox: '0,0,1,1', width: '100%', height: '100%', preserveAspectRatio: 'xMidYMid slice' }); defs += openTag('rect', { width: '1', height: '1', fill: 'url(#' + id + ')' }) + closeTag('rect'); defs += closeTag(tag); defs += openTag(tag = 'radialGradient', { id: id, fx: def.x1, fy: def.y1, fr: def.r1, cx: def.x2, cy: def.y2, r: def.r2 }); } else { defs += openTag(tag = 'linearGradient', { id: id, x1: def.x1, x2: def.x2, y1: def.y1, y2: def.y2 }); } for (i=0; i<stops.length; ++i) { defs += openTag('stop', { offset: stops[i].offset, 'stop-color': stops[i].color }) + closeTag('stop'); } defs += closeTag(tag); } for (id in all.clipping) { def = all.clipping[id]; defs += openTag('clipPath', {id: id}); if (def.path) { defs += openTag('path', { d: def.path }) + closeTag('path'); } else { defs += openTag('rect', { x: 0, y: 0, width: def.width, height: def.height }) + closeTag('rect'); } defs += closeTag('clipPath'); } return (defs.length > 0) ? openTag('defs') + defs + closeTag('defs') : ''; }; var object; function emit$1(name, value, ns, prefixed) { object[prefixed || name] = value; } prototype$9.attributes = function(attr, item) { object = {}; attr(emit$1, item, this); return object; }; prototype$9.href = function(item) { var that = this, href = item.href, attr; if (href) { if (attr = that._hrefs && that._hrefs[href]) { return attr; } else { that.sanitizeURL(href).then(function(attr) { // rewrite to use xlink namespace // note that this will be deprecated in SVG 2.0 attr['xlink:href'] = attr.href; attr.href = null; (that._hrefs || (that._hrefs = {}))[href] = attr; }); } } return null; }; prototype$9.mark = function(scene) { var renderer = this, mdef = Marks[scene.marktype], tag = mdef.tag, defs = this._defs, str = '', style; if (tag !== 'g' && scene.interactive === false) { style = 'style="pointer-events: none;"'; } // render opening group tag str += openTag('g', { 'class': cssClass(scene), 'clip-path': scene.clip ? clip(renderer, scene, scene.group) : null }, style); // render contained elements function process(item) { var href = renderer.href(item); if (href) str += openTag('a', href); style = (tag !== 'g') ? applyStyles(item, scene, tag, defs) : null; str += openTag(tag, renderer.attributes(mdef.attr, item), style); if (tag === 'text') { str += escape_text(textValue(item)); } else if (tag === 'g') { str += openTag('path', renderer.attributes(mdef.background, item), applyStyles(item, scene, 'bgrect', defs)) + closeTag('path'); str += openTag('g', renderer.attributes(mdef.foreground, item)) + renderer.markGroup(item) + closeTag('g'); } str += closeTag(tag); if (href) str += closeTag('a'); } if (mdef.nested) { if (scene.items && scene.items.length) process(scene.items[0]); } else { visit(scene, process); } // render closing group tag return str + closeTag('g'); }; prototype$9.markGroup = function(scene) { var renderer = this, str = ''; visit(scene, function(item) { str += renderer.mark(item); }); return str; }; function applyStyles(o, mark, tag, defs) { if (o == null) return ''; var i, n, prop, name, value, s = ''; if (tag === 'bgrect' && mark.interactive === false) { s += 'pointer-events: none; '; } if (tag === 'text') { s += 'font-family: ' + fontFamily(o) + '; '; s += 'font-size: ' + fontSize(o) + 'px; '; if (o.fontStyle) s += 'font-style: ' + o.fontStyle + '; '; if (o.fontVariant) s += 'font-variant: ' + o.fontVariant + '; '; if (o.fontWeight) s += 'font-weight: ' + o.fontWeight + '; '; } for (i=0, n=styleProperties.length; i<n; ++i) { prop = styleProperties[i]; name = styles[prop]; value = o[prop]; if (value == null) { if (name === 'fill') { s += 'fill: none; '; } } else if (value === 'transparent' && (name === 'fill' || name === 'stroke')) { // transparent is not a legal SVG value, so map to none instead s += name + ': none; '; } else { if (isGradient(value)) { value = gradientRef(value, defs.gradient, ''); } s += name + ': ' + value + '; '; } } return s ? 'style="' + s.trim() + '"' : null; } function escape_text(s) { return s.replace(/&/g, '&amp;') .replace(/</g, '&lt;') .replace(/>/g, '&gt;'); } var Canvas = 'canvas'; var PNG = 'png'; var SVG = 'svg'; var None = 'none'; var RenderType = { Canvas: Canvas, PNG: PNG, SVG: SVG, None: None }; var modules = {}; modules[Canvas] = modules[PNG] = { renderer: CanvasRenderer, headless: CanvasRenderer, handler: CanvasHandler }; modules[SVG] = { renderer: SVGRenderer, headless: SVGStringRenderer, handler: SVGHandler }; modules[None] = {}; function renderModule(name, _) { name = String(name || '').toLowerCase(); if (arguments.length > 1) { modules[name] = _; return this; } else { return modules[name]; } } function intersect(scene, bounds, filter) { const hits = [], // intersection results box = new Bounds().union(bounds), // defensive copy type = scene.marktype; return type ? intersectMark(scene, box, filter, hits) : type === 'group' ? intersectGroup(scene, box, filter, hits) : vegaUtil.error('Intersect scene must be mark node or group item.'); } function intersectMark(mark, box, filter, hits) { if (visitMark(mark, box, filter)) { const items = mark.items, type = mark.marktype, n = items.length; let i = 0; if (type === 'group') { for (; i<n; ++i) { intersectGroup(items[i], box, filter, hits); } } else { for (const test = Marks[type].isect; i<n; ++i) { let item = items[i]; if (intersectItem(item, box, test)) hits.push(item); } } } return hits; } function visitMark(mark, box, filter) { // process if bounds intersect and if // (1) mark is a group mark (so we must recurse), or // (2) mark is interactive and passes filter return mark.bounds && box.intersects(mark.bounds) && ( mark.marktype === 'group' || mark.interactive !== false && (!filter || filter(mark)) ); } function intersectGroup(group, box, filter, hits) { // test intersect against group // skip groups by default unless filter says otherwise if ((filter && filter(group.mark)) && intersectItem(group, box, Marks.group.isect)) { hits.push(group); } // recursively test children marks // translate box to group coordinate space const marks = group.items, n = marks && marks.length; if (n) { const x = group.x || 0, y = group.y || 0; box.translate(-x, -y); for (let i=0; i<n; ++i) { intersectMark(marks[i], box, filter, hits); } box.translate(x, y); } return hits; } function intersectItem(item, box, test) { // test bounds enclosure, bounds intersection, then detailed test const bounds = item.bounds; return box.encloses(bounds) || (box.intersects(bounds) && test(item, box)); } var clipBounds = new Bounds(); function boundClip(mark) { var clip = mark.clip; if (vegaUtil.isFunction(clip)) { clip(context(clipBounds.clear())); } else if (clip) { clipBounds.set(0, 0, mark.group.width, mark.group.height); } else return; mark.bounds.intersect(clipBounds); } var TOLERANCE = 1e-9; function sceneEqual(a, b, key) { return (a === b) ? true : (key === 'path') ? pathEqual(a, b) : (a instanceof Date && b instanceof Date) ? +a === +b : (vegaUtil.isNumber(a) && vegaUtil.isNumber(b)) ? Math.abs(a - b) <= TOLERANCE : (!a || !b || !vegaUtil.isObject(a) && !vegaUtil.isObject(b)) ? a == b : (a == null || b == null) ? false : objectEqual(a, b); } function pathEqual(a, b) { return sceneEqual(pathParse(a), pathParse(b)); } function objectEqual(a, b) { var ka = Object.keys(a), kb = Object.keys(b), key, i; if (ka.length !== kb.length) return false; ka.sort(); kb.sort(); for (i = ka.length - 1; i >= 0; i--) { if (ka[i] != kb[i]) return false; } for (i = ka.length - 1; i >= 0; i--) { key = ka[i]; if (!sceneEqual(a[key], b[key], key)) return false; } return typeof a === typeof b; } exports.Bounds = Bounds; exports.CanvasHandler = CanvasHandler; exports.CanvasRenderer = CanvasRenderer; exports.Gradient = Gradient; exports.GroupItem = GroupItem; exports.Handler = Handler; exports.Item = Item; exports.Marks = Marks; exports.RenderType = RenderType; exports.Renderer = Renderer; exports.ResourceLoader = ResourceLoader; exports.SVGHandler = SVGHandler; exports.SVGRenderer = SVGRenderer; exports.SVGStringRenderer = SVGStringRenderer; exports.Scenegraph = Scenegraph; exports.boundClip = boundClip; exports.boundContext = context; exports.boundItem = boundItem; exports.boundMark = boundMark; exports.boundStroke = boundStroke; exports.closeTag = closeTag; exports.domChild = domChild; exports.domClear = domClear; exports.domCreate = domCreate; exports.domFind = domFind; exports.font = font; exports.fontFamily = fontFamily; exports.fontSize = fontSize; exports.intersect = intersect; exports.intersectBoxLine = intersectBoxLine; exports.intersectPath = intersectPath; exports.intersectPoint = intersectPoint; exports.intersectRule = intersectRule; exports.openTag = openTag; exports.pathCurves = curves; exports.pathEqual = pathEqual; exports.pathParse = pathParse; exports.pathRectangle = vg_rect; exports.pathRender = pathRender; exports.pathSymbols = symbols; exports.pathTrail = vg_trail; exports.point = point; exports.renderModule = renderModule; exports.resetSVGClipId = resetSVGClipId; exports.sceneEqual = sceneEqual; exports.sceneFromJSON = sceneFromJSON; exports.scenePickVisit = pickVisit; exports.sceneToJSON = sceneToJSON; exports.sceneVisit = visit; exports.sceneZOrder = zorder; exports.textMetrics = textMetrics; Object.defineProperty(exports, '__esModule', { value: true }); }));
soarsmu/HERMES
experiment.py
from loader import data_loader from utils import print_line_seperator from sklearn.feature_extraction.text import CountVectorizer from sklearn.model_selection import KFold from sklearn.linear_model import LogisticRegression from sklearn import metrics from sklearn import svm import numpy as np import random import data_preprocessor import feature_options import click import utils import pandas as pd import datetime from sklearn.feature_extraction.text import TfidfVectorizer import os np.random.seed(109) file_path = 'MSR2019/experiment/full_dataset_with_all_features.txt' options = feature_options.ExperimentOption() def preprocess_data(records, options): print("Start preprocessing commit messages and commit file patches...") records = [data_preprocessor.preprocess_single_record(record, options) for record in records] print("Finish preprocessing commit messages commit file patches...") return records def filter_using_tf_idf_threshold(records, options): print("Filtering using tf-idf threshold...") issue_tfidf_vectorizer = TfidfVectorizer(min_df=options.min_document_frequency) issue_corpus = [] record_to_corpus_id = {} corpus_count = -1 for record in records: if record.issue_info is not None and record.issue_info != '': corpus_count += 1 issue_corpus.append(record.issue_info) record_to_corpus_id[record.id] = corpus_count tfidf_matrix = issue_tfidf_vectorizer.fit_transform(issue_corpus) feature_names = issue_tfidf_vectorizer.get_feature_names() for record in records: if record.issue_info is not None and record.issue_info != '': # get tf-idf score for every word in document doc = record_to_corpus_id[record.id] feature_index = tfidf_matrix[doc, :].nonzero()[1] tfidf_scores = zip(feature_index, [tfidf_matrix[doc, x] for x in feature_index]) token_to_tfidf = {} for token, value in [(feature_names[i], s) for (i, s) in tfidf_scores]: token_to_tfidf[token] = value # generate new issue info contains only valuable terms new_issue_info = '' for token in record.issue_info.split(' '): if token in token_to_tfidf and token_to_tfidf[token] >= options.tf_idf_threshold: new_issue_info = new_issue_info + token + ' ' record.issue_info = new_issue_info print("Finish filtering using tf-idf threshold...") return records def calculate_vocabulary(records, train_data_indices, commit_message_vectorizer, issue_vectorizer, patch_vectorizer, options): if options.use_issue_classifier and options.tf_idf_threshold != -1: records = filter_using_tf_idf_threshold(records, options) # print("Calculating bag of words for log message in train data only") commit_message_vectorizer.fit([records[index].commit_message for index in train_data_indices]) if options.use_issue_classifier: issue_vectorizer.fit([records[index].issue_info for index in train_data_indices if records[index].issue_info != '']) # print("Calculating bag of words for patch in train data only") patch_corpus = [] for index in train_data_indices: record = records[index] patch_corpus.append(' '.join([file.patch for file in record.commit.files if file.patch is not None])) patch_vectorizer.fit(patch_corpus) def retrieve_false_positive_negative(y_pred, y_test): false_positives = [] false_negatives = [] for i in range(len(y_pred)): if y_pred[i] == 1 and y_test[i] == 0: false_positives.append(i) if y_pred[i] == 0 and y_test[i] == 1: false_negatives.append(i) return false_positives, false_negatives def svm_classify(classifier, x_train, x_test, y_train, y_test): classifier.fit(x_train, y_train) y_pred = classifier.predict(x_test) train_predict_prob = [] for predict_prob in classifier.predict_proba(x_train): train_predict_prob.append(predict_prob[0]) test_predict_prob = [] for predict_prob in classifier.predict_proba(x_test): test_predict_prob.append(predict_prob[0]) false_positives, false_negatives = retrieve_false_positive_negative(y_pred, y_test) return metrics.precision_score(y_true=y_test, y_pred=y_pred), \ metrics.recall_score(y_true=y_test, y_pred=y_pred), \ metrics.f1_score(y_true=y_test, y_pred=y_pred), y_pred, train_predict_prob, test_predict_prob, false_positives, false_negatives def retrieve_label(records): target = [record.label for record in records] target = np.array(target) return target def calculate_log_message_feature_vector(records, commit_message_vectorizer): commit_message_features = [commit_message_vectorizer.transform([record.commit_message]).toarray()[0] for record in records] commit_message_features = np.array(commit_message_features) return commit_message_features, retrieve_label(records) def calculate_issue_feature_vector(records, issue_vectorizer): issue_features = [issue_vectorizer.transform([record.issue_info]).toarray()[0] for record in records if record.issue_info != ''] issue_features = np.array(issue_features) records_with_issue_info = [record for record in records if record.issue_info != ''] return issue_features, retrieve_label(records_with_issue_info) def get_join_patch(record): result = ' '.join([file.patch for file in record.commit.files if file.patch is not None]) if result is None: return ' ' return result def calculate_patch_feature_vector(records, patch_vectorizer): patch_features = [patch_vectorizer.transform([get_join_patch(record)]).toarray()[0] for record in records] patch_features = np.array(patch_features) target = [record.label for record in records] target = np.array(target) return patch_features, target def log_message_classify(classifier, x_train, y_train, x_test, y_test): # print("Start log message classification...") precision, recall, f1, log_message_pred, log_message_train_predict_prob, log_message_test_predict_prob, false_positives, false_negatives \ = svm_classify(classifier, x_train, x_test, y_train, y_test) # print("Precision: {}".format(precision)) # print("Recall: {}".format(recall)) return precision, recall, f1, log_message_pred, log_message_train_predict_prob, log_message_test_predict_prob, false_positives, false_negatives def issue_classify(classifier, x_train, y_train, x_test, y_test, train_data, test_data): precision, recall, f1, issue_pred, issue_train_predict_prob, issue_test_predict_prob, false_positives, false_negatives\ = svm_classify(classifier, x_train, x_test, y_train, y_test) id_to_issue_train_predict_prob = {} index = 0 for record in train_data: if record.issue_info != '': id_to_issue_train_predict_prob[record.id] = issue_train_predict_prob[index] index += 1 id_to_issue_test_predict_prob = {} index = 0 for record in test_data: if record.issue_info != '': id_to_issue_test_predict_prob[record.id] = issue_test_predict_prob[index] index += 1 return precision, recall, f1, \ issue_pred, id_to_issue_train_predict_prob, id_to_issue_test_predict_prob, \ false_positives, false_negatives def patch_classify(classifier, x_train, y_train, x_test, y_test): # print("Start patch classification...") precision, recall, f1, patch_pred, patch_train_predict_prob, patch_test_predict_prob, false_positives, false_negatives\ = svm_classify(classifier, x_train, x_test, y_train, y_test) # print("Precision: {}".format(precision)) # print("Recall: {}".format(recall)) return precision, recall, f1, patch_pred, patch_train_predict_prob, patch_test_predict_prob, false_positives, false_negatives def retrieve_data(records, train_data_indices, test_data_indices): train_data = [records[index] for index in train_data_indices] test_data = [records[index] for index in test_data_indices] return train_data, test_data def measure_joint_model(log_message_prediction, issue_prediction, patch_prediction, log_message_test_predict_prob, patch_test_predict_prob, test_data_labels, options): join_prediction = [] for index in range(len(log_message_prediction)): if options.use_issue_classifier: join_prediction.append(int(log_message_prediction[index] or patch_prediction[index] or issue_prediction[index])) else: join_prediction.append(int(log_message_prediction[index] or patch_prediction[index])) # precision = metrics.precision_score(y_pred=join_prediction, y_true=test_data_labels) # recall = metrics.recall_score(y_pred=join_prediction, y_true=test_data_labels) # f1 = metrics.f1_score(y_pred=join_prediction, y_true=test_data_labels) log_neg_probs = log_message_test_predict_prob log_pos_probs = [1 - prob for prob in log_neg_probs] patch_neg_probs = patch_test_predict_prob patch_pos_probs = [1 - prob for prob in patch_neg_probs] y_pos_probs = [] for i, log_prob in enumerate(log_pos_probs): y_pos_probs.append(max(log_prob, patch_pos_probs[i])) y_neg_probs = [] for i, log_prob in enumerate(log_neg_probs): y_neg_probs.append(max(log_prob, patch_neg_probs[i])) precision = metrics.precision_score(y_pred=join_prediction, y_true=test_data_labels) recall = metrics.recall_score(y_pred=join_prediction, y_true=test_data_labels) f1 = metrics.f1_score(y_pred=join_prediction, y_true=test_data_labels) auc_roc = metrics.roc_auc_score(y_true=test_data_labels, y_score=y_pos_probs) auc_pr = metrics.average_precision_score(y_true=test_data_labels, y_score=y_pos_probs) return precision, recall, f1, auc_roc, auc_pr def measure_joint_model_using_logistic_regression(train_data, test_data, log_message_train_predict_prob, id_to_issue_train_predict_prob, patch_train_predict_prob, log_message_test_predict_prob, id_to_issue_test_predict_prob, patch_test_predict_prob, options, output_file_name): ensemble_classifier = LogisticRegression() issue_train_mean_probability = None issue_test_mean_probability = None if options.use_issue_classifier: issue_train_mean_probability = np.mean([prob for id, prob in id_to_issue_train_predict_prob.items()]) issue_test_mean_probability = np.mean([prob for id, prob in id_to_issue_test_predict_prob.items()]) y_train = retrieve_label(train_data) X_train = [] lines = "" for index in range(len(train_data)): if options.use_issue_classifier: if train_data[index].id in id_to_issue_train_predict_prob: X_train.append([log_message_train_predict_prob[index], id_to_issue_train_predict_prob[train_data[index].id], patch_train_predict_prob[index]]) lines = lines + str(log_message_train_predict_prob[index]) + '\t\t' \ + str(id_to_issue_train_predict_prob[train_data[index].id]) \ + '\t\t' + str(patch_train_predict_prob[index]) + '\n' else: X_train.append( [log_message_train_predict_prob[index], issue_train_mean_probability, patch_train_predict_prob[index]]) else: X_train.append([log_message_train_predict_prob[index], patch_train_predict_prob[index]]) lines = lines + "@@\n" y_test = retrieve_label(test_data) X_test = [] for index in range(len(test_data)): if options.use_issue_classifier: if test_data[index].id in id_to_issue_test_predict_prob: X_test.append( [log_message_test_predict_prob[index], id_to_issue_test_predict_prob[test_data[index].id], patch_test_predict_prob[index]]) lines = lines + str(log_message_test_predict_prob[index]) \ + '\t\t' + str(id_to_issue_test_predict_prob[test_data[index].id]) \ + '\t\t' + str(patch_test_predict_prob[index]) + '\n' else: X_test.append( [log_message_train_predict_prob[index], issue_test_mean_probability, patch_train_predict_prob[index]]) else: X_test.append([log_message_test_predict_prob[index], patch_test_predict_prob[index]]) lines = lines + "@@\n" ensemble_classifier.fit(X=X_train, y=y_train) y_pred = ensemble_classifier.predict(X=X_test) y_prob = ensemble_classifier.predict_proba(X=X_test)[:, 1] joint_precision = metrics.precision_score(y_pred=y_pred, y_true=y_test) joint_recall = metrics.recall_score(y_pred=y_pred, y_true=y_test) joint_f1 = metrics.f1_score(y_pred=y_pred, y_true=y_test) joint_auc_roc = metrics.roc_auc_score(y_true=y_test, y_score=y_prob) joint_auc_pr = metrics.average_precision_score(y_true=y_test, y_score=y_prob) false_positives, false_negatives = retrieve_false_positive_negative(y_pred=y_pred, y_test=y_test) for label in y_train: lines = lines + str(label) + '\n' lines = lines + "@@\n" for label in y_test: lines = lines + str(label) + '\n' return joint_precision, joint_recall, joint_f1, joint_auc_roc, joint_auc_pr, false_positives, false_negatives, lines def get_list_value_from_string(input): return list(map(float, input.strip('[]').split(','))) def retrieve_word_frequency(): # do_experiment(get_list_value_from_string(sys.argv[1])) records = data_loader.load_records(file_path) records = preprocess_data(records, options) vectorizer = CountVectorizer() transformed_data = vectorizer.fit_transform([record.commit_message for record in records]) words = vectorizer.get_feature_names() frequencies = np.ravel(transformed_data.sum(axis=0)).tolist() word_frequency_pair_list = [] for i in range(len(words)): if not words[i].isdigit(): word_frequency_pair_list.append((words[i], frequencies[i])) word_frequency_pair_list.sort(key=lambda x: x[1]) with open('MSR2019/experiment/statistics/term_frequencies.txt', 'w') as file: for word, frequencies in word_frequency_pair_list: file.write(str(frequencies) + '\t\t' + word + '\n') def write_false_index_to_file(false_positive_message_records, false_negative_message_records, false_positive_issue_records, false_negative_issue_records, false_positive_patch_records, false_negative_patch_records, false_positive_joint_records, false_negative_joint_records): date = datetime.datetime.now().date() time = datetime.datetime.now().time() time = str(time).replace(":", "_") print("Writing false cases at {}".format(str(date) + "_" + str(time))) utils.write_lines(false_positive_message_records, "MSR2019/experiment/statistics/false_positive/message_" + str(date) + "_" + str(time) + ".txt") utils.write_lines(false_negative_message_records, "MSR2019/experiment/statistics/false_negative/message_" + str(date) + "_" + str(time) + ".txt") utils.write_lines(false_positive_issue_records, "MSR2019/experiment/statistics/false_positive/issue_" + str(date) + "_" + str(time) + ".txt") utils.write_lines(false_negative_issue_records, "MSR2019/experiment/statistics/false_negative/issue_" + str(date) + "_" + str(time) + ".txt") utils.write_lines(false_positive_patch_records, "MSR2019/experiment/statistics/false_positive/patch_" + str(date) + "_" + str(time) + ".txt") utils.write_lines(false_negative_patch_records, "MSR2019/experiment/statistics/false_negative/patch_" + str(date) + "_" + str(time) + ".txt") utils.write_lines(false_positive_joint_records, "MSR2019/experiment/statistics/false_positive/joint_" + str(date) + "_" + str(time) + ".txt") utils.write_lines(false_negative_joint_records, "MSR2019/experiment/statistics/false_negative/joint_" + str(date) + "_" + str(time) + ".txt") def to_record_ids(false_positives, test_data_indices): record_ids = [] for index in false_positives: record_ids.append(test_data_indices[index].id) return record_ids def retrieve_top_features(classifier, vectorizer): print("Feature names with co-efficient scores:") feature_names = vectorizer.get_feature_names() coefs_with_fns = sorted(zip(classifier.coef_[0], feature_names)) df = pd.DataFrame(coefs_with_fns) df.columns = "coefficient", "word" df.sort_values(by="coefficient") df_pos = df.tail(30) df_pos.style.set_caption("security related words") print(df_pos.to_string()) print_line_seperator() df_neg = df.head(30) df_neg.style.set_caption("security un-related words") print(df_neg.to_string()) print_line_seperator() @click.command() @click.option('-s', '--size', default=-1) @click.option('--ignore_number', default=True) @click.option('--github_issue', default=True, type=bool) @click.option('--jira_ticket', default=True, type=bool) @click.option('--use_comments', default=True, type=bool) @click.option('-w', '--positive_weights', multiple=True, default=[0.5], type=float) @click.option('--n_gram', default=1) @click.option('--min_df', default=1) @click.option('--use_linked_commits_only', default=False, type=bool) @click.option('--use_issue_classifier', default=True, type=bool) @click.option('--fold_to_run', default=10, type=int) @click.option('--use_stacking_ensemble', default=True, type=bool) @click.option('--dataset', default='', type=str) @click.option('--tf-idf-threshold', default=-1, type=float) @click.option('--use-patch-context-lines', default=False, type=bool) @click.option('--run-fold', default=-1, type=int) def do_experiment(size, ignore_number, github_issue, jira_ticket, use_comments, positive_weights, n_gram, min_df, use_linked_commits_only, use_issue_classifier, fold_to_run, use_stacking_ensemble, dataset, tf_idf_threshold, use_patch_context_lines, run_fold): global file_path if dataset != '': file_path = 'MSR2019/experiment/' + dataset print("Dataset: {}".format(file_path)) options = feature_options.read_option_from_command_line(size, 0, ignore_number, github_issue, jira_ticket, use_comments, positive_weights, n_gram, min_df, use_linked_commits_only, use_issue_classifier, fold_to_run, use_stacking_ensemble, tf_idf_threshold, use_patch_context_lines) commit_message_vectorizer = CountVectorizer(ngram_range=(1, options.max_n_gram)) issue_vectorizer = CountVectorizer(ngram_range=(1, options.max_n_gram), min_df=options.min_document_frequency) patch_vectorizer = CountVectorizer() positive_weights = options.positive_weights records = data_loader.load_records(file_path) random.shuffle(records) if options.use_linked_commits_only: new_records = [] for record in records: if len(record.github_issue_list) > 0 or len(record.jira_ticket_list) > 0: new_records.append(record) records = new_records if options.data_set_size != -1: records = records[:options.data_set_size] records = preprocess_data(records, options) k_fold = KFold(n_splits=10, shuffle=True, random_state=109) weight_to_log_classifier = {} weight_to_patch_classifier = {} weight_to_issue_classifier = {} weight_to_log_precisions = {} weight_to_log_recalls = {} weight_to_log_f1s = {} weight_to_patch_precisions = {} weight_to_patch_recalls = {} weight_to_patch_f1s = {} weight_to_issue_precisions = {} weight_to_issue_recalls = {} weight_to_issue_f1s = {} weight_to_joint_precisions = {} weight_to_joint_recalls = {} weight_to_joint_f1s = {} weight_to_joint_auc_roc = {} weight_to_joint_auc_pr = {} for positive_weight in positive_weights: negative_weight = 1 - positive_weight weights = {1: positive_weight, 0: negative_weight} log_classifier = svm.SVC(kernel='linear', class_weight=weights, probability=True) patch_classifier = svm.SVC(kernel='linear', class_weight=weights, probability=True) issue_classifier = svm.SVC(kernel='linear', class_weight=weights, probability=True) weight_to_log_classifier[positive_weight] = log_classifier weight_to_patch_classifier[positive_weight] = patch_classifier weight_to_issue_classifier[positive_weight] = issue_classifier weight_to_log_precisions[positive_weight] = [] weight_to_log_recalls[positive_weight] = [] weight_to_log_f1s[positive_weight] = [] weight_to_patch_precisions[positive_weight] = [] weight_to_patch_recalls[positive_weight] = [] weight_to_patch_f1s[positive_weight] = [] weight_to_issue_precisions[positive_weight] = [] weight_to_issue_recalls[positive_weight] = [] weight_to_issue_f1s[positive_weight] = [] weight_to_joint_precisions[positive_weight] = [] weight_to_joint_recalls[positive_weight] = [] weight_to_joint_f1s[positive_weight] = [] weight_to_joint_auc_roc[positive_weight] = [] weight_to_joint_auc_pr[positive_weight] = [] false_positive_message_records = [] false_negative_message_records = [] false_positive_issue_records = [] false_negative_issue_records = [] false_positive_patch_records = [] false_negative_patch_records = [] false_positive_joint_records = [] false_negative_joint_records = [] fold_count = 0 date = datetime.datetime.now().date() time = datetime.datetime.now().time() time = str(time).replace(":", "_") directory = os.path.dirname(os.path.abspath(__file__)) for train_data_indices, test_data_indices in k_fold.split(records): fold_count += 1 if run_fold != -1 and fold_count != run_fold: continue output_file_name = "fold_" + str(fold_count) + "_" + str(date) + "_" + str(time) + ".txt" output_file_path = os.path.join(directory, "classifier_output/" + output_file_name) if fold_count > options.fold_to_run: break print("Processing fold number: {}".format(fold_count)) calculate_vocabulary(records, train_data_indices, commit_message_vectorizer, issue_vectorizer, patch_vectorizer, options) train_data, test_data = retrieve_data(records, train_data_indices, test_data_indices) log_x_train, log_y_train = calculate_log_message_feature_vector(train_data, commit_message_vectorizer) log_x_test, log_y_test = calculate_log_message_feature_vector(test_data, commit_message_vectorizer) issue_x_train, issue_y_train, issue_x_test, issue_y_test = None, None, None, None if options.use_issue_classifier: issue_x_train, issue_y_train = calculate_issue_feature_vector(train_data, issue_vectorizer) issue_x_test, issue_y_test = calculate_issue_feature_vector(test_data, issue_vectorizer) patch_x_train, patch_y_train = calculate_patch_feature_vector(train_data, patch_vectorizer) patch_x_test, patch_y_test = calculate_patch_feature_vector(test_data, patch_vectorizer) for positive_weight in positive_weights: print("Current processing weight set ({},{})".format(positive_weight, 1 - positive_weight)) log_classifier = weight_to_log_classifier[positive_weight] issue_classifier = None id_to_issue_train_predict_prob = None id_to_issue_test_predict_prob = None if options.use_issue_classifier: issue_classifier = weight_to_issue_classifier[positive_weight] patch_classifier = weight_to_patch_classifier[positive_weight] # calculate precision, recall for log message classification precision, recall, f1, log_message_prediction, log_message_train_predict_prob, log_message_test_predict_prob, false_positives, false_negatives\ = log_message_classify(log_classifier, log_x_train, log_y_train, log_x_test, log_y_test) print("Message F1: {}".format(f1)) # print("Top features for log message classifier:") # retrieve_top_features(log_classifier, commit_message_vectorizer) # print_line_seperator() weight_to_log_precisions[positive_weight].append(precision) weight_to_log_recalls[positive_weight].append(recall) weight_to_log_f1s[positive_weight].append(f1) false_positive_message_records.extend(to_record_ids(false_positives, test_data)) false_negative_message_records.extend(to_record_ids(false_negatives, test_data)) # calculate precision, recall for issue classification precision, recall, f1, issue_prediction = None, None, None, None if options.use_issue_classifier: precision, recall, f1, issue_prediction, id_to_issue_train_predict_prob, id_to_issue_test_predict_prob, false_positives, false_negatives\ = issue_classify(issue_classifier, issue_x_train, issue_y_train, issue_x_test, issue_y_test, train_data, test_data) print("Issue F1: {}".format(f1)) # print("Top features for issue classifier:") # retrieve_top_features(issue_classifier, issue_vectorizer) # print_line_seperator() weight_to_issue_precisions[positive_weight].append(precision) weight_to_issue_recalls[positive_weight].append(recall) weight_to_issue_f1s[positive_weight].append(f1) false_positive_issue_records.extend(to_record_ids(false_positives, test_data)) false_negative_issue_records.extend(to_record_ids(false_negatives, test_data)) # calculate precision, recall for patch precision, recall, f1, patch_prediction, patch_train_predict_prob, patch_test_predict_prob, false_positives, false_negatives\ = patch_classify(patch_classifier, patch_x_train, patch_y_train, patch_x_test, patch_y_test) print("Patch F1: {}".format(f1)) # print("Top features for patch classifier:") # retrieve_top_features(patch_classifier, patch_vectorizer) # print_line_seperator() weight_to_patch_precisions[positive_weight].append(precision) weight_to_patch_recalls[positive_weight].append(recall) weight_to_patch_f1s[positive_weight].append(f1) false_positive_patch_records.extend(to_record_ids(false_positives, test_data)) false_negative_patch_records.extend(to_record_ids(false_negatives, test_data)) # calculate precision, recall for joint-model joint_precision, joint_recall, joint_f1 = None, None, None if options.use_stacking_ensemble: joint_precision, joint_recall, joint_f1, joint_auc_roc, joint_auc_pr, false_positive_joint_records, false_negative_joint_records, output_lines \ = measure_joint_model_using_logistic_regression(train_data=train_data, test_data=test_data, log_message_train_predict_prob=log_message_train_predict_prob, id_to_issue_train_predict_prob=id_to_issue_train_predict_prob, patch_train_predict_prob=patch_train_predict_prob, log_message_test_predict_prob=log_message_test_predict_prob, id_to_issue_test_predict_prob=id_to_issue_test_predict_prob, patch_test_predict_prob=patch_test_predict_prob, options=options, output_file_name = output_file_name) false_positive_joint_records.extend(to_record_ids(false_positives, test_data)) false_negative_joint_records.extend(to_record_ids(false_negatives, test_data)) with open(output_file_path, 'w') as f: f.write(output_lines) f.close() else: joint_precision, joint_recall, joint_f1, joint_auc_roc, joint_auc_pr \ = measure_joint_model(log_message_prediction, issue_prediction, patch_prediction, log_message_test_predict_prob, patch_test_predict_prob, retrieve_label(test_data), options) weight_to_joint_precisions[positive_weight].append(joint_precision) weight_to_joint_recalls[positive_weight].append(joint_recall) weight_to_joint_f1s[positive_weight].append(joint_f1) weight_to_joint_auc_roc[positive_weight].append(joint_auc_roc) weight_to_joint_auc_pr[positive_weight].append(joint_auc_pr) break print_line_seperator() for positive_weight in positive_weights: print("Training result for positive weight: {}, negative weight: {}".format(positive_weight, 1 - positive_weight)) print("Log message mean precision: {}".format(np.mean(weight_to_log_precisions[positive_weight]))) print("Log message mean recall: {}".format(np.mean(weight_to_log_recalls[positive_weight]))) print("Log message mean f1: {}".format(np.mean(weight_to_log_f1s[positive_weight]))) if options.use_issue_classifier: print("Issue mean precision: {}".format(np.mean(weight_to_issue_precisions[positive_weight]))) print("Issue mean recall: {}".format(np.mean(weight_to_issue_recalls[positive_weight]))) print("Issue mean f1: {}".format(np.mean(weight_to_issue_f1s[positive_weight]))) print("Patch mean precision: {}".format(np.mean(weight_to_patch_precisions[positive_weight]))) print("Patch mean recall: {}".format(np.mean(weight_to_patch_recalls[positive_weight]))) print("Patch mean f1: {}".format(np.mean(weight_to_patch_f1s[positive_weight]))) print("Joint-model mean precision: {}".format(np.mean(weight_to_joint_precisions[positive_weight]))) print("Joint-model mean recall: {}".format(np.mean(weight_to_joint_recalls[positive_weight]))) print("Joint-model mean f1: {}".format(np.mean(weight_to_joint_f1s[positive_weight]))) print("Joint-model mean AUC-ROC: {}".format(np.mean(weight_to_joint_auc_roc[positive_weight]))) print("Joint-model mean AUC-PR: {}".format(np.mean(weight_to_joint_auc_pr[positive_weight]))) print_line_seperator() write_false_index_to_file(false_positive_message_records, false_negative_message_records, false_positive_issue_records, false_negative_issue_records, false_positive_patch_records, false_negative_patch_records, false_positive_joint_records, false_negative_joint_records) if __name__ == '__main__': do_experiment() # records = loader.load_records(file_path) # count_issue = 0 # count_ticket = 0 # count_both = 0 # for record in records: # if len(record.github_issue_list) > 0: # count_issue += 1 # if len(record.jira_ticket_list) > 0: # count_ticket += 1 # if len(record.github_issue_list) > 0 and len(record.jira_ticket_list) > 0: # count_both +=1 # # print(count_issue) # print(count_ticket) # print(count_both) # count_pos = 0 # count_neg = 0 # count_pos_all = 0 # count_neg_all = 0 # count_other = 0 # records = loader.load_records(file_path) # for record in records: # if record.label == 1: # count_pos_all += 1 # if record.label == 0: # count_neg_all += 1 # if record.label != 0 and record.label != 1: # print(record) # if len(record.github_issue_list) > 0 or len(record.jira_ticket_list) > 0: # if record.label == 1: # count_pos += 1 # if record.label == 0: # count_neg += 1 # # if len(record.github_issue_list) == 0 and len(record.jira_ticket_list) == 0: # count_other += 1 # # # print(count_pos) # print(count_neg) # print(count_pos_all) # print(count_neg_all) # print(count_other)
karacas/typebox
app/auxs/aux_list_font_icons_classes.js
<reponame>karacas/typebox //KTODO: separar en modulos y agregar los css para improtar así se maneja todo desde acá const arrIcons_fe = [ 'fe-alert-octagon', 'fe-alert-circle', 'fe-activity', 'fe-alert-triangle', 'fe-align-center', 'fe-airplay', 'fe-align-justify', 'fe-align-left', 'fe-align-right', 'fe-arrow-down-left', 'fe-arrow-down-right', 'fe-anchor', 'fe-aperture', 'fe-arrow-left', 'fe-arrow-right', 'fe-arrow-down', 'fe-arrow-up-left', 'fe-arrow-up-right', 'fe-arrow-up', 'fe-award', 'fe-bar-chart', 'fe-at-sign', 'fe-bar-chart-2', 'fe-battery-charging', 'fe-bell-off', 'fe-battery', 'fe-bluetooth', 'fe-bell', 'fe-book', 'fe-briefcase', 'fe-camera-off', 'fe-calendar', 'fe-bookmark', 'fe-box', 'fe-camera', 'fe-check-circle', 'fe-check', 'fe-check-square', 'fe-cast', 'fe-chevron-down', 'fe-chevron-left', 'fe-chevron-right', 'fe-chevron-up', 'fe-chevrons-down', 'fe-chevrons-right', 'fe-chevrons-up', 'fe-chevrons-left', 'fe-circle', 'fe-clipboard', 'fe-chrome', 'fe-clock', 'fe-cloud-lightning', 'fe-cloud-drizzle', 'fe-cloud-rain', 'fe-cloud-off', 'fe-codepen', 'fe-cloud-snow', 'fe-compass', 'fe-copy', 'fe-corner-down-right', 'fe-corner-down-left', 'fe-corner-left-down', 'fe-corner-left-up', 'fe-corner-up-left', 'fe-corner-up-right', 'fe-corner-right-down', 'fe-corner-right-up', 'fe-cpu', 'fe-credit-card', 'fe-crosshair', 'fe-disc', 'fe-delete', 'fe-download-cloud', 'fe-download', 'fe-droplet', 'fe-edit-2', 'fe-edit', 'fe-edit-1', 'fe-external-link', 'fe-eye', 'fe-feather', 'fe-facebook', 'fe-file-minus', 'fe-eye-off', 'fe-fast-forward', 'fe-file-text', 'fe-film', 'fe-file', 'fe-file-plus', 'fe-folder', 'fe-filter', 'fe-flag', 'fe-globe', 'fe-grid', 'fe-heart', 'fe-home', 'fe-github', 'fe-image', 'fe-inbox', 'fe-layers', 'fe-info', 'fe-instagram', 'fe-layout', 'fe-link-2', 'fe-life-buoy', 'fe-link', 'fe-log-in', 'fe-list', 'fe-lock', 'fe-log-out', 'fe-loader', 'fe-mail', 'fe-maximize-2', 'fe-map', 'fe-map-pin', 'fe-menu', 'fe-message-circle', 'fe-message-square', 'fe-minimize-2', 'fe-mic-off', 'fe-minus-circle', 'fe-mic', 'fe-minus-square', 'fe-minus', 'fe-moon', 'fe-monitor', 'fe-more-vertical', 'fe-more-horizontal', 'fe-move', 'fe-music', 'fe-navigation-2', 'fe-navigation', 'fe-octagon', 'fe-package', 'fe-pause-circle', 'fe-pause', 'fe-percent', 'fe-phone-call', 'fe-phone-forwarded', 'fe-phone-missed', 'fe-phone-off', 'fe-phone-incoming', 'fe-phone', 'fe-phone-outgoing', 'fe-pie-chart', 'fe-play-circle', 'fe-play', 'fe-plus-square', 'fe-plus-circle', 'fe-plus', 'fe-pocket', 'fe-printer', 'fe-power', 'fe-radio', 'fe-repeat', 'fe-refresh-ccw', 'fe-rewind', 'fe-rotate-ccw', 'fe-refresh-cw', 'fe-rotate-cw', 'fe-save', 'fe-search', 'fe-server', 'fe-scissors', 'fe-share-2', 'fe-share', 'fe-shield', 'fe-settings', 'fe-skip-back', 'fe-shuffle', 'fe-sidebar', 'fe-skip-forward', 'fe-slack', 'fe-slash', 'fe-smartphone', 'fe-square', 'fe-speaker', 'fe-star', 'fe-stop-circle', 'fe-sun', 'fe-sunrise', 'fe-tablet', 'fe-tag', 'fe-sunset', 'fe-target', 'fe-thermometer', 'fe-thumbs-up', 'fe-thumbs-down', 'fe-toggle-left', 'fe-toggle-right', 'fe-trash-2', 'fe-trash', 'fe-trending-up', 'fe-trending-down', 'fe-triangle', 'fe-type', 'fe-twitter', 'fe-upload', 'fe-umbrella', 'fe-upload-cloud', 'fe-unlock', 'fe-user-check', 'fe-user-minus', 'fe-user-plus', 'fe-user-x', 'fe-user', 'fe-users', 'fe-video-off', 'fe-video', 'fe-voicemail', 'fe-volume-x', 'fe-volume-2', 'fe-volume-1', 'fe-volume', 'fe-watch', 'fe-wifi', 'fe-x-square', 'fe-wind', 'fe-x', 'fe-x-circle', 'fe-zap', 'fe-zoom-in', 'fe-zoom-out', 'fe-command', 'fe-cloud', 'fe-hash', 'fe-headphones', 'fe-underline', 'fe-italic', 'fe-bold', 'fe-crop', 'fe-help-circle', 'fe-paperclip', 'fe-shopping-cart', 'fe-tv', 'fe-wifi-off', 'fe-minimize', 'fe-maximize', 'fe-gitlab', 'fe-sliders', 'fe-star-on', 'fe-heart-on', ]; const arrIcons_mdi = [ 'mdi-access-point', 'mdi-access-point-network', 'mdi-access-point-network-off', 'mdi-account', 'mdi-account-alert', 'mdi-account-alert-outline', 'mdi-account-arrow-left', 'mdi-account-arrow-left-outline', 'mdi-account-arrow-right', 'mdi-account-arrow-right-outline', 'mdi-account-badge', 'mdi-account-badge-alert', 'mdi-account-badge-alert-outline', 'mdi-account-badge-horizontal', 'mdi-account-badge-horizontal-outline', 'mdi-account-badge-outline', 'mdi-account-box', 'mdi-account-box-multiple', 'mdi-account-box-outline', 'mdi-account-card-details', 'mdi-account-card-details-outline', 'mdi-account-check', 'mdi-account-check-outline', 'mdi-account-child', 'mdi-account-child-circle', 'mdi-account-circle', 'mdi-account-circle-outline', 'mdi-account-clock', 'mdi-account-clock-outline', 'mdi-account-convert', 'mdi-account-details', 'mdi-account-edit', 'mdi-account-group', 'mdi-account-group-outline', 'mdi-account-heart', 'mdi-account-heart-outline', 'mdi-account-key', 'mdi-account-key-outline', 'mdi-account-minus', 'mdi-account-minus-outline', 'mdi-account-multiple', 'mdi-account-multiple-check', 'mdi-account-multiple-minus', 'mdi-account-multiple-minus-outline', 'mdi-account-multiple-outline', 'mdi-account-multiple-plus', 'mdi-account-multiple-plus-outline', 'mdi-account-network', 'mdi-account-network-outline', 'mdi-account-off', 'mdi-account-off-outline', 'mdi-account-outline', 'mdi-account-plus', 'mdi-account-plus-outline', 'mdi-account-question', 'mdi-account-question-outline', 'mdi-account-remove', 'mdi-account-remove-outline', 'mdi-account-search', 'mdi-account-search-outline', 'mdi-account-settings', 'mdi-account-star', 'mdi-account-star-outline', 'mdi-account-supervisor', 'mdi-account-supervisor-circle', 'mdi-account-switch', 'mdi-account-tie', 'mdi-accusoft', 'mdi-adchoices', 'mdi-adjust', 'mdi-adobe', 'mdi-air-conditioner', 'mdi-air-filter', 'mdi-air-horn', 'mdi-air-purifier', 'mdi-airbag', 'mdi-airballoon', 'mdi-airplane', 'mdi-airplane-landing', 'mdi-airplane-off', 'mdi-airplane-takeoff', 'mdi-airplay', 'mdi-airport', 'mdi-alarm', 'mdi-alarm-bell', 'mdi-alarm-check', 'mdi-alarm-light', 'mdi-alarm-light-outline', 'mdi-alarm-multiple', 'mdi-alarm-note', 'mdi-alarm-note-off', 'mdi-alarm-off', 'mdi-alarm-plus', 'mdi-alarm-snooze', 'mdi-album', 'mdi-alert', 'mdi-alert-box', 'mdi-alert-box-outline', 'mdi-alert-circle', 'mdi-alert-circle-outline', 'mdi-alert-decagram', 'mdi-alert-decagram-outline', 'mdi-alert-octagon', 'mdi-alert-octagon-outline', 'mdi-alert-octagram', 'mdi-alert-octagram-outline', 'mdi-alert-outline', 'mdi-alien', 'mdi-all-inclusive', 'mdi-alpha', 'mdi-alpha-a', 'mdi-alpha-a-box', 'mdi-alpha-a-box-outline', 'mdi-alpha-a-circle', 'mdi-alpha-a-circle-outline', 'mdi-alpha-b', 'mdi-alpha-b-box', 'mdi-alpha-b-box-outline', 'mdi-alpha-b-circle', 'mdi-alpha-b-circle-outline', 'mdi-alpha-c', 'mdi-alpha-c-box', 'mdi-alpha-c-box-outline', 'mdi-alpha-c-circle', 'mdi-alpha-c-circle-outline', 'mdi-alpha-d', 'mdi-alpha-d-box', 'mdi-alpha-d-box-outline', 'mdi-alpha-d-circle', 'mdi-alpha-d-circle-outline', 'mdi-alpha-e', 'mdi-alpha-e-box', 'mdi-alpha-e-box-outline', 'mdi-alpha-e-circle', 'mdi-alpha-e-circle-outline', 'mdi-alpha-f', 'mdi-alpha-f-box', 'mdi-alpha-f-box-outline', 'mdi-alpha-f-circle', 'mdi-alpha-f-circle-outline', 'mdi-alpha-g', 'mdi-alpha-g-box', 'mdi-alpha-g-box-outline', 'mdi-alpha-g-circle', 'mdi-alpha-g-circle-outline', 'mdi-alpha-h', 'mdi-alpha-h-box', 'mdi-alpha-h-box-outline', 'mdi-alpha-h-circle', 'mdi-alpha-h-circle-outline', 'mdi-alpha-i', 'mdi-alpha-i-box', 'mdi-alpha-i-box-outline', 'mdi-alpha-i-circle', 'mdi-alpha-i-circle-outline', 'mdi-alpha-j', 'mdi-alpha-j-box', 'mdi-alpha-j-box-outline', 'mdi-alpha-j-circle', 'mdi-alpha-j-circle-outline', 'mdi-alpha-k', 'mdi-alpha-k-box', 'mdi-alpha-k-box-outline', 'mdi-alpha-k-circle', 'mdi-alpha-k-circle-outline', 'mdi-alpha-l', 'mdi-alpha-l-box', 'mdi-alpha-l-box-outline', 'mdi-alpha-l-circle', 'mdi-alpha-l-circle-outline', 'mdi-alpha-m', 'mdi-alpha-m-box', 'mdi-alpha-m-box-outline', 'mdi-alpha-m-circle', 'mdi-alpha-m-circle-outline', 'mdi-alpha-n', 'mdi-alpha-n-box', 'mdi-alpha-n-box-outline', 'mdi-alpha-n-circle', 'mdi-alpha-n-circle-outline', 'mdi-alpha-o', 'mdi-alpha-o-box', 'mdi-alpha-o-box-outline', 'mdi-alpha-o-circle', 'mdi-alpha-o-circle-outline', 'mdi-alpha-p', 'mdi-alpha-p-box', 'mdi-alpha-p-box-outline', 'mdi-alpha-p-circle', 'mdi-alpha-p-circle-outline', 'mdi-alpha-q', 'mdi-alpha-q-box', 'mdi-alpha-q-box-outline', 'mdi-alpha-q-circle', 'mdi-alpha-q-circle-outline', 'mdi-alpha-r', 'mdi-alpha-r-box', 'mdi-alpha-r-box-outline', 'mdi-alpha-r-circle', 'mdi-alpha-r-circle-outline', 'mdi-alpha-s', 'mdi-alpha-s-box', 'mdi-alpha-s-box-outline', 'mdi-alpha-s-circle', 'mdi-alpha-s-circle-outline', 'mdi-alpha-t', 'mdi-alpha-t-box', 'mdi-alpha-t-box-outline', 'mdi-alpha-t-circle', 'mdi-alpha-t-circle-outline', 'mdi-alpha-u', 'mdi-alpha-u-box', 'mdi-alpha-u-box-outline', 'mdi-alpha-u-circle', 'mdi-alpha-u-circle-outline', 'mdi-alpha-v', 'mdi-alpha-v-box', 'mdi-alpha-v-box-outline', 'mdi-alpha-v-circle', 'mdi-alpha-v-circle-outline', 'mdi-alpha-w', 'mdi-alpha-w-box', 'mdi-alpha-w-box-outline', 'mdi-alpha-w-circle', 'mdi-alpha-w-circle-outline', 'mdi-alpha-x', 'mdi-alpha-x-box', 'mdi-alpha-x-box-outline', 'mdi-alpha-x-circle', 'mdi-alpha-x-circle-outline', 'mdi-alpha-y', 'mdi-alpha-y-box', 'mdi-alpha-y-box-outline', 'mdi-alpha-y-circle', 'mdi-alpha-y-circle-outline', 'mdi-alpha-z', 'mdi-alpha-z-box', 'mdi-alpha-z-box-outline', 'mdi-alpha-z-circle', 'mdi-alpha-z-circle-outline', 'mdi-alphabetical', 'mdi-altimeter', 'mdi-amazon', 'mdi-amazon-alexa', 'mdi-amazon-drive', 'mdi-ambulance', 'mdi-ammunition', 'mdi-ampersand', 'mdi-amplifier', 'mdi-anchor', 'mdi-android', 'mdi-android-auto', 'mdi-android-debug-bridge', 'mdi-android-head', 'mdi-android-messages', 'mdi-android-studio', 'mdi-angle-acute', 'mdi-angle-obtuse', 'mdi-angle-right', 'mdi-angular', 'mdi-angularjs', 'mdi-animation', 'mdi-animation-outline', 'mdi-animation-play', 'mdi-animation-play-outline', 'mdi-anvil', 'mdi-apple', 'mdi-apple-finder', 'mdi-apple-icloud', 'mdi-apple-ios', 'mdi-apple-keyboard-caps', 'mdi-apple-keyboard-command', 'mdi-apple-keyboard-control', 'mdi-apple-keyboard-option', 'mdi-apple-keyboard-shift', 'mdi-apple-safari', 'mdi-application', 'mdi-application-export', 'mdi-application-import', 'mdi-apps', 'mdi-apps-box', 'mdi-arch', 'mdi-archive', 'mdi-arrange-bring-forward', 'mdi-arrange-bring-to-front', 'mdi-arrange-send-backward', 'mdi-arrange-send-to-back', 'mdi-arrow-all', 'mdi-arrow-bottom-left', 'mdi-arrow-bottom-left-bold-outline', 'mdi-arrow-bottom-left-thick', 'mdi-arrow-bottom-right', 'mdi-arrow-bottom-right-bold-outline', 'mdi-arrow-bottom-right-thick', 'mdi-arrow-collapse', 'mdi-arrow-collapse-all', 'mdi-arrow-collapse-down', 'mdi-arrow-collapse-horizontal', 'mdi-arrow-collapse-left', 'mdi-arrow-collapse-right', 'mdi-arrow-collapse-up', 'mdi-arrow-collapse-vertical', 'mdi-arrow-decision', 'mdi-arrow-decision-auto', 'mdi-arrow-decision-auto-outline', 'mdi-arrow-decision-outline', 'mdi-arrow-down', 'mdi-arrow-down-bold', 'mdi-arrow-down-bold-box', 'mdi-arrow-down-bold-box-outline', 'mdi-arrow-down-bold-circle', 'mdi-arrow-down-bold-circle-outline', 'mdi-arrow-down-bold-hexagon-outline', 'mdi-arrow-down-bold-outline', 'mdi-arrow-down-box', 'mdi-arrow-down-circle', 'mdi-arrow-down-circle-outline', 'mdi-arrow-down-drop-circle', 'mdi-arrow-down-drop-circle-outline', 'mdi-arrow-down-thick', 'mdi-arrow-expand', 'mdi-arrow-expand-all', 'mdi-arrow-expand-down', 'mdi-arrow-expand-horizontal', 'mdi-arrow-expand-left', 'mdi-arrow-expand-right', 'mdi-arrow-expand-up', 'mdi-arrow-expand-vertical', 'mdi-arrow-left', 'mdi-arrow-left-bold', 'mdi-arrow-left-bold-box', 'mdi-arrow-left-bold-box-outline', 'mdi-arrow-left-bold-circle', 'mdi-arrow-left-bold-circle-outline', 'mdi-arrow-left-bold-hexagon-outline', 'mdi-arrow-left-bold-outline', 'mdi-arrow-left-box', 'mdi-arrow-left-circle', 'mdi-arrow-left-circle-outline', 'mdi-arrow-left-drop-circle', 'mdi-arrow-left-drop-circle-outline', 'mdi-arrow-left-right', 'mdi-arrow-left-right-bold', 'mdi-arrow-left-right-bold-outline', 'mdi-arrow-left-thick', 'mdi-arrow-right', 'mdi-arrow-right-bold', 'mdi-arrow-right-bold-box', 'mdi-arrow-right-bold-box-outline', 'mdi-arrow-right-bold-circle', 'mdi-arrow-right-bold-circle-outline', 'mdi-arrow-right-bold-hexagon-outline', 'mdi-arrow-right-bold-outline', 'mdi-arrow-right-box', 'mdi-arrow-right-circle', 'mdi-arrow-right-circle-outline', 'mdi-arrow-right-drop-circle', 'mdi-arrow-right-drop-circle-outline', 'mdi-arrow-right-thick', 'mdi-arrow-split-horizontal', 'mdi-arrow-split-vertical', 'mdi-arrow-top-left', 'mdi-arrow-top-left-bold-outline', 'mdi-arrow-top-left-bottom-right', 'mdi-arrow-top-left-bottom-right-bold', 'mdi-arrow-top-left-thick', 'mdi-arrow-top-right', 'mdi-arrow-top-right-bold-outline', 'mdi-arrow-top-right-bottom-left', 'mdi-arrow-top-right-bottom-left-bold', 'mdi-arrow-top-right-thick', 'mdi-arrow-up', 'mdi-arrow-up-bold', 'mdi-arrow-up-bold-box', 'mdi-arrow-up-bold-box-outline', 'mdi-arrow-up-bold-circle', 'mdi-arrow-up-bold-circle-outline', 'mdi-arrow-up-bold-hexagon-outline', 'mdi-arrow-up-bold-outline', 'mdi-arrow-up-box', 'mdi-arrow-up-circle', 'mdi-arrow-up-circle-outline', 'mdi-arrow-up-down', 'mdi-arrow-up-down-bold', 'mdi-arrow-up-down-bold-outline', 'mdi-arrow-up-drop-circle', 'mdi-arrow-up-drop-circle-outline', 'mdi-arrow-up-thick', 'mdi-artist', 'mdi-artist-outline', 'mdi-artstation', 'mdi-aspect-ratio', 'mdi-assistant', 'mdi-asterisk', 'mdi-at', 'mdi-atlassian', 'mdi-atm', 'mdi-atom', 'mdi-atom-variant', 'mdi-attachment', 'mdi-audio-video', 'mdi-audiobook', 'mdi-augmented-reality', 'mdi-auto-fix', 'mdi-auto-upload', 'mdi-autorenew', 'mdi-av-timer', 'mdi-aws', 'mdi-axe', 'mdi-axis', 'mdi-axis-arrow', 'mdi-axis-arrow-lock', 'mdi-axis-lock', 'mdi-axis-x-arrow', 'mdi-axis-x-arrow-lock', 'mdi-axis-x-rotate-clockwise', 'mdi-axis-x-rotate-counterclockwise', 'mdi-axis-x-y-arrow-lock', 'mdi-axis-y-arrow', 'mdi-axis-y-arrow-lock', 'mdi-axis-y-rotate-clockwise', 'mdi-axis-y-rotate-counterclockwise', 'mdi-axis-z-arrow', 'mdi-axis-z-arrow-lock', 'mdi-axis-z-rotate-clockwise', 'mdi-axis-z-rotate-counterclockwise', 'mdi-azure', 'mdi-babel', 'mdi-baby', 'mdi-baby-buggy', 'mdi-baby-face', 'mdi-baby-face-outline', 'mdi-backburger', 'mdi-backspace', 'mdi-backspace-outline', 'mdi-backspace-reverse', 'mdi-backspace-reverse-outline', 'mdi-backup-restore', 'mdi-badminton', 'mdi-bag-personal', 'mdi-bag-personal-off', 'mdi-bag-personal-off-outline', 'mdi-bag-personal-outline', 'mdi-balloon', 'mdi-ballot', 'mdi-ballot-outline', 'mdi-ballot-recount', 'mdi-ballot-recount-outline', 'mdi-bandage', 'mdi-bandcamp', 'mdi-bank', 'mdi-bank-minus', 'mdi-bank-outline', 'mdi-bank-plus', 'mdi-bank-remove', 'mdi-bank-transfer', 'mdi-bank-transfer-in', 'mdi-bank-transfer-out', 'mdi-barcode', 'mdi-barcode-scan', 'mdi-barley', 'mdi-barley-off', 'mdi-barn', 'mdi-barrel', 'mdi-baseball', 'mdi-baseball-bat', 'mdi-basecamp', 'mdi-basket', 'mdi-basket-fill', 'mdi-basket-unfill', 'mdi-basketball', 'mdi-basketball-hoop', 'mdi-basketball-hoop-outline', 'mdi-bat', 'mdi-battery', 'mdi-battery-10', 'mdi-battery-10-bluetooth', 'mdi-battery-20', 'mdi-battery-20-bluetooth', 'mdi-battery-30', 'mdi-battery-30-bluetooth', 'mdi-battery-40', 'mdi-battery-40-bluetooth', 'mdi-battery-50', 'mdi-battery-50-bluetooth', 'mdi-battery-60', 'mdi-battery-60-bluetooth', 'mdi-battery-70', 'mdi-battery-70-bluetooth', 'mdi-battery-80', 'mdi-battery-80-bluetooth', 'mdi-battery-90', 'mdi-battery-90-bluetooth', 'mdi-battery-alert', 'mdi-battery-alert-bluetooth', 'mdi-battery-bluetooth', 'mdi-battery-bluetooth-variant', 'mdi-battery-charging', 'mdi-battery-charging-10', 'mdi-battery-charging-100', 'mdi-battery-charging-20', 'mdi-battery-charging-30', 'mdi-battery-charging-40', 'mdi-battery-charging-50', 'mdi-battery-charging-60', 'mdi-battery-charging-70', 'mdi-battery-charging-80', 'mdi-battery-charging-90', 'mdi-battery-charging-outline', 'mdi-battery-charging-wireless', 'mdi-battery-charging-wireless-10', 'mdi-battery-charging-wireless-20', 'mdi-battery-charging-wireless-30', 'mdi-battery-charging-wireless-40', 'mdi-battery-charging-wireless-50', 'mdi-battery-charging-wireless-60', 'mdi-battery-charging-wireless-70', 'mdi-battery-charging-wireless-80', 'mdi-battery-charging-wireless-90', 'mdi-battery-charging-wireless-alert', 'mdi-battery-charging-wireless-outline', 'mdi-battery-minus', 'mdi-battery-negative', 'mdi-battery-outline', 'mdi-battery-plus', 'mdi-battery-positive', 'mdi-battery-unknown', 'mdi-battery-unknown-bluetooth', 'mdi-battlenet', 'mdi-beach', 'mdi-beaker', 'mdi-beaker-outline', 'mdi-beats', 'mdi-bed-empty', 'mdi-beer', 'mdi-behance', 'mdi-bell', 'mdi-bell-alert', 'mdi-bell-alert-outline', 'mdi-bell-circle', 'mdi-bell-circle-outline', 'mdi-bell-off', 'mdi-bell-off-outline', 'mdi-bell-outline', 'mdi-bell-plus', 'mdi-bell-plus-outline', 'mdi-bell-ring', 'mdi-bell-ring-outline', 'mdi-bell-sleep', 'mdi-bell-sleep-outline', 'mdi-beta', 'mdi-betamax', 'mdi-biathlon', 'mdi-bible', 'mdi-bike', 'mdi-billiards', 'mdi-billiards-rack', 'mdi-bing', 'mdi-binoculars', 'mdi-bio', 'mdi-biohazard', 'mdi-bitbucket', 'mdi-bitcoin', 'mdi-black-mesa', 'mdi-blackberry', 'mdi-blender', 'mdi-blender-software', 'mdi-blinds', 'mdi-block-helper', 'mdi-blogger', 'mdi-blood-bag', 'mdi-bluetooth', 'mdi-bluetooth-audio', 'mdi-bluetooth-connect', 'mdi-bluetooth-off', 'mdi-bluetooth-settings', 'mdi-bluetooth-transfer', 'mdi-blur', 'mdi-blur-linear', 'mdi-blur-off', 'mdi-blur-radial', 'mdi-bolnisi-cross', 'mdi-bolt', 'mdi-bomb', 'mdi-bomb-off', 'mdi-bone', 'mdi-book', 'mdi-book-lock', 'mdi-book-lock-open', 'mdi-book-minus', 'mdi-book-multiple', 'mdi-book-multiple-minus', 'mdi-book-multiple-plus', 'mdi-book-multiple-remove', 'mdi-book-multiple-variant', 'mdi-book-open', 'mdi-book-open-outline', 'mdi-book-open-page-variant', 'mdi-book-open-variant', 'mdi-book-outline', 'mdi-book-play', 'mdi-book-play-outline', 'mdi-book-plus', 'mdi-book-remove', 'mdi-book-search', 'mdi-book-search-outline', 'mdi-book-variant', 'mdi-bookmark', 'mdi-bookmark-check', 'mdi-bookmark-minus', 'mdi-bookmark-minus-outline', 'mdi-bookmark-multiple', 'mdi-bookmark-multiple-outline', 'mdi-bookmark-music', 'mdi-bookmark-off', 'mdi-bookmark-off-outline', 'mdi-bookmark-outline', 'mdi-bookmark-plus', 'mdi-bookmark-plus-outline', 'mdi-bookmark-remove', 'mdi-boom-gate', 'mdi-boom-gate-alert', 'mdi-boom-gate-alert-outline', 'mdi-boom-gate-down', 'mdi-boom-gate-down-outline', 'mdi-boom-gate-outline', 'mdi-boom-gate-up', 'mdi-boom-gate-up-outline', 'mdi-boombox', 'mdi-bootstrap', 'mdi-border-all', 'mdi-border-all-variant', 'mdi-border-bottom', 'mdi-border-bottom-variant', 'mdi-border-color', 'mdi-border-horizontal', 'mdi-border-inside', 'mdi-border-left', 'mdi-border-left-variant', 'mdi-border-none', 'mdi-border-none-variant', 'mdi-border-outside', 'mdi-border-right', 'mdi-border-right-variant', 'mdi-border-style', 'mdi-border-top', 'mdi-border-top-variant', 'mdi-border-vertical', 'mdi-bottle-wine', 'mdi-bow-tie', 'mdi-bowl', 'mdi-bowling', 'mdi-box', 'mdi-box-cutter', 'mdi-box-shadow', 'mdi-boxing-glove', 'mdi-braille', 'mdi-brain', 'mdi-bread-slice', 'mdi-bread-slice-outline', 'mdi-bridge', 'mdi-briefcase', 'mdi-briefcase-account', 'mdi-briefcase-account-outline', 'mdi-briefcase-check', 'mdi-briefcase-download', 'mdi-briefcase-download-outline', 'mdi-briefcase-edit', 'mdi-briefcase-edit-outline', 'mdi-briefcase-minus', 'mdi-briefcase-minus-outline', 'mdi-briefcase-outline', 'mdi-briefcase-plus', 'mdi-briefcase-plus-outline', 'mdi-briefcase-remove', 'mdi-briefcase-remove-outline', 'mdi-briefcase-search', 'mdi-briefcase-search-outline', 'mdi-briefcase-upload', 'mdi-briefcase-upload-outline', 'mdi-brightness-1', 'mdi-brightness-2', 'mdi-brightness-3', 'mdi-brightness-4', 'mdi-brightness-5', 'mdi-brightness-6', 'mdi-brightness-7', 'mdi-brightness-auto', 'mdi-brightness-percent', 'mdi-broom', 'mdi-brush', 'mdi-buddhism', 'mdi-buffer', 'mdi-bug', 'mdi-bug-check', 'mdi-bug-check-outline', 'mdi-bug-outline', 'mdi-bugle', 'mdi-bulldozer', 'mdi-bullet', 'mdi-bulletin-board', 'mdi-bullhorn', 'mdi-bullhorn-outline', 'mdi-bullseye', 'mdi-bullseye-arrow', 'mdi-bus', 'mdi-bus-alert', 'mdi-bus-articulated-end', 'mdi-bus-articulated-front', 'mdi-bus-clock', 'mdi-bus-double-decker', 'mdi-bus-school', 'mdi-bus-side', 'mdi-cached', 'mdi-cactus', 'mdi-cake', 'mdi-cake-layered', 'mdi-cake-variant', 'mdi-calculator', 'mdi-calculator-variant', 'mdi-calendar', 'mdi-calendar-alert', 'mdi-calendar-blank', 'mdi-calendar-blank-outline', 'mdi-calendar-check', 'mdi-calendar-check-outline', 'mdi-calendar-clock', 'mdi-calendar-edit', 'mdi-calendar-export', 'mdi-calendar-heart', 'mdi-calendar-import', 'mdi-calendar-minus', 'mdi-calendar-month', 'mdi-calendar-month-outline', 'mdi-calendar-multiple', 'mdi-calendar-multiple-check', 'mdi-calendar-multiselect', 'mdi-calendar-outline', 'mdi-calendar-plus', 'mdi-calendar-question', 'mdi-calendar-range', 'mdi-calendar-range-outline', 'mdi-calendar-remove', 'mdi-calendar-remove-outline', 'mdi-calendar-repeat', 'mdi-calendar-repeat-outline', 'mdi-calendar-search', 'mdi-calendar-star', 'mdi-calendar-text', 'mdi-calendar-text-outline', 'mdi-calendar-today', 'mdi-calendar-week', 'mdi-calendar-week-begin', 'mdi-call-made', 'mdi-call-merge', 'mdi-call-missed', 'mdi-call-received', 'mdi-call-split', 'mdi-camcorder', 'mdi-camcorder-box', 'mdi-camcorder-box-off', 'mdi-camcorder-off', 'mdi-camera', 'mdi-camera-account', 'mdi-camera-burst', 'mdi-camera-control', 'mdi-camera-enhance', 'mdi-camera-enhance-outline', 'mdi-camera-front', 'mdi-camera-front-variant', 'mdi-camera-gopro', 'mdi-camera-image', 'mdi-camera-iris', 'mdi-camera-metering-center', 'mdi-camera-metering-matrix', 'mdi-camera-metering-partial', 'mdi-camera-metering-spot', 'mdi-camera-off', 'mdi-camera-outline', 'mdi-camera-party-mode', 'mdi-camera-rear', 'mdi-camera-rear-variant', 'mdi-camera-retake', 'mdi-camera-retake-outline', 'mdi-camera-switch', 'mdi-camera-timer', 'mdi-camera-wireless', 'mdi-camera-wireless-outline', 'mdi-cancel', 'mdi-candle', 'mdi-candycane', 'mdi-cannabis', 'mdi-caps-lock', 'mdi-car', 'mdi-car-back', 'mdi-car-battery', 'mdi-car-brake-abs', 'mdi-car-brake-alert', 'mdi-car-brake-hold', 'mdi-car-brake-parking', 'mdi-car-connected', 'mdi-car-convertible', 'mdi-car-cruise-control', 'mdi-car-defrost-front', 'mdi-car-defrost-rear', 'mdi-car-door', 'mdi-car-electric', 'mdi-car-esp', 'mdi-car-estate', 'mdi-car-hatchback', 'mdi-car-key', 'mdi-car-light-dimmed', 'mdi-car-light-fog', 'mdi-car-light-high', 'mdi-car-limousine', 'mdi-car-multiple', 'mdi-car-off', 'mdi-car-parking-lights', 'mdi-car-pickup', 'mdi-car-side', 'mdi-car-sports', 'mdi-car-tire-alert', 'mdi-car-traction-control', 'mdi-car-wash', 'mdi-caravan', 'mdi-card', 'mdi-card-bulleted', 'mdi-card-bulleted-off', 'mdi-card-bulleted-off-outline', 'mdi-card-bulleted-outline', 'mdi-card-bulleted-settings', 'mdi-card-bulleted-settings-outline', 'mdi-card-outline', 'mdi-card-text', 'mdi-card-text-outline', 'mdi-cards', 'mdi-cards-club', 'mdi-cards-diamond', 'mdi-cards-heart', 'mdi-cards-outline', 'mdi-cards-playing-outline', 'mdi-cards-spade', 'mdi-cards-variant', 'mdi-carrot', 'mdi-carry-on-bag-check', 'mdi-cart', 'mdi-cart-arrow-down', 'mdi-cart-arrow-right', 'mdi-cart-arrow-up', 'mdi-cart-minus', 'mdi-cart-off', 'mdi-cart-outline', 'mdi-cart-plus', 'mdi-cart-remove', 'mdi-case-sensitive-alt', 'mdi-cash', 'mdi-cash-100', 'mdi-cash-marker', 'mdi-cash-multiple', 'mdi-cash-refund', 'mdi-cash-register', 'mdi-cash-usd', 'mdi-cassette', 'mdi-cast', 'mdi-cast-connected', 'mdi-cast-education', 'mdi-cast-off', 'mdi-castle', 'mdi-cat', 'mdi-cctv', 'mdi-ceiling-light', 'mdi-cellphone', 'mdi-cellphone-android', 'mdi-cellphone-arrow-down', 'mdi-cellphone-basic', 'mdi-cellphone-dock', 'mdi-cellphone-erase', 'mdi-cellphone-iphone', 'mdi-cellphone-key', 'mdi-cellphone-link', 'mdi-cellphone-link-off', 'mdi-cellphone-lock', 'mdi-cellphone-message', 'mdi-cellphone-nfc', 'mdi-cellphone-off', 'mdi-cellphone-screenshot', 'mdi-cellphone-settings', 'mdi-cellphone-settings-variant', 'mdi-cellphone-sound', 'mdi-cellphone-text', 'mdi-cellphone-wireless', 'mdi-celtic-cross', 'mdi-certificate', 'mdi-chair-school', 'mdi-charity', 'mdi-chart-arc', 'mdi-chart-areaspline', 'mdi-chart-areaspline-variant', 'mdi-chart-bar', 'mdi-chart-bar-stacked', 'mdi-chart-bell-curve', 'mdi-chart-bubble', 'mdi-chart-donut', 'mdi-chart-donut-variant', 'mdi-chart-gantt', 'mdi-chart-histogram', 'mdi-chart-line', 'mdi-chart-line-stacked', 'mdi-chart-line-variant', 'mdi-chart-multiline', 'mdi-chart-pie', 'mdi-chart-scatter-plot', 'mdi-chart-scatter-plot-hexbin', 'mdi-chart-timeline', 'mdi-chart-timeline-variant', 'mdi-chart-tree', 'mdi-chat', 'mdi-chat-alert', 'mdi-chat-processing', 'mdi-check', 'mdi-check-all', 'mdi-check-bold', 'mdi-check-box-multiple-outline', 'mdi-check-box-outline', 'mdi-check-circle', 'mdi-check-circle-outline', 'mdi-check-decagram', 'mdi-check-network', 'mdi-check-network-outline', 'mdi-check-outline', 'mdi-check-underline', 'mdi-check-underline-circle', 'mdi-check-underline-circle-outline', 'mdi-checkbook', 'mdi-checkbox-blank', 'mdi-checkbox-blank-circle', 'mdi-checkbox-blank-circle-outline', 'mdi-checkbox-blank-outline', 'mdi-checkbox-intermediate', 'mdi-checkbox-marked', 'mdi-checkbox-marked-circle', 'mdi-checkbox-marked-circle-outline', 'mdi-checkbox-marked-outline', 'mdi-checkbox-multiple-blank', 'mdi-checkbox-multiple-blank-circle', 'mdi-checkbox-multiple-blank-circle-outline', 'mdi-checkbox-multiple-blank-outline', 'mdi-checkbox-multiple-marked', 'mdi-checkbox-multiple-marked-circle', 'mdi-checkbox-multiple-marked-circle-outline', 'mdi-checkbox-multiple-marked-outline', 'mdi-checkerboard', 'mdi-chef-hat', 'mdi-chemical-weapon', 'mdi-chess-bishop', 'mdi-chess-king', 'mdi-chess-knight', 'mdi-chess-pawn', 'mdi-chess-queen', 'mdi-chess-rook', 'mdi-chevron-double-down', 'mdi-chevron-double-left', 'mdi-chevron-double-right', 'mdi-chevron-double-up', 'mdi-chevron-down', 'mdi-chevron-down-box', 'mdi-chevron-down-box-outline', 'mdi-chevron-down-circle', 'mdi-chevron-down-circle-outline', 'mdi-chevron-left', 'mdi-chevron-left-box', 'mdi-chevron-left-box-outline', 'mdi-chevron-left-circle', 'mdi-chevron-left-circle-outline', 'mdi-chevron-right', 'mdi-chevron-right-box', 'mdi-chevron-right-box-outline', 'mdi-chevron-right-circle', 'mdi-chevron-right-circle-outline', 'mdi-chevron-triple-down', 'mdi-chevron-triple-left', 'mdi-chevron-triple-right', 'mdi-chevron-triple-up', 'mdi-chevron-up', 'mdi-chevron-up-box', 'mdi-chevron-up-box-outline', 'mdi-chevron-up-circle', 'mdi-chevron-up-circle-outline', 'mdi-chili-hot', 'mdi-chili-medium', 'mdi-chili-mild', 'mdi-chip', 'mdi-christianity', 'mdi-christianity-outline', 'mdi-church', 'mdi-circle', 'mdi-circle-double', 'mdi-circle-edit-outline', 'mdi-circle-expand', 'mdi-circle-medium', 'mdi-circle-outline', 'mdi-circle-slice-1', 'mdi-circle-slice-2', 'mdi-circle-slice-3', 'mdi-circle-slice-4', 'mdi-circle-slice-5', 'mdi-circle-slice-6', 'mdi-circle-slice-7', 'mdi-circle-slice-8', 'mdi-circle-small', 'mdi-circular-saw', 'mdi-cisco-webex', 'mdi-city', 'mdi-city-variant', 'mdi-city-variant-outline', 'mdi-clipboard', 'mdi-clipboard-account', 'mdi-clipboard-account-outline', 'mdi-clipboard-alert', 'mdi-clipboard-alert-outline', 'mdi-clipboard-arrow-down', 'mdi-clipboard-arrow-down-outline', 'mdi-clipboard-arrow-left', 'mdi-clipboard-arrow-left-outline', 'mdi-clipboard-arrow-right', 'mdi-clipboard-arrow-right-outline', 'mdi-clipboard-arrow-up', 'mdi-clipboard-arrow-up-outline', 'mdi-clipboard-check', 'mdi-clipboard-check-outline', 'mdi-clipboard-flow', 'mdi-clipboard-outline', 'mdi-clipboard-play', 'mdi-clipboard-play-outline', 'mdi-clipboard-plus', 'mdi-clipboard-pulse', 'mdi-clipboard-pulse-outline', 'mdi-clipboard-text', 'mdi-clipboard-text-outline', 'mdi-clipboard-text-play', 'mdi-clipboard-text-play-outline', 'mdi-clippy', 'mdi-clock', 'mdi-clock-alert', 'mdi-clock-alert-outline', 'mdi-clock-digital', 'mdi-clock-end', 'mdi-clock-fast', 'mdi-clock-in', 'mdi-clock-out', 'mdi-clock-outline', 'mdi-clock-start', 'mdi-close', 'mdi-close-box', 'mdi-close-box-multiple', 'mdi-close-box-multiple-outline', 'mdi-close-box-outline', 'mdi-close-circle', 'mdi-close-circle-outline', 'mdi-close-network', 'mdi-close-network-outline', 'mdi-close-octagon', 'mdi-close-octagon-outline', 'mdi-close-outline', 'mdi-closed-caption', 'mdi-closed-caption-outline', 'mdi-cloud', 'mdi-cloud-alert', 'mdi-cloud-braces', 'mdi-cloud-check', 'mdi-cloud-circle', 'mdi-cloud-download', 'mdi-cloud-download-outline', 'mdi-cloud-off-outline', 'mdi-cloud-outline', 'mdi-cloud-print', 'mdi-cloud-print-outline', 'mdi-cloud-question', 'mdi-cloud-search', 'mdi-cloud-search-outline', 'mdi-cloud-sync', 'mdi-cloud-tags', 'mdi-cloud-upload', 'mdi-cloud-upload-outline', 'mdi-clover', 'mdi-code-array', 'mdi-code-braces', 'mdi-code-brackets', 'mdi-code-equal', 'mdi-code-greater-than', 'mdi-code-greater-than-or-equal', 'mdi-code-less-than', 'mdi-code-less-than-or-equal', 'mdi-code-not-equal', 'mdi-code-not-equal-variant', 'mdi-code-parentheses', 'mdi-code-string', 'mdi-code-tags', 'mdi-code-tags-check', 'mdi-codepen', 'mdi-coffee', 'mdi-coffee-outline', 'mdi-coffee-to-go', 'mdi-coffin', 'mdi-cogs', 'mdi-coin', 'mdi-coins', 'mdi-collage', 'mdi-collapse-all', 'mdi-collapse-all-outline', 'mdi-color-helper', 'mdi-comma', 'mdi-comma-box', 'mdi-comma-box-outline', 'mdi-comma-circle', 'mdi-comma-circle-outline', 'mdi-comment', 'mdi-comment-account', 'mdi-comment-account-outline', 'mdi-comment-alert', 'mdi-comment-alert-outline', 'mdi-comment-arrow-left', 'mdi-comment-arrow-left-outline', 'mdi-comment-arrow-right', 'mdi-comment-arrow-right-outline', 'mdi-comment-check', 'mdi-comment-check-outline', 'mdi-comment-eye', 'mdi-comment-eye-outline', 'mdi-comment-multiple', 'mdi-comment-multiple-outline', 'mdi-comment-outline', 'mdi-comment-plus', 'mdi-comment-plus-outline', 'mdi-comment-processing', 'mdi-comment-processing-outline', 'mdi-comment-question', 'mdi-comment-question-outline', 'mdi-comment-remove', 'mdi-comment-remove-outline', 'mdi-comment-search', 'mdi-comment-search-outline', 'mdi-comment-text', 'mdi-comment-text-multiple', 'mdi-comment-text-multiple-outline', 'mdi-comment-text-outline', 'mdi-compare', 'mdi-compass', 'mdi-compass-off', 'mdi-compass-off-outline', 'mdi-compass-outline', 'mdi-console', 'mdi-console-line', 'mdi-console-network', 'mdi-console-network-outline', 'mdi-contact-mail', 'mdi-contact-mail-outline', 'mdi-contact-phone', 'mdi-contact-phone-outline', 'mdi-contactless-payment', 'mdi-contacts', 'mdi-contain', 'mdi-contain-end', 'mdi-contain-start', 'mdi-content-copy', 'mdi-content-cut', 'mdi-content-duplicate', 'mdi-content-paste', 'mdi-content-save', 'mdi-content-save-all', 'mdi-content-save-edit', 'mdi-content-save-edit-outline', 'mdi-content-save-move', 'mdi-content-save-move-outline', 'mdi-content-save-outline', 'mdi-content-save-settings', 'mdi-content-save-settings-outline', 'mdi-contrast', 'mdi-contrast-box', 'mdi-contrast-circle', 'mdi-controller-classic', 'mdi-controller-classic-outline', 'mdi-cookie', 'mdi-copyright', 'mdi-cordova', 'mdi-corn', 'mdi-counter', 'mdi-cow', 'mdi-cowboy', 'mdi-crane', 'mdi-creation', 'mdi-creative-commons', 'mdi-credit-card', 'mdi-credit-card-marker', 'mdi-credit-card-multiple', 'mdi-credit-card-off', 'mdi-credit-card-plus', 'mdi-credit-card-refund', 'mdi-credit-card-scan', 'mdi-credit-card-settings', 'mdi-credit-card-wireless', 'mdi-cricket', 'mdi-crop', 'mdi-crop-free', 'mdi-crop-landscape', 'mdi-crop-portrait', 'mdi-crop-rotate', 'mdi-crop-square', 'mdi-crosshairs', 'mdi-crosshairs-gps', 'mdi-crown', 'mdi-cryengine', 'mdi-crystal-ball', 'mdi-cube', 'mdi-cube-outline', 'mdi-cube-scan', 'mdi-cube-send', 'mdi-cube-unfolded', 'mdi-cup', 'mdi-cup-off', 'mdi-cup-water', 'mdi-cupcake', 'mdi-curling', 'mdi-currency-bdt', 'mdi-currency-brl', 'mdi-currency-btc', 'mdi-currency-chf', 'mdi-currency-cny', 'mdi-currency-eth', 'mdi-currency-eur', 'mdi-currency-gbp', 'mdi-currency-ils', 'mdi-currency-inr', 'mdi-currency-jpy', 'mdi-currency-krw', 'mdi-currency-kzt', 'mdi-currency-ngn', 'mdi-currency-php', 'mdi-currency-rial', 'mdi-currency-rub', 'mdi-currency-sign', 'mdi-currency-try', 'mdi-currency-twd', 'mdi-currency-usd', 'mdi-currency-usd-off', 'mdi-current-ac', 'mdi-current-dc', 'mdi-cursor-default', 'mdi-cursor-default-click', 'mdi-cursor-default-click-outline', 'mdi-cursor-default-outline', 'mdi-cursor-move', 'mdi-cursor-pointer', 'mdi-cursor-text', 'mdi-database', 'mdi-database-check', 'mdi-database-edit', 'mdi-database-export', 'mdi-database-import', 'mdi-database-lock', 'mdi-database-minus', 'mdi-database-plus', 'mdi-database-refresh', 'mdi-database-remove', 'mdi-database-search', 'mdi-database-settings', 'mdi-death-star', 'mdi-death-star-variant', 'mdi-deathly-hallows', 'mdi-debian', 'mdi-debug-step-into', 'mdi-debug-step-out', 'mdi-debug-step-over', 'mdi-decagram', 'mdi-decagram-outline', 'mdi-decimal-decrease', 'mdi-decimal-increase', 'mdi-delete', 'mdi-delete-circle', 'mdi-delete-circle-outline', 'mdi-delete-empty', 'mdi-delete-empty-outline', 'mdi-delete-forever', 'mdi-delete-forever-outline', 'mdi-delete-outline', 'mdi-delete-restore', 'mdi-delete-sweep', 'mdi-delete-sweep-outline', 'mdi-delete-variant', 'mdi-delta', 'mdi-desk-lamp', 'mdi-deskphone', 'mdi-desktop-classic', 'mdi-desktop-mac', 'mdi-desktop-mac-dashboard', 'mdi-desktop-tower', 'mdi-desktop-tower-monitor', 'mdi-details', 'mdi-dev-to', 'mdi-developer-board', 'mdi-deviantart', 'mdi-dialpad', 'mdi-diameter', 'mdi-diameter-outline', 'mdi-diameter-variant', 'mdi-diamond', 'mdi-diamond-outline', 'mdi-diamond-stone', 'mdi-dice-1', 'mdi-dice-2', 'mdi-dice-3', 'mdi-dice-4', 'mdi-dice-5', 'mdi-dice-6', 'mdi-dice-d10', 'mdi-dice-d12', 'mdi-dice-d20', 'mdi-dice-d4', 'mdi-dice-d6', 'mdi-dice-d8', 'mdi-dice-multiple', 'mdi-dictionary', 'mdi-dip-switch', 'mdi-directions', 'mdi-directions-fork', 'mdi-disc', 'mdi-disc-alert', 'mdi-disc-player', 'mdi-discord', 'mdi-dishwasher', 'mdi-disqus', 'mdi-disqus-outline', 'mdi-diving-flippers', 'mdi-diving-helmet', 'mdi-diving-scuba', 'mdi-diving-scuba-flag', 'mdi-diving-scuba-tank', 'mdi-diving-scuba-tank-multiple', 'mdi-diving-snorkel', 'mdi-division', 'mdi-division-box', 'mdi-dlna', 'mdi-dna', 'mdi-dns', 'mdi-dns-outline', 'mdi-do-not-disturb', 'mdi-do-not-disturb-off', 'mdi-docker', 'mdi-doctor', 'mdi-dog', 'mdi-dog-service', 'mdi-dog-side', 'mdi-dolby', 'mdi-dolly', 'mdi-domain', 'mdi-domain-off', 'mdi-donkey', 'mdi-door', 'mdi-door-closed', 'mdi-door-open', 'mdi-doorbell-video', 'mdi-dot-net', 'mdi-dots-horizontal', 'mdi-dots-horizontal-circle', 'mdi-dots-horizontal-circle-outline', 'mdi-dots-vertical', 'mdi-dots-vertical-circle', 'mdi-dots-vertical-circle-outline', 'mdi-douban', 'mdi-download', 'mdi-download-multiple', 'mdi-download-network', 'mdi-download-network-outline', 'mdi-download-outline', 'mdi-drag', 'mdi-drag-horizontal', 'mdi-drag-variant', 'mdi-drag-vertical', 'mdi-drama-masks', 'mdi-drawing', 'mdi-drawing-box', 'mdi-dribbble', 'mdi-dribbble-box', 'mdi-drone', 'mdi-dropbox', 'mdi-drupal', 'mdi-duck', 'mdi-dumbbell', 'mdi-dump-truck', 'mdi-ear-hearing', 'mdi-ear-hearing-off', 'mdi-earth', 'mdi-earth-box', 'mdi-earth-box-off', 'mdi-earth-off', 'mdi-edge', 'mdi-egg', 'mdi-egg-easter', 'mdi-eight-track', 'mdi-eject', 'mdi-eject-outline', 'mdi-electric-switch', 'mdi-elephant', 'mdi-elevation-decline', 'mdi-elevation-rise', 'mdi-elevator', 'mdi-ellipse', 'mdi-ellipse-outline', 'mdi-email', 'mdi-email-alert', 'mdi-email-box', 'mdi-email-check', 'mdi-email-check-outline', 'mdi-email-lock', 'mdi-email-mark-as-unread', 'mdi-email-open', 'mdi-email-open-outline', 'mdi-email-outline', 'mdi-email-plus', 'mdi-email-plus-outline', 'mdi-email-search', 'mdi-email-search-outline', 'mdi-email-variant', 'mdi-ember', 'mdi-emby', 'mdi-emoticon', 'mdi-emoticon-angry', 'mdi-emoticon-angry-outline', 'mdi-emoticon-cool', 'mdi-emoticon-cool-outline', 'mdi-emoticon-cry', 'mdi-emoticon-cry-outline', 'mdi-emoticon-dead', 'mdi-emoticon-dead-outline', 'mdi-emoticon-devil', 'mdi-emoticon-devil-outline', 'mdi-emoticon-excited', 'mdi-emoticon-excited-outline', 'mdi-emoticon-happy', 'mdi-emoticon-happy-outline', 'mdi-emoticon-kiss', 'mdi-emoticon-kiss-outline', 'mdi-emoticon-neutral', 'mdi-emoticon-neutral-outline', 'mdi-emoticon-outline', 'mdi-emoticon-poop', 'mdi-emoticon-poop-outline', 'mdi-emoticon-sad', 'mdi-emoticon-sad-outline', 'mdi-emoticon-tongue', 'mdi-emoticon-tongue-outline', 'mdi-emoticon-wink', 'mdi-emoticon-wink-outline', 'mdi-engine', 'mdi-engine-off', 'mdi-engine-off-outline', 'mdi-engine-outline', 'mdi-equal', 'mdi-equal-box', 'mdi-equalizer', 'mdi-equalizer-outline', 'mdi-eraser', 'mdi-eraser-variant', 'mdi-escalator', 'mdi-eslint', 'mdi-et', 'mdi-ethereum', 'mdi-ethernet', 'mdi-ethernet-cable', 'mdi-ethernet-cable-off', 'mdi-etsy', 'mdi-ev-station', 'mdi-eventbrite', 'mdi-evernote', 'mdi-exclamation', 'mdi-exit-run', 'mdi-exit-to-app', 'mdi-expand-all', 'mdi-expand-all-outline', 'mdi-exponent', 'mdi-exponent-box', 'mdi-export', 'mdi-export-variant', 'mdi-eye', 'mdi-eye-check', 'mdi-eye-check-outline', 'mdi-eye-circle', 'mdi-eye-circle-outline', 'mdi-eye-off', 'mdi-eye-off-outline', 'mdi-eye-outline', 'mdi-eye-plus', 'mdi-eye-plus-outline', 'mdi-eye-settings', 'mdi-eye-settings-outline', 'mdi-eyedropper', 'mdi-eyedropper-variant', 'mdi-face', 'mdi-face-agent', 'mdi-face-outline', 'mdi-face-profile', 'mdi-face-recognition', 'mdi-facebook', 'mdi-facebook-box', 'mdi-facebook-messenger', 'mdi-facebook-workplace', 'mdi-factory', 'mdi-fan', 'mdi-fan-off', 'mdi-fast-forward', 'mdi-fast-forward-10', 'mdi-fast-forward-30', 'mdi-fast-forward-outline', 'mdi-fax', 'mdi-feather', 'mdi-feature-search', 'mdi-feature-search-outline', 'mdi-fedora', 'mdi-ferris-wheel', 'mdi-ferry', 'mdi-file', 'mdi-file-account', 'mdi-file-alert', 'mdi-file-alert-outline', 'mdi-file-cabinet', 'mdi-file-cancel', 'mdi-file-cancel-outline', 'mdi-file-chart', 'mdi-file-check', 'mdi-file-check-outline', 'mdi-file-cloud', 'mdi-file-compare', 'mdi-file-delimited', 'mdi-file-delimited-outline', 'mdi-file-document', 'mdi-file-document-box', 'mdi-file-document-box-check', 'mdi-file-document-box-check-outline', 'mdi-file-document-box-minus', 'mdi-file-document-box-minus-outline', 'mdi-file-document-box-multiple', 'mdi-file-document-box-multiple-outline', 'mdi-file-document-box-outline', 'mdi-file-document-box-plus', 'mdi-file-document-box-plus-outline', 'mdi-file-document-box-remove', 'mdi-file-document-box-remove-outline', 'mdi-file-document-box-search', 'mdi-file-document-box-search-outline', 'mdi-file-document-edit', 'mdi-file-document-edit-outline', 'mdi-file-document-outline', 'mdi-file-download', 'mdi-file-download-outline', 'mdi-file-excel', 'mdi-file-excel-box', 'mdi-file-export', 'mdi-file-eye', 'mdi-file-eye-outline', 'mdi-file-find', 'mdi-file-find-outline', 'mdi-file-hidden', 'mdi-file-image', 'mdi-file-image-outline', 'mdi-file-import', 'mdi-file-lock', 'mdi-file-move', 'mdi-file-multiple', 'mdi-file-music', 'mdi-file-music-outline', 'mdi-file-outline', 'mdi-file-pdf', 'mdi-file-pdf-box', 'mdi-file-pdf-outline', 'mdi-file-percent', 'mdi-file-plus', 'mdi-file-powerpoint', 'mdi-file-powerpoint-box', 'mdi-file-presentation-box', 'mdi-file-question', 'mdi-file-remove', 'mdi-file-replace', 'mdi-file-replace-outline', 'mdi-file-restore', 'mdi-file-search', 'mdi-file-search-outline', 'mdi-file-send', 'mdi-file-table', 'mdi-file-table-outline', 'mdi-file-tree', 'mdi-file-undo', 'mdi-file-upload', 'mdi-file-upload-outline', 'mdi-file-video', 'mdi-file-video-outline', 'mdi-file-word', 'mdi-file-word-box', 'mdi-file-xml', 'mdi-film', 'mdi-filmstrip', 'mdi-filmstrip-off', 'mdi-filter', 'mdi-filter-outline', 'mdi-filter-remove', 'mdi-filter-remove-outline', 'mdi-filter-variant', 'mdi-finance', 'mdi-find-replace', 'mdi-fingerprint', 'mdi-fingerprint-off', 'mdi-fire', 'mdi-fire-truck', 'mdi-firebase', 'mdi-firefox', 'mdi-fireplace', 'mdi-fireplace-off', 'mdi-firework', 'mdi-fish', 'mdi-flag', 'mdi-flag-checkered', 'mdi-flag-minus', 'mdi-flag-outline', 'mdi-flag-plus', 'mdi-flag-remove', 'mdi-flag-triangle', 'mdi-flag-variant', 'mdi-flag-variant-outline', 'mdi-flare', 'mdi-flash', 'mdi-flash-auto', 'mdi-flash-circle', 'mdi-flash-off', 'mdi-flash-outline', 'mdi-flash-red-eye', 'mdi-flashlight', 'mdi-flashlight-off', 'mdi-flask', 'mdi-flask-empty', 'mdi-flask-empty-outline', 'mdi-flask-outline', 'mdi-flattr', 'mdi-flickr', 'mdi-flip-to-back', 'mdi-flip-to-front', 'mdi-floor-lamp', 'mdi-floor-plan', 'mdi-floppy', 'mdi-floppy-variant', 'mdi-flower', 'mdi-flower-outline', 'mdi-flower-poppy', 'mdi-flower-tulip', 'mdi-flower-tulip-outline', 'mdi-folder', 'mdi-folder-account', 'mdi-folder-account-outline', 'mdi-folder-alert', 'mdi-folder-alert-outline', 'mdi-folder-clock', 'mdi-folder-clock-outline', 'mdi-folder-download', 'mdi-folder-edit', 'mdi-folder-edit-outline', 'mdi-folder-google-drive', 'mdi-folder-image', 'mdi-folder-key', 'mdi-folder-key-network', 'mdi-folder-key-network-outline', 'mdi-folder-lock', 'mdi-folder-lock-open', 'mdi-folder-move', 'mdi-folder-multiple', 'mdi-folder-multiple-image', 'mdi-folder-multiple-outline', 'mdi-folder-network', 'mdi-folder-network-outline', 'mdi-folder-open', 'mdi-folder-open-outline', 'mdi-folder-outline', 'mdi-folder-plus', 'mdi-folder-plus-outline', 'mdi-folder-pound', 'mdi-folder-pound-outline', 'mdi-folder-remove', 'mdi-folder-remove-outline', 'mdi-folder-search', 'mdi-folder-search-outline', 'mdi-folder-star', 'mdi-folder-star-outline', 'mdi-folder-sync', 'mdi-folder-sync-outline', 'mdi-folder-text', 'mdi-folder-text-outline', 'mdi-folder-upload', 'mdi-font-awesome', 'mdi-food', 'mdi-food-apple', 'mdi-food-apple-outline', 'mdi-food-croissant', 'mdi-food-fork-drink', 'mdi-food-off', 'mdi-food-variant', 'mdi-football', 'mdi-football-australian', 'mdi-football-helmet', 'mdi-forklift', 'mdi-format-align-bottom', 'mdi-format-align-center', 'mdi-format-align-justify', 'mdi-format-align-left', 'mdi-format-align-middle', 'mdi-format-align-right', 'mdi-format-align-top', 'mdi-format-annotation-minus', 'mdi-format-annotation-plus', 'mdi-format-bold', 'mdi-format-clear', 'mdi-format-color-fill', 'mdi-format-color-highlight', 'mdi-format-color-text', 'mdi-format-columns', 'mdi-format-float-center', 'mdi-format-float-left', 'mdi-format-float-none', 'mdi-format-float-right', 'mdi-format-font', 'mdi-format-font-size-decrease', 'mdi-format-font-size-increase', 'mdi-format-header-1', 'mdi-format-header-2', 'mdi-format-header-3', 'mdi-format-header-4', 'mdi-format-header-5', 'mdi-format-header-6', 'mdi-format-header-decrease', 'mdi-format-header-equal', 'mdi-format-header-increase', 'mdi-format-header-pound', 'mdi-format-horizontal-align-center', 'mdi-format-horizontal-align-left', 'mdi-format-horizontal-align-right', 'mdi-format-indent-decrease', 'mdi-format-indent-increase', 'mdi-format-italic', 'mdi-format-letter-case', 'mdi-format-letter-case-lower', 'mdi-format-letter-case-upper', 'mdi-format-line-spacing', 'mdi-format-line-style', 'mdi-format-line-weight', 'mdi-format-list-bulleted', 'mdi-format-list-bulleted-square', 'mdi-format-list-bulleted-type', 'mdi-format-list-checkbox', 'mdi-format-list-checks', 'mdi-format-list-numbered', 'mdi-format-list-numbered-rtl', 'mdi-format-list-triangle', 'mdi-format-overline', 'mdi-format-page-break', 'mdi-format-paint', 'mdi-format-paragraph', 'mdi-format-pilcrow', 'mdi-format-quote-close', 'mdi-format-quote-open', 'mdi-format-rotate-90', 'mdi-format-section', 'mdi-format-size', 'mdi-format-strikethrough', 'mdi-format-strikethrough-variant', 'mdi-format-subscript', 'mdi-format-superscript', 'mdi-format-text', 'mdi-format-text-rotation-down', 'mdi-format-text-rotation-none', 'mdi-format-text-variant', 'mdi-format-text-wrapping-clip', 'mdi-format-text-wrapping-overflow', 'mdi-format-text-wrapping-wrap', 'mdi-format-textbox', 'mdi-format-textdirection-l-to-r', 'mdi-format-textdirection-r-to-l', 'mdi-format-title', 'mdi-format-underline', 'mdi-format-vertical-align-bottom', 'mdi-format-vertical-align-center', 'mdi-format-vertical-align-top', 'mdi-format-wrap-inline', 'mdi-format-wrap-square', 'mdi-format-wrap-tight', 'mdi-format-wrap-top-bottom', 'mdi-forum', 'mdi-forum-outline', 'mdi-forward', 'mdi-forwardburger', 'mdi-fountain', 'mdi-fountain-pen', 'mdi-fountain-pen-tip', 'mdi-foursquare', 'mdi-freebsd', 'mdi-frequently-asked-questions', 'mdi-fridge', 'mdi-fridge-bottom', 'mdi-fridge-outline', 'mdi-fridge-top', 'mdi-fuel', 'mdi-fullscreen', 'mdi-fullscreen-exit', 'mdi-function', 'mdi-function-variant', 'mdi-fuse', 'mdi-fuse-blade', 'mdi-gamepad', 'mdi-gamepad-circle', 'mdi-gamepad-circle-down', 'mdi-gamepad-circle-left', 'mdi-gamepad-circle-outline', 'mdi-gamepad-circle-right', 'mdi-gamepad-circle-up', 'mdi-gamepad-down', 'mdi-gamepad-left', 'mdi-gamepad-right', 'mdi-gamepad-round', 'mdi-gamepad-round-down', 'mdi-gamepad-round-left', 'mdi-gamepad-round-outline', 'mdi-gamepad-round-right', 'mdi-gamepad-round-up', 'mdi-gamepad-square', 'mdi-gamepad-square-outline', 'mdi-gamepad-up', 'mdi-gamepad-variant', 'mdi-gamepad-variant-outline', 'mdi-gantry-crane', 'mdi-garage', 'mdi-garage-alert', 'mdi-garage-open', 'mdi-gas-cylinder', 'mdi-gas-station', 'mdi-gas-station-outline', 'mdi-gate', 'mdi-gate-and', 'mdi-gate-nand', 'mdi-gate-nor', 'mdi-gate-not', 'mdi-gate-or', 'mdi-gate-xnor', 'mdi-gate-xor', 'mdi-gatsby', 'mdi-gauge', 'mdi-gauge-empty', 'mdi-gauge-full', 'mdi-gauge-low', 'mdi-gavel', 'mdi-gender-female', 'mdi-gender-male', 'mdi-gender-male-female', 'mdi-gender-transgender', 'mdi-gentoo', 'mdi-gesture', 'mdi-gesture-double-tap', 'mdi-gesture-pinch', 'mdi-gesture-spread', 'mdi-gesture-swipe', 'mdi-gesture-swipe-down', 'mdi-gesture-swipe-horizontal', 'mdi-gesture-swipe-left', 'mdi-gesture-swipe-right', 'mdi-gesture-swipe-up', 'mdi-gesture-swipe-vertical', 'mdi-gesture-tap', 'mdi-gesture-tap-hold', 'mdi-gesture-two-double-tap', 'mdi-gesture-two-tap', 'mdi-ghost', 'mdi-ghost-off', 'mdi-gif', 'mdi-gift', 'mdi-gift-outline', 'mdi-git', 'mdi-github-box', 'mdi-github-circle', 'mdi-github-face', 'mdi-gitlab', 'mdi-glass-cocktail', 'mdi-glass-flute', 'mdi-glass-mug', 'mdi-glass-stange', 'mdi-glass-tulip', 'mdi-glass-wine', 'mdi-glassdoor', 'mdi-glasses', 'mdi-globe-model', 'mdi-gmail', 'mdi-gnome', 'mdi-go-kart', 'mdi-go-kart-track', 'mdi-gog', 'mdi-golf', 'mdi-gondola', 'mdi-goodreads', 'mdi-google', 'mdi-google-adwords', 'mdi-google-allo', 'mdi-google-analytics', 'mdi-google-assistant', 'mdi-google-cardboard', 'mdi-google-chrome', 'mdi-google-circles', 'mdi-google-circles-communities', 'mdi-google-circles-extended', 'mdi-google-circles-group', 'mdi-google-classroom', 'mdi-google-controller', 'mdi-google-controller-off', 'mdi-google-drive', 'mdi-google-earth', 'mdi-google-fit', 'mdi-google-glass', 'mdi-google-hangouts', 'mdi-google-home', 'mdi-google-keep', 'mdi-google-lens', 'mdi-google-maps', 'mdi-google-nearby', 'mdi-google-pages', 'mdi-google-photos', 'mdi-google-physical-web', 'mdi-google-play', 'mdi-google-plus', 'mdi-google-plus-box', 'mdi-google-podcast', 'mdi-google-spreadsheet', 'mdi-google-street-view', 'mdi-google-translate', 'mdi-gpu', 'mdi-gradient', 'mdi-grain', 'mdi-graphql', 'mdi-grave-stone', 'mdi-grease-pencil', 'mdi-greater-than', 'mdi-greater-than-or-equal', 'mdi-grid', 'mdi-grid-large', 'mdi-grid-off', 'mdi-grill', 'mdi-group', 'mdi-guitar-acoustic', 'mdi-guitar-electric', 'mdi-guitar-pick', 'mdi-guitar-pick-outline', 'mdi-guy-fawkes-mask', 'mdi-hackernews', 'mdi-hail', 'mdi-halloween', 'mdi-hamburger', 'mdi-hammer', 'mdi-hand', 'mdi-hand-left', 'mdi-hand-okay', 'mdi-hand-peace', 'mdi-hand-peace-variant', 'mdi-hand-pointing-down', 'mdi-hand-pointing-left', 'mdi-hand-pointing-right', 'mdi-hand-pointing-up', 'mdi-hand-right', 'mdi-hand-saw', 'mdi-hanger', 'mdi-hard-hat', 'mdi-harddisk', 'mdi-hat-fedora', 'mdi-hazard-lights', 'mdi-hdr', 'mdi-hdr-off', 'mdi-headphones', 'mdi-headphones-bluetooth', 'mdi-headphones-box', 'mdi-headphones-off', 'mdi-headphones-settings', 'mdi-headset', 'mdi-headset-dock', 'mdi-headset-off', 'mdi-heart', 'mdi-heart-box', 'mdi-heart-box-outline', 'mdi-heart-broken', 'mdi-heart-broken-outline', 'mdi-heart-circle', 'mdi-heart-circle-outline', 'mdi-heart-half', 'mdi-heart-half-full', 'mdi-heart-half-outline', 'mdi-heart-multiple', 'mdi-heart-multiple-outline', 'mdi-heart-off', 'mdi-heart-outline', 'mdi-heart-pulse', 'mdi-helicopter', 'mdi-help', 'mdi-help-box', 'mdi-help-circle', 'mdi-help-circle-outline', 'mdi-help-network', 'mdi-help-network-outline', 'mdi-help-rhombus', 'mdi-help-rhombus-outline', 'mdi-hexagon', 'mdi-hexagon-multiple', 'mdi-hexagon-outline', 'mdi-hexagon-slice-1', 'mdi-hexagon-slice-2', 'mdi-hexagon-slice-3', 'mdi-hexagon-slice-4', 'mdi-hexagon-slice-5', 'mdi-hexagon-slice-6', 'mdi-hexagram', 'mdi-hexagram-outline', 'mdi-high-definition', 'mdi-high-definition-box', 'mdi-highway', 'mdi-hiking', 'mdi-hinduism', 'mdi-history', 'mdi-hockey-puck', 'mdi-hockey-sticks', 'mdi-hololens', 'mdi-home', 'mdi-home-account', 'mdi-home-alert', 'mdi-home-analytics', 'mdi-home-assistant', 'mdi-home-automation', 'mdi-home-circle', 'mdi-home-city', 'mdi-home-city-outline', 'mdi-home-currency-usd', 'mdi-home-floor-0', 'mdi-home-floor-1', 'mdi-home-floor-2', 'mdi-home-floor-3', 'mdi-home-floor-a', 'mdi-home-floor-b', 'mdi-home-floor-g', 'mdi-home-floor-l', 'mdi-home-floor-negative-1', 'mdi-home-group', 'mdi-home-heart', 'mdi-home-lock', 'mdi-home-lock-open', 'mdi-home-map-marker', 'mdi-home-minus', 'mdi-home-modern', 'mdi-home-outline', 'mdi-home-plus', 'mdi-home-variant', 'mdi-home-variant-outline', 'mdi-hook', 'mdi-hook-off', 'mdi-hops', 'mdi-horseshoe', 'mdi-hospital', 'mdi-hospital-building', 'mdi-hospital-marker', 'mdi-hot-tub', 'mdi-hotel', 'mdi-houzz', 'mdi-houzz-box', 'mdi-hubspot', 'mdi-hulu', 'mdi-human', 'mdi-human-child', 'mdi-human-female', 'mdi-human-female-boy', 'mdi-human-female-female', 'mdi-human-female-girl', 'mdi-human-greeting', 'mdi-human-handsdown', 'mdi-human-handsup', 'mdi-human-male', 'mdi-human-male-boy', 'mdi-human-male-female', 'mdi-human-male-girl', 'mdi-human-male-male', 'mdi-human-pregnant', 'mdi-humble-bundle', 'mdi-ice-cream', 'mdi-iframe', 'mdi-iframe-outline', 'mdi-image', 'mdi-image-album', 'mdi-image-area', 'mdi-image-area-close', 'mdi-image-broken', 'mdi-image-broken-variant', 'mdi-image-filter', 'mdi-image-filter-black-white', 'mdi-image-filter-center-focus', 'mdi-image-filter-center-focus-weak', 'mdi-image-filter-drama', 'mdi-image-filter-frames', 'mdi-image-filter-hdr', 'mdi-image-filter-none', 'mdi-image-filter-tilt-shift', 'mdi-image-filter-vintage', 'mdi-image-frame', 'mdi-image-move', 'mdi-image-multiple', 'mdi-image-off', 'mdi-image-outline', 'mdi-image-plus', 'mdi-image-search', 'mdi-image-search-outline', 'mdi-image-size-select-actual', 'mdi-image-size-select-large', 'mdi-image-size-select-small', 'mdi-import', 'mdi-inbox', 'mdi-inbox-arrow-down', 'mdi-inbox-arrow-up', 'mdi-inbox-multiple', 'mdi-inbox-multiple-outline', 'mdi-incognito', 'mdi-infinity', 'mdi-information', 'mdi-information-outline', 'mdi-information-variant', 'mdi-instagram', 'mdi-instapaper', 'mdi-internet-explorer', 'mdi-invert-colors', 'mdi-invert-colors-off', 'mdi-ip', 'mdi-ip-network', 'mdi-ip-network-outline', 'mdi-ipod', 'mdi-islam', 'mdi-itunes', 'mdi-jabber', 'mdi-jeepney', 'mdi-jira', 'mdi-jquery', 'mdi-jsfiddle', 'mdi-json', 'mdi-judaism', 'mdi-kabaddi', 'mdi-karate', 'mdi-keg', 'mdi-kettle', 'mdi-key', 'mdi-key-change', 'mdi-key-minus', 'mdi-key-outline', 'mdi-key-plus', 'mdi-key-remove', 'mdi-key-variant', 'mdi-keyboard', 'mdi-keyboard-backspace', 'mdi-keyboard-caps', 'mdi-keyboard-close', 'mdi-keyboard-off', 'mdi-keyboard-off-outline', 'mdi-keyboard-outline', 'mdi-keyboard-return', 'mdi-keyboard-settings', 'mdi-keyboard-settings-outline', 'mdi-keyboard-tab', 'mdi-keyboard-variant', 'mdi-kickstarter', 'mdi-knife', 'mdi-knife-military', 'mdi-kodi', 'mdi-label', 'mdi-label-off', 'mdi-label-off-outline', 'mdi-label-outline', 'mdi-label-variant', 'mdi-label-variant-outline', 'mdi-ladybug', 'mdi-lambda', 'mdi-lamp', 'mdi-lan', 'mdi-lan-connect', 'mdi-lan-disconnect', 'mdi-lan-pending', 'mdi-language-c', 'mdi-language-cpp', 'mdi-language-csharp', 'mdi-language-css3', 'mdi-language-go', 'mdi-language-haskell', 'mdi-language-html5', 'mdi-language-java', 'mdi-language-javascript', 'mdi-language-lua', 'mdi-language-php', 'mdi-language-python', 'mdi-language-python-text', 'mdi-language-r', 'mdi-language-ruby-on-rails', 'mdi-language-swift', 'mdi-language-typescript', 'mdi-laptop', 'mdi-laptop-chromebook', 'mdi-laptop-mac', 'mdi-laptop-off', 'mdi-laptop-windows', 'mdi-laravel', 'mdi-lastfm', 'mdi-lastpass', 'mdi-launch', 'mdi-lava-lamp', 'mdi-layers', 'mdi-layers-minus', 'mdi-layers-off', 'mdi-layers-off-outline', 'mdi-layers-outline', 'mdi-layers-plus', 'mdi-layers-remove', 'mdi-lead-pencil', 'mdi-leaf', 'mdi-leaf-maple', 'mdi-leak', 'mdi-leak-off', 'mdi-led-off', 'mdi-led-on', 'mdi-led-outline', 'mdi-led-strip', 'mdi-led-variant-off', 'mdi-led-variant-on', 'mdi-led-variant-outline', 'mdi-less-than', 'mdi-less-than-or-equal', 'mdi-library', 'mdi-library-books', 'mdi-library-movie', 'mdi-library-music', 'mdi-library-plus', 'mdi-library-shelves', 'mdi-library-video', 'mdi-lifebuoy', 'mdi-light-switch', 'mdi-lightbulb', 'mdi-lightbulb-off', 'mdi-lightbulb-off-outline', 'mdi-lightbulb-on', 'mdi-lightbulb-on-outline', 'mdi-lightbulb-outline', 'mdi-lighthouse', 'mdi-lighthouse-on', 'mdi-link', 'mdi-link-box', 'mdi-link-box-outline', 'mdi-link-box-variant', 'mdi-link-box-variant-outline', 'mdi-link-off', 'mdi-link-plus', 'mdi-link-variant', 'mdi-link-variant-off', 'mdi-linkedin', 'mdi-linkedin-box', 'mdi-linux', 'mdi-linux-mint', 'mdi-litecoin', 'mdi-loading', 'mdi-lock', 'mdi-lock-alert', 'mdi-lock-clock', 'mdi-lock-open', 'mdi-lock-open-outline', 'mdi-lock-outline', 'mdi-lock-pattern', 'mdi-lock-plus', 'mdi-lock-question', 'mdi-lock-reset', 'mdi-lock-smart', 'mdi-locker', 'mdi-locker-multiple', 'mdi-login', 'mdi-login-variant', 'mdi-logout', 'mdi-logout-variant', 'mdi-looks', 'mdi-loop', 'mdi-loupe', 'mdi-lumx', 'mdi-lyft', 'mdi-magnet', 'mdi-magnet-on', 'mdi-magnify', 'mdi-magnify-close', 'mdi-magnify-minus', 'mdi-magnify-minus-cursor', 'mdi-magnify-minus-outline', 'mdi-magnify-plus', 'mdi-magnify-plus-cursor', 'mdi-magnify-plus-outline', 'mdi-mail', 'mdi-mail-ru', 'mdi-mailbox', 'mdi-mailbox-open', 'mdi-mailbox-open-outline', 'mdi-mailbox-open-up', 'mdi-mailbox-open-up-outline', 'mdi-mailbox-outline', 'mdi-mailbox-up', 'mdi-mailbox-up-outline', 'mdi-map', 'mdi-map-check', 'mdi-map-check-outline', 'mdi-map-clock', 'mdi-map-clock-outline', 'mdi-map-legend', 'mdi-map-marker', 'mdi-map-marker-check', 'mdi-map-marker-circle', 'mdi-map-marker-distance', 'mdi-map-marker-minus', 'mdi-map-marker-multiple', 'mdi-map-marker-off', 'mdi-map-marker-outline', 'mdi-map-marker-path', 'mdi-map-marker-plus', 'mdi-map-marker-radius', 'mdi-map-minus', 'mdi-map-outline', 'mdi-map-plus', 'mdi-map-search', 'mdi-map-search-outline', 'mdi-mapbox', 'mdi-margin', 'mdi-markdown', 'mdi-marker', 'mdi-marker-cancel', 'mdi-marker-check', 'mdi-mastodon', 'mdi-mastodon-variant', 'mdi-material-design', 'mdi-material-ui', 'mdi-math-compass', 'mdi-math-cos', 'mdi-math-sin', 'mdi-math-tan', 'mdi-matrix', 'mdi-maxcdn', 'mdi-medal', 'mdi-medical-bag', 'mdi-medium', 'mdi-meetup', 'mdi-memory', 'mdi-menu', 'mdi-menu-down', 'mdi-menu-down-outline', 'mdi-menu-left', 'mdi-menu-left-outline', 'mdi-menu-open', 'mdi-menu-right', 'mdi-menu-right-outline', 'mdi-menu-swap', 'mdi-menu-swap-outline', 'mdi-menu-up', 'mdi-menu-up-outline', 'mdi-message', 'mdi-message-alert', 'mdi-message-alert-outline', 'mdi-message-bulleted', 'mdi-message-bulleted-off', 'mdi-message-draw', 'mdi-message-image', 'mdi-message-outline', 'mdi-message-plus', 'mdi-message-processing', 'mdi-message-reply', 'mdi-message-reply-text', 'mdi-message-settings', 'mdi-message-settings-variant', 'mdi-message-text', 'mdi-message-text-outline', 'mdi-message-video', 'mdi-meteor', 'mdi-metronome', 'mdi-metronome-tick', 'mdi-micro-sd', 'mdi-microphone', 'mdi-microphone-minus', 'mdi-microphone-off', 'mdi-microphone-outline', 'mdi-microphone-plus', 'mdi-microphone-settings', 'mdi-microphone-variant', 'mdi-microphone-variant-off', 'mdi-microscope', 'mdi-microsoft', 'mdi-microsoft-dynamics', 'mdi-microwave', 'mdi-midi', 'mdi-midi-port', 'mdi-mine', 'mdi-minecraft', 'mdi-mini-sd', 'mdi-minidisc', 'mdi-minus', 'mdi-minus-box', 'mdi-minus-box-outline', 'mdi-minus-circle', 'mdi-minus-circle-outline', 'mdi-minus-network', 'mdi-minus-network-outline', 'mdi-mixcloud', 'mdi-mixed-martial-arts', 'mdi-mixed-reality', 'mdi-mixer', 'mdi-molecule', 'mdi-monitor', 'mdi-monitor-cellphone', 'mdi-monitor-cellphone-star', 'mdi-monitor-dashboard', 'mdi-monitor-lock', 'mdi-monitor-multiple', 'mdi-monitor-off', 'mdi-monitor-screenshot', 'mdi-monitor-star', 'mdi-more', 'mdi-mother-nurse', 'mdi-motion-sensor', 'mdi-motorbike', 'mdi-mouse', 'mdi-mouse-bluetooth', 'mdi-mouse-off', 'mdi-mouse-variant', 'mdi-mouse-variant-off', 'mdi-move-resize', 'mdi-move-resize-variant', 'mdi-movie', 'mdi-movie-outline', 'mdi-movie-roll', 'mdi-muffin', 'mdi-multiplication', 'mdi-multiplication-box', 'mdi-mushroom', 'mdi-mushroom-outline', 'mdi-music', 'mdi-music-box', 'mdi-music-box-outline', 'mdi-music-circle', 'mdi-music-circle-outline', 'mdi-music-note', 'mdi-music-note-bluetooth', 'mdi-music-note-bluetooth-off', 'mdi-music-note-eighth', 'mdi-music-note-half', 'mdi-music-note-off', 'mdi-music-note-plus', 'mdi-music-note-quarter', 'mdi-music-note-sixteenth', 'mdi-music-note-whole', 'mdi-music-off', 'mdi-nail', 'mdi-nas', 'mdi-nativescript', 'mdi-nature', 'mdi-nature-people', 'mdi-navigation', 'mdi-near-me', 'mdi-needle', 'mdi-netflix', 'mdi-network', 'mdi-network-off', 'mdi-network-off-outline', 'mdi-network-outline', 'mdi-network-strength-1', 'mdi-network-strength-1-alert', 'mdi-network-strength-2', 'mdi-network-strength-2-alert', 'mdi-network-strength-3', 'mdi-network-strength-3-alert', 'mdi-network-strength-4', 'mdi-network-strength-4-alert', 'mdi-network-strength-off', 'mdi-network-strength-off-outline', 'mdi-network-strength-outline', 'mdi-new-box', 'mdi-newspaper', 'mdi-nfc', 'mdi-nfc-off', 'mdi-nfc-search-variant', 'mdi-nfc-tap', 'mdi-nfc-variant', 'mdi-nfc-variant-off', 'mdi-ninja', 'mdi-nintendo-switch', 'mdi-nodejs', 'mdi-not-equal', 'mdi-not-equal-variant', 'mdi-note', 'mdi-note-circle', 'mdi-note-multiple', 'mdi-note-multiple-outline', 'mdi-note-outline', 'mdi-note-plus', 'mdi-note-plus-outline', 'mdi-note-text', 'mdi-notebook', 'mdi-notebook-multiple', 'mdi-notebook-outline', 'mdi-notification-clear-all', 'mdi-npm', 'mdi-npm-variant', 'mdi-npm-variant-outline', 'mdi-nuke', 'mdi-null', 'mdi-numeric', 'mdi-numeric-0', 'mdi-numeric-0-box', 'mdi-numeric-0-box-multiple-outline', 'mdi-numeric-0-box-outline', 'mdi-numeric-0-circle', 'mdi-numeric-0-circle-outline', 'mdi-numeric-1', 'mdi-numeric-1-box', 'mdi-numeric-1-box-multiple-outline', 'mdi-numeric-1-box-outline', 'mdi-numeric-1-circle', 'mdi-numeric-1-circle-outline', 'mdi-numeric-2', 'mdi-numeric-2-box', 'mdi-numeric-2-box-multiple-outline', 'mdi-numeric-2-box-outline', 'mdi-numeric-2-circle', 'mdi-numeric-2-circle-outline', 'mdi-numeric-3', 'mdi-numeric-3-box', 'mdi-numeric-3-box-multiple-outline', 'mdi-numeric-3-box-outline', 'mdi-numeric-3-circle', 'mdi-numeric-3-circle-outline', 'mdi-numeric-4', 'mdi-numeric-4-box', 'mdi-numeric-4-box-multiple-outline', 'mdi-numeric-4-box-outline', 'mdi-numeric-4-circle', 'mdi-numeric-4-circle-outline', 'mdi-numeric-5', 'mdi-numeric-5-box', 'mdi-numeric-5-box-multiple-outline', 'mdi-numeric-5-box-outline', 'mdi-numeric-5-circle', 'mdi-numeric-5-circle-outline', 'mdi-numeric-6', 'mdi-numeric-6-box', 'mdi-numeric-6-box-multiple-outline', 'mdi-numeric-6-box-outline', 'mdi-numeric-6-circle', 'mdi-numeric-6-circle-outline', 'mdi-numeric-7', 'mdi-numeric-7-box', 'mdi-numeric-7-box-multiple-outline', 'mdi-numeric-7-box-outline', 'mdi-numeric-7-circle', 'mdi-numeric-7-circle-outline', 'mdi-numeric-8', 'mdi-numeric-8-box', 'mdi-numeric-8-box-multiple-outline', 'mdi-numeric-8-box-outline', 'mdi-numeric-8-circle', 'mdi-numeric-8-circle-outline', 'mdi-numeric-9', 'mdi-numeric-9-box', 'mdi-numeric-9-box-multiple-outline', 'mdi-numeric-9-box-outline', 'mdi-numeric-9-circle', 'mdi-numeric-9-circle-outline', 'mdi-numeric-9-plus-box', 'mdi-numeric-9-plus-box-multiple-outline', 'mdi-numeric-9-plus-box-outline', 'mdi-numeric-9-plus-circle', 'mdi-numeric-9-plus-circle-outline', 'mdi-nut', 'mdi-nutrition', 'mdi-oar', 'mdi-ocarina', 'mdi-octagon', 'mdi-octagon-outline', 'mdi-octagram', 'mdi-octagram-outline', 'mdi-odnoklassniki', 'mdi-office', 'mdi-office-building', 'mdi-oil', 'mdi-oil-temperature', 'mdi-omega', 'mdi-one-up', 'mdi-onedrive', 'mdi-onenote', 'mdi-onepassword', 'mdi-opacity', 'mdi-open-in-app', 'mdi-open-in-new', 'mdi-open-source-initiative', 'mdi-openid', 'mdi-opera', 'mdi-orbit', 'mdi-origin', 'mdi-ornament', 'mdi-ornament-variant', 'mdi-outlook', 'mdi-owl', 'mdi-pac-man', 'mdi-package', 'mdi-package-down', 'mdi-package-up', 'mdi-package-variant', 'mdi-package-variant-closed', 'mdi-page-first', 'mdi-page-last', 'mdi-page-layout-body', 'mdi-page-layout-footer', 'mdi-page-layout-header', 'mdi-page-layout-sidebar-left', 'mdi-page-layout-sidebar-right', 'mdi-page-next', 'mdi-page-next-outline', 'mdi-page-previous', 'mdi-page-previous-outline', 'mdi-palette', 'mdi-palette-advanced', 'mdi-palette-outline', 'mdi-palette-swatch', 'mdi-pan', 'mdi-pan-bottom-left', 'mdi-pan-bottom-right', 'mdi-pan-down', 'mdi-pan-horizontal', 'mdi-pan-left', 'mdi-pan-right', 'mdi-pan-top-left', 'mdi-pan-top-right', 'mdi-pan-up', 'mdi-pan-vertical', 'mdi-panda', 'mdi-pandora', 'mdi-panorama', 'mdi-panorama-fisheye', 'mdi-panorama-horizontal', 'mdi-panorama-vertical', 'mdi-panorama-wide-angle', 'mdi-paper-cut-vertical', 'mdi-paperclip', 'mdi-parachute', 'mdi-parachute-outline', 'mdi-parking', 'mdi-passport', 'mdi-passport-biometric', 'mdi-patreon', 'mdi-pause', 'mdi-pause-circle', 'mdi-pause-circle-outline', 'mdi-pause-octagon', 'mdi-pause-octagon-outline', 'mdi-paw', 'mdi-paw-off', 'mdi-paypal', 'mdi-pdf-box', 'mdi-peace', 'mdi-pen', 'mdi-pen-lock', 'mdi-pen-minus', 'mdi-pen-off', 'mdi-pen-plus', 'mdi-pen-remove', 'mdi-pencil', 'mdi-pencil-box', 'mdi-pencil-box-outline', 'mdi-pencil-circle', 'mdi-pencil-circle-outline', 'mdi-pencil-lock', 'mdi-pencil-lock-outline', 'mdi-pencil-minus', 'mdi-pencil-minus-outline', 'mdi-pencil-off', 'mdi-pencil-off-outline', 'mdi-pencil-outline', 'mdi-pencil-plus', 'mdi-pencil-plus-outline', 'mdi-pencil-remove', 'mdi-pencil-remove-outline', 'mdi-penguin', 'mdi-pentagon', 'mdi-pentagon-outline', 'mdi-percent', 'mdi-periodic-table', 'mdi-periodic-table-co2', 'mdi-periscope', 'mdi-perspective-less', 'mdi-perspective-more', 'mdi-pharmacy', 'mdi-phone', 'mdi-phone-bluetooth', 'mdi-phone-classic', 'mdi-phone-forward', 'mdi-phone-hangup', 'mdi-phone-in-talk', 'mdi-phone-incoming', 'mdi-phone-lock', 'mdi-phone-log', 'mdi-phone-minus', 'mdi-phone-missed', 'mdi-phone-off', 'mdi-phone-outgoing', 'mdi-phone-outline', 'mdi-phone-paused', 'mdi-phone-plus', 'mdi-phone-return', 'mdi-phone-rotate-landscape', 'mdi-phone-rotate-portrait', 'mdi-phone-settings', 'mdi-phone-voip', 'mdi-pi', 'mdi-pi-box', 'mdi-pi-hole', 'mdi-piano', 'mdi-pickaxe', 'mdi-picture-in-picture-bottom-right', 'mdi-picture-in-picture-bottom-right-outline', 'mdi-picture-in-picture-top-right', 'mdi-picture-in-picture-top-right-outline', 'mdi-pier', 'mdi-pier-crane', 'mdi-pig', 'mdi-pill', 'mdi-pillar', 'mdi-pin', 'mdi-pin-off', 'mdi-pin-off-outline', 'mdi-pin-outline', 'mdi-pine-tree', 'mdi-pine-tree-box', 'mdi-pinterest', 'mdi-pinterest-box', 'mdi-pinwheel', 'mdi-pinwheel-outline', 'mdi-pipe', 'mdi-pipe-disconnected', 'mdi-pipe-leak', 'mdi-pirate', 'mdi-pistol', 'mdi-piston', 'mdi-pizza', 'mdi-play', 'mdi-play-box-outline', 'mdi-play-circle', 'mdi-play-circle-outline', 'mdi-play-network', 'mdi-play-network-outline', 'mdi-play-pause', 'mdi-play-protected-content', 'mdi-play-speed', 'mdi-playlist-check', 'mdi-playlist-edit', 'mdi-playlist-minus', 'mdi-playlist-music', 'mdi-playlist-music-outline', 'mdi-playlist-play', 'mdi-playlist-plus', 'mdi-playlist-remove', 'mdi-playlist-star', 'mdi-playstation', 'mdi-plex', 'mdi-plus', 'mdi-plus-box', 'mdi-plus-box-outline', 'mdi-plus-circle', 'mdi-plus-circle-multiple-outline', 'mdi-plus-circle-outline', 'mdi-plus-minus', 'mdi-plus-minus-box', 'mdi-plus-network', 'mdi-plus-network-outline', 'mdi-plus-one', 'mdi-plus-outline', 'mdi-pocket', 'mdi-podcast', 'mdi-podium', 'mdi-podium-bronze', 'mdi-podium-gold', 'mdi-podium-silver', 'mdi-point-of-sale', 'mdi-pokeball', 'mdi-pokemon-go', 'mdi-poker-chip', 'mdi-polaroid', 'mdi-poll', 'mdi-poll-box', 'mdi-polymer', 'mdi-pool', 'mdi-popcorn', 'mdi-postage-stamp', 'mdi-pot', 'mdi-pot-mix', 'mdi-pound', 'mdi-pound-box', 'mdi-power', 'mdi-power-cycle', 'mdi-power-off', 'mdi-power-on', 'mdi-power-plug', 'mdi-power-plug-off', 'mdi-power-settings', 'mdi-power-sleep', 'mdi-power-socket', 'mdi-power-socket-au', 'mdi-power-socket-eu', 'mdi-power-socket-uk', 'mdi-power-socket-us', 'mdi-power-standby', 'mdi-powershell', 'mdi-prescription', 'mdi-presentation', 'mdi-presentation-play', 'mdi-printer', 'mdi-printer-3d', 'mdi-printer-3d-nozzle', 'mdi-printer-3d-nozzle-outline', 'mdi-printer-alert', 'mdi-printer-off', 'mdi-printer-settings', 'mdi-printer-wireless', 'mdi-priority-high', 'mdi-priority-low', 'mdi-professional-hexagon', 'mdi-progress-alert', 'mdi-progress-check', 'mdi-progress-clock', 'mdi-progress-download', 'mdi-progress-upload', 'mdi-progress-wrench', 'mdi-projector', 'mdi-projector-screen', 'mdi-publish', 'mdi-pulse', 'mdi-pumpkin', 'mdi-puzzle', 'mdi-puzzle-outline', 'mdi-qi', 'mdi-qqchat', 'mdi-qrcode', 'mdi-qrcode-edit', 'mdi-qrcode-scan', 'mdi-quadcopter', 'mdi-quality-high', 'mdi-quality-low', 'mdi-quality-medium', 'mdi-quicktime', 'mdi-quora', 'mdi-rabbit', 'mdi-racing-helmet', 'mdi-racquetball', 'mdi-radar', 'mdi-radiator', 'mdi-radiator-disabled', 'mdi-radiator-off', 'mdi-radio', 'mdi-radio-am', 'mdi-radio-fm', 'mdi-radio-handheld', 'mdi-radio-tower', 'mdi-radioactive', 'mdi-radioactive-off', 'mdi-radiobox-blank', 'mdi-radiobox-marked', 'mdi-radius', 'mdi-radius-outline', 'mdi-raspberry-pi', 'mdi-ray-end', 'mdi-ray-end-arrow', 'mdi-ray-start', 'mdi-ray-start-arrow', 'mdi-ray-start-end', 'mdi-ray-vertex', 'mdi-react', 'mdi-read', 'mdi-receipt', 'mdi-record', 'mdi-record-circle', 'mdi-record-circle-outline', 'mdi-record-player', 'mdi-record-rec', 'mdi-rectangle', 'mdi-rectangle-outline', 'mdi-recycle', 'mdi-reddit', 'mdi-redo', 'mdi-redo-variant', 'mdi-reflect-horizontal', 'mdi-reflect-vertical', 'mdi-refresh', 'mdi-regex', 'mdi-registered-trademark', 'mdi-relative-scale', 'mdi-reload', 'mdi-reminder', 'mdi-remote', 'mdi-remote-desktop', 'mdi-remote-off', 'mdi-remote-tv', 'mdi-remote-tv-off', 'mdi-rename-box', 'mdi-reorder-horizontal', 'mdi-reorder-vertical', 'mdi-repeat', 'mdi-repeat-off', 'mdi-repeat-once', 'mdi-replay', 'mdi-reply', 'mdi-reply-all', 'mdi-reproduction', 'mdi-resistor', 'mdi-resistor-nodes', 'mdi-resize', 'mdi-resize-bottom-right', 'mdi-responsive', 'mdi-restart', 'mdi-restart-off', 'mdi-restore', 'mdi-restore-clock', 'mdi-rewind', 'mdi-rewind-10', 'mdi-rewind-30', 'mdi-rewind-outline', 'mdi-rhombus', 'mdi-rhombus-medium', 'mdi-rhombus-outline', 'mdi-rhombus-split', 'mdi-ribbon', 'mdi-rice', 'mdi-ring', 'mdi-rivet', 'mdi-road', 'mdi-road-variant', 'mdi-robot', 'mdi-robot-industrial', 'mdi-robot-vacuum', 'mdi-robot-vacuum-variant', 'mdi-rocket', 'mdi-roller-skate', 'mdi-rollerblade', 'mdi-rollupjs', 'mdi-room-service', 'mdi-room-service-outline', 'mdi-rotate-3d', 'mdi-rotate-3d-variant', 'mdi-rotate-left', 'mdi-rotate-left-variant', 'mdi-rotate-orbit', 'mdi-rotate-right', 'mdi-rotate-right-variant', 'mdi-rounded-corner', 'mdi-router-wireless', 'mdi-router-wireless-settings', 'mdi-routes', 'mdi-rowing', 'mdi-rss', 'mdi-rss-box', 'mdi-ruby', 'mdi-rugby', 'mdi-ruler', 'mdi-ruler-square', 'mdi-run', 'mdi-run-fast', 'mdi-sack', 'mdi-sack-percent', 'mdi-safe', 'mdi-safety-goggles', 'mdi-sailing', 'mdi-sale', 'mdi-salesforce', 'mdi-sass', 'mdi-satellite', 'mdi-satellite-uplink', 'mdi-satellite-variant', 'mdi-sausage', 'mdi-saw-blade', 'mdi-saxophone', 'mdi-scale', 'mdi-scale-balance', 'mdi-scale-bathroom', 'mdi-scanner', 'mdi-scanner-off', 'mdi-scatter-plot', 'mdi-scatter-plot-outline', 'mdi-school', 'mdi-scissors-cutting', 'mdi-screen-rotation', 'mdi-screen-rotation-lock', 'mdi-screw-flat-top', 'mdi-screw-lag', 'mdi-screw-machine-flat-top', 'mdi-screw-machine-round-top', 'mdi-screw-round-top', 'mdi-screwdriver', 'mdi-script', 'mdi-script-outline', 'mdi-script-text', 'mdi-script-text-outline', 'mdi-sd', 'mdi-seal', 'mdi-search-web', 'mdi-seat', 'mdi-seat-flat', 'mdi-seat-flat-angled', 'mdi-seat-individual-suite', 'mdi-seat-legroom-extra', 'mdi-seat-legroom-normal', 'mdi-seat-legroom-reduced', 'mdi-seat-outline', 'mdi-seat-recline-extra', 'mdi-seat-recline-normal', 'mdi-seatbelt', 'mdi-security', 'mdi-security-network', 'mdi-seed', 'mdi-seed-outline', 'mdi-segment', 'mdi-select', 'mdi-select-all', 'mdi-select-color', 'mdi-select-compare', 'mdi-select-drag', 'mdi-select-inverse', 'mdi-select-off', 'mdi-selection', 'mdi-selection-drag', 'mdi-selection-ellipse', 'mdi-selection-off', 'mdi-send', 'mdi-send-circle', 'mdi-send-circle-outline', 'mdi-send-lock', 'mdi-serial-port', 'mdi-server', 'mdi-server-minus', 'mdi-server-network', 'mdi-server-network-off', 'mdi-server-off', 'mdi-server-plus', 'mdi-server-remove', 'mdi-server-security', 'mdi-set-all', 'mdi-set-center', 'mdi-set-center-right', 'mdi-set-left', 'mdi-set-left-center', 'mdi-set-left-right', 'mdi-set-none', 'mdi-set-right', 'mdi-set-top-box', 'mdi-settings', 'mdi-settings-box', 'mdi-settings-helper', 'mdi-settings-outline', 'mdi-shape', 'mdi-shape-circle-plus', 'mdi-shape-outline', 'mdi-shape-plus', 'mdi-shape-polygon-plus', 'mdi-shape-rectangle-plus', 'mdi-shape-square-plus', 'mdi-share', 'mdi-share-outline', 'mdi-share-variant', 'mdi-sheep', 'mdi-shield', 'mdi-shield-account', 'mdi-shield-account-outline', 'mdi-shield-airplane', 'mdi-shield-airplane-outline', 'mdi-shield-alert', 'mdi-shield-alert-outline', 'mdi-shield-check', 'mdi-shield-check-outline', 'mdi-shield-cross', 'mdi-shield-cross-outline', 'mdi-shield-half-full', 'mdi-shield-home', 'mdi-shield-home-outline', 'mdi-shield-key', 'mdi-shield-key-outline', 'mdi-shield-link-variant', 'mdi-shield-link-variant-outline', 'mdi-shield-lock', 'mdi-shield-lock-outline', 'mdi-shield-off', 'mdi-shield-off-outline', 'mdi-shield-outline', 'mdi-shield-plus', 'mdi-shield-plus-outline', 'mdi-shield-remove', 'mdi-shield-remove-outline', 'mdi-shield-search', 'mdi-ship-wheel', 'mdi-shoe-formal', 'mdi-shoe-heel', 'mdi-shoe-print', 'mdi-shopify', 'mdi-shopping', 'mdi-shopping-music', 'mdi-shovel', 'mdi-shovel-off', 'mdi-shower', 'mdi-shower-head', 'mdi-shredder', 'mdi-shuffle', 'mdi-shuffle-disabled', 'mdi-shuffle-variant', 'mdi-sigma', 'mdi-sigma-lower', 'mdi-sign-caution', 'mdi-sign-direction', 'mdi-sign-text', 'mdi-signal', 'mdi-signal-2g', 'mdi-signal-3g', 'mdi-signal-4g', 'mdi-signal-5g', 'mdi-signal-cellular-1', 'mdi-signal-cellular-2', 'mdi-signal-cellular-3', 'mdi-signal-cellular-outline', 'mdi-signal-distance-variant', 'mdi-signal-hspa', 'mdi-signal-hspa-plus', 'mdi-signal-off', 'mdi-signal-variant', 'mdi-signature', 'mdi-signature-freehand', 'mdi-signature-image', 'mdi-signature-text', 'mdi-silo', 'mdi-silverware', 'mdi-silverware-fork', 'mdi-silverware-fork-knife', 'mdi-silverware-spoon', 'mdi-silverware-variant', 'mdi-sim', 'mdi-sim-alert', 'mdi-sim-off', 'mdi-sina-weibo', 'mdi-sitemap', 'mdi-skate', 'mdi-skew-less', 'mdi-skew-more', 'mdi-skip-backward', 'mdi-skip-forward', 'mdi-skip-next', 'mdi-skip-next-circle', 'mdi-skip-next-circle-outline', 'mdi-skip-previous', 'mdi-skip-previous-circle', 'mdi-skip-previous-circle-outline', 'mdi-skull', 'mdi-skull-crossbones', 'mdi-skull-crossbones-outline', 'mdi-skull-outline', 'mdi-skype', 'mdi-skype-business', 'mdi-slack', 'mdi-slackware', 'mdi-sleep', 'mdi-sleep-off', 'mdi-slope-downhill', 'mdi-slope-uphill', 'mdi-smog', 'mdi-smoke-detector', 'mdi-smoking', 'mdi-smoking-off', 'mdi-snapchat', 'mdi-snowflake', 'mdi-snowman', 'mdi-soccer', 'mdi-soccer-field', 'mdi-sofa', 'mdi-solar-panel', 'mdi-solar-panel-large', 'mdi-solar-power', 'mdi-solid', 'mdi-sort', 'mdi-sort-alphabetical', 'mdi-sort-ascending', 'mdi-sort-descending', 'mdi-sort-numeric', 'mdi-sort-variant', 'mdi-sort-variant-lock', 'mdi-sort-variant-lock-open', 'mdi-soundcloud', 'mdi-source-branch', 'mdi-source-commit', 'mdi-source-commit-end', 'mdi-source-commit-end-local', 'mdi-source-commit-local', 'mdi-source-commit-next-local', 'mdi-source-commit-start', 'mdi-source-commit-start-next-local', 'mdi-source-fork', 'mdi-source-merge', 'mdi-source-pull', 'mdi-source-repository', 'mdi-source-repository-multiple', 'mdi-soy-sauce', 'mdi-spa', 'mdi-spa-outline', 'mdi-space-invaders', 'mdi-spade', 'mdi-speaker', 'mdi-speaker-bluetooth', 'mdi-speaker-multiple', 'mdi-speaker-off', 'mdi-speaker-wireless', 'mdi-speedometer', 'mdi-spellcheck', 'mdi-spider-web', 'mdi-spotify', 'mdi-spotlight', 'mdi-spotlight-beam', 'mdi-spray', 'mdi-spray-bottle', 'mdi-sprout', 'mdi-sprout-outline', 'mdi-square', 'mdi-square-edit-outline', 'mdi-square-inc', 'mdi-square-inc-cash', 'mdi-square-medium', 'mdi-square-medium-outline', 'mdi-square-outline', 'mdi-square-root', 'mdi-square-root-box', 'mdi-square-small', 'mdi-squeegee', 'mdi-ssh', 'mdi-stack-exchange', 'mdi-stack-overflow', 'mdi-stadium', 'mdi-stairs', 'mdi-stamper', 'mdi-standard-definition', 'mdi-star', 'mdi-star-box', 'mdi-star-box-outline', 'mdi-star-circle', 'mdi-star-circle-outline', 'mdi-star-face', 'mdi-star-four-points', 'mdi-star-four-points-outline', 'mdi-star-half', 'mdi-star-off', 'mdi-star-outline', 'mdi-star-three-points', 'mdi-star-three-points-outline', 'mdi-steam', 'mdi-steam-box', 'mdi-steering', 'mdi-steering-off', 'mdi-step-backward', 'mdi-step-backward-2', 'mdi-step-forward', 'mdi-step-forward-2', 'mdi-stethoscope', 'mdi-sticker', 'mdi-sticker-emoji', 'mdi-stocking', 'mdi-stop', 'mdi-stop-circle', 'mdi-stop-circle-outline', 'mdi-store', 'mdi-store-24-hour', 'mdi-stove', 'mdi-strava', 'mdi-subdirectory-arrow-left', 'mdi-subdirectory-arrow-right', 'mdi-subtitles', 'mdi-subtitles-outline', 'mdi-subway', 'mdi-subway-alert-variant', 'mdi-subway-variant', 'mdi-summit', 'mdi-sunglasses', 'mdi-surround-sound', 'mdi-surround-sound-2-0', 'mdi-surround-sound-3-1', 'mdi-surround-sound-5-1', 'mdi-surround-sound-7-1', 'mdi-svg', 'mdi-swap-horizontal', 'mdi-swap-horizontal-bold', 'mdi-swap-horizontal-variant', 'mdi-swap-vertical', 'mdi-swap-vertical-bold', 'mdi-swap-vertical-variant', 'mdi-swim', 'mdi-switch', 'mdi-sword', 'mdi-sword-cross', 'mdi-symfony', 'mdi-sync', 'mdi-sync-alert', 'mdi-sync-off', 'mdi-tab', 'mdi-tab-minus', 'mdi-tab-plus', 'mdi-tab-remove', 'mdi-tab-unselected', 'mdi-table', 'mdi-table-border', 'mdi-table-column', 'mdi-table-column-plus-after', 'mdi-table-column-plus-before', 'mdi-table-column-remove', 'mdi-table-column-width', 'mdi-table-edit', 'mdi-table-large', 'mdi-table-merge-cells', 'mdi-table-of-contents', 'mdi-table-plus', 'mdi-table-remove', 'mdi-table-row', 'mdi-table-row-height', 'mdi-table-row-plus-after', 'mdi-table-row-plus-before', 'mdi-table-row-remove', 'mdi-table-search', 'mdi-table-settings', 'mdi-table-tennis', 'mdi-tablet', 'mdi-tablet-android', 'mdi-tablet-cellphone', 'mdi-tablet-dashboard', 'mdi-tablet-ipad', 'mdi-taco', 'mdi-tag', 'mdi-tag-faces', 'mdi-tag-heart', 'mdi-tag-heart-outline', 'mdi-tag-minus', 'mdi-tag-multiple', 'mdi-tag-outline', 'mdi-tag-plus', 'mdi-tag-remove', 'mdi-tag-text-outline', 'mdi-tank', 'mdi-tape-measure', 'mdi-target', 'mdi-target-account', 'mdi-target-variant', 'mdi-taxi', 'mdi-tea', 'mdi-tea-outline', 'mdi-teach', 'mdi-teamviewer', 'mdi-telegram', 'mdi-telescope', 'mdi-television', 'mdi-television-box', 'mdi-television-classic', 'mdi-television-classic-off', 'mdi-television-guide', 'mdi-television-off', 'mdi-television-play', 'mdi-temperature-celsius', 'mdi-temperature-fahrenheit', 'mdi-temperature-kelvin', 'mdi-tennis', 'mdi-tennis-ball', 'mdi-tent', 'mdi-terrain', 'mdi-test-tube', 'mdi-test-tube-empty', 'mdi-test-tube-off', 'mdi-text', 'mdi-text-shadow', 'mdi-text-short', 'mdi-text-subject', 'mdi-text-to-speech', 'mdi-text-to-speech-off', 'mdi-textbox', 'mdi-textbox-password', 'mdi-texture', 'mdi-theater', 'mdi-theme-light-dark', 'mdi-thermometer', 'mdi-thermometer-alert', 'mdi-thermometer-chevron-down', 'mdi-thermometer-chevron-up', 'mdi-thermometer-lines', 'mdi-thermometer-minus', 'mdi-thermometer-plus', 'mdi-thermostat', 'mdi-thermostat-box', 'mdi-thought-bubble', 'mdi-thought-bubble-outline', 'mdi-thumb-down', 'mdi-thumb-down-outline', 'mdi-thumb-up', 'mdi-thumb-up-outline', 'mdi-thumbs-up-down', 'mdi-ticket', 'mdi-ticket-account', 'mdi-ticket-confirmation', 'mdi-ticket-outline', 'mdi-ticket-percent', 'mdi-tie', 'mdi-tilde', 'mdi-timelapse', 'mdi-timeline', 'mdi-timeline-outline', 'mdi-timeline-text', 'mdi-timeline-text-outline', 'mdi-timer', 'mdi-timer-10', 'mdi-timer-3', 'mdi-timer-off', 'mdi-timer-sand', 'mdi-timer-sand-empty', 'mdi-timer-sand-full', 'mdi-timetable', 'mdi-toaster-oven', 'mdi-toggle-switch', 'mdi-toggle-switch-off', 'mdi-toggle-switch-off-outline', 'mdi-toggle-switch-outline', 'mdi-toilet', 'mdi-toolbox', 'mdi-toolbox-outline', 'mdi-tooltip', 'mdi-tooltip-account', 'mdi-tooltip-edit', 'mdi-tooltip-image', 'mdi-tooltip-image-outline', 'mdi-tooltip-outline', 'mdi-tooltip-plus', 'mdi-tooltip-plus-outline', 'mdi-tooltip-text', 'mdi-tooltip-text-outline', 'mdi-tooth', 'mdi-tooth-outline', 'mdi-tor', 'mdi-tortoise', 'mdi-tournament', 'mdi-tower-beach', 'mdi-tower-fire', 'mdi-towing', 'mdi-track-light', 'mdi-trackpad', 'mdi-trackpad-lock', 'mdi-tractor', 'mdi-trademark', 'mdi-traffic-light', 'mdi-train', 'mdi-train-car', 'mdi-train-variant', 'mdi-tram', 'mdi-transcribe', 'mdi-transcribe-close', 'mdi-transfer-down', 'mdi-transfer-left', 'mdi-transfer-right', 'mdi-transfer-up', 'mdi-transit-connection', 'mdi-transit-connection-variant', 'mdi-transit-transfer', 'mdi-transition', 'mdi-transition-masked', 'mdi-translate', 'mdi-translate-off', 'mdi-transmission-tower', 'mdi-trash-can', 'mdi-trash-can-outline', 'mdi-treasure-chest', 'mdi-tree', 'mdi-tree-outline', 'mdi-trello', 'mdi-trending-down', 'mdi-trending-neutral', 'mdi-trending-up', 'mdi-triangle', 'mdi-triangle-outline', 'mdi-triforce', 'mdi-trophy', 'mdi-trophy-award', 'mdi-trophy-broken', 'mdi-trophy-outline', 'mdi-trophy-variant', 'mdi-trophy-variant-outline', 'mdi-truck', 'mdi-truck-check', 'mdi-truck-delivery', 'mdi-truck-fast', 'mdi-truck-trailer', 'mdi-tshirt-crew', 'mdi-tshirt-crew-outline', 'mdi-tshirt-v', 'mdi-tshirt-v-outline', 'mdi-tumble-dryer', 'mdi-tumblr', 'mdi-tumblr-box', 'mdi-tumblr-reblog', 'mdi-tune', 'mdi-tune-vertical', 'mdi-turnstile', 'mdi-turnstile-outline', 'mdi-turtle', 'mdi-twitch', 'mdi-twitter', 'mdi-twitter-box', 'mdi-twitter-circle', 'mdi-twitter-retweet', 'mdi-two-factor-authentication', 'mdi-uber', 'mdi-ubisoft', 'mdi-ubuntu', 'mdi-ultra-high-definition', 'mdi-umbraco', 'mdi-umbrella', 'mdi-umbrella-closed', 'mdi-umbrella-outline', 'mdi-undo', 'mdi-undo-variant', 'mdi-unfold-less-horizontal', 'mdi-unfold-less-vertical', 'mdi-unfold-more-horizontal', 'mdi-unfold-more-vertical', 'mdi-ungroup', 'mdi-unicode', 'mdi-unity', 'mdi-unreal', 'mdi-untappd', 'mdi-update', 'mdi-upload', 'mdi-upload-multiple', 'mdi-upload-network', 'mdi-upload-network-outline', 'mdi-upload-outline', 'mdi-usb', 'mdi-van-passenger', 'mdi-van-utility', 'mdi-vanish', 'mdi-variable', 'mdi-vector-arrange-above', 'mdi-vector-arrange-below', 'mdi-vector-bezier', 'mdi-vector-circle', 'mdi-vector-circle-variant', 'mdi-vector-combine', 'mdi-vector-curve', 'mdi-vector-difference', 'mdi-vector-difference-ab', 'mdi-vector-difference-ba', 'mdi-vector-ellipse', 'mdi-vector-intersection', 'mdi-vector-line', 'mdi-vector-point', 'mdi-vector-polygon', 'mdi-vector-polyline', 'mdi-vector-radius', 'mdi-vector-rectangle', 'mdi-vector-selection', 'mdi-vector-square', 'mdi-vector-triangle', 'mdi-vector-union', 'mdi-venmo', 'mdi-vhs', 'mdi-vibrate', 'mdi-vibrate-off', 'mdi-video', 'mdi-video-3d', 'mdi-video-3d-variant', 'mdi-video-4k-box', 'mdi-video-account', 'mdi-video-image', 'mdi-video-input-antenna', 'mdi-video-input-component', 'mdi-video-input-hdmi', 'mdi-video-input-svideo', 'mdi-video-minus', 'mdi-video-off', 'mdi-video-off-outline', 'mdi-video-outline', 'mdi-video-plus', 'mdi-video-stabilization', 'mdi-video-switch', 'mdi-video-vintage', 'mdi-video-wireless', 'mdi-video-wireless-outline', 'mdi-view-agenda', 'mdi-view-array', 'mdi-view-carousel', 'mdi-view-column', 'mdi-view-comfy', 'mdi-view-compact', 'mdi-view-compact-outline', 'mdi-view-dashboard', 'mdi-view-dashboard-outline', 'mdi-view-dashboard-variant', 'mdi-view-day', 'mdi-view-grid', 'mdi-view-headline', 'mdi-view-list', 'mdi-view-module', 'mdi-view-parallel', 'mdi-view-quilt', 'mdi-view-sequential', 'mdi-view-split-horizontal', 'mdi-view-split-vertical', 'mdi-view-stream', 'mdi-view-week', 'mdi-vimeo', 'mdi-violin', 'mdi-virtual-reality', 'mdi-visual-studio', 'mdi-visual-studio-code', 'mdi-vk', 'mdi-vk-box', 'mdi-vk-circle', 'mdi-vlc', 'mdi-voice', 'mdi-voice-off', 'mdi-voicemail', 'mdi-volleyball', 'mdi-volume-high', 'mdi-volume-low', 'mdi-volume-medium', 'mdi-volume-minus', 'mdi-volume-mute', 'mdi-volume-off', 'mdi-volume-plus', 'mdi-volume-variant-off', 'mdi-vote', 'mdi-vote-outline', 'mdi-vpn', 'mdi-vuejs', 'mdi-vuetify', 'mdi-walk', 'mdi-wall', 'mdi-wall-sconce', 'mdi-wall-sconce-flat', 'mdi-wall-sconce-variant', 'mdi-wallet', 'mdi-wallet-giftcard', 'mdi-wallet-membership', 'mdi-wallet-outline', 'mdi-wallet-travel', 'mdi-wallpaper', 'mdi-wan', 'mdi-washing-machine', 'mdi-watch', 'mdi-watch-export', 'mdi-watch-export-variant', 'mdi-watch-import', 'mdi-watch-import-variant', 'mdi-watch-variant', 'mdi-watch-vibrate', 'mdi-watch-vibrate-off', 'mdi-water', 'mdi-water-off', 'mdi-water-outline', 'mdi-water-percent', 'mdi-water-pump', 'mdi-watermark', 'mdi-waves', 'mdi-waze', 'mdi-weather-cloudy', 'mdi-weather-cloudy-arrow-right', 'mdi-weather-fog', 'mdi-weather-hail', 'mdi-weather-hurricane', 'mdi-weather-lightning', 'mdi-weather-lightning-rainy', 'mdi-weather-night', 'mdi-weather-partlycloudy', 'mdi-weather-pouring', 'mdi-weather-rainy', 'mdi-weather-snowy', 'mdi-weather-snowy-rainy', 'mdi-weather-sunny', 'mdi-weather-sunset', 'mdi-weather-sunset-down', 'mdi-weather-sunset-up', 'mdi-weather-windy', 'mdi-weather-windy-variant', 'mdi-web', 'mdi-webcam', 'mdi-webhook', 'mdi-webpack', 'mdi-wechat', 'mdi-weight', 'mdi-weight-gram', 'mdi-weight-kilogram', 'mdi-weight-pound', 'mdi-whatsapp', 'mdi-wheelchair-accessibility', 'mdi-whistle', 'mdi-white-balance-auto', 'mdi-white-balance-incandescent', 'mdi-white-balance-iridescent', 'mdi-white-balance-sunny', 'mdi-widgets', 'mdi-wifi', 'mdi-wifi-off', 'mdi-wifi-star', 'mdi-wifi-strength-1', 'mdi-wifi-strength-1-alert', 'mdi-wifi-strength-1-lock', 'mdi-wifi-strength-2', 'mdi-wifi-strength-2-alert', 'mdi-wifi-strength-2-lock', 'mdi-wifi-strength-3', 'mdi-wifi-strength-3-alert', 'mdi-wifi-strength-3-lock', 'mdi-wifi-strength-4', 'mdi-wifi-strength-4-alert', 'mdi-wifi-strength-4-lock', 'mdi-wifi-strength-alert-outline', 'mdi-wifi-strength-lock-outline', 'mdi-wifi-strength-off', 'mdi-wifi-strength-off-outline', 'mdi-wifi-strength-outline', 'mdi-wii', 'mdi-wiiu', 'mdi-wikipedia', 'mdi-wind-turbine', 'mdi-window-close', 'mdi-window-closed', 'mdi-window-maximize', 'mdi-window-minimize', 'mdi-window-open', 'mdi-window-restore', 'mdi-windows', 'mdi-windows-classic', 'mdi-wiper', 'mdi-wiper-wash', 'mdi-wordpress', 'mdi-worker', 'mdi-wrap', 'mdi-wrap-disabled', 'mdi-wrench', 'mdi-wrench-outline', 'mdi-wunderlist', 'mdi-xamarin', 'mdi-xamarin-outline', 'mdi-xaml', 'mdi-xbox', 'mdi-xbox-controller', 'mdi-xbox-controller-battery-alert', 'mdi-xbox-controller-battery-charging', 'mdi-xbox-controller-battery-empty', 'mdi-xbox-controller-battery-full', 'mdi-xbox-controller-battery-low', 'mdi-xbox-controller-battery-medium', 'mdi-xbox-controller-battery-unknown', 'mdi-xbox-controller-menu', 'mdi-xbox-controller-off', 'mdi-xbox-controller-view', 'mdi-xda', 'mdi-xing', 'mdi-xing-box', 'mdi-xing-circle', 'mdi-xml', 'mdi-xmpp', 'mdi-yahoo', 'mdi-yammer', 'mdi-yeast', 'mdi-yelp', 'mdi-yin-yang', 'mdi-youtube', 'mdi-youtube-creator-studio', 'mdi-youtube-gaming', 'mdi-youtube-subscription', 'mdi-youtube-tv', 'mdi-z-wave', 'mdi-zend', 'mdi-zigbee', 'mdi-zip-box', 'mdi-zip-disk', 'mdi-zodiac-aquarius', 'mdi-zodiac-aries', 'mdi-zodiac-cancer', 'mdi-zodiac-capricorn', 'mdi-zodiac-gemini', 'mdi-zodiac-leo', 'mdi-zodiac-libra', 'mdi-zodiac-pisces', 'mdi-zodiac-sagittarius', 'mdi-zodiac-scorpio', 'mdi-zodiac-taurus', 'mdi-zodiac-virgo', ]; const arrIcons_ion = [ 'ion-ios-add', 'ion-ios-add-circle', 'ion-ios-add-circle-outline', 'ion-ios-airplane', 'ion-ios-alarm', 'ion-ios-albums', 'ion-ios-alert', 'ion-ios-american-football', 'ion-ios-analytics', 'ion-ios-aperture', 'ion-ios-apps', 'ion-ios-appstore', 'ion-ios-archive', 'ion-ios-arrow-back', 'ion-ios-arrow-down', 'ion-ios-arrow-dropdown', 'ion-ios-arrow-dropdown-circle', 'ion-ios-arrow-dropleft', 'ion-ios-arrow-dropleft-circle', 'ion-ios-arrow-dropright', 'ion-ios-arrow-dropright-circle', 'ion-ios-arrow-dropup', 'ion-ios-arrow-dropup-circle', 'ion-ios-arrow-forward', 'ion-ios-arrow-round-back', 'ion-ios-arrow-round-down', 'ion-ios-arrow-round-forward', 'ion-ios-arrow-round-up', 'ion-ios-arrow-up', 'ion-ios-at', 'ion-ios-attach', 'ion-ios-backspace', 'ion-ios-barcode', 'ion-ios-baseball', 'ion-ios-basket', 'ion-ios-basketball', 'ion-ios-battery-charging', 'ion-ios-battery-dead', 'ion-ios-battery-full', 'ion-ios-beaker', 'ion-ios-bed', 'ion-ios-beer', 'ion-ios-bicycle', 'ion-ios-bluetooth', 'ion-ios-boat', 'ion-ios-body', 'ion-ios-bonfire', 'ion-ios-book', 'ion-ios-bookmark', 'ion-ios-bookmarks', 'ion-ios-bowtie', 'ion-ios-briefcase', 'ion-ios-browsers', 'ion-ios-brush', 'ion-ios-bug', 'ion-ios-build', 'ion-ios-bulb', 'ion-ios-bus', 'ion-ios-business', 'ion-ios-cafe', 'ion-ios-calculator', 'ion-ios-calendar', 'ion-ios-call', 'ion-ios-camera', 'ion-ios-car', 'ion-ios-card', 'ion-ios-cart', 'ion-ios-cash', 'ion-ios-cellular', 'ion-ios-chatboxes', 'ion-ios-chatbubbles', 'ion-ios-checkbox', 'ion-ios-checkbox-outline', 'ion-ios-checkmark', 'ion-ios-checkmark-circle', 'ion-ios-checkmark-circle-outline', 'ion-ios-clipboard', 'ion-ios-clock', 'ion-ios-close', 'ion-ios-close-circle', 'ion-ios-close-circle-outline', 'ion-ios-cloud', 'ion-ios-cloud-circle', 'ion-ios-cloud-done', 'ion-ios-cloud-download', 'ion-ios-cloud-outline', 'ion-ios-cloud-upload', 'ion-ios-cloudy', 'ion-ios-cloudy-night', 'ion-ios-code', 'ion-ios-code-download', 'ion-ios-code-working', 'ion-ios-cog', 'ion-ios-color-fill', 'ion-ios-color-filter', 'ion-ios-color-palette', 'ion-ios-color-wand', 'ion-ios-compass', 'ion-ios-construct', 'ion-ios-contact', 'ion-ios-contacts', 'ion-ios-contract', 'ion-ios-contrast', 'ion-ios-copy', 'ion-ios-create', 'ion-ios-crop', 'ion-ios-cube', 'ion-ios-cut', 'ion-ios-desktop', 'ion-ios-disc', 'ion-ios-document', 'ion-ios-done-all', 'ion-ios-download', 'ion-ios-easel', 'ion-ios-egg', 'ion-ios-exit', 'ion-ios-expand', 'ion-ios-eye', 'ion-ios-eye-off', 'ion-ios-female', 'ion-ios-filing', 'ion-ios-film', 'ion-ios-finger-print', 'ion-ios-fitness', 'ion-ios-flag', 'ion-ios-flame', 'ion-ios-flash', 'ion-ios-flash-off', 'ion-ios-flashlight', 'ion-ios-flask', 'ion-ios-flower', 'ion-ios-folder', 'ion-ios-folder-open', 'ion-ios-football', 'ion-ios-funnel', 'ion-ios-gift', 'ion-ios-git-branch', 'ion-ios-git-commit', 'ion-ios-git-compare', 'ion-ios-git-merge', 'ion-ios-git-network', 'ion-ios-git-pull-request', 'ion-ios-glasses', 'ion-ios-globe', 'ion-ios-grid', 'ion-ios-hammer', 'ion-ios-hand', 'ion-ios-happy', 'ion-ios-headset', 'ion-ios-heart', 'ion-ios-heart-dislike', 'ion-ios-heart-empty', 'ion-ios-heart-half', 'ion-ios-help', 'ion-ios-help-buoy', 'ion-ios-help-circle', 'ion-ios-help-circle-outline', 'ion-ios-home', 'ion-ios-hourglass', 'ion-ios-ice-cream', 'ion-ios-image', 'ion-ios-images', 'ion-ios-infinite', 'ion-ios-information', 'ion-ios-information-circle', 'ion-ios-information-circle-outline', 'ion-ios-jet', 'ion-ios-journal', 'ion-ios-key', 'ion-ios-keypad', 'ion-ios-laptop', 'ion-ios-leaf', 'ion-ios-link', 'ion-ios-list', 'ion-ios-list-box', 'ion-ios-locate', 'ion-ios-lock', 'ion-ios-log-in', 'ion-ios-log-out', 'ion-ios-magnet', 'ion-ios-mail', 'ion-ios-mail-open', 'ion-ios-mail-unread', 'ion-ios-male', 'ion-ios-man', 'ion-ios-map', 'ion-ios-medal', 'ion-ios-medical', 'ion-ios-medkit', 'ion-ios-megaphone', 'ion-ios-menu', 'ion-ios-mic', 'ion-ios-mic-off', 'ion-ios-microphone', 'ion-ios-moon', 'ion-ios-more', 'ion-ios-move', 'ion-ios-musical-note', 'ion-ios-musical-notes', 'ion-ios-navigate', 'ion-ios-notifications', 'ion-ios-notifications-off', 'ion-ios-notifications-outline', 'ion-ios-nuclear', 'ion-ios-nutrition', 'ion-ios-open', 'ion-ios-options', 'ion-ios-outlet', 'ion-ios-paper', 'ion-ios-paper-plane', 'ion-ios-partly-sunny', 'ion-ios-pause', 'ion-ios-paw', 'ion-ios-people', 'ion-ios-person', 'ion-ios-person-add', 'ion-ios-phone-landscape', 'ion-ios-phone-portrait', 'ion-ios-photos', 'ion-ios-pie', 'ion-ios-pin', 'ion-ios-pint', 'ion-ios-pizza', 'ion-ios-planet', 'ion-ios-play', 'ion-ios-play-circle', 'ion-ios-podium', 'ion-ios-power', 'ion-ios-pricetag', 'ion-ios-pricetags', 'ion-ios-print', 'ion-ios-pulse', 'ion-ios-qr-scanner', 'ion-ios-quote', 'ion-ios-radio', 'ion-ios-radio-button-off', 'ion-ios-radio-button-on', 'ion-ios-rainy', 'ion-ios-recording', 'ion-ios-redo', 'ion-ios-refresh', 'ion-ios-refresh-circle', 'ion-ios-remove', 'ion-ios-remove-circle', 'ion-ios-remove-circle-outline', 'ion-ios-reorder', 'ion-ios-repeat', 'ion-ios-resize', 'ion-ios-restaurant', 'ion-ios-return-left', 'ion-ios-return-right', 'ion-ios-reverse-camera', 'ion-ios-rewind', 'ion-ios-ribbon', 'ion-ios-rocket', 'ion-ios-rose', 'ion-ios-sad', 'ion-ios-save', 'ion-ios-school', 'ion-ios-search', 'ion-ios-send', 'ion-ios-settings', 'ion-ios-share', 'ion-ios-share-alt', 'ion-ios-shirt', 'ion-ios-shuffle', 'ion-ios-skip-backward', 'ion-ios-skip-forward', 'ion-ios-snow', 'ion-ios-speedometer', 'ion-ios-square', 'ion-ios-square-outline', 'ion-ios-star', 'ion-ios-star-half', 'ion-ios-star-outline', 'ion-ios-stats', 'ion-ios-stopwatch', 'ion-ios-subway', 'ion-ios-sunny', 'ion-ios-swap', 'ion-ios-switch', 'ion-ios-sync', 'ion-ios-tablet-landscape', 'ion-ios-tablet-portrait', 'ion-ios-tennisball', 'ion-ios-text', 'ion-ios-thermometer', 'ion-ios-thumbs-down', 'ion-ios-thumbs-up', 'ion-ios-thunderstorm', 'ion-ios-time', 'ion-ios-timer', 'ion-ios-today', 'ion-ios-train', 'ion-ios-transgender', 'ion-ios-trash', 'ion-ios-trending-down', 'ion-ios-trending-up', 'ion-ios-trophy', 'ion-ios-tv', 'ion-ios-umbrella', 'ion-ios-undo', 'ion-ios-unlock', 'ion-ios-videocam', 'ion-ios-volume-high', 'ion-ios-volume-low', 'ion-ios-volume-mute', 'ion-ios-volume-off', 'ion-ios-walk', 'ion-ios-wallet', 'ion-ios-warning', 'ion-ios-watch', 'ion-ios-water', 'ion-ios-wifi', 'ion-ios-wine', 'ion-ios-woman', 'ion-logo-android', 'ion-logo-angular', 'ion-logo-apple', 'ion-logo-bitbucket', 'ion-logo-bitcoin', 'ion-logo-buffer', 'ion-logo-chrome', 'ion-logo-closed-captioning', 'ion-logo-codepen', 'ion-logo-css3', 'ion-logo-designernews', 'ion-logo-dribbble', 'ion-logo-dropbox', 'ion-logo-euro', 'ion-logo-facebook', 'ion-logo-flickr', 'ion-logo-foursquare', 'ion-logo-freebsd-devil', 'ion-logo-game-controller-a', 'ion-logo-game-controller-b', 'ion-logo-github', 'ion-logo-google', 'ion-logo-googleplus', 'ion-logo-hackernews', 'ion-logo-html5', 'ion-logo-instagram', 'ion-logo-ionic', 'ion-logo-ionitron', 'ion-logo-javascript', 'ion-logo-linkedin', 'ion-logo-markdown', 'ion-logo-model-s', 'ion-logo-no-smoking', 'ion-logo-nodejs', 'ion-logo-npm', 'ion-logo-octocat', 'ion-logo-pinterest', 'ion-logo-playstation', 'ion-logo-polymer', 'ion-logo-python', 'ion-logo-reddit', 'ion-logo-rss', 'ion-logo-sass', 'ion-logo-skype', 'ion-logo-slack', 'ion-logo-snapchat', 'ion-logo-steam', 'ion-logo-tumblr', 'ion-logo-tux', 'ion-logo-twitch', 'ion-logo-twitter', 'ion-logo-usd', 'ion-logo-vimeo', 'ion-logo-vk', 'ion-logo-whatsapp', 'ion-logo-windows', 'ion-logo-wordpress', 'ion-logo-xbox', 'ion-logo-xing', 'ion-logo-yahoo', 'ion-logo-yen', 'ion-logo-youtube', 'ion-md-add', 'ion-md-add-circle', 'ion-md-add-circle-outline', 'ion-md-airplane', 'ion-md-alarm', 'ion-md-albums', 'ion-md-alert', 'ion-md-american-football', 'ion-md-analytics', 'ion-md-aperture', 'ion-md-apps', 'ion-md-appstore', 'ion-md-archive', 'ion-md-arrow-back', 'ion-md-arrow-down', 'ion-md-arrow-dropdown', 'ion-md-arrow-dropdown-circle', 'ion-md-arrow-dropleft', 'ion-md-arrow-dropleft-circle', 'ion-md-arrow-dropright', 'ion-md-arrow-dropright-circle', 'ion-md-arrow-dropup', 'ion-md-arrow-dropup-circle', 'ion-md-arrow-forward', 'ion-md-arrow-round-back', 'ion-md-arrow-round-down', 'ion-md-arrow-round-forward', 'ion-md-arrow-round-up', 'ion-md-arrow-up', 'ion-md-at', 'ion-md-attach', 'ion-md-backspace', 'ion-md-barcode', 'ion-md-baseball', 'ion-md-basket', 'ion-md-basketball', 'ion-md-battery-charging', 'ion-md-battery-dead', 'ion-md-battery-full', 'ion-md-beaker', 'ion-md-bed', 'ion-md-beer', 'ion-md-bicycle', 'ion-md-bluetooth', 'ion-md-boat', 'ion-md-body', 'ion-md-bonfire', 'ion-md-book', 'ion-md-bookmark', 'ion-md-bookmarks', 'ion-md-bowtie', 'ion-md-briefcase', 'ion-md-browsers', 'ion-md-brush', 'ion-md-bug', 'ion-md-build', 'ion-md-bulb', 'ion-md-bus', 'ion-md-business', 'ion-md-cafe', 'ion-md-calculator', 'ion-md-calendar', 'ion-md-call', 'ion-md-camera', 'ion-md-car', 'ion-md-card', 'ion-md-cart', 'ion-md-cash', 'ion-md-cellular', 'ion-md-chatboxes', 'ion-md-chatbubbles', 'ion-md-checkbox', 'ion-md-checkbox-outline', 'ion-md-checkmark', 'ion-md-checkmark-circle', 'ion-md-checkmark-circle-outline', 'ion-md-clipboard', 'ion-md-clock', 'ion-md-close', 'ion-md-close-circle', 'ion-md-close-circle-outline', 'ion-md-cloud', 'ion-md-cloud-circle', 'ion-md-cloud-done', 'ion-md-cloud-download', 'ion-md-cloud-outline', 'ion-md-cloud-upload', 'ion-md-cloudy', 'ion-md-cloudy-night', 'ion-md-code', 'ion-md-code-download', 'ion-md-code-working', 'ion-md-cog', 'ion-md-color-fill', 'ion-md-color-filter', 'ion-md-color-palette', 'ion-md-color-wand', 'ion-md-compass', 'ion-md-construct', 'ion-md-contact', 'ion-md-contacts', 'ion-md-contract', 'ion-md-contrast', 'ion-md-copy', 'ion-md-create', 'ion-md-crop', 'ion-md-cube', 'ion-md-cut', 'ion-md-desktop', 'ion-md-disc', 'ion-md-document', 'ion-md-done-all', 'ion-md-download', 'ion-md-easel', 'ion-md-egg', 'ion-md-exit', 'ion-md-expand', 'ion-md-eye', 'ion-md-eye-off', 'ion-md-female', 'ion-md-filing', 'ion-md-film', 'ion-md-finger-print', 'ion-md-fitness', 'ion-md-flag', 'ion-md-flame', 'ion-md-flash', 'ion-md-flash-off', 'ion-md-flashlight', 'ion-md-flask', 'ion-md-flower', 'ion-md-folder', 'ion-md-folder-open', 'ion-md-football', 'ion-md-funnel', 'ion-md-gift', 'ion-md-git-branch', 'ion-md-git-commit', 'ion-md-git-compare', 'ion-md-git-merge', 'ion-md-git-network', 'ion-md-git-pull-request', 'ion-md-glasses', 'ion-md-globe', 'ion-md-grid', 'ion-md-hammer', 'ion-md-hand', 'ion-md-happy', 'ion-md-headset', 'ion-md-heart', 'ion-md-heart-dislike', 'ion-md-heart-empty', 'ion-md-heart-half', 'ion-md-help', 'ion-md-help-buoy', 'ion-md-help-circle', 'ion-md-help-circle-outline', 'ion-md-home', 'ion-md-hourglass', 'ion-md-ice-cream', 'ion-md-image', 'ion-md-images', 'ion-md-infinite', 'ion-md-information', 'ion-md-information-circle', 'ion-md-information-circle-outline', 'ion-md-jet', 'ion-md-journal', 'ion-md-key', 'ion-md-keypad', 'ion-md-laptop', 'ion-md-leaf', 'ion-md-link', 'ion-md-list', 'ion-md-list-box', 'ion-md-locate', 'ion-md-lock', 'ion-md-log-in', 'ion-md-log-out', 'ion-md-magnet', 'ion-md-mail', 'ion-md-mail-open', 'ion-md-mail-unread', 'ion-md-male', 'ion-md-man', 'ion-md-map', 'ion-md-medal', 'ion-md-medical', 'ion-md-medkit', 'ion-md-megaphone', 'ion-md-menu', 'ion-md-mic', 'ion-md-mic-off', 'ion-md-microphone', 'ion-md-moon', 'ion-md-more', 'ion-md-move', 'ion-md-musical-note', 'ion-md-musical-notes', 'ion-md-navigate', 'ion-md-notifications', 'ion-md-notifications-off', 'ion-md-notifications-outline', 'ion-md-nuclear', 'ion-md-nutrition', 'ion-md-open', 'ion-md-options', 'ion-md-outlet', 'ion-md-paper', 'ion-md-paper-plane', 'ion-md-partly-sunny', 'ion-md-pause', 'ion-md-paw', 'ion-md-people', 'ion-md-person', 'ion-md-person-add', 'ion-md-phone-landscape', 'ion-md-phone-portrait', 'ion-md-photos', 'ion-md-pie', 'ion-md-pin', 'ion-md-pint', 'ion-md-pizza', 'ion-md-planet', 'ion-md-play', 'ion-md-play-circle', 'ion-md-podium', 'ion-md-power', 'ion-md-pricetag', 'ion-md-pricetags', 'ion-md-print', 'ion-md-pulse', 'ion-md-qr-scanner', 'ion-md-quote', 'ion-md-radio', 'ion-md-radio-button-off', 'ion-md-radio-button-on', 'ion-md-rainy', 'ion-md-recording', 'ion-md-redo', 'ion-md-refresh', 'ion-md-refresh-circle', 'ion-md-remove', 'ion-md-remove-circle', 'ion-md-remove-circle-outline', 'ion-md-reorder', 'ion-md-repeat', 'ion-md-resize', 'ion-md-restaurant', 'ion-md-return-left', 'ion-md-return-right', 'ion-md-reverse-camera', 'ion-md-rewind', 'ion-md-ribbon', 'ion-md-rocket', 'ion-md-rose', 'ion-md-sad', 'ion-md-save', 'ion-md-school', 'ion-md-search', 'ion-md-send', 'ion-md-settings', 'ion-md-share', 'ion-md-share-alt', 'ion-md-shirt', 'ion-md-shuffle', 'ion-md-skip-backward', 'ion-md-skip-forward', 'ion-md-snow', 'ion-md-speedometer', 'ion-md-square', 'ion-md-square-outline', 'ion-md-star', 'ion-md-star-half', 'ion-md-star-outline', 'ion-md-stats', 'ion-md-stopwatch', 'ion-md-subway', 'ion-md-sunny', 'ion-md-swap', 'ion-md-switch', 'ion-md-sync', 'ion-md-tablet-landscape', 'ion-md-tablet-portrait', 'ion-md-tennisball', 'ion-md-text', 'ion-md-thermometer', 'ion-md-thumbs-down', 'ion-md-thumbs-up', 'ion-md-thunderstorm', 'ion-md-time', 'ion-md-timer', 'ion-md-today', 'ion-md-train', 'ion-md-transgender', 'ion-md-trash', 'ion-md-trending-down', 'ion-md-trending-up', 'ion-md-trophy', 'ion-md-tv', 'ion-md-umbrella', 'ion-md-undo', 'ion-md-unlock', 'ion-md-videocam', 'ion-md-volume-high', 'ion-md-volume-low', 'ion-md-volume-mute', 'ion-md-volume-off', 'ion-md-walk', 'ion-md-wallet', 'ion-md-warning', 'ion-md-watch', 'ion-md-water', 'ion-md-wifi', 'ion-md-wine', 'ion-md-woman', ]; const arrIcons_octoicon = [ 'octicon-alert', 'octicon-arrow-down', 'octicon-arrow-left', 'octicon-arrow-right', 'octicon-arrow-small-down', 'octicon-arrow-small-left', 'octicon-arrow-small-right', 'octicon-arrow-small-up', 'octicon-arrow-up', 'octicon-microscope', 'octicon-beaker', 'octicon-bell', 'octicon-book', 'octicon-bookmark', 'octicon-briefcase', 'octicon-broadcast', 'octicon-browser', 'octicon-bug', 'octicon-calendar', 'octicon-check', 'octicon-checklist', 'octicon-chevron-down', 'octicon-chevron-left', 'octicon-chevron-right', 'octicon-chevron-up', 'octicon-circle-slash', 'octicon-circuit-board', 'octicon-clippy', 'octicon-clock', 'octicon-cloud-download', 'octicon-cloud-upload', 'octicon-code', 'octicon-color-mode', 'octicon-comment-add', 'octicon-comment', 'octicon-comment-discussion', 'octicon-credit-card', 'octicon-dash', 'octicon-dashboard', 'octicon-database', 'octicon-clone', 'octicon-desktop-download', 'octicon-device-camera', 'octicon-device-camera-video', 'octicon-device-desktop', 'octicon-device-mobile', 'octicon-diff', 'octicon-diff-added', 'octicon-diff-ignored', 'octicon-diff-modified', 'octicon-diff-removed', 'octicon-diff-renamed', 'octicon-ellipsis', 'octicon-eye-unwatch', 'octicon-eye-watch', 'octicon-eye', 'octicon-file-binary', 'octicon-file-code', 'octicon-file-directory', 'octicon-file-media', 'octicon-file-pdf', 'octicon-file-submodule', 'octicon-file-symlink-directory', 'octicon-file-symlink-file', 'octicon-file-text', 'octicon-file-zip', 'octicon-flame', 'octicon-fold', 'octicon-gear', 'octicon-gift', 'octicon-gist', 'octicon-gist-secret', 'octicon-git-branch-create', 'octicon-git-branch-delete', 'octicon-git-branch', 'octicon-git-commit', 'octicon-git-compare', 'octicon-git-merge', 'octicon-git-pull-request-abandoned', 'octicon-git-pull-request', 'octicon-globe', 'octicon-graph', 'octicon-heart', 'octicon-history', 'octicon-home', 'octicon-horizontal-rule', 'octicon-hubot', 'octicon-inbox', 'octicon-info', 'octicon-issue-closed', 'octicon-issue-opened', 'octicon-issue-reopened', 'octicon-jersey', 'octicon-key', 'octicon-keyboard', 'octicon-law', 'octicon-light-bulb', 'octicon-link', 'octicon-link-external', 'octicon-list-ordered', 'octicon-list-unordered', 'octicon-location', 'octicon-gist-private', 'octicon-mirror-private', 'octicon-git-fork-private', 'octicon-lock', 'octicon-logo-github', 'octicon-mail', 'octicon-mail-read', 'octicon-mail-reply', 'octicon-mark-github', 'octicon-markdown', 'octicon-megaphone', 'octicon-mention', 'octicon-milestone', 'octicon-mirror-public', 'octicon-mirror', 'octicon-mortar-board', 'octicon-mute', 'octicon-no-newline', 'octicon-octoface', 'octicon-organization', 'octicon-package', 'octicon-paintcan', 'octicon-pencil', 'octicon-person-add', 'octicon-person-follow', 'octicon-person', 'octicon-pin', 'octicon-plug', 'octicon-repo-create', 'octicon-gist-new', 'octicon-file-directory-create', 'octicon-file-add', 'octicon-plus', 'octicon-primitive-dot', 'octicon-primitive-square', 'octicon-pulse', 'octicon-question', 'octicon-quote', 'octicon-radio-tower', 'octicon-repo-delete', 'octicon-repo', 'octicon-repo-clone', 'octicon-repo-force-push', 'octicon-gist-fork', 'octicon-repo-forked', 'octicon-repo-pull', 'octicon-repo-push', 'octicon-rocket', 'octicon-rss', 'octicon-ruby', 'octicon-screen-full', 'octicon-screen-normal', 'octicon-search-save', 'octicon-search', 'octicon-server', 'octicon-settings', 'octicon-shield', 'octicon-log-in', 'octicon-sign-in', 'octicon-log-out', 'octicon-sign-out', 'octicon-squirrel', 'octicon-star-add', 'octicon-star-delete', 'octicon-star', 'octicon-stop', 'octicon-repo-sync', 'octicon-sync', 'octicon-tag-remove', 'octicon-tag-add', 'octicon-tag', 'octicon-telescope', 'octicon-terminal', 'octicon-three-bars', 'octicon-thumbsdown', 'octicon-thumbsup', 'octicon-tools', 'octicon-trashcan', 'octicon-triangle-down', 'octicon-triangle-left', 'octicon-triangle-right', 'octicon-triangle-up', 'octicon-unfold', 'octicon-unmute', 'octicon-versions', 'octicon-watch', 'octicon-remove-close', 'octicon-x', 'octicon-zap', ]; const arrIcons_fas = [ 'fas-ad', 'fas-address-book', 'fas-address-card', 'fas-adjust', 'fas-air-freshener', 'fas-align-center', 'fas-align-justify', 'fas-align-left', 'fas-align-right', 'fas-allergies', 'fas-ambulance', 'fas-american-sign-language-interpreting', 'fas-anchor', 'fas-angle-double-down', 'fas-angle-double-left', 'fas-angle-double-right', 'fas-angle-double-up', 'fas-angle-down', 'fas-angle-left', 'fas-angle-right', 'fas-angle-up', 'fas-angry', 'fas-ankh', 'fas-apple-alt', 'fas-archive', 'fas-archway', 'fas-arrow-alt-circle-down', 'fas-arrow-alt-circle-left', 'fas-arrow-alt-circle-right', 'fas-arrow-alt-circle-up', 'fas-arrow-circle-down', 'fas-arrow-circle-left', 'fas-arrow-circle-right', 'fas-arrow-circle-up', 'fas-arrow-down', 'fas-arrow-left', 'fas-arrow-right', 'fas-arrow-up', 'fas-arrows-alt', 'fas-arrows-alt-h', 'fas-arrows-alt-v', 'fas-assistive-listening-systems', 'fas-asterisk', 'fas-at', 'fas-atlas', 'fas-atom', 'fas-audio-description', 'fas-award', 'fas-backspace', 'fas-backward', 'fas-balance-scale', 'fas-ban', 'fas-band-aid', 'fas-barcode', 'fas-bars', 'fas-baseball-ball', 'fas-basketball-ball', 'fas-bath', 'fas-battery-empty', 'fas-battery-full', 'fas-battery-half', 'fas-battery-quarter', 'fas-battery-three-quarters', 'fas-bed', 'fas-beer', 'fas-bell', 'fas-bell-slash', 'fas-bezier-curve', 'fas-bible', 'fas-bicycle', 'fas-binoculars', 'fas-birthday-cake', 'fas-blender', 'fas-blender-phone', 'fas-blind', 'fas-bold', 'fas-bolt', 'fas-bomb', 'fas-bone', 'fas-bong', 'fas-book', 'fas-book-dead', 'fas-book-open', 'fas-book-reader', 'fas-bookmark', 'fas-bowling-ball', 'fas-box', 'fas-box-open', 'fas-boxes', 'fas-braille', 'fas-brain', 'fas-briefcase', 'fas-briefcase-medical', 'fas-broadcast-tower', 'fas-broom', 'fas-brush', 'fas-bug', 'fas-building', 'fas-bullhorn', 'fas-bullseye', 'fas-burn', 'fas-bus', 'fas-bus-alt', 'fas-business-time', 'fas-calculator', 'fas-calendar', 'fas-calendar-alt', 'fas-calendar-check', 'fas-calendar-minus', 'fas-calendar-plus', 'fas-calendar-times', 'fas-camera', 'fas-camera-retro', 'fas-campground', 'fas-cannabis', 'fas-capsules', 'fas-car', 'fas-car-alt', 'fas-car-battery', 'fas-car-crash', 'fas-car-side', 'fas-caret-down', 'fas-caret-left', 'fas-caret-right', 'fas-caret-square-down', 'fas-caret-square-left', 'fas-caret-square-right', 'fas-caret-square-up', 'fas-caret-up', 'fas-cart-arrow-down', 'fas-cart-plus', 'fas-cat', 'fas-certificate', 'fas-chair', 'fas-chalkboard', 'fas-chalkboard-teacher', 'fas-charging-station', 'fas-chart-area', 'fas-chart-bar', 'fas-chart-line', 'fas-chart-pie', 'fas-check', 'fas-check-circle', 'fas-check-double', 'fas-check-square', 'fas-chess', 'fas-chess-bishop', 'fas-chess-board', 'fas-chess-king', 'fas-chess-knight', 'fas-chess-pawn', 'fas-chess-queen', 'fas-chess-rook', 'fas-chevron-circle-down', 'fas-chevron-circle-left', 'fas-chevron-circle-right', 'fas-chevron-circle-up', 'fas-chevron-down', 'fas-chevron-left', 'fas-chevron-right', 'fas-chevron-up', 'fas-child', 'fas-church', 'fas-circle', 'fas-circle-notch', 'fas-city', 'fas-clipboard', 'fas-clipboard-check', 'fas-clipboard-list', 'fas-clock', 'fas-clone', 'fas-closed-captioning', 'fas-cloud', 'fas-cloud-download-alt', 'fas-cloud-meatball', 'fas-cloud-moon', 'fas-cloud-moon-rain', 'fas-cloud-rain', 'fas-cloud-showers-heavy', 'fas-cloud-sun', 'fas-cloud-sun-rain', 'fas-cloud-upload-alt', 'fas-cocktail', 'fas-code', 'fas-code-branch', 'fas-coffee', 'fas-cog', 'fas-cogs', 'fas-coins', 'fas-columns', 'fas-comment', 'fas-comment-alt', 'fas-comment-dollar', 'fas-comment-dots', 'fas-comment-slash', 'fas-comments', 'fas-comments-dollar', 'fas-compact-disc', 'fas-compass', 'fas-compress', 'fas-concierge-bell', 'fas-cookie', 'fas-cookie-bite', 'fas-copy', 'fas-copyright', 'fas-couch', 'fas-credit-card', 'fas-crop', 'fas-crop-alt', 'fas-cross', 'fas-crosshairs', 'fas-crow', 'fas-crown', 'fas-cube', 'fas-cubes', 'fas-cut', 'fas-database', 'fas-deaf', 'fas-democrat', 'fas-desktop', 'fas-dharmachakra', 'fas-diagnoses', 'fas-dice', 'fas-dice-d20', 'fas-dice-d6', 'fas-dice-five', 'fas-dice-four', 'fas-dice-one', 'fas-dice-six', 'fas-dice-three', 'fas-dice-two', 'fas-digital-tachograph', 'fas-directions', 'fas-divide', 'fas-dizzy', 'fas-dna', 'fas-dog', 'fas-dollar-sign', 'fas-dolly', 'fas-dolly-flatbed', 'fas-donate', 'fas-door-closed', 'fas-door-open', 'fas-dot-circle', 'fas-dove', 'fas-download', 'fas-drafting-compass', 'fas-dragon', 'fas-draw-polygon', 'fas-drum', 'fas-drum-steelpan', 'fas-drumstick-bite', 'fas-dumbbell', 'fas-dungeon', 'fas-edit', 'fas-eject', 'fas-ellipsis-h', 'fas-ellipsis-v', 'fas-envelope', 'fas-envelope-open', 'fas-envelope-open-text', 'fas-envelope-square', 'fas-equals', 'fas-eraser', 'fas-euro-sign', 'fas-exchange-alt', 'fas-exclamation', 'fas-exclamation-circle', 'fas-exclamation-triangle', 'fas-expand', 'fas-expand-arrows-alt', 'fas-external-link-alt', 'fas-external-link-square-alt', 'fas-eye', 'fas-eye-dropper', 'fas-eye-slash', 'fas-fast-backward', 'fas-fast-forward', 'fas-fax', 'fas-feather', 'fas-feather-alt', 'fas-female', 'fas-fighter-jet', 'fas-file', 'fas-file-alt', 'fas-file-archive', 'fas-file-audio', 'fas-file-code', 'fas-file-contract', 'fas-file-csv', 'fas-file-download', 'fas-file-excel', 'fas-file-export', 'fas-file-image', 'fas-file-import', 'fas-file-invoice', 'fas-file-invoice-dollar', 'fas-file-medical', 'fas-file-medical-alt', 'fas-file-pdf', 'fas-file-powerpoint', 'fas-file-prescription', 'fas-file-signature', 'fas-file-upload', 'fas-file-video', 'fas-file-word', 'fas-fill', 'fas-fill-drip', 'fas-film', 'fas-filter', 'fas-fingerprint', 'fas-fire', 'fas-fire-extinguisher', 'fas-first-aid', 'fas-fish', 'fas-fist-raised', 'fas-flag', 'fas-flag-checkered', 'fas-flag-usa', 'fas-flask', 'fas-flushed', 'fas-folder', 'fas-folder-minus', 'fas-folder-open', 'fas-folder-plus', 'fas-font', 'fas-football-ball', 'fas-forward', 'fas-frog', 'fas-frown', 'fas-frown-open', 'fas-funnel-dollar', 'fas-futbol', 'fas-gamepad', 'fas-gas-pump', 'fas-gavel', 'fas-gem', 'fas-genderless', 'fas-ghost', 'fas-gift', 'fas-glass-martini', 'fas-glass-martini-alt', 'fas-glasses', 'fas-globe', 'fas-globe-africa', 'fas-globe-americas', 'fas-globe-asia', 'fas-golf-ball', 'fas-gopuram', 'fas-graduation-cap', 'fas-greater-than', 'fas-greater-than-equal', 'fas-grimace', 'fas-grin', 'fas-grin-alt', 'fas-grin-beam', 'fas-grin-beam-sweat', 'fas-grin-hearts', 'fas-grin-squint', 'fas-grin-squint-tears', 'fas-grin-stars', 'fas-grin-tears', 'fas-grin-tongue', 'fas-grin-tongue-squint', 'fas-grin-tongue-wink', 'fas-grin-wink', 'fas-grip-horizontal', 'fas-grip-vertical', 'fas-h-square', 'fas-hammer', 'fas-hamsa', 'fas-hand-holding', 'fas-hand-holding-heart', 'fas-hand-holding-usd', 'fas-hand-lizard', 'fas-hand-paper', 'fas-hand-peace', 'fas-hand-point-down', 'fas-hand-point-left', 'fas-hand-point-right', 'fas-hand-point-up', 'fas-hand-pointer', 'fas-hand-rock', 'fas-hand-scissors', 'fas-hand-spock', 'fas-hands', 'fas-hands-helping', 'fas-handshake', 'fas-hanukiah', 'fas-hashtag', 'fas-hat-wizard', 'fas-haykal', 'fas-hdd', 'fas-heading', 'fas-headphones', 'fas-headphones-alt', 'fas-headset', 'fas-heart', 'fas-heartbeat', 'fas-helicopter', 'fas-highlighter', 'fas-hiking', 'fas-hippo', 'fas-history', 'fas-hockey-puck', 'fas-home', 'fas-horse', 'fas-hospital', 'fas-hospital-alt', 'fas-hospital-symbol', 'fas-hot-tub', 'fas-hotel', 'fas-hourglass', 'fas-hourglass-end', 'fas-hourglass-half', 'fas-hourglass-start', 'fas-house-damage', 'fas-hryvnia', 'fas-i-cursor', 'fas-id-badge', 'fas-id-card', 'fas-id-card-alt', 'fas-image', 'fas-images', 'fas-inbox', 'fas-indent', 'fas-industry', 'fas-infinity', 'fas-info', 'fas-info-circle', 'fas-italic', 'fas-jedi', 'fas-joint', 'fas-journal-whills', 'fas-kaaba', 'fas-key', 'fas-keyboard', 'fas-khanda', 'fas-kiss', 'fas-kiss-beam', 'fas-kiss-wink-heart', 'fas-kiwi-bird', 'fas-landmark', 'fas-language', 'fas-laptop', 'fas-laptop-code', 'fas-laugh', 'fas-laugh-beam', 'fas-laugh-squint', 'fas-laugh-wink', 'fas-layer-group', 'fas-leaf', 'fas-lemon', 'fas-less-than', 'fas-less-than-equal', 'fas-level-down-alt', 'fas-level-up-alt', 'fas-life-ring', 'fas-lightbulb', 'fas-link', 'fas-lira-sign', 'fas-list', 'fas-list-alt', 'fas-list-ol', 'fas-list-ul', 'fas-location-arrow', 'fas-lock', 'fas-lock-open', 'fas-long-arrow-alt-down', 'fas-long-arrow-alt-left', 'fas-long-arrow-alt-right', 'fas-long-arrow-alt-up', 'fas-low-vision', 'fas-luggage-cart', 'fas-magic', 'fas-magnet', 'fas-mail-bulk', 'fas-male', 'fas-map', 'fas-map-marked', 'fas-map-marked-alt', 'fas-map-marker', 'fas-map-marker-alt', 'fas-map-pin', 'fas-map-signs', 'fas-marker', 'fas-mars', 'fas-mars-double', 'fas-mars-stroke', 'fas-mars-stroke-h', 'fas-mars-stroke-v', 'fas-mask', 'fas-medal', 'fas-medkit', 'fas-meh', 'fas-meh-blank', 'fas-meh-rolling-eyes', 'fas-memory', 'fas-menorah', 'fas-mercury', 'fas-meteor', 'fas-microchip', 'fas-microphone', 'fas-microphone-alt', 'fas-microphone-alt-slash', 'fas-microphone-slash', 'fas-microscope', 'fas-minus', 'fas-minus-circle', 'fas-minus-square', 'fas-mobile', 'fas-mobile-alt', 'fas-money-bill', 'fas-money-bill-alt', 'fas-money-bill-wave', 'fas-money-bill-wave-alt', 'fas-money-check', 'fas-money-check-alt', 'fas-monument', 'fas-moon', 'fas-mortar-pestle', 'fas-mosque', 'fas-motorcycle', 'fas-mountain', 'fas-mouse-pointer', 'fas-music', 'fas-network-wired', 'fas-neuter', 'fas-newspaper', 'fas-not-equal', 'fas-notes-medical', 'fas-object-group', 'fas-object-ungroup', 'fas-oil-can', 'fas-om', 'fas-otter', 'fas-outdent', 'fas-paint-brush', 'fas-paint-roller', 'fas-palette', 'fas-pallet', 'fas-paper-plane', 'fas-paperclip', 'fas-parachute-box', 'fas-paragraph', 'fas-parking', 'fas-passport', 'fas-pastafarianism', 'fas-paste', 'fas-pause', 'fas-pause-circle', 'fas-paw', 'fas-peace', 'fas-pen', 'fas-pen-alt', 'fas-pen-fancy', 'fas-pen-nib', 'fas-pen-square', 'fas-pencil-alt', 'fas-pencil-ruler', 'fas-people-carry', 'fas-percent', 'fas-percentage', 'fas-person-booth', 'fas-phone', 'fas-phone-slash', 'fas-phone-square', 'fas-phone-volume', 'fas-piggy-bank', 'fas-pills', 'fas-place-of-worship', 'fas-plane', 'fas-plane-arrival', 'fas-plane-departure', 'fas-play', 'fas-play-circle', 'fas-plug', 'fas-plus', 'fas-plus-circle', 'fas-plus-square', 'fas-podcast', 'fas-poll', 'fas-poll-h', 'fas-poo', 'fas-poo-storm', 'fas-poop', 'fas-portrait', 'fas-pound-sign', 'fas-power-off', 'fas-pray', 'fas-praying-hands', 'fas-prescription', 'fas-prescription-bottle', 'fas-prescription-bottle-alt', 'fas-print', 'fas-procedures', 'fas-project-diagram', 'fas-puzzle-piece', 'fas-qrcode', 'fas-question', 'fas-question-circle', 'fas-quidditch', 'fas-quote-left', 'fas-quote-right', 'fas-quran', 'fas-rainbow', 'fas-random', 'fas-receipt', 'fas-recycle', 'fas-redo', 'fas-redo-alt', 'fas-registered', 'fas-reply', 'fas-reply-all', 'fas-republican', 'fas-retweet', 'fas-ribbon', 'fas-ring', 'fas-road', 'fas-robot', 'fas-rocket', 'fas-route', 'fas-rss', 'fas-rss-square', 'fas-ruble-sign', 'fas-ruler', 'fas-ruler-combined', 'fas-ruler-horizontal', 'fas-ruler-vertical', 'fas-running', 'fas-rupee-sign', 'fas-sad-cry', 'fas-sad-tear', 'fas-save', 'fas-school', 'fas-screwdriver', 'fas-scroll', 'fas-search', 'fas-search-dollar', 'fas-search-location', 'fas-search-minus', 'fas-search-plus', 'fas-seedling', 'fas-server', 'fas-shapes', 'fas-share', 'fas-share-alt', 'fas-share-alt-square', 'fas-share-square', 'fas-shekel-sign', 'fas-shield-alt', 'fas-ship', 'fas-shipping-fast', 'fas-shoe-prints', 'fas-shopping-bag', 'fas-shopping-basket', 'fas-shopping-cart', 'fas-shower', 'fas-shuttle-van', 'fas-sign', 'fas-sign-in-alt', 'fas-sign-language', 'fas-sign-out-alt', 'fas-signal', 'fas-signature', 'fas-sitemap', 'fas-skull', 'fas-skull-crossbones', 'fas-slash', 'fas-sliders-h', 'fas-smile', 'fas-smile-beam', 'fas-smile-wink', 'fas-smog', 'fas-smoking', 'fas-smoking-ban', 'fas-snowflake', 'fas-socks', 'fas-solar-panel', 'fas-sort', 'fas-sort-alpha-down', 'fas-sort-alpha-up', 'fas-sort-amount-down', 'fas-sort-amount-up', 'fas-sort-down', 'fas-sort-numeric-down', 'fas-sort-numeric-up', 'fas-sort-up', 'fas-spa', 'fas-space-shuttle', 'fas-spider', 'fas-spinner', 'fas-splotch', 'fas-spray-can', 'fas-square', 'fas-square-full', 'fas-square-root-alt', 'fas-stamp', 'fas-star', 'fas-star-and-crescent', 'fas-star-half', 'fas-star-half-alt', 'fas-star-of-david', 'fas-star-of-life', 'fas-step-backward', 'fas-step-forward', 'fas-stethoscope', 'fas-sticky-note', 'fas-stop', 'fas-stop-circle', 'fas-stopwatch', 'fas-store', 'fas-store-alt', 'fas-stream', 'fas-street-view', 'fas-strikethrough', 'fas-stroopwafel', 'fas-subscript', 'fas-subway', 'fas-suitcase', 'fas-suitcase-rolling', 'fas-sun', 'fas-superscript', 'fas-surprise', 'fas-swatchbook', 'fas-swimmer', 'fas-swimming-pool', 'fas-synagogue', 'fas-sync', 'fas-sync-alt', 'fas-syringe', 'fas-table', 'fas-table-tennis', 'fas-tablet', 'fas-tablet-alt', 'fas-tablets', 'fas-tachometer-alt', 'fas-tag', 'fas-tags', 'fas-tape', 'fas-tasks', 'fas-taxi', 'fas-teeth', 'fas-teeth-open', 'fas-temperature-high', 'fas-temperature-low', 'fas-terminal', 'fas-text-height', 'fas-text-width', 'fas-th', 'fas-th-large', 'fas-th-list', 'fas-theater-masks', 'fas-thermometer', 'fas-thermometer-empty', 'fas-thermometer-full', 'fas-thermometer-half', 'fas-thermometer-quarter', 'fas-thermometer-three-quarters', 'fas-thumbs-down', 'fas-thumbs-up', 'fas-thumbtack', 'fas-ticket-alt', 'fas-times', 'fas-times-circle', 'fas-tint', 'fas-tint-slash', 'fas-tired', 'fas-toggle-off', 'fas-toggle-on', 'fas-toilet-paper', 'fas-toolbox', 'fas-tooth', 'fas-torah', 'fas-torii-gate', 'fas-tractor', 'fas-trademark', 'fas-traffic-light', 'fas-train', 'fas-transgender', 'fas-transgender-alt', 'fas-trash', 'fas-trash-alt', 'fas-tree', 'fas-trophy', 'fas-truck', 'fas-truck-loading', 'fas-truck-monster', 'fas-truck-moving', 'fas-truck-pickup', 'fas-tshirt', 'fas-tty', 'fas-tv', 'fas-umbrella', 'fas-umbrella-beach', 'fas-underline', 'fas-undo', 'fas-undo-alt', 'fas-universal-access', 'fas-university', 'fas-unlink', 'fas-unlock', 'fas-unlock-alt', 'fas-upload', 'fas-user', 'fas-user-alt', 'fas-user-alt-slash', 'fas-user-astronaut', 'fas-user-check', 'fas-user-circle', 'fas-user-clock', 'fas-user-cog', 'fas-user-edit', 'fas-user-friends', 'fas-user-graduate', 'fas-user-injured', 'fas-user-lock', 'fas-user-md', 'fas-user-minus', 'fas-user-ninja', 'fas-user-plus', 'fas-user-secret', 'fas-user-shield', 'fas-user-slash', 'fas-user-tag', 'fas-user-tie', 'fas-user-times', 'fas-users', 'fas-users-cog', 'fas-utensil-spoon', 'fas-utensils', 'fas-vector-square', 'fas-venus', 'fas-venus-double', 'fas-venus-mars', 'fas-vial', 'fas-vials', 'fas-video', 'fas-video-slash', 'fas-vihara', 'fas-volleyball-ball', 'fas-volume-down', 'fas-volume-mute', 'fas-volume-off', 'fas-volume-up', 'fas-vote-yea', 'fas-vr-cardboard', 'fas-walking', 'fas-wallet', 'fas-warehouse', 'fas-water', 'fas-weight', 'fas-weight-hanging', 'fas-wheelchair', 'fas-wifi', 'fas-wind', 'fas-window-close', 'fas-window-maximize', 'fas-window-minimize', 'fas-window-restore', 'fas-wine-bottle', 'fas-wine-glass', 'fas-wine-glass-alt', 'fas-won-sign', 'fas-wrench', 'fas-x-ray', 'fas-yen-sign', 'fas-yin-yang', ]; const arrIcons_far = [ 'far-address-book', 'far-address-card', 'far-angry', 'far-arrow-alt-circle-down', 'far-arrow-alt-circle-left', 'far-arrow-alt-circle-right', 'far-arrow-alt-circle-up', 'far-bell', 'far-bell-slash', 'far-bookmark', 'far-building', 'far-calendar', 'far-calendar-alt', 'far-calendar-check', 'far-calendar-minus', 'far-calendar-plus', 'far-calendar-times', 'far-caret-square-down', 'far-caret-square-left', 'far-caret-square-right', 'far-caret-square-up', 'far-chart-bar', 'far-check-circle', 'far-check-square', 'far-circle', 'far-clipboard', 'far-clock', 'far-clone', 'far-closed-captioning', 'far-comment', 'far-comment-alt', 'far-comment-dots', 'far-comments', 'far-compass', 'far-copy', 'far-copyright', 'far-credit-card', 'far-dizzy', 'far-dot-circle', 'far-edit', 'far-envelope', 'far-envelope-open', 'far-eye', 'far-eye-slash', 'far-file', 'far-file-alt', 'far-file-archive', 'far-file-audio', 'far-file-code', 'far-file-excel', 'far-file-image', 'far-file-pdf', 'far-file-powerpoint', 'far-file-video', 'far-file-word', 'far-flag', 'far-flushed', 'far-folder', 'far-folder-open', 'far-frown', 'far-frown-open', 'far-futbol', 'far-gem', 'far-grimace', 'far-grin', 'far-grin-alt', 'far-grin-beam', 'far-grin-beam-sweat', 'far-grin-hearts', 'far-grin-squint', 'far-grin-squint-tears', 'far-grin-stars', 'far-grin-tears', 'far-grin-tongue', 'far-grin-tongue-squint', 'far-grin-tongue-wink', 'far-grin-wink', 'far-hand-lizard', 'far-hand-paper', 'far-hand-peace', 'far-hand-point-down', 'far-hand-point-left', 'far-hand-point-right', 'far-hand-point-up', 'far-hand-pointer', 'far-hand-rock', 'far-hand-scissors', 'far-hand-spock', 'far-handshake', 'far-hdd', 'far-heart', 'far-hospital', 'far-hourglass', 'far-id-badge', 'far-id-card', 'far-image', 'far-images', 'far-keyboard', 'far-kiss', 'far-kiss-beam', 'far-kiss-wink-heart', 'far-laugh', 'far-laugh-beam', 'far-laugh-squint', 'far-laugh-wink', 'far-lemon', 'far-life-ring', 'far-lightbulb', 'far-list-alt', 'far-map', 'far-meh', 'far-meh-blank', 'far-meh-rolling-eyes', 'far-minus-square', 'far-money-bill-alt', 'far-moon', 'far-newspaper', 'far-object-group', 'far-object-ungroup', 'far-paper-plane', 'far-pause-circle', 'far-play-circle', 'far-plus-square', 'far-question-circle', 'far-registered', 'far-sad-cry', 'far-sad-tear', 'far-save', 'far-share-square', 'far-smile', 'far-smile-beam', 'far-smile-wink', 'far-snowflake', 'far-square', 'far-star', 'far-star-half', 'far-sticky-note', 'far-stop-circle', 'far-sun', 'far-surprise', 'far-thumbs-down', 'far-thumbs-up', 'far-times-circle', 'far-tired', 'far-trash-alt', 'far-user', 'far-user-circle', 'far-window-close', 'far-window-maximize', 'far-window-minimize', 'far-window-restore', ]; const arrIcons_fab = [ 'fab-500px', 'fab-accessible-icon', 'fab-accusoft', 'fab-acquisitions-incorporated', 'fab-adn', 'fab-adversal', 'fab-affiliatetheme', 'fab-algolia', 'fab-alipay', 'fab-amazon', 'fab-amazon-pay', 'fab-amilia', 'fab-android', 'fab-angellist', 'fab-angrycreative', 'fab-angular', 'fab-app-store', 'fab-app-store-ios', 'fab-apper', 'fab-apple', 'fab-apple-pay', 'fab-asymmetrik', 'fab-audible', 'fab-autoprefixer', 'fab-avianex', 'fab-aviato', 'fab-aws', 'fab-bandcamp', 'fab-behance', 'fab-behance-square', 'fab-bimobject', 'fab-bitbucket', 'fab-bitcoin', 'fab-bity', 'fab-black-tie', 'fab-blackberry', 'fab-blogger', 'fab-blogger-b', 'fab-bluetooth', 'fab-bluetooth-b', 'fab-btc', 'fab-buromobelexperte', 'fab-buysellads', 'fab-cc-amazon-pay', 'fab-cc-amex', 'fab-cc-apple-pay', 'fab-cc-diners-club', 'fab-cc-discover', 'fab-cc-jcb', 'fab-cc-mastercard', 'fab-cc-paypal', 'fab-cc-stripe', 'fab-cc-visa', 'fab-centercode', 'fab-chrome', 'fab-cloudscale', 'fab-cloudsmith', 'fab-cloudversify', 'fab-codepen', 'fab-codiepie', 'fab-connectdevelop', 'fab-contao', 'fab-cpanel', 'fab-creative-commons', 'fab-creative-commons-by', 'fab-creative-commons-nc', 'fab-creative-commons-nc-eu', 'fab-creative-commons-nc-jp', 'fab-creative-commons-nd', 'fab-creative-commons-pd', 'fab-creative-commons-pd-alt', 'fab-creative-commons-remix', 'fab-creative-commons-sa', 'fab-creative-commons-sampling', 'fab-creative-commons-sampling-plus', 'fab-creative-commons-share', 'fab-creative-commons-zero', 'fab-critical-role', 'fab-css3', 'fab-css3-alt', 'fab-cuttlefish', 'fab-d-and-d', 'fab-d-and-d-beyond', 'fab-dashcube', 'fab-delicious', 'fab-deploydog', 'fab-deskpro', 'fab-dev', 'fab-deviantart', 'fab-digg', 'fab-digital-ocean', 'fab-discord', 'fab-discourse', 'fab-dochub', 'fab-docker', 'fab-draft2digital', 'fab-dribbble', 'fab-dribbble-square', 'fab-dropbox', 'fab-drupal', 'fab-dyalog', 'fab-earlybirds', 'fab-ebay', 'fab-edge', 'fab-elementor', 'fab-ello', 'fab-ember', 'fab-empire', 'fab-envira', 'fab-erlang', 'fab-ethereum', 'fab-etsy', 'fab-expeditedssl', 'fab-facebook', 'fab-facebook-f', 'fab-facebook-messenger', 'fab-facebook-square', 'fab-fantasy-flight-games', 'fab-firefox', 'fab-first-order', 'fab-first-order-alt', 'fab-firstdraft', 'fab-flickr', 'fab-flipboard', 'fab-fly', 'fab-font-awesome', 'fab-font-awesome-alt', 'fab-font-awesome-flag', 'fab-fonticons', 'fab-fonticons-fi', 'fab-fort-awesome', 'fab-fort-awesome-alt', 'fab-forumbee', 'fab-foursquare', 'fab-free-code-camp', 'fab-freebsd', 'fab-fulcrum', 'fab-galactic-republic', 'fab-galactic-senate', 'fab-get-pocket', 'fab-gg', 'fab-gg-circle', 'fab-git', 'fab-git-square', 'fab-github', 'fab-github-alt', 'fab-github-square', 'fab-gitkraken', 'fab-gitlab', 'fab-gitter', 'fab-glide', 'fab-glide-g', 'fab-gofore', 'fab-goodreads', 'fab-goodreads-g', 'fab-google', 'fab-google-drive', 'fab-google-play', 'fab-google-plus', 'fab-google-plus-g', 'fab-google-plus-square', 'fab-google-wallet', 'fab-gratipay', 'fab-grav', 'fab-gripfire', 'fab-grunt', 'fab-gulp', 'fab-hacker-news', 'fab-hacker-news-square', 'fab-hackerrank', 'fab-hips', 'fab-hire-a-helper', 'fab-hooli', 'fab-hornbill', 'fab-hotjar', 'fab-houzz', 'fab-html5', 'fab-hubspot', 'fab-imdb', 'fab-instagram', 'fab-internet-explorer', 'fab-ioxhost', 'fab-itunes', 'fab-itunes-note', 'fab-java', 'fab-jedi-order', 'fab-jenkins', 'fab-joget', 'fab-joomla', 'fab-js', 'fab-js-square', 'fab-jsfiddle', 'fab-kaggle', 'fab-keybase', 'fab-keycdn', 'fab-kickstarter', 'fab-kickstarter-k', 'fab-korvue', 'fab-laravel', 'fab-lastfm', 'fab-lastfm-square', 'fab-leanpub', 'fab-less', 'fab-line', 'fab-linkedin', 'fab-linkedin-in', 'fab-linode', 'fab-linux', 'fab-lyft', 'fab-magento', 'fab-mailchimp', 'fab-mandalorian', 'fab-markdown', 'fab-mastodon', 'fab-maxcdn', 'fab-medapps', 'fab-medium', 'fab-medium-m', 'fab-medrt', 'fab-meetup', 'fab-megaport', 'fab-microsoft', 'fab-mix', 'fab-mixcloud', 'fab-mizuni', 'fab-modx', 'fab-monero', 'fab-napster', 'fab-neos', 'fab-nimblr', 'fab-nintendo-switch', 'fab-node', 'fab-node-js', 'fab-npm', 'fab-ns8', 'fab-nutritionix', 'fab-odnoklassniki', 'fab-odnoklassniki-square', 'fab-old-republic', 'fab-opencart', 'fab-openid', 'fab-opera', 'fab-optin-monster', 'fab-osi', 'fab-page4', 'fab-pagelines', 'fab-palfed', 'fab-patreon', 'fab-paypal', 'fab-penny-arcade', 'fab-periscope', 'fab-phabricator', 'fab-phoenix-framework', 'fab-phoenix-squadron', 'fab-php', 'fab-pied-piper', 'fab-pied-piper-alt', 'fab-pied-piper-hat', 'fab-pied-piper-pp', 'fab-pinterest', 'fab-pinterest-p', 'fab-pinterest-square', 'fab-playstation', 'fab-product-hunt', 'fab-pushed', 'fab-python', 'fab-qq', 'fab-quinscape', 'fab-quora', 'fab-r-project', 'fab-ravelry', 'fab-react', 'fab-reacteurope', 'fab-readme', 'fab-rebel', 'fab-red-river', 'fab-reddit', 'fab-reddit-alien', 'fab-reddit-square', 'fab-renren', 'fab-replyd', 'fab-researchgate', 'fab-resolving', 'fab-rev', 'fab-rocketchat', 'fab-rockrms', 'fab-safari', 'fab-sass', 'fab-schlix', 'fab-scribd', 'fab-searchengin', 'fab-sellcast', 'fab-sellsy', 'fab-servicestack', 'fab-shirtsinbulk', 'fab-shopware', 'fab-simplybuilt', 'fab-sistrix', 'fab-sith', 'fab-skyatlas', 'fab-skype', 'fab-slack', 'fab-slack-hash', 'fab-slideshare', 'fab-snapchat', 'fab-snapchat-ghost', 'fab-snapchat-square', 'fab-soundcloud', 'fab-speakap', 'fab-spotify', 'fab-squarespace', 'fab-stack-exchange', 'fab-stack-overflow', 'fab-staylinked', 'fab-steam', 'fab-steam-square', 'fab-steam-symbol', 'fab-sticker-mule', 'fab-strava', 'fab-stripe', 'fab-stripe-s', 'fab-studiovinari', 'fab-stumbleupon', 'fab-stumbleupon-circle', 'fab-superpowers', 'fab-supple', 'fab-teamspeak', 'fab-telegram', 'fab-telegram-plane', 'fab-tencent-weibo', 'fab-the-red-yeti', 'fab-themeco', 'fab-themeisle', 'fab-think-peaks', 'fab-trade-federation', 'fab-trello', 'fab-tripadvisor', 'fab-tumblr', 'fab-tumblr-square', 'fab-twitch', 'fab-twitter', 'fab-twitter-square', 'fab-typo3', 'fab-uber', 'fab-uikit', 'fab-uniregistry', 'fab-untappd', 'fab-usb', 'fab-ussunnah', 'fab-vaadin', 'fab-viacoin', 'fab-viadeo', 'fab-viadeo-square', 'fab-viber', 'fab-vimeo', 'fab-vimeo-square', 'fab-vimeo-v', 'fab-vine', 'fab-vk', 'fab-vnv', 'fab-vuejs', 'fab-weebly', 'fab-weibo', 'fab-weixin', 'fab-whatsapp', 'fab-whatsapp-square', 'fab-whmcs', 'fab-wikipedia-w', 'fab-windows', 'fab-wix', 'fab-wizards-of-the-coast', 'fab-wolf-pack-battalion', 'fab-wordpress', 'fab-wordpress-simple', 'fab-wpbeginner', 'fab-wpexplorer', 'fab-wpforms', 'fab-wpressr', 'fab-xbox', 'fab-xing', 'fab-xing-square', 'fab-y-combinator', 'fab-yahoo', 'fab-yandex', 'fab-yandex-international', 'fab-yelp', 'fab-yoast', 'fab-youtube', 'fab-youtube-square', 'fab-zhihu', 'mdl2-accept', ]; const arrIcons_mdl2 = [ 'mdl2-accounts', 'mdl2-add', 'mdl2-add-friend', 'mdl2-admin', 'mdl2-align-center', 'mdl2-align-left', 'mdl2-align-right', 'mdl2-all-apps', 'mdl2-arrow-html-legacy', 'mdl2-arrow-html-mirrored-legacy', 'mdl2-attach', 'mdl2-paperclip', 'mdl2-attach-camera', 'mdl2-audio', 'mdl2-back', 'mdl2-back-bttn-arrow-20-legacy', 'mdl2-back-bttn-arrow-42-legacy', 'mdl2-back-bttn-mirrored-arrow-20-legacy', 'mdl2-back-bttn-mirrored-arrow-42-legacy', 'mdl2-back-to-window', 'mdl2-battery-0', 'mdl2-battery-1', 'mdl2-battery-10', 'mdl2-battery-2', 'mdl2-battery-3', 'mdl2-battery-4', 'mdl2-battery-5', 'mdl2-battery-6', 'mdl2-battery-7', 'mdl2-battery-8', 'mdl2-battery-9', 'mdl2-battery-charging-0', 'mdl2-battery-charging-1', 'mdl2-battery-charging-10', 'mdl2-battery-charging-2', 'mdl2-battery-charging-3', 'mdl2-battery-charging-4', 'mdl2-battery-charging-5', 'mdl2-battery-charging-6', 'mdl2-battery-charging-7', 'mdl2-battery-charging-8', 'mdl2-battery-charging-9', 'mdl2-battery-saver-0', 'mdl2-battery-saver-1', 'mdl2-battery-saver-10', 'mdl2-battery-saver-2', 'mdl2-battery-saver-3', 'mdl2-battery-saver-4', 'mdl2-battery-saver-5', 'mdl2-battery-saver-6', 'mdl2-battery-saver-7', 'mdl2-battery-saver-8', 'mdl2-battery-saver-9', 'mdl2-battery-unknown', 'mdl2-block-contact', 'mdl2-blocked-legacy', 'mdl2-bold', 'mdl2-bookmarks', 'mdl2-browse-photos', 'mdl2-bulleted-list', 'mdl2-calculator', 'mdl2-calendar', 'mdl2-calendar-day', 'mdl2-calendar-week', 'mdl2-camera', 'mdl2-cancel', 'mdl2-caption', 'mdl2-cc', 'mdl2-cellphone', 'mdl2-characters', 'mdl2-checkbox', 'mdl2-checkbox-composite', 'mdl2-checkbox-composite-legacy', 'mdl2-checkbox-composite-reversed', 'mdl2-checkbox-composite-reversed-legacy', 'mdl2-checkbox-fill', 'mdl2-checkbox-fill-legacy', 'mdl2-checkbox-fill-zero-width-legacy', 'mdl2-checkbox-indeterminate', 'mdl2-checkbox-indeterminate-legacy', 'mdl2-checkbox-legacy', 'mdl2-check-mark', 'mdl2-check-mark-legacy', 'mdl2-check-mark-zero-width-legacy', 'mdl2-chrome-back', 'mdl2-chrome-back-mirrored', 'mdl2-clear', 'mdl2-clear-selection', 'mdl2-close-pane', 'mdl2-cloud', 'mdl2-comment', 'mdl2-comment-legacy', 'mdl2-contact', 'mdl2-contact-2', 'mdl2-contact-info', 'mdl2-contact-presence', 'mdl2-copy', 'mdl2-crop', 'mdl2-cut', 'mdl2-delete', 'mdl2-trash', 'mdl2-trashcan', 'mdl2-directions', 'mdl2-disable-updates', 'mdl2-disconnect-drive', 'mdl2-dislike', 'mdl2-dislike-legacy', 'mdl2-dock-bottom', 'mdl2-dock-left', 'mdl2-dock-right', 'mdl2-document', 'mdl2-download', 'mdl2-edit', 'mdl2-pencil', 'mdl2-emoji', 'mdl2-emoji-2', 'mdl2-favorite-2-legacy', 'mdl2-favorite-legacy', 'mdl2-favorite-list', 'mdl2-favorite-star', 'mdl2-favorite-star-fill', 'mdl2-filter', 'mdl2-find-legacy', 'mdl2-flag', 'mdl2-folder', 'mdl2-font', 'mdl2-fontcolor', 'mdl2-font-decrease', 'mdl2-font-increase', 'mdl2-font-size', 'mdl2-forward', 'mdl2-four-bars', 'mdl2-full-screen', 'mdl2-globe', 'mdl2-go', 'mdl2-go-to-start', 'mdl2-go-to-today', 'mdl2-half-star-left', 'mdl2-half-star-right', 'mdl2-hangup', 'mdl2-heart-broken-legacy', 'mdl2-heart-broken-zero-width-legacy', 'mdl2-heart-fill-legacy', 'mdl2-heart-fill-zero-width-legacy', 'mdl2-heart-legacy', 'mdl2-help', 'mdl2-hide-bcc', 'mdl2-highlight', 'mdl2-home', 'mdl2-import', 'mdl2-import-all', 'mdl2-important', 'mdl2-italic', 'mdl2-keyboard-classic', 'mdl2-leave-chat', 'mdl2-library', 'mdl2-like', 'mdl2-like-dislike', 'mdl2-like-dislike-legacy', 'mdl2-like-legacy', 'mdl2-link', 'mdl2-list', 'mdl2-location', 'mdl2-mail', 'mdl2-mail-fill', 'mdl2-mail-forward', 'mdl2-mail-message-legacy', 'mdl2-mail-reply', 'mdl2-mail-reply-all', 'mdl2-manage', 'mdl2-map-drive', 'mdl2-map-pin', 'mdl2-memo', 'mdl2-voicemail', 'mdl2-message', 'mdl2-microphone', 'mdl2-mob-battery-0', 'mdl2-mob-battery-1', 'mdl2-mob-battery-10', 'mdl2-mob-battery-2', 'mdl2-mob-battery-3', 'mdl2-mob-battery-4', 'mdl2-mob-battery-5', 'mdl2-mob-battery-6', 'mdl2-mob-battery-7', 'mdl2-mob-battery-8', 'mdl2-mob-battery-9', 'mdl2-mob-battery-chargin-10', 'mdl2-mob-battery-charging-0', 'mdl2-mob-battery-charging-1', 'mdl2-mob-battery-charging-2', 'mdl2-mob-battery-charging-3', 'mdl2-mob-battery-charging-4', 'mdl2-mob-battery-charging-5', 'mdl2-mob-battery-charging-6', 'mdl2-mob-battery-charging-7', 'mdl2-mob-battery-charging-8', 'mdl2-mob-battery-charging-9', 'mdl2-mob-battery-saver-0', 'mdl2-mob-battery-saver-1', 'mdl2-mob-battery-saver-10', 'mdl2-mob-battery-saver-2', 'mdl2-mob-battery-saver-3', 'mdl2-mob-battery-saver-4', 'mdl2-mob-battery-saver-5', 'mdl2-mob-battery-saver-6', 'mdl2-mob-battery-saver-7', 'mdl2-mob-battery-saver-8', 'mdl2-mob-battery-saver-9', 'mdl2-mob-battery-unknown', 'mdl2-mobile-contact-legacy', 'mdl2-more', 'mdl2-ellipse', 'mdl2-menu', 'mdl2-move-to-folder', 'mdl2-music-info', 'mdl2-mute', 'mdl2-new-folder', 'mdl2-new-window', 'mdl2-next', 'mdl2-one-bar', 'mdl2-open-file', 'mdl2-open-local', 'mdl2-folder-up', 'mdl2-open-pane', 'mdl2-open-with', 'mdl2-orientation', 'mdl2-other-user', 'mdl2-outline-star-legacy', 'mdl2-page', 'mdl2-paste', 'mdl2-pause', 'mdl2-people', 'mdl2-permissions', 'mdl2-key', 'mdl2-phone', 'mdl2-phone-book', 'mdl2-pin', 'mdl2-play', 'mdl2-post-update', 'mdl2-presence-chicklet-legacy', 'mdl2-presence-chicklet-video-legacy', 'mdl2-preview', 'mdl2-preview-link', 'mdl2-previous', 'mdl2-priority', 'mdl2-protected-document', 'mdl2-rating-star-fill-legacy', 'mdl2-rating-star-fill-reduced-padding-html-legacy', 'mdl2-rating-star-fill-small-legacy', 'mdl2-rating-star-fill-zero-width-legacy', 'mdl2-rating-star-legacy', 'mdl2-read', 'mdl2-redo', 'mdl2-refresh', 'mdl2-reload', 'mdl2-remote', 'mdl2-remove', 'mdl2-rename', 'mdl2-repair', 'mdl2-wrench', 'mdl2-repeat-all', 'mdl2-repeat-one', 'mdl2-reply-legacy', 'mdl2-report-hacked', 'mdl2-reshare', 'mdl2-retweet', 'mdl2-rotate', 'mdl2-rotate-camera', 'mdl2-save', 'mdl2-save-local', 'mdl2-scan', 'mdl2-scroll-chevron-down-bold-legacy', 'mdl2-scroll-chevron-down-legacy', 'mdl2-scroll-chevron-left-bold-legacy', 'mdl2-scroll-chevron-left-legacy', 'mdl2-scroll-chevron-right-bold-legacy', 'mdl2-scroll-chevron-right-legacy', 'mdl2-scroll-chevron-up-bold-legacy', 'mdl2-scroll-chevron-up-legacy', 'mdl2-select-all', 'mdl2-send', 'mdl2-set-lock-screen', 'mdl2-set-tile', 'mdl2-settings', 'mdl2-cog', 'mdl2-gear', 'mdl2-share', 'mdl2-shop', 'mdl2-bag', 'mdl2-show-bcc', 'mdl2-show-results', 'mdl2-shuffle', 'mdl2-slideshow', 'mdl2-solid-star-legacy', 'mdl2-sort', 'mdl2-stop', 'mdl2-street', 'mdl2-switch', 'mdl2-switch-apps', 'mdl2-sync', 'mdl2-sync-folder', 'mdl2-tag', 'mdl2-three-bars', 'mdl2-touch-pointer', 'mdl2-trim', 'mdl2-two-bars', 'mdl2-two-page', 'mdl2-typing-indicator-legacy', 'mdl2-underline', 'mdl2-undo', 'mdl2-unfavorite', 'mdl2-unfavorite-2-legacy', 'mdl2-unfavorite-legacy', 'mdl2-un-pin', 'mdl2-un-sync-folder', 'mdl2-up', 'mdl2-upload', 'mdl2-video', 'mdl2-video-chat', 'mdl2-video-legacy', 'mdl2-view', 'mdl2-view-all', 'mdl2-volume', 'mdl2-webcam', 'mdl2-world', 'mdl2-zero-bars', 'mdl2-zoom', 'mdl2-zoom-in', 'mdl2-zoom-out', ]; const arrIcons_wicon = [ 'w-icon-adobe', 'w-icon-ali-pay', 'w-icon-aliwangwang', 'w-icon-android-o', 'w-icon-android', 'w-icon-apple', 'w-icon-appstore-o', 'w-icon-appstore', 'w-icon-area-chart', 'w-icon-arrow-down', 'w-icon-arrow-left', 'w-icon-arrow-right', 'w-icon-arrow-up', 'w-icon-arrows-alt', 'w-icon-asterisk', 'w-icon-backward', 'w-icon-baidu', 'w-icon-bar-chart', 'w-icon-barcode', 'w-icon-bell', 'w-icon-camera-o', 'w-icon-caret-down', 'w-icon-caret-left', 'w-icon-caret-right', 'w-icon-caret-up', 'w-icon-check-square-o', 'w-icon-check-square', 'w-icon-check', 'w-icon-chrome', 'w-icon-circle-check-o', 'w-icon-circle-check', 'w-icon-circle-close-o', 'w-icon-circle-close', 'w-icon-close-square-o', 'w-icon-close-square', 'w-icon-close', 'w-icon-cloud-download-o', 'w-icon-cloud-download', 'w-icon-cloud-upload-o', 'w-icon-cloud-upload', 'w-icon-coffee', 'w-icon-component', 'w-icon-copy', 'w-icon-copyright', 'w-icon-css3', 'w-icon-cut', 'w-icon-d-arrow-left', 'w-icon-d-arrow-right', 'w-icon-d-caret', 'w-icon-dashboard', 'w-icon-date', 'w-icon-delete', 'w-icon-dingding', 'w-icon-dislike-o', 'w-icon-document', 'w-icon-dot-chart', 'w-icon-down-circle-o', 'w-icon-down-circle', 'w-icon-down-square-o', 'w-icon-down-square', 'w-icon-download', 'w-icon-edit', 'w-icon-enter', 'w-icon-environment-o', 'w-icon-environment', 'w-icon-eye-o', 'w-icon-eye', 'w-icon-facebook', 'w-icon-file-add', 'w-icon-file-excel', 'w-icon-file-jpg', 'w-icon-file-pdf', 'w-icon-file-text', 'w-icon-file-unknown', 'w-icon-filter', 'w-icon-firefox', 'w-icon-folder-add', 'w-icon-folder-open', 'w-icon-folder', 'w-icon-forward', 'w-icon-foursquare', 'w-icon-frown-o', 'w-icon-frown', 'w-icon-github-o', 'w-icon-github', 'w-icon-global', 'w-icon-heart-off', 'w-icon-heart-on', 'w-icon-home', 'w-icon-html5', 'w-icon-ie', 'w-icon-inbox', 'w-icon-information-o', 'w-icon-information', 'w-icon-laptop', 'w-icon-left-circle-o', 'w-icon-left-circle', 'w-icon-left-square-o', 'w-icon-left-square', 'w-icon-like-o', 'w-icon-link', 'w-icon-linkedin', 'w-icon-linux', 'w-icon-loading', 'w-icon-lock', 'w-icon-login', 'w-icon-logout', 'w-icon-man', 'w-icon-map', 'w-icon-meh-o', 'w-icon-meh', 'w-icon-menu-fold', 'w-icon-menu-unfold', 'w-icon-menu', 'w-icon-message-o', 'w-icon-message', 'w-icon-minus-circle-o', 'w-icon-minus-circle', 'w-icon-minus-square-o', 'w-icon-minus-square', 'w-icon-minus', 'w-icon-mobile', 'w-icon-more', 'w-icon-notification', 'w-icon-opera', 'w-icon-paper-clip', 'w-icon-pause-circle-o', 'w-icon-pause-circle', 'w-icon-pause', 'w-icon-pay-circle-o', 'w-icon-pay', 'w-icon-picasa', 'w-icon-picture', 'w-icon-pie-chart', 'w-icon-pinterest', 'w-icon-play-circle-o', 'w-icon-play-circle', 'w-icon-plus-circle-o', 'w-icon-plus-circle', 'w-icon-plus-square-o', 'w-icon-plus-square', 'w-icon-plus', 'w-icon-poweroff', 'w-icon-printer', 'w-icon-qq', 'w-icon-qrcode', 'w-icon-question-circle-o', 'w-icon-question-circle', 'w-icon-reddit', 'w-icon-reload', 'w-icon-right-circle-o', 'w-icon-right-circle', 'w-icon-right-square-o', 'w-icon-right-square', 'w-icon-rollback', 'w-icon-safari', 'w-icon-safety', 'w-icon-save', 'w-icon-search', 'w-icon-setting-o', 'w-icon-setting', 'w-icon-share', 'w-icon-shopping-cart', 'w-icon-shrink', 'w-icon-smile-o', 'w-icon-smile', 'w-icon-star-off', 'w-icon-star-on', 'w-icon-swap-left', 'w-icon-swap-right', 'w-icon-swap', 'w-icon-table', 'w-icon-tag-o', 'w-icon-tag', 'w-icon-tags-o', 'w-icon-tags', 'w-icon-taobao', 'w-icon-time-o', 'w-icon-time', 'w-icon-twitter', 'w-icon-uiw', 'w-icon-unlock', 'w-icon-up-circle-o', 'w-icon-up-circle', 'w-icon-up-square-o', 'w-icon-up-square', 'w-icon-upload', 'w-icon-user-add', 'w-icon-user-delete', 'w-icon-user', 'w-icon-usergroup-add', 'w-icon-usergroup-delete', 'w-icon-verification', 'w-icon-verticle-left', 'w-icon-verticle-right', 'w-icon-video-camera', 'w-icon-warning-o', 'w-icon-warning', 'w-icon-weibo', 'w-icon-weixin', 'w-icon-wifi', 'w-icon-windows', 'w-icon-woman', 'w-icon-zoom-in', 'w-icon-zoom-out', ]; const arrIcons_icons8 = [ 'icons8-add-shopping-cart', 'icons8-add-user', 'icons8-adventures', 'icons8-advertising', 'icons8-airport', 'icons8-align-center', 'icons8-align-justify', 'icons8-align-left', 'icons8-align-right', 'icons8-alphabetical-sorting', 'icons8-alphabetical-sorting-2', 'icons8-amex', 'icons8-angle-down', 'icons8-angle-left', 'icons8-angle-right', 'icons8-angle-up', 'icons8-archive', 'icons8-area-chart', 'icons8-arrows-long-down', 'icons8-arrows-long-left', 'icons8-arrows-long-right', 'icons8-arrows-long-up', 'icons8-asterisk', 'icons8-audio-file', 'icons8-babys-room', 'icons8-bank-card', 'icons8-banknotes', 'icons8-bar-chart', 'icons8-barcode', 'icons8-bed', 'icons8-binoculars', 'icons8-bitcoin', 'icons8-bold', 'icons8-bookmark', 'icons8-box', 'icons8-briefcase', 'icons8-british-pound', 'icons8-brush', 'icons8-buy', 'icons8-calculator', 'icons8-camera', 'icons8-cancel', 'icons8-cancel-2', 'icons8-cat-footprint', 'icons8-checked', 'icons8-checked-2', 'icons8-checkmark', 'icons8-chevron-down', 'icons8-chevron-down-round', 'icons8-chevron-left', 'icons8-chevron-left-round', 'icons8-chevron-right', 'icons8-chevron-right-round', 'icons8-chevron-up', 'icons8-chevron-up-round', 'icons8-circle', 'icons8-circle-notch', 'icons8-circle-thin', 'icons8-clipboard', 'icons8-code-file', 'icons8-color-dropper', 'icons8-columns', 'icons8-comments', 'icons8-compress', 'icons8-controller', 'icons8-copy', 'icons8-copyright', 'icons8-create-new', 'icons8-crop', 'icons8-cut', 'icons8-database', 'icons8-dining-room', 'icons8-diploma-1', 'icons8-doctor', 'icons8-document', 'icons8-double-left', 'icons8-double-right', 'icons8-double-up', 'icons8-down-arrow', 'icons8-down-round', 'icons8-down-squared', 'icons8-download', 'icons8-download-2', 'icons8-electrical', 'icons8-electricity', 'icons8-eraser', 'icons8-euro', 'icons8-exclamation-mark', 'icons8-export', 'icons8-fantasy', 'icons8-fax', 'icons8-female', 'icons8-file', 'icons8-film', 'icons8-filter', 'icons8-finish-flag', 'icons8-fire-extinguisher', 'icons8-folder', 'icons8-football2', 'icons8-gender', 'icons8-gender-neutral-user', 'icons8-genderqueer', 'icons8-generic-sorting', 'icons8-generic-sorting-2', 'icons8-generic-text', 'icons8-gift', 'icons8-google-wallet', 'icons8-gps-device', 'icons8-grid', 'icons8-grid-2', 'icons8-grid-3', 'icons8-group', 'icons8-hdd', 'icons8-header', 'icons8-home', 'icons8-hospital-2', 'icons8-idea', 'icons8-image-file', 'icons8-import', 'icons8-indent', 'icons8-info', 'icons8-insert-table', 'icons8-ipad', 'icons8-iphone', 'icons8-italic', 'icons8-japanese-yen', 'icons8-key', 'icons8-keyboard', 'icons8-last-quarter', 'icons8-left-arrow', 'icons8-left-round', 'icons8-left-squared', 'icons8-level-down', 'icons8-level-up', 'icons8-library', 'icons8-list', 'icons8-lock', 'icons8-lock-2', 'icons8-male', 'icons8-mastercard', 'icons8-minus', 'icons8-monitor', 'icons8-moon', 'icons8-music', 'icons8-news', 'icons8-notebook', 'icons8-numbered-list', 'icons8-numerical-sorting-12', 'icons8-numerical-sorting-21', 'icons8-old-time-camera', 'icons8-opened-folder', 'icons8-organization', 'icons8-outdent', 'icons8-paragraph', 'icons8-parallel-tasks', 'icons8-paste', 'icons8-paypal', 'icons8-pdf', 'icons8-pencil', 'icons8-phone', 'icons8-picture', 'icons8-pie-chart', 'icons8-pin-3', 'icons8-plus', 'icons8-powerpoint', 'icons8-price-tag', 'icons8-puzzle', 'icons8-qr-code', 'icons8-question-mark', 'icons8-recycling', 'icons8-refresh', 'icons8-remove-user', 'icons8-resize-diagonal', 'icons8-resize-four-directions', 'icons8-resize-horizontal', 'icons8-resize-vertical', 'icons8-right-arrow', 'icons8-right-round', 'icons8-right-squared', 'icons8-rotate-left', 'icons8-rotate-right', 'icons8-rouble', 'icons8-rounded-rectangle', 'icons8-rounded-rectangle-filled', 'icons8-rupee', 'icons8-search', 'icons8-sensor', 'icons8-services', 'icons8-settings', 'icons8-share', 'icons8-shekel', 'icons8-shopping-cart', 'icons8-shutdown', 'icons8-sort', 'icons8-sort-down', 'icons8-sort-left', 'icons8-sort-right', 'icons8-sort-up', 'icons8-spy', 'icons8-strikethrough', 'icons8-stripe', 'icons8-student', 'icons8-subscript', 'icons8-superscript', 'icons8-support', 'icons8-tags', 'icons8-tasks', 'icons8-text-height', 'icons8-text-width', 'icons8-ticket', 'icons8-timeline', 'icons8-todo-list', 'icons8-translation', 'icons8-trash', 'icons8-trophy', 'icons8-turkish-lira', 'icons8-umbrella', 'icons8-underline', 'icons8-undo', 'icons8-unlock-2', 'icons8-up-arrow', 'icons8-up-round', 'icons8-up-squared', 'icons8-upload', 'icons8-upload-2', 'icons8-us-dollar', 'icons8-user-female', 'icons8-user-male', 'icons8-video-call', 'icons8-video-file', 'icons8-visa', 'icons8-won', 'icons8-word', 'icons8-xls', 'icons8-add-shopping-cart', 'icons8-add-user', 'icons8-adventures', 'icons8-advertising', 'icons8-airport', 'icons8-align-center', 'icons8-align-justify', 'icons8-align-left', 'icons8-align-right', 'icons8-alphabetical-sorting', 'icons8-alphabetical-sorting-2', 'icons8-amex', 'icons8-angle-down', 'icons8-angle-left', 'icons8-angle-right', 'icons8-angle-up', 'icons8-archive', 'icons8-area-chart', 'icons8-arrows-long-down', 'icons8-arrows-long-left', 'icons8-arrows-long-right', 'icons8-arrows-long-up', 'icons8-asterisk', 'icons8-audio-file', 'icons8-babys-room', 'icons8-bank-card', 'icons8-banknotes', 'icons8-bar-chart', 'icons8-barcode', 'icons8-bed', 'icons8-binoculars', 'icons8-bitcoin', 'icons8-bold', 'icons8-bookmark', 'icons8-box', 'icons8-briefcase', 'icons8-british-pound', 'icons8-brush', 'icons8-buy', 'icons8-calculator', 'icons8-camera', 'icons8-cancel', 'icons8-cancel-2', 'icons8-cat-footprint', 'icons8-checked', 'icons8-checked-2', 'icons8-checkmark', 'icons8-chevron-down', 'icons8-chevron-down-round', 'icons8-chevron-left', 'icons8-chevron-left-round', 'icons8-chevron-right', 'icons8-chevron-right-round', 'icons8-chevron-up', 'icons8-chevron-up-round', 'icons8-circle', 'icons8-circle-notch', 'icons8-circle-thin', 'icons8-clipboard', 'icons8-code-file', 'icons8-color-dropper', 'icons8-columns', 'icons8-comments', 'icons8-compress', 'icons8-controller', 'icons8-copy', 'icons8-copyright', 'icons8-create-new', 'icons8-crop', 'icons8-cut', 'icons8-database', 'icons8-dining-room', 'icons8-diploma-1', 'icons8-doctor', 'icons8-document', 'icons8-double-left', 'icons8-double-right', 'icons8-double-up', 'icons8-down-arrow', 'icons8-down-round', 'icons8-down-squared', 'icons8-download', 'icons8-download-2', 'icons8-electrical', 'icons8-electricity', 'icons8-eraser', 'icons8-euro', 'icons8-exclamation-mark', 'icons8-export', 'icons8-fantasy', 'icons8-fax', 'icons8-female', 'icons8-file', 'icons8-film', 'icons8-filter', 'icons8-finish-flag', 'icons8-fire-extinguisher', 'icons8-folder', 'icons8-football2', 'icons8-gender', 'icons8-gender-neutral-user', 'icons8-genderqueer', 'icons8-generic-sorting', 'icons8-generic-sorting-2', 'icons8-generic-text', 'icons8-gift', 'icons8-google-wallet', 'icons8-gps-device', 'icons8-grid', 'icons8-grid-2', 'icons8-grid-3', 'icons8-group', 'icons8-hdd', 'icons8-header', 'icons8-home', 'icons8-hospital-2', 'icons8-idea', 'icons8-image-file', 'icons8-import', 'icons8-indent', 'icons8-info', 'icons8-insert-table', 'icons8-ipad', 'icons8-iphone', 'icons8-italic', 'icons8-japanese-yen', 'icons8-key', 'icons8-keyboard', 'icons8-last-quarter', 'icons8-left-arrow', 'icons8-left-round', 'icons8-left-squared', 'icons8-level-down', 'icons8-level-up', 'icons8-library', 'icons8-list', 'icons8-lock', 'icons8-lock-2', 'icons8-male', 'icons8-mastercard', 'icons8-minus', 'icons8-monitor', 'icons8-moon', 'icons8-music', 'icons8-news', 'icons8-notebook', 'icons8-numbered-list', 'icons8-numerical-sorting-12', 'icons8-numerical-sorting-21', 'icons8-old-time-camera', 'icons8-opened-folder', 'icons8-organization', 'icons8-outdent', 'icons8-paragraph', 'icons8-parallel-tasks', 'icons8-paste', 'icons8-paypal', 'icons8-pdf', 'icons8-pencil', 'icons8-phone', 'icons8-picture', 'icons8-pie-chart', 'icons8-pin-3', 'icons8-plus', 'icons8-powerpoint', 'icons8-price-tag', 'icons8-puzzle', 'icons8-qr-code', 'icons8-question-mark', 'icons8-recycling', 'icons8-refresh', 'icons8-remove-user', 'icons8-resize-diagonal', 'icons8-resize-four-directions', 'icons8-resize-horizontal', 'icons8-resize-vertical', 'icons8-right-arrow', 'icons8-right-round', 'icons8-right-squared', 'icons8-rotate-left', 'icons8-rotate-right', 'icons8-rouble', 'icons8-rounded-rectangle', 'icons8-rounded-rectangle-filled', 'icons8-rupee', 'icons8-search', 'icons8-sensor', 'icons8-services', 'icons8-settings', 'icons8-share', 'icons8-shekel', 'icons8-shopping-cart', 'icons8-shutdown', 'icons8-sort', 'icons8-sort-down', 'icons8-sort-left', 'icons8-sort-right', 'icons8-sort-up', 'icons8-spy', 'icons8-strikethrough', 'icons8-stripe', 'icons8-student', 'icons8-subscript', 'icons8-superscript', 'icons8-support', 'icons8-tags', 'icons8-tasks', 'icons8-text-height', 'icons8-text-width', 'icons8-ticket', 'icons8-timeline', 'icons8-todo-list', 'icons8-translation', 'icons8-trash', 'icons8-trophy', 'icons8-turkish-lira', 'icons8-umbrella', 'icons8-underline', 'icons8-undo', 'icons8-unlock-2', 'icons8-up-arrow', 'icons8-up-round', 'icons8-up-squared', 'icons8-upload', 'icons8-upload-2', 'icons8-us-dollar', 'icons8-user-female', 'icons8-user-male', 'icons8-video-call', 'icons8-video-file', 'icons8-visa', 'icons8-won', 'icons8-word', 'icons8-xls', ]; module.exports = [ ...new Set(arrIcons_fe), ...new Set(arrIcons_mdi), ...new Set(arrIcons_ion), ...new Set(arrIcons_octoicon), ...new Set(arrIcons_fas), ...new Set(arrIcons_far), ...new Set(arrIcons_fab), ...new Set(arrIcons_mdl2), ...new Set(arrIcons_wicon), ...new Set(arrIcons_icons8), ];
hbarsnes/compomics-utilities
src/main/java/com/compomics/util/experiment/identification/peptide_fragmentation/models/ms2pip/features_configuration/features/generic/AAPropertyFeature.java
<filename>src/main/java/com/compomics/util/experiment/identification/peptide_fragmentation/models/ms2pip/features_configuration/features/generic/AAPropertyFeature.java<gh_stars>10-100 package com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic; import com.compomics.util.experiment.biology.aminoacids.AminoAcid; import com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature; import com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.SingleAAPropertyFeature; /** * Feature based on an amino acid property. * * @author <NAME> */ public abstract class AAPropertyFeature implements Ms2pipFeature, SingleAAPropertyFeature { /** * Empty default constructor */ public AAPropertyFeature() { } /** * The index on the sequence. */ protected int aaIndex; /** * The property of the amino acids to consider. */ protected AminoAcid.Property aminoAcidProperty; /** * Returns the index on the sequence. * * @return the index on the sequence */ public int getAaIndex() { return aaIndex; } /** * Sets the index on the sequence. * * @param aaIndex the index on the sequence */ public void setAaIndex(int aaIndex) { this.aaIndex = aaIndex; } @Override public AminoAcid.Property getAminoAcidProperty() { return aminoAcidProperty; } @Override public void setAminoAcidProperty(AminoAcid.Property aminoAcidProperty) { this.aminoAcidProperty = aminoAcidProperty; } }
marcelohenrique180/ifsul-system
src/main/java/br/com/ifsul/application/service/AlunoConfirmarService.java
package br.com.ifsul.application.service; import br.com.ifsul.infrastructure.database.dao.UsuarioDAO; import br.com.ifsul.pojo.VerificationToken; import br.com.ifsul.infrastructure.database.dao.VerificationTokenDAO; import br.com.ifsul.pojo.Usuario; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.stereotype.Service; import org.springframework.validation.BindingResult; @Service public class AlunoConfirmarService { private UsuarioDAO usuarioDAO; private VerificationTokenDAO tokenDAO; private VerificationTokenService verificationTokenService; private BCryptPasswordEncoder encoder; public void confirmarAluno(String token, Usuario usuario, BindingResult errors){ verificationTokenService.setResult(errors); VerificationToken tokenFromDB = verificationTokenService.verificar(token); tokenFromDB.getUsuario().setSenha(encoder.encode(usuario.getSenha())); usuarioDAO.save(tokenFromDB.getUsuario()); tokenFromDB.setVerified(true); tokenDAO.save(tokenFromDB); } @Autowired public void setUsuarioDAO(UsuarioDAO usuarioDAO) { this.usuarioDAO = usuarioDAO; } @Autowired public void setTokenDAO(VerificationTokenDAO tokenDAO) { this.tokenDAO = tokenDAO; } @Autowired public void setVerificationTokenService(VerificationTokenService verificationTokenService) { this.verificationTokenService = verificationTokenService; } @Autowired public void setEncoder(BCryptPasswordEncoder encoder) { this.encoder = encoder; } }
anchoranalysis/anchor-gui
anchor-gui-frame/src/main/java/org/anchoranalysis/gui/image/IndexSlider.java
/*- * #%L * anchor-gui-frame * %% * Copyright (C) 2010 - 2020 <NAME>, ETH Zurich, University of Zurich, Hoffmann-<NAME> * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * #L% */ package org.anchoranalysis.gui.image; import org.anchoranalysis.gui.index.bounded.ListeningRange; import org.anchoranalysis.gui.property.IPropertyValueReceivable; import org.anchoranalysis.gui.property.IPropertyValueSendable; import org.anchoranalysis.gui.slider.BoundedSideSlider; import org.anchoranalysis.gui.slider.SideSlider; public class IndexSlider { private BoundedSideSlider delegate; public IndexSlider(ListeningRange bounds, boolean includeAdjusting) { delegate = new BoundedSideSlider(bounds, 1000, 7, includeAdjusting); delegate.setVisible(true); } public void setIndex(Integer index, boolean adjusting) { if (index != this.delegate.getValue()) { this.delegate.setValue(index, adjusting); } } public int getIndex() { return delegate.getValue(); } public void setIndexToMaximum() { delegate.setValueToMaximum(); } public boolean isIndexAtMaximum() { return delegate.isAtMinimumValue(); } public void setIndexMaximum(int max) { delegate.setMaximum(max); } public void setIndexMinimum(int min) { delegate.setMaximum(min); } public void setVisible(boolean visibility) { this.delegate.setVisible(visibility); } public boolean isVisible() { return this.delegate.isVisible(); } public SideSlider getSlider() { return delegate.getSlider(); } public IPropertyValueSendable<Integer> getSelectIndexSendable() { return this::setIndex; } public IPropertyValueReceivable<Integer> getSelectIndexReceivable() { return delegate.getSelectSliceReceivable(); } public void dispose() { delegate.dispose(); } }
JKChenFZ/hclib
test/misc/ctx_test.c
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <unistd.h> //#define VERBOSE #include <litectx.h> LiteCtx *mainCtx; LiteCtx* ctx1; LiteCtx* ctx2; volatile int value = 0; void printStack(LiteCtx* ctx) { int i; ++value; printf("\n%s\n", (const char*)ctx->arg1); printf(" prev context was %p\n", ctx->prev); printf(" address from current stack: %p\n", &i); } void func1(LiteCtx* ctx) { LiteCtx* prev = ctx->prev; printStack(ctx); LiteCtx_swap(ctx, ctx2, __func__); printStack(ctx); LiteCtx_swap(ctx, prev, __func__); } void func2(LiteCtx* ctx) { LiteCtx* prev = ctx->prev; printStack(ctx); LiteCtx_swap(ctx, prev, __func__); } LiteCtx* makeCtx(void (*fn)(LiteCtx*), const char* fn_str) { LiteCtx*ctx = LiteCtx_create(fn); printf("Created context for %s: %p\n", fn_str, ctx); printf(" fctx: %p\n", ctx->_fctx); char *const stack_top = ctx->_stack + LITECTX_STACK_SIZE; printf(" stack: %p-%p\n",ctx->_stack, stack_top); ctx->arg1 = (void *)fn_str; return ctx; } int main() { // dup2(1, 2); fclose(stderr); stderr = fdopen(1, "a"); mainCtx = LiteCtx_proxy_create(__func__); mainCtx->arg1 = (void *)__func__; printf("Created proxy context for main: %p\n", mainCtx); printf(" fctx: %p\n", mainCtx->_fctx); ctx1 = makeCtx(func1, "func1"); ctx2 = makeCtx(func2, "func2"); printStack(mainCtx); LiteCtx_swap(mainCtx, ctx1, __func__); printStack(mainCtx); if (value == 5) { printf("\npassed\n"); return 0; } else { printf("\nfailed\n"); return 1; } }
ovh-ux/ovh-manager-telecom
client/app/telecom/telephony/billingAccount/billing/groupRepayments/telecom-telephony-billing-account-billing-group-repayments.controller.js
<reponame>ovh-ux/ovh-manager-telecom angular.module('managerApp').controller('TelecomTelephonyBillingAccountBillingGroupRepaymentsCtrl', function ($q, $stateParams, $translate, OvhApiTelephony, TelephonyMediator, TucToast) { const self = this; /*= ===================================== = INITIALIZATION = ====================================== */ function init() { self.consumptions = { all: [], raw: [], hasAmountAvailable: null, total: { duration: null, price: null, call: null, }, repayable: { price: null, call: null, }, deferred: { price: null, call: null, }, isLoading: false, }; self.groupRepaymentsForm = { billingNumber: null, isAsking: false, }; self.consumptions.isLoading = true; return TelephonyMediator .getGroup($stateParams.billingAccount) .then(group => group.getRepaymentConsumption().then((repaymentConsumptions) => { self.consumptions.all = _.get(repaymentConsumptions, 'groupRepayments.all'); self.consumptions.raw = _.get(repaymentConsumptions, 'groupRepayments.raw'); // total self.consumptions.total.duration = _.sum(self.consumptions.raw, 'duration'); self.consumptions.total.price = _.chain(self.consumptions.raw).sum('price').floor(2).value(); self.consumptions.total.call = _.chain(self.consumptions.all).size().value(); // repayable const repayable = _.chain(self.consumptions.all).filter('repayable'); self.consumptions.repayable.price = repayable.pluck('price').sum().floor(2).value(); self.consumptions.repayable.call = repayable.size().value(); self.consumptions.hasAmountAvailable = _.find(self.consumptions.raw, 'repayable'); // deferred self.consumptions.deferred.price = _.floor( self.consumptions.total.price - self.consumptions.repayable.price, 2, ); self.consumptions.deferred.call = self.consumptions.total.call - self.consumptions.repayable.call; const dialedNumbers = _.chain(self.consumptions.raw).groupBy('dialed').keysIn().value(); self.consumptions.groupedByDialedNumber = _.map(dialedNumbers, (dialed) => { const consumptions = _.filter(self.consumptions.raw, { dialed }); const totalPrice = _.chain(consumptions).sum('price').round(2).value(); const operators = _.chain(consumptions).groupBy('operator').keysIn().sort() .value(); const details = _.map(operators, (operator) => { const operatorConsumptions = _.filter(consumptions, { operator }); const totalOperatorPrice = _.chain(operatorConsumptions).sum('price').round(2).value(); return { operator, totalOperatorConsumption: _.size(operatorConsumptions), totalOperatorDuration: _.sum(operatorConsumptions, 'duration'), totalOperatorPrice, }; }); return { dialed, totalConsumption: _.size(consumptions), totalDuration: _.sum(consumptions, 'duration'), totalPrice, details, }; }); return repaymentConsumptions; })).catch((err) => { TucToast.error([$translate.instant('telephony_group_billing_group_repayments_error'), (err.data && err.data.message) || ''].join(' ')); return $q.reject(err); }).finally(() => { self.consumptions.isLoading = false; }); } /* ----- End of INITIALIZATION ------*/ /* ============================= = EVENTS = ============================== */ self.askHistoryRepaymentConsumption = function () { self.groupRepaymentsForm.isAsking = true; return OvhApiTelephony.HistoryRepaymentConsumption().v6().create({ billingAccount: $stateParams.billingAccount, }, { billingNumber: self.groupRepaymentsForm.billingNumber, }).$promise.then(() => { TucToast.success($translate.instant('telephony_group_billing_group_repayments_ask_new_repayment_success')); init(); }).catch((error) => { TucToast.error([$translate.instant('telephony_group_billing_group_repayments_ask_new_repayment_error'), _.get(error, 'data.message')].join(' ')); init(); return $q.reject(error); }).finally(() => { self.groupRepaymentsForm.isAsking = false; }); }; /* ----- End of EVENTS ------ */ init(); });
tangfeixiong/learningclang
c/split-time/seconds.c
<filename>c/split-time/seconds.c #include <stdio.h> #include <stdlib.h> #include "simpletime.h" struct dtseconds { int days; int hours; int minutes; int seconds; }; time secondstohms(int totalseconds) { time t; t.minutes = totalseconds / 60; t.seconds = totalseconds % 60; t.hours = t.minutes / 60; t.minutes %= 60; return t; } int secondstotime(int totalseconds, int* days, int* hours, int* minutes, int* seconds) { struct dtseconds dts; int ds, hs, ms, ss; if (days == NULL || hours == NULL || minutes == NULL || seconds == NULL) return 1; dts.seconds = totalseconds; ss = dts.seconds % 60; dts.minutes = (dts.seconds - ss) / 60; ms = dts.minutes % 60; dts.hours = (dts.minutes - ms) / 60; hs = dts.hours % 24; ds = (dts.hours - hs) / 24; dts.days = ds; *days = dts.days; *hours = hs; *minutes = ms; *seconds = ss; return 0; }
reevespaul/firebird-qa
tests/bugs/core_4483_test.py
#coding:utf-8 # # id: bugs.core_4483 # title: Changed data not visible in WHEN-section if exception occured inside SP that has been called from this code # decription: # tracker_id: CORE-4483 # min_versions: ['4.0'] # versions: 4.0 # qmid: None import pytest from firebird.qa import db_factory, isql_act, Action # version: 4.0 # resources: None substitutions_1 = [] init_script_1 = """""" db_1 = db_factory(sql_dialect=3, init=init_script_1) test_script_1 = """ -- ISSUE-1: if procedure_A calls procedure_B and the latter makes some DML changes but then fails -- then proc_A does NOT see any changes that were made by proc_B. -- See letter to dimitr, 02-feb-2015 23:47, attachment: 'core-4483_test1.sql'. set term ^; create or alter procedure P1 as begin end^ create or alter procedure P2 as begin end^ create or alter procedure P3 as begin end^ create or alter procedure P4 as begin end^ create or alter procedure P5 as begin end^ create or alter procedure P6 as begin end^ commit^ recreate table t(id int primary key)^ commit^ -- P1...P4 -- procedures WITHOUT when blocks and correct code: create or alter procedure P1 as begin insert into t values(1); end^ create or alter procedure P2 as begin insert into t values(2); end^ create or alter procedure P3 as begin insert into t values(3); end^ create or alter procedure P4 as begin insert into t values(4); end^ -- P5 -- single proc WITH when block (but with correct code); create or alter procedure P5 as begin insert into t values(5); rdb$set_context('USER_SESSION','PROC_P5_BEFORE_P6_CALL', (select list(id) from t)); --- [ 2 ] execute procedure P6; when any do begin rdb$set_context('USER_SESSION','PROC_P5_WHEN_BLK_AFTER_P6_CALL', (select list(id) from t)); --- [ 4 ] exception; end end^ -- P6 -- deepest procedure with INCORRECT code (where exception occurs): create or alter procedure P6 as declare i int; begin insert into t values(6); -- ### ERRONEOUS CODE ### i = rdb$set_context('USER_SESSION','PROC_P6_ERROR_LINE', (select list(id) from t)) / 0; --- [ 3a ] when any do begin rdb$set_context('USER_SESSION','PROC_P6_WHEN_BLK_CATCHING_ERR', (select list(id) from t)); --- [ 3b ] exception; end end^ commit^ set term ;^ commit; set transaction no wait; set term ^; execute block as declare i int; begin delete from t; execute procedure P1; execute procedure P2; execute procedure P3; execute procedure P4; rdb$set_context('USER_SESSION','MAIN_EB_AFTER_CALL_P1_P4', (select list(id) from t)); --- [ 1 ] execute procedure P5; -- ==> update context vars 'PROC_P5_BEFORE_P6_CALL' and 'PROC_P5_WHEN_BLK_AFTER_P6_CALL' when any do begin rdb$set_context('USER_SESSION','MAIN_EB_WHEN_BLK_AFTER_P5_EXC', (select list(id) from t)); --- [ 4 ] --exception; end end ^ set term ^; SET LIST ON; select rdb$get_context('USER_SESSION','MAIN_EB_AFTER_CALL_P1_P4') "main EB after P1,P2,P3,P4" -- [ 1 ] ,rdb$get_context('USER_SESSION','PROC_P5_BEFORE_P6_CALL') "proc P5 before call P6" -- [ 2 ] ,rdb$get_context('USER_SESSION','PROC_P6_ERROR_LINE') "proc P6 error source line" -- [ 3a ] ,rdb$get_context('USER_SESSION','PROC_P6_WHEN_BLK_CATCHING_ERR') "proc P6 WHEN blk: catch exceptn" -- [ 3b ] ,rdb$get_context('USER_SESSION','PROC_P5_WHEN_BLK_AFTER_P6_CALL') "proc P5 WHEN blk: catch exceptn" -- [ 4 ] ,rdb$get_context('USER_SESSION','MAIN_EB_WHEN_BLK_AFTER_P5_EXC') "main EB WHEN blk: catch exceptn" -- [ 5 ] from rdb$database; select count(*) t_count from t; commit; -- ############################################################################################# -- ISSUE-2: if some procedure performs several DML statements (s1, s2, s3, ..., sN) and N-th DML -- fails and control falls into WHEN-block of this SP then we can not see any changes that we -- have done inside THIS procedure. -- See letter to dimitr, 02-feb-2015 23:47, attachment: 'core-4483_test2.sql'. set term ^; create or alter procedure p1 as begin end^ create or alter procedure p2 as begin end^ create or alter procedure p3 as begin end^ create or alter procedure p4 as begin end^ create or alter procedure p5 as begin end^ create or alter procedure p6 as begin end^ commit^ recreate table t(id int)^ create or alter procedure p1 as begin insert into t values(1); insert into t values(12); insert into t values(133); rdb$set_context('USER_SESSION','P1_CODE_BEFO_CALL_P2',(select list(id) from t)); execute procedure p2; when any do begin -- here we must be able to see ALL changes that current procedure has done, i.e. -- records with ID = 1, 12 and 133 must be visible for us at this point. rdb$set_context('USER_SESSION','P1_CATCH_BLK_SEES',(select list(id) from t)); --exception; end end^ create or alter procedure p2 as begin insert into t values(2); insert into t values(22); insert into t values(233); rdb$set_context('USER_SESSION','P2_CODE_BEFO_CALL_P3',(select list(id) from t)); execute procedure p3; when any do begin -- here we must be able to see ALL changes that current procedure has done, i.e. -- records with ID = 2, 22 and 233 must be visible for us at this point. rdb$set_context('USER_SESSION','P2_CATCH_BLK_SEES',(select list(id) from t)); exception; end end^ create or alter procedure p3 as begin insert into t values(3); insert into t values(32); insert into t values(333); rdb$set_context('USER_SESSION','P3_CODE_BEFO_CALL_P4',(select list(id) from t)); execute procedure p4; when any do begin -- here we must be able to see ALL changes that current procedure has done, i.e. -- records with ID = 3, 32 and 333 must be visible for us at this point. rdb$set_context('USER_SESSION','P3_CATCH_BLK_SEES',(select list(id) from t)); exception; end end^ create or alter procedure p4 as begin insert into t values(4); insert into t values(42); insert into t values(433); rdb$set_context('USER_SESSION','P4_CODE_BEFO_CALL_P5',(select list(id) from t)); execute procedure p5; when any do begin -- here we must be able to see ALL changes that current procedure has done, i.e. -- records with ID = 4, 42 and 433 must be visible for us at this point. rdb$set_context('USER_SESSION','P4_CATCH_BLK_SEES',(select list(id) from t)); exception; end end^ create or alter procedure p5 as begin insert into t values(5); insert into t values(52); insert into t values(533); rdb$set_context('USER_SESSION','P5_CODE_BEFO_CALL_P6',(select list(id) from t)); execute procedure p6; when any do begin -- here we must be able to see ALL changes that current procedure has done, i.e. -- records with ID = 5, 52 and 533 must be visible for us at this point. rdb$set_context('USER_SESSION','P5_CATCH_BLK_SEES',(select list(id) from t)); exception; end end^ create or alter procedure p6 as declare i int; begin insert into t values(6); insert into t values(62); insert into t values(633); rdb$set_context('USER_SESSION','P6_CODE_BEFO_ZERO_DIV',(select list(id) from t)); i = 1/0; when any do begin -- here we must be able to see ALL changes that current procedure has done, i.e. -- records with ID = 6, 62 and 633 must be visible for us at this point. rdb$set_context('USER_SESSION','P6_CATCH_BLK_SEES',(select list(id) from t)); exception; end end^ commit^ set term ;^ execute procedure p1; set list on; select rdb$get_context('USER_SESSION', 'P6_CODE_BEFO_ZERO_DIV') as "IDs in p6 before zero div" ,rdb$get_context('USER_SESSION', 'P6_CATCH_BLK_SEES') as "IDs in p6 catch blk" ,rdb$get_context('USER_SESSION', 'P5_CODE_BEFO_CALL_P6') as "IDs in p5 before p6 call" ,rdb$get_context('USER_SESSION', 'P5_CATCH_BLK_SEES') as "IDs in p5 catch blk" ,rdb$get_context('USER_SESSION', 'P4_CODE_BEFO_CALL_P5') as "IDs in p4 before p5 call" ,rdb$get_context('USER_SESSION', 'P4_CATCH_BLK_SEES') as "IDs in p4 catch blk" ,rdb$get_context('USER_SESSION', 'P3_CODE_BEFO_CALL_P4') as "IDs in p3 before p4 call" ,rdb$get_context('USER_SESSION', 'P3_CATCH_BLK_SEES') as "IDs in p3 catch blk" ,rdb$get_context('USER_SESSION', 'P2_CODE_BEFO_CALL_P3') as "IDs in p2 before p3 call" ,rdb$get_context('USER_SESSION', 'P2_CATCH_BLK_SEES') as "IDs in p2 catch blk" ,rdb$get_context('USER_SESSION', 'P1_CODE_BEFO_CALL_P2') as "IDs in p1 before p2 call" ,rdb$get_context('USER_SESSION', 'P1_CATCH_BLK_SEES') as "IDs in p1 catch blk" from rdb$database; set list off; """ act_1 = isql_act('db_1', test_script_1, substitutions=substitutions_1) expected_stdout_1 = """ main EB after P1,P2,P3,P4 1,2,3,4 proc P5 before call P6 1,2,3,4,5 proc P6 error source line 1,2,3,4,5,6 proc P6 WHEN blk: catch exceptn 1,2,3,4,5,6 proc P5 WHEN blk: catch exceptn 1,2,3,4,5 main EB WHEN blk: catch exceptn 1,2,3,4 T_COUNT 4 IDs in p6 before zero div 1,12,133,2,22,233,3,32,333,4,42,433,5,52,533,6,62,633 IDs in p6 catch blk 1,12,133,2,22,233,3,32,333,4,42,433,5,52,533,6,62,633 IDs in p5 before p6 call 1,12,133,2,22,233,3,32,333,4,42,433,5,52,533 IDs in p5 catch blk 1,12,133,2,22,233,3,32,333,4,42,433,5,52,533 IDs in p4 before p5 call 1,12,133,2,22,233,3,32,333,4,42,433 IDs in p4 catch blk 1,12,133,2,22,233,3,32,333,4,42,433 IDs in p3 before p4 call 1,12,133,2,22,233,3,32,333 IDs in p3 catch blk 1,12,133,2,22,233,3,32,333 IDs in p2 before p3 call 1,12,133,2,22,233 IDs in p2 catch blk 1,12,133,2,22,233 IDs in p1 before p2 call 1,12,133 IDs in p1 catch blk 1,12,133 """ @pytest.mark.version('>=4.0') def test_1(act_1: Action): act_1.expected_stdout = expected_stdout_1 act_1.execute() assert act_1.clean_expected_stdout == act_1.clean_stdout
zero88/blueprint
sql/src/main/java/io/zero88/qwe/sql/spi/extension/jdbc/JDBCClientHikariJooqxExtension.java
<filename>sql/src/main/java/io/zero88/qwe/sql/spi/extension/jdbc/JDBCClientHikariJooqxExtension.java package io.zero88.qwe.sql.spi.extension.jdbc; import io.vertx.ext.jdbc.spi.impl.HikariCPDataSourceProvider; import io.zero88.jooqx.spi.jdbc.JDBCLegacyHikariProvider; import io.zero88.qwe.sql.handler.JooqxLegacyExtension; /** * QWE Jooqx legacy extension with {@code HikariCP} lib * * @see JooqxLegacyExtension * @see JDBCLegacyHikariProvider */ public class JDBCClientHikariJooqxExtension implements JooqxLegacyExtension<HikariCPDataSourceProvider>, JDBCLegacyHikariProvider { }
skylark-integration/skylark-highlightjs
dist/uncompressed/skylark-highlightjs/languages/rust.js
/* Language: Rust Author: <NAME> <<EMAIL>> Contributors: <NAME> <<EMAIL>>, <NAME> <<EMAIL>> Category: system */ define([ "../highlight" ],function(hljs){ var NUM_SUFFIX = '([ui](8|16|32|64|128|size)|f(32|64))\?'; var KEYWORDS = 'alignof as be box break const continue crate do else enum extern ' + 'false fn for if impl in let loop match mod mut offsetof once priv ' + 'proc pub pure ref return self Self sizeof static struct super trait true ' + 'type typeof unsafe unsized use virtual while where yield move default'; var BUILTINS = // functions 'drop ' + // types 'i8 i16 i32 i64 i128 isize ' + 'u8 u16 u32 u64 u128 usize ' + 'f32 f64 ' + 'str char bool ' + 'Box Option Result String Vec ' + // traits 'Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug ' + 'PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator ' + 'Extend IntoIterator DoubleEndedIterator ExactSizeIterator ' + 'SliceConcatExt ToString ' + // macros 'assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! ' + 'debug_assert! debug_assert_eq! env! panic! file! format! format_args! ' + 'include_bin! include_str! line! local_data_key! module_path! ' + 'option_env! print! println! select! stringify! try! unimplemented! ' + 'unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!'; return { aliases: ['rs'], keywords: { keyword: KEYWORDS, literal: 'true false Some None Ok Err', built_in: BUILTINS }, lexemes: hljs.IDENT_RE + '!?', illegal: '</', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.COMMENT('/\\*', '\\*/', {contains: ['self']}), hljs.inherit(hljs.QUOTE_STRING_MODE, {begin: /b?"/, illegal: null}), { className: 'string', variants: [ { begin: /r(#*)"(.|\n)*?"\1(?!#)/ }, { begin: /b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/ } ] }, { className: 'symbol', begin: /'[a-zA-Z_][a-zA-Z0-9_]*/ }, { className: 'number', variants: [ { begin: '\\b0b([01_]+)' + NUM_SUFFIX }, { begin: '\\b0o([0-7_]+)' + NUM_SUFFIX }, { begin: '\\b0x([A-Fa-f0-9_]+)' + NUM_SUFFIX }, { begin: '\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)' + NUM_SUFFIX } ], relevance: 0 }, { className: 'function', beginKeywords: 'fn', end: '(\\(|<)', excludeEnd: true, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { className: 'meta', begin: '#\\!?\\[', end: '\\]', contains: [ { className: 'meta-string', begin: /"/, end: /"/ } ] }, { className: 'class', beginKeywords: 'type', end: ';', contains: [ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, {endsParent: true}) ], illegal: '\\S' }, { className: 'class', beginKeywords: 'trait enum struct union', end: '{', contains: [ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, {endsParent: true}) ], illegal: '[\\w\\d]' }, { begin: hljs.IDENT_RE + '::', keywords: {built_in: BUILTINS} }, { begin: '->' } ] }; });
loolooyyyy/j2mod
src/main/java/cc/koosha/modbus/procimg/SimpleInputRegister.java
<filename>src/main/java/cc/koosha/modbus/procimg/SimpleInputRegister.java<gh_stars>0 /* * Copyright 2002-2016 jamod & j2mod development teams * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package cc.koosha.modbus.procimg; import cc.koosha.modbus.xinternal.J2ModDataUtil; import cc.koosha.modbus.xinternal.J2ModPrecondition; import lombok.EqualsAndHashCode; import javax.annotation.concurrent.NotThreadSafe; /** * Class implementing a simple <tt>InputRegister</tt>. * <p> * The <tt>setValue()</tt> method is synchronized, which ensures atomic access, * but no specific access order. * <p> * <b>Important</b> do NOT extend this class, create your own implementation. * * @author <NAME>. * @author <NAME> * @author <NAME> (4NG) * @version 2.0 (March 2016) */ @EqualsAndHashCode @NotThreadSafe class SimpleInputRegister implements InputRegister { /** * The word (<tt>byte[2]</tt>) holding the register content. */ final byte[] register = new byte[2]; /** * Constructs a new <tt>SimpleRegister</tt> instance. * * @param hi the first (hi) byte of the word. * @param lo the second (low) byte of the word. */ SimpleInputRegister(byte hi, byte lo) { register[0] = hi; register[1] = lo; } /** * Constructs a new <tt>SimpleRegister</tt> instance with the given value. * * @param value the value of this <tt>SimpleRegister</tt> as <tt>int</tt>. */ SimpleInputRegister(int value) { J2ModPrecondition.ensureFitsInShort(value, "input register value"); register[0] = J2ModDataUtil.hiByte(value); register[1] = J2ModDataUtil.loByte(value); } /** * {@inheritDoc} */ @Override public final int getValue() { return J2ModDataUtil.twoBytesToInt(register, 0); } @Override public byte[] getBytes() { return new byte[]{register[0], register[1]}; } /** * {@inheritDoc} */ @Override @Deprecated public final int toUnsignedShort() { return getValue(); } /** * {@inheritDoc} */ @Override @Deprecated public final short toShort() { return J2ModDataUtil.twoBytesToShort(register, 0); } /** * {@inheritDoc} */ @Override @Deprecated public final byte[] toBytes() { return getBytes(); } public String toString() { return "InputRegister{hi=" + register[0] + ", lo=" + register[1] + "}"; } }
jezze/oddity
src/list.c
#include "list.h" void list_add(struct list *list, struct list_item *item) { item->prev = list->tail; item->next = 0; if (list->head) list->tail->next = item; else list->head = item; list->tail = item; list->count++; } void list_remove(struct list *list, struct list_item *item) { if (list->head == item) list->head = item->next; if (list->tail == item) list->tail = item->prev; if (list->head) list->head->prev = 0; if (list->tail) list->tail->next = 0; if (item->next) item->next->prev = item->prev; if (item->prev) item->prev->next = item->next; item->next = 0; item->prev = 0; list->count--; } void list_move(struct list *to, struct list *from, struct list_item *item) { list_remove(from, item); list_add(to, item); } struct list_item *list_pickhead(struct list *list) { struct list_item *item = list->head; if (item) list_remove(list, item); return item; } struct list_item *list_picktail(struct list *list) { struct list_item *item = list->tail; if (item) list_remove(list, item); return item; } void list_inititem(struct list_item *item, void *data) { item->next = 0; item->prev = 0; item->data = data; }
ttcremers/spree_mollie
app/controllers/spree/mollie_return_controller.rb
<reponame>ttcremers/spree_mollie module Spree class MollieReturnController < Spree::BaseController protect_from_forgery except: [ :continue ] # Action which is called by the Mollie callback. We check if # the payment is processed here and redirect accordingly def process_payment_status order = Spree::Order.find_by_number(params[:order_id]) payment_id = order.payments.last.response_code mollie = Spree::PaymentMethod.find_by_type("Spree::Gateway::Mollie") mollie_payment = mollie.provider.payments.get(payment_id) spree_payment = Spree::Payment.find_by_response_code(payment_id) # Translate Mollie status to Spree status and safe is to the order if mollie_payment.paid? spree_payment.complete! unless spree_payment.completed? spree_payment.order.next! unless spree_payment.order.complete? elsif mollie_payment.open? == false flash[:error] = t("payment.cancelled", {default: "Payment cancelled"}) spree_payment.failure! unless spree_payment.failed? else spree_payment.pend! unless spree_payment.pending? end redirect_to order.reload.paid? ? order_path(order) : checkout_state_path(:payment) end end end
anehing/JavaConcurrencyPattern
src/vh/fork_join/LineTask.java
<filename>src/vh/fork_join/LineTask.java package vh.fork_join; import java.util.concurrent.RecursiveTask; /** * Created by ane on 1/20/15. */ public class LineTask extends RecursiveTask<Integer>{ private static final long serialVersionUID = 1L; private String line[]; private int start,end; private String word; public LineTask(String line[],int start,int end,String word){ this.line = line; this.start = start; this.end = end; this.word = word; } @Override protected Integer compute() { Integer result = null; if(end - start<100){ result = count(line,start,end,word); }else{ int mid = (start+end)/2; LineTask task1 = new LineTask(line,start,mid,word); LineTask task2 = new LineTask(line,mid,end,word); invokeAll(task1,task2); } return result; } private Integer count(String[] line, int start, int end, String word){ int counter = 0; for(int i=start;i<end;i++){ if(line[i].equals(word)){ counter++; } } try { Thread.sleep(10); }catch (InterruptedException e){ e.printStackTrace(); } return counter; } }
C0PEP0D/sheld0n
cases/reverse/param/env/objects/static/tracers__e1_1o0/choice.h
#ifndef C0P_PARAM_OBJECTS_TRACERS__E1_1O0_CHOICE_H #define C0P_PARAM_OBJECTS_TRACERS__E1_1O0_CHOICE_H #pragma once // THIS FILE SHOULD NOT BE EDITED DIRECTLY BY THE USERS. // THIS FILE WILL BE AUTOMATICALLY EDITED WHEN THE // CHOOSE COMMAND IS USED // choose your object #include "param/env/objects/static/tracers__e1_1o0/group/choice.h" namespace c0p { using TracersE11O0Step = TracersE11O0GroupStep; } #endif
John-WL/my-take-on-rocket-league-bots-I-guess
src/main/java/util/shapes/Circle3D.java
package util.shapes; public class Circle3D { }
07jeancms/HelloWorld
node_modules/jovo-platform-dialogflow/dist/src/core/DialogflowRequestBuilder.js
<reponame>07jeancms/HelloWorld "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const _set = require("lodash.set"); const DialogflowRequest_1 = require("./DialogflowRequest"); const path = require("path"); const samples = { google: { DefaultWelcomeIntent: 'DefaultWelcomeIntent.json', HelpIntent: 'HelpIntent.json', MediaFinished: 'MediaFinished.json', Cancel: 'Cancel.json', SignInCancelled: 'SignInCancelled.json', SignInOk: 'SignInOk.json', RegisterUpdateCancelled: 'RegisterUpdateCancelled.json', RegisterUpdateOk: 'RegisterUpdateOk.json', OnPermissionName: 'OnPermissionName.json', OnPermissionPreciseLocation: 'OnPermissionPreciseLocation.json', OnPermissionNotification: 'OnPermissionNotification.json', CompletePurchase: 'CompletePurchase.json', OnPlace: 'OnPlace.json', }, dialogflow: { DefaultWelcomeIntent: 'DefaultWelcomeIntent.json', HelpIntent: 'HelpIntent.json', }, }; class DialogflowRequestBuilder { constructor(factory) { this.factory = factory; this.type = 'DialogflowAgent'; } async launch(json) { // tslint:disable-line return await this.launchRequest(json); } // tslint:disable-next-line async intent(obj, inputs) { if (typeof obj === 'string') { const req = await this.intentRequest(); _set(req, `queryResult.intent.displayName`, obj); if (inputs) { for (const parameter in inputs) { if (inputs.hasOwnProperty(parameter)) { req.setParameter(parameter, inputs[parameter]); } } } return req; } else { return await this.intentRequest(obj); } } async launchRequest(json) { // tslint:disable-line if (json) { return this.factory.createRequest(json); } else { const reqObj = getJsonFilePath('DefaultWelcomeIntent', this.factory.type()); // tslint:disable-line const request = JSON.stringify(require(reqObj)); return this.factory.createRequest(request); } } async intentRequest(json) { // tslint:disable-line if (json) { return this.factory.createRequest(json); } else { const reqObj = getJsonFilePath('HelpIntent', this.factory.type()); // tslint:disable-line const request = JSON.stringify(require(reqObj)); return this.factory.createRequest(request); } } async rawRequest(json) { // tslint:disable-line return DialogflowRequest_1.DialogflowRequest.fromJSON(json); } async rawRequestByKey(key) { const reqObj = getJsonFilePath(key, this.factory.type()); // tslint:disable-line const request = JSON.stringify(require(reqObj)); return this.factory.createRequest(request); } async audioPlayerRequest(json) { // tslint:disable-line if (json) { return this.factory.createRequest(json); } else { const reqObj = getJsonFilePath('MediaFinished', this.factory.type()); // tslint:disable-line const request = JSON.stringify(require(reqObj)); return this.factory.createRequest(request); } } async end(json) { // tslint:disable-line if (json) { return this.factory.createRequest(json); } else { const reqObj = getJsonFilePath('Cancel', this.factory.type()); // tslint:disable-line const request = JSON.stringify(require(reqObj)); return this.factory.createRequest(request); } } async getPlatformRequest(key, platform) { return JSON.parse(JSON.stringify(require(getJsonFilePath(key, platform)))); } } exports.DialogflowRequestBuilder = DialogflowRequestBuilder; function getJsonFilePath(key, platform = 'google') { let folder = './../../../'; if (process.env.NODE_ENV === 'UNIT_TEST') { folder = './../../../'; } // @ts-ignore const fileName = samples[platform][key]; if (!fileName) { throw new Error(`Can't find file.`); } return path.join(folder, 'sample-request-json', 'v2', platform, fileName); } //# sourceMappingURL=DialogflowRequestBuilder.js.map
ondruska/gdata-java-client
java/src/com/google/gdata/data/spreadsheet/ListEntry.java
<reponame>ondruska/gdata-java-client<filename>java/src/com/google/gdata/data/spreadsheet/ListEntry.java /* Copyright (c) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gdata.data.spreadsheet; import com.google.gdata.data.BaseEntry; import com.google.gdata.data.Category; import com.google.gdata.data.Content; import com.google.gdata.data.ExtensionProfile; import com.google.gdata.data.Kind; import com.google.gdata.data.TextConstruct; /** * Atom Entry for one single row Google Spreadsheets in the list-based * access mode. * * */ @Kind.Term(ListEntry.KIND) public class ListEntry extends BaseEntry<ListEntry> { /** * Kind category term used to label the flexible-schema list entries. */ public static final String KIND = Namespaces.gSpreadPrefix + "list"; /** * Category used to label the flexible-schema list entries. */ public static final Category CATEGORY = new Category(Namespaces.gSpread, KIND); /** * The aggregation of all gx:* elements. */ private CustomElementCollection customElements; /** * Constructs an empty CellEntry to be populated by the XML parsing process. */ public ListEntry() { getCategories().add(CATEGORY); init(); } /** * Constructs a List Entry with the given information. * * @param id the permanent ID of this entry * @param versionId the version identifier of the snapshot */ public ListEntry(String id, String versionId) { this(); setId(id); setVersionId(versionId); } /** * Constructs from a copy. * * @param sourceEntry source to copy from */ public ListEntry(BaseEntry sourceEntry) { super(sourceEntry); getCategories().add(CATEGORY); if (this.getExtension(CustomElementCollection.class) == null) { init(); } } /** * Common initialization code for new list entries. */ private void init() { customElements = new CustomElementCollection(); this.setExtension(customElements); } /** * Gets the collection of custom elements that contain all the special * gsx data items. This is how you access your spreadsheet data. * * @return a CustomElement object for getting all the internal data */ public CustomElementCollection getCustomElements() { return customElements; } /** * Prevents setting the server-generated field. */ @Override public void setTitle(TextConstruct v) { throw new UnsupportedOperationException( "Title is server-generated for Google Spreadsheets list access."); } /** * Prevents setting the server-generated field. */ @Override public void setContent(Content c) { throw new UnsupportedOperationException( "Content is server-generated for Google Spreadsheets list access."); } /** * Prevents setting the server-generated field. */ @Override public void setContent(TextConstruct c) { throw new UnsupportedOperationException( "Content is server-generated for Google Spreadsheets list access."); } /** * Prevents setting the server-generated field. */ @Override public void setSummary(TextConstruct v) { throw new UnsupportedOperationException( "Summary is server-generated for Google Spreadsheets list access."); } /** * Lets the GData server populate this entry with the atom:title. */ public void setAutomaticallyGeneratedTitle(TextConstruct v) { state.title = v; } /** * Lets the GData server populate this entry with the atom:content. */ public void setAutomaticallyGeneratedContent(Content c) { state.content = c; } /** * Lets the GData server populate this entry with the atom:summary. */ public void setAutomaticallyGeneratedSummary(TextConstruct v) { state.summary = v; } /** * Declares the extensions used by the XML parser in the given profile object. */ public void declareExtensions(ExtensionProfile extProfile) { extProfile.declare(ListEntry.class, CustomElementCollection.getDefaultDescription()); } }
jporras66/8583core
8583core/src/main/java/com/indarsoft/iso8583core/coretypes/F010.java
package com.indarsoft.iso8583core.coretypes; import com.indarsoft.iso8583core.types.Field; import com.indarsoft.iso8583core.types.TypeFixed; /** Application : ISO8583CORE - Class F010 - Conversion rate, cardholder billing. * */ public class F010 extends TypeFixed { private F010 (byte[] bytearr, Field field) { super( bytearr, field ) ; if ( ! super.isValid() ){ return; } } /** Static constructor . * * @param bytearr * @return {@link F010 } */ protected static F010 get ( byte[] bytearr, Field field ){ return new F010 ( bytearr, field ) ; } }
sengeiou/group_purchase
src/main/java/com/mds/group/purchase/order/vo/SendBillFilterVo.java
<reponame>sengeiou/group_purchase /* * Copyright Ningbo Qishan Technology Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.mds.group.purchase.order.vo; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * 发货单过滤功能参数类 * * @author shuke * @date 2019 -2-20 */ @Data public class SendBillFilterVo { /** * 自定义的筛选时间 * 手动选择的开始和结束时间,两个时间之间请使用逗号(,)分隔,时间格式为yyyy-MM-dd或者yyyy * 2019-01-01,2019-02-01或者2019/01/01,2019/02/01 */ @ApiModelProperty(name = "自定义的筛选时间", value = "手动选择的开始和结束时间,两个时间之间请使用逗号(,)分隔,时间格式为yyyy-MM-dd或者yyyy/MM/dd", dataType = "String", example = "2019-01-01,2019-02-01或者2019/01/01,2019/02/01") private String inputDate; /** * 发货单状态 * 传入发货单状态筛选,(0、全部 1、待发货 2、配送中(暂时不用,先做预留) 3、待提货 4、已完成 5、(已关闭,暂时不用,预留) */ @ApiModelProperty(name = "发货单状态", value = "传入发货单状态筛选,(0、全部 1、待发货 2、配送中(暂时不用,先做预留) 3、待提货 4、已完成 5、(已关闭,暂时不用,预留)" , example = "0") private Integer sendBillStatus; /** * 快速时间筛选 * 0、全部 1、近一个月 2、近三个月 */ @ApiModelProperty(name = "快速时间筛选", value = "快速时间筛选,0、全部 1、近一个月 2、近三个月", example = "0") private Integer quicklyDate; /** * 分页页码,传入0查询所有 */ @ApiModelProperty(value = "分页页码,传入0查询所有", example = "0") private Integer page; /** * 分页数据量,传入0查询所有 */ @ApiModelProperty(value = "分页数据量,传入0查询所有", example = "0") private Integer size; }
VianPan/alibaba-cloud-sdk-go
services/tdsr/get_scene_list.go
package tdsr //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // //http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in writing, software //distributed under the License is distributed on an "AS IS" BASIS, //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //See the License for the specific language governing permissions and //limitations under the License. // // Code generated by Alibaba Cloud SDK Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. import ( "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" ) // GetSceneList invokes the tdsr.GetSceneList API synchronously // api document: https://help.aliyun.com/api/tdsr/getscenelist.html func (client *Client) GetSceneList(request *GetSceneListRequest) (response *GetSceneListResponse, err error) { response = CreateGetSceneListResponse() err = client.DoAction(request, response) return } // GetSceneListWithChan invokes the tdsr.GetSceneList API asynchronously // api document: https://help.aliyun.com/api/tdsr/getscenelist.html // asynchronous document: https://help.aliyun.com/document_detail/66220.html func (client *Client) GetSceneListWithChan(request *GetSceneListRequest) (<-chan *GetSceneListResponse, <-chan error) { responseChan := make(chan *GetSceneListResponse, 1) errChan := make(chan error, 1) err := client.AddAsyncTask(func() { defer close(responseChan) defer close(errChan) response, err := client.GetSceneList(request) if err != nil { errChan <- err } else { responseChan <- response } }) if err != nil { errChan <- err close(responseChan) close(errChan) } return responseChan, errChan } // GetSceneListWithCallback invokes the tdsr.GetSceneList API asynchronously // api document: https://help.aliyun.com/api/tdsr/getscenelist.html // asynchronous document: https://help.aliyun.com/document_detail/66220.html func (client *Client) GetSceneListWithCallback(request *GetSceneListRequest, callback func(response *GetSceneListResponse, err error)) <-chan int { result := make(chan int, 1) err := client.AddAsyncTask(func() { var response *GetSceneListResponse var err error defer close(result) response, err = client.GetSceneList(request) callback(response, err) result <- 1 }) if err != nil { defer close(result) callback(nil, err) result <- 0 } return result } // GetSceneListRequest is the request struct for api GetSceneList type GetSceneListRequest struct { *requests.RpcRequest AccountId string `position:"Query" name:"AccountId"` } // GetSceneListResponse is the response struct for api GetSceneList type GetSceneListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` ErrMessage string `json:"ErrMessage" xml:"ErrMessage"` Data map[string]interface{} `json:"Data" xml:"Data"` } // CreateGetSceneListRequest creates a request to invoke GetSceneList API func CreateGetSceneListRequest() (request *GetSceneListRequest) { request = &GetSceneListRequest{ RpcRequest: &requests.RpcRequest{}, } request.InitWithApiInfo("tdsr", "2020-01-01", "GetSceneList", "", "") request.Method = requests.POST return } // CreateGetSceneListResponse creates a response to parse from GetSceneList response func CreateGetSceneListResponse() (response *GetSceneListResponse) { response = &GetSceneListResponse{ BaseResponse: &responses.BaseResponse{}, } return }
bopopescu/nova-token
nova/tests/unit/scheduler/ironic_fakes.py
begin_unit comment|'# Copyright 2014 OpenStack Foundation' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' comment|'#' nl|'\n' comment|'# http://www.apache.org/licenses/LICENSE-2.0' nl|'\n' comment|'#' nl|'\n' comment|'# Unless required by applicable law or agreed to in writing, software' nl|'\n' comment|'# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT' nl|'\n' comment|'# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the' nl|'\n' comment|'# License for the specific language governing permissions and limitations' nl|'\n' comment|'# under the License.' nl|'\n' string|'"""\nFake nodes for Ironic host manager tests.\n"""' newline|'\n' nl|'\n' name|'from' name|'nova' name|'import' name|'objects' newline|'\n' nl|'\n' nl|'\n' DECL|variable|COMPUTE_NODES name|'COMPUTE_NODES' op|'=' op|'[' nl|'\n' name|'objects' op|'.' name|'ComputeNode' op|'(' nl|'\n' name|'id' op|'=' number|'1' op|',' name|'local_gb' op|'=' number|'10' op|',' name|'memory_mb' op|'=' number|'1024' op|',' name|'vcpus' op|'=' number|'1' op|',' nl|'\n' name|'vcpus_used' op|'=' number|'0' op|',' name|'local_gb_used' op|'=' number|'0' op|',' name|'memory_mb_used' op|'=' number|'0' op|',' nl|'\n' name|'updated_at' op|'=' name|'None' op|',' name|'cpu_info' op|'=' string|"'baremetal cpu'" op|',' nl|'\n' DECL|variable|host name|'host' op|'=' string|"'host1'" op|',' nl|'\n' name|'hypervisor_hostname' op|'=' string|"'node1uuid'" op|',' name|'host_ip' op|'=' string|"'127.0.0.1'" op|',' nl|'\n' name|'hypervisor_version' op|'=' number|'1' op|',' name|'hypervisor_type' op|'=' string|"'ironic'" op|',' nl|'\n' DECL|variable|stats name|'stats' op|'=' name|'dict' op|'(' name|'ironic_driver' op|'=' nl|'\n' string|'"nova.virt.ironic.driver.IronicDriver"' op|',' nl|'\n' DECL|variable|cpu_arch name|'cpu_arch' op|'=' string|"'i386'" op|')' op|',' nl|'\n' DECL|variable|supported_hv_specs name|'supported_hv_specs' op|'=' op|'[' name|'objects' op|'.' name|'HVSpec' op|'.' name|'from_list' op|'(' nl|'\n' op|'[' string|'"i386"' op|',' string|'"baremetal"' op|',' string|'"baremetal"' op|']' op|')' op|']' op|',' nl|'\n' name|'free_disk_gb' op|'=' number|'10' op|',' name|'free_ram_mb' op|'=' number|'1024' op|',' nl|'\n' name|'cpu_allocation_ratio' op|'=' number|'16.0' op|',' name|'ram_allocation_ratio' op|'=' number|'1.5' op|',' nl|'\n' DECL|variable|disk_allocation_ratio name|'disk_allocation_ratio' op|'=' number|'1.0' op|')' op|',' nl|'\n' name|'objects' op|'.' name|'ComputeNode' op|'(' nl|'\n' name|'id' op|'=' number|'2' op|',' name|'local_gb' op|'=' number|'20' op|',' name|'memory_mb' op|'=' number|'2048' op|',' name|'vcpus' op|'=' number|'1' op|',' nl|'\n' name|'vcpus_used' op|'=' number|'0' op|',' name|'local_gb_used' op|'=' number|'0' op|',' name|'memory_mb_used' op|'=' number|'0' op|',' nl|'\n' name|'updated_at' op|'=' name|'None' op|',' name|'cpu_info' op|'=' string|"'baremetal cpu'" op|',' nl|'\n' DECL|variable|host name|'host' op|'=' string|"'host2'" op|',' nl|'\n' name|'hypervisor_hostname' op|'=' string|"'node2uuid'" op|',' name|'host_ip' op|'=' string|"'127.0.0.1'" op|',' nl|'\n' name|'hypervisor_version' op|'=' number|'1' op|',' name|'hypervisor_type' op|'=' string|"'ironic'" op|',' nl|'\n' DECL|variable|stats name|'stats' op|'=' name|'dict' op|'(' name|'ironic_driver' op|'=' nl|'\n' string|'"nova.virt.ironic.driver.IronicDriver"' op|',' nl|'\n' DECL|variable|cpu_arch name|'cpu_arch' op|'=' string|"'i386'" op|')' op|',' nl|'\n' DECL|variable|supported_hv_specs name|'supported_hv_specs' op|'=' op|'[' name|'objects' op|'.' name|'HVSpec' op|'.' name|'from_list' op|'(' nl|'\n' op|'[' string|'"i386"' op|',' string|'"baremetal"' op|',' string|'"baremetal"' op|']' op|')' op|']' op|',' nl|'\n' name|'free_disk_gb' op|'=' number|'20' op|',' name|'free_ram_mb' op|'=' number|'2048' op|',' nl|'\n' name|'cpu_allocation_ratio' op|'=' number|'16.0' op|',' name|'ram_allocation_ratio' op|'=' number|'1.5' op|',' nl|'\n' DECL|variable|disk_allocation_ratio name|'disk_allocation_ratio' op|'=' number|'1.0' op|')' op|',' nl|'\n' name|'objects' op|'.' name|'ComputeNode' op|'(' nl|'\n' name|'id' op|'=' number|'3' op|',' name|'local_gb' op|'=' number|'30' op|',' name|'memory_mb' op|'=' number|'3072' op|',' name|'vcpus' op|'=' number|'1' op|',' nl|'\n' name|'vcpus_used' op|'=' number|'0' op|',' name|'local_gb_used' op|'=' number|'0' op|',' name|'memory_mb_used' op|'=' number|'0' op|',' nl|'\n' name|'updated_at' op|'=' name|'None' op|',' name|'cpu_info' op|'=' string|"'baremetal cpu'" op|',' nl|'\n' DECL|variable|host name|'host' op|'=' string|"'host3'" op|',' nl|'\n' name|'hypervisor_hostname' op|'=' string|"'node3uuid'" op|',' name|'host_ip' op|'=' string|"'127.0.0.1'" op|',' nl|'\n' name|'hypervisor_version' op|'=' number|'1' op|',' name|'hypervisor_type' op|'=' string|"'ironic'" op|',' nl|'\n' DECL|variable|stats name|'stats' op|'=' name|'dict' op|'(' name|'ironic_driver' op|'=' nl|'\n' string|'"nova.virt.ironic.driver.IronicDriver"' op|',' nl|'\n' DECL|variable|cpu_arch name|'cpu_arch' op|'=' string|"'i386'" op|')' op|',' nl|'\n' DECL|variable|supported_hv_specs name|'supported_hv_specs' op|'=' op|'[' name|'objects' op|'.' name|'HVSpec' op|'.' name|'from_list' op|'(' nl|'\n' op|'[' string|'"i386"' op|',' string|'"baremetal"' op|',' string|'"baremetal"' op|']' op|')' op|']' op|',' nl|'\n' name|'free_disk_gb' op|'=' number|'30' op|',' name|'free_ram_mb' op|'=' number|'3072' op|',' nl|'\n' name|'cpu_allocation_ratio' op|'=' number|'16.0' op|',' name|'ram_allocation_ratio' op|'=' number|'1.5' op|',' nl|'\n' DECL|variable|disk_allocation_ratio name|'disk_allocation_ratio' op|'=' number|'1.0' op|')' op|',' nl|'\n' name|'objects' op|'.' name|'ComputeNode' op|'(' nl|'\n' name|'id' op|'=' number|'4' op|',' name|'local_gb' op|'=' number|'40' op|',' name|'memory_mb' op|'=' number|'4096' op|',' name|'vcpus' op|'=' number|'1' op|',' nl|'\n' name|'vcpus_used' op|'=' number|'0' op|',' name|'local_gb_used' op|'=' number|'0' op|',' name|'memory_mb_used' op|'=' number|'0' op|',' nl|'\n' name|'updated_at' op|'=' name|'None' op|',' name|'cpu_info' op|'=' string|"'baremetal cpu'" op|',' nl|'\n' DECL|variable|host name|'host' op|'=' string|"'host4'" op|',' nl|'\n' name|'hypervisor_hostname' op|'=' string|"'node4uuid'" op|',' name|'host_ip' op|'=' string|"'127.0.0.1'" op|',' nl|'\n' name|'hypervisor_version' op|'=' number|'1' op|',' name|'hypervisor_type' op|'=' string|"'ironic'" op|',' nl|'\n' DECL|variable|stats name|'stats' op|'=' name|'dict' op|'(' name|'ironic_driver' op|'=' nl|'\n' string|'"nova.virt.ironic.driver.IronicDriver"' op|',' nl|'\n' DECL|variable|cpu_arch name|'cpu_arch' op|'=' string|"'i386'" op|')' op|',' nl|'\n' DECL|variable|supported_hv_specs name|'supported_hv_specs' op|'=' op|'[' name|'objects' op|'.' name|'HVSpec' op|'.' name|'from_list' op|'(' nl|'\n' op|'[' string|'"i386"' op|',' string|'"baremetal"' op|',' string|'"baremetal"' op|']' op|')' op|']' op|',' nl|'\n' name|'free_disk_gb' op|'=' number|'40' op|',' name|'free_ram_mb' op|'=' number|'4096' op|',' nl|'\n' name|'cpu_allocation_ratio' op|'=' number|'16.0' op|',' name|'ram_allocation_ratio' op|'=' number|'1.5' op|',' nl|'\n' DECL|variable|disk_allocation_ratio name|'disk_allocation_ratio' op|'=' number|'1.0' op|')' op|',' nl|'\n' comment|'# Broken entry' nl|'\n' name|'objects' op|'.' name|'ComputeNode' op|'(' nl|'\n' name|'id' op|'=' number|'5' op|',' name|'local_gb' op|'=' number|'50' op|',' name|'memory_mb' op|'=' number|'5120' op|',' name|'vcpus' op|'=' number|'1' op|',' nl|'\n' name|'host' op|'=' string|"'fake'" op|',' name|'cpu_info' op|'=' string|"'baremetal cpu'" op|',' nl|'\n' DECL|variable|stats name|'stats' op|'=' name|'dict' op|'(' name|'ironic_driver' op|'=' nl|'\n' string|'"nova.virt.ironic.driver.IronicDriver"' op|',' nl|'\n' DECL|variable|cpu_arch name|'cpu_arch' op|'=' string|"'i386'" op|')' op|',' nl|'\n' DECL|variable|supported_hv_specs name|'supported_hv_specs' op|'=' op|'[' name|'objects' op|'.' name|'HVSpec' op|'.' name|'from_list' op|'(' nl|'\n' op|'[' string|'"i386"' op|',' string|'"baremetal"' op|',' string|'"baremetal"' op|']' op|')' op|']' op|',' nl|'\n' name|'free_disk_gb' op|'=' number|'50' op|',' name|'free_ram_mb' op|'=' number|'5120' op|',' nl|'\n' DECL|variable|hypervisor_hostname name|'hypervisor_hostname' op|'=' string|"'fake-hyp'" op|')' op|',' nl|'\n' op|']' newline|'\n' nl|'\n' DECL|variable|SERVICES name|'SERVICES' op|'=' op|'[' nl|'\n' name|'objects' op|'.' name|'Service' op|'(' name|'host' op|'=' string|"'host1'" op|',' name|'disabled' op|'=' name|'False' op|')' op|',' nl|'\n' name|'objects' op|'.' name|'Service' op|'(' name|'host' op|'=' string|"'host2'" op|',' name|'disabled' op|'=' name|'True' op|')' op|',' nl|'\n' name|'objects' op|'.' name|'Service' op|'(' name|'host' op|'=' string|"'host3'" op|',' name|'disabled' op|'=' name|'False' op|')' op|',' nl|'\n' name|'objects' op|'.' name|'Service' op|'(' name|'host' op|'=' string|"'host4'" op|',' name|'disabled' op|'=' name|'False' op|')' op|',' nl|'\n' op|']' newline|'\n' nl|'\n' nl|'\n' DECL|function|get_service_by_host name|'def' name|'get_service_by_host' op|'(' name|'host' op|')' op|':' newline|'\n' indent|' ' name|'services' op|'=' op|'[' name|'service' name|'for' name|'service' name|'in' name|'SERVICES' name|'if' name|'service' op|'.' name|'host' op|'==' name|'host' op|']' newline|'\n' name|'return' name|'services' op|'[' number|'0' op|']' newline|'\n' dedent|'' endmarker|'' end_unit
yarastqt/TicketManager
src/js/reducers/root.js
import { combineReducers } from 'redux'; import { routerReducer as routing } from 'react-router-redux'; import { reducer as form } from 'redux-form'; import { LOGOUT_SUCCESS } from 'actions/session'; import sidebar from './sidebar'; import session from './session'; import modal from './modal'; import toast from './toast'; import table from './table'; import tickets from './tickets'; import users from './users'; import tracks from './tracks'; import filters from './filters'; const rootReducer = combineReducers({ routing, form, sidebar, session, modal, toast, table, tickets, users, tracks, filters }); export default (state, action) => { if (action.type === LOGOUT_SUCCESS) { state = { sidebar: state.sidebar }; } return rootReducer(state, action); };
victorursan/BookStore
node_modules/convoy/fixtures/test_module_2.js
//test_module#2 (function($) { //another test module $.foo = 'test module!'; })($);
tybl/tybl
apps/Cocles/test/main.cpp
// License: The Unlicense (https://unlicense.org) #define DOCTEST_CONFIG_IMPLEMENT #include "doctest/doctest.h" static int run_unit_tests(int argc, const char* argv[]) { doctest::Context context; // Initialize doctest context // defaults context.setOption("abort-after", 5); context.setOption("sort", "name"); context.applyCommandLine(argc, argv); context.setOption("no-breaks", true); int result = context.run(); if (context.shouldExit()) { exit(result); } return result; } extern "C" int main(int argc, const char* argv[]) { return run_unit_tests(argc, argv); }
oliverjakobs/Frost
src/toolbox/tb_hashmap.h
#ifndef TB_HASHMAP_H #define TB_HASHMAP_H #include <stddef.h> #include <stdlib.h> #include <stdint.h> typedef struct tb_hashmap_iter tb_hashmap_iter; typedef struct tb_hashmap_entry tb_hashmap_entry; typedef size_t (*tb_hashmap_hash) (const void* key); typedef int (*tb_hashmap_cmp) (const void* left, const void* right); typedef void* (*tb_hashmap_alloc)(void* allocator, size_t count, size_t size); typedef void (*tb_hashmap_free) (void* allocator, void* block); typedef int (*tb_hashmap_entry_alloc)(void* allocator, tb_hashmap_entry* entry, const void* key, void* value); typedef void (*tb_hashmap_entry_free) (void* allocator, tb_hashmap_entry* entry); typedef enum { TB_HASHMAP_OK = 0, TB_HASHMAP_ERROR, TB_HASHMAP_ALLOC_ERROR, TB_HASHMAP_HASH_ERROR, TB_HASHMAP_KEY_NOT_FOUND } tb_hashmap_error; struct tb_hashmap_entry { const void* key; void* val; }; typedef struct { tb_hashmap_entry* table; size_t capacity; size_t used; tb_hashmap_hash hash; tb_hashmap_cmp cmp; /* memory */ void* allocator; tb_hashmap_alloc alloc; tb_hashmap_free free; tb_hashmap_entry_alloc entry_alloc; tb_hashmap_entry_free entry_free; } tb_hashmap; /* * Initialize an empty hashmap. * * hash_func should return an even distribution of numbers between 0 and SIZE_MAX varying on the key provided. * * key_compare_func should return 0 if the keys match, and non-zero otherwise. * * initial_size is optional, and may be set to the max number of entries expected to be put in the hash table. * This is used as a hint to pre-allocate the hash table to the minimum size needed to avoid gratuitous rehashes. * If initial_size is 0, a default size will be used. * * Returns TB_HASHMAP_OK on success and tb_hashmap_error on failure. */ tb_hashmap_error tb_hashmap_init(tb_hashmap* map, tb_hashmap_hash hash, tb_hashmap_cmp cmp, size_t initial_capacity); /* Free the hashmap and all associated memory. */ void tb_hashmap_destroy(tb_hashmap* map); /* Remove all entries. */ void tb_hashmap_clear(tb_hashmap* map); /* * Insert an entry to the hashmap. * If an entry with a matching key already exists and has a value pointer associated with it, NULL is returned, * instead of assigning the new value. * Returns NULL if memory allocation failed. */ void* tb_hashmap_insert(tb_hashmap* map, const void* key, void* value); /* * Remove an entry with the specified key from the map. * Returns TB_HASHMAP_KEY_NOT_FOUND if no entry was found, else TB_HASHMAP_OK. */ tb_hashmap_error tb_hashmap_remove(tb_hashmap* map, const void *key); /* Return the value pointer, or NULL if no entry was found. */ void* tb_hashmap_find(const tb_hashmap* map, const void* key); /* * Get a new hashmap iterator. * The iterator is an opaque pointer that may be used with hashmap_iter_*() functions. * Hashmap iterators are INVALID after a remove operation is performed. * hashmap_iter_remove() allows safe removal during iteration. */ tb_hashmap_iter* tb_hashmap_iterator(const tb_hashmap* map); /* * Return an iterator to the next hashmap entry. * Returns NULL if there are no more entries. */ tb_hashmap_iter* tb_hashmap_iter_next(const tb_hashmap* map, const tb_hashmap_iter* iter); /* * Remove the hashmap entry pointed to by this iterator and returns an iterator to the next entry. * Returns NULL if there are no more entries. */ tb_hashmap_iter* tb_hashmap_iter_remove(tb_hashmap* map, const tb_hashmap_iter* iter); /* Return the key of the entry pointed to by the iterator. */ const void* tb_hashmap_iter_get_key(const tb_hashmap_iter* iter); /* Return the value of the entry pointed to by the iterator. */ void* tb_hashmap_iter_get_val(const tb_hashmap_iter* iter); /* Hash utilities */ size_t tb_hash_string(const char* str); uint32_t tb_hash_uint32(uint32_t i); uint64_t tb_hash_uint64(uint64_t i); #endif /* !TB_HASHMAP_H */
m4ta1l/neuralnetworks
nn-core/src/main/java/com/github/neuralnetworks/calculation/NetworkCalculator.java
<gh_stars>1000+ package com.github.neuralnetworks.calculation; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Set; import com.github.neuralnetworks.architecture.Layer; import com.github.neuralnetworks.architecture.NeuralNetwork; import com.github.neuralnetworks.calculation.operations.opencl.OpenCLManagementListener; import com.github.neuralnetworks.events.TrainingEvent; import com.github.neuralnetworks.events.TrainingEventListener; import com.github.neuralnetworks.tensor.TensorFactory; import com.github.neuralnetworks.tensor.ValuesProvider; import com.github.neuralnetworks.training.TrainingInputData; import com.github.neuralnetworks.training.TrainingInputDataImpl; import com.github.neuralnetworks.training.TrainingInputProvider; import com.github.neuralnetworks.training.events.MiniBatchFinishedEvent; import com.github.neuralnetworks.training.events.MiniBatchStartedEvent; import com.github.neuralnetworks.training.events.NewInputEvent; import com.github.neuralnetworks.training.events.PhaseFinishedEvent; import com.github.neuralnetworks.training.events.PhaseStartedEvent; import com.github.neuralnetworks.util.Constants; import com.github.neuralnetworks.util.Environment; import com.github.neuralnetworks.util.Properties; import com.github.neuralnetworks.util.UniqueList; import com.github.neuralnetworks.util.RuntimeConfiguration.CalculationProvider; /** * interface that contains methods common for NN calculation */ public interface NetworkCalculator<N extends NeuralNetwork> extends Serializable { public abstract Properties getProperties(); public default void calculate(TrainingInputProvider inputProvider) { if (Environment.getInstance().getRuntimeConfiguration().getCalculationProvider() == CalculationProvider.OPENCL && getListeners().stream().filter(l -> l instanceof OpenCLManagementListener).count() == 0) { addEventListener(new OpenCLManagementListener(), 0); } triggerEvent(phaseStartedEvent()); N n = getNeuralNetwork(); if (inputProvider != null && n != null && n.getLayerCalculator() != null) { setSkipCurrentMiniBatch(false); inputProvider.reset(); Set<Layer> calculatedLayers = new UniqueList<>(); ValuesProvider results = TensorFactory.tensorProvider(n, getTestBatchSize(), Environment.getInstance().getRuntimeConfiguration().getUseDataSharedMemory()); OutputError oe = getOutputError(); if (oe != null) { oe.reset(); results.add(oe, results.get(n.getOutputLayer()).getDimensions()); } TrainingInputData input = new TrainingInputDataImpl(results.get(n.getInputLayer()), results.get(oe)); for (int i = 0; i < inputProvider.getInputSize(); i += getTestBatchSize()) { triggerEvent(new NewInputEvent(this, input, results, i)); inputProvider.populateNext(input); triggerEvent(new MiniBatchStartedEvent(this, input, results, i)); if (!getSkipCurrentMiniBatch()) { calculatedLayers.clear(); calculatedLayers.add(n.getInputLayer()); n.getLayerCalculator().calculate(n, n.getOutputLayer(), calculatedLayers, results); } else { setSkipCurrentMiniBatch(false); } triggerEvent(new MiniBatchFinishedEvent(this, input, results, i / getTestBatchSize(), inputProvider)); if (oe != null) { oe.addItem(results.get(n.getOutputLayer()), input.getTarget()); } } } triggerEvent(phaseFinishedEvent()); } public default PhaseStartedEvent phaseStartedEvent() { return new PhaseStartedEvent(this); } public default PhaseFinishedEvent phaseFinishedEvent() { return new PhaseFinishedEvent(this); } public void setSkipCurrentMiniBatch(boolean skipCurrentMiniBatch); public boolean getSkipCurrentMiniBatch(); public default N getNeuralNetwork() { return getProperties().getParameter(Constants.NEURAL_NETWORK); } public default void setNeuralNetwork(N neuralNetwork) { getProperties().setParameter(Constants.NEURAL_NETWORK, neuralNetwork); } public default OutputError getOutputError() { return getProperties().getParameter(Constants.OUTPUT_ERROR); } public default void setOutputError(OutputError outputError) { getProperties().setParameter(Constants.OUTPUT_ERROR, outputError); } public default List<TrainingEventListener> getListeners() { return getProperties().getParameter(Constants.LISTENERS); } public default void setListeners(List<TrainingEventListener> listeners) { getProperties().setParameter(Constants.LISTENERS, listeners); } public default Integer getTestBatchSize() { return getProperties().getParameter(Constants.TEST_BATCH_SIZE) != null ? getProperties().getParameter(Constants.TEST_BATCH_SIZE) : 1; } public default void setTestBatchSize(int batchSize) { getProperties().setParameter(Constants.TEST_BATCH_SIZE, batchSize); } /** * add event listener on position * * @param listener * @param position */ public default void addEventListener(TrainingEventListener listener, int position) { if (getListeners() == null) { setListeners(new UniqueList<>()); } getListeners().add(position, listener); } public default void addEventListener(TrainingEventListener listener) { if (getListeners() == null) { setListeners(new UniqueList<>()); } getListeners().add(listener); } public default void removeEventListener(TrainingEventListener listener) { if (getListeners() != null) { getListeners().remove(listener); } } public default void triggerEvent(TrainingEvent event) { if (getListeners() != null) { List<TrainingEventListener> listeners = new ArrayList<>(getListeners()); listeners.stream().filter(l -> event.getSource() != l).forEach(l -> l.handleEvent(event)); } } }
RobertPoncelet/OGREWallpaper
app/src/main/java/org/ogre/ShadowTextureConfig.java
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.8 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package org.ogre; public class ShadowTextureConfig { private transient long swigCPtr; protected transient boolean swigCMemOwn; protected ShadowTextureConfig(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected static long getCPtr(ShadowTextureConfig obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OgreJNI.delete_ShadowTextureConfig(swigCPtr); } swigCPtr = 0; } } public void setWidth(long value) { OgreJNI.ShadowTextureConfig_width_set(swigCPtr, this, value); } public long getWidth() { return OgreJNI.ShadowTextureConfig_width_get(swigCPtr, this); } public void setHeight(long value) { OgreJNI.ShadowTextureConfig_height_set(swigCPtr, this, value); } public long getHeight() { return OgreJNI.ShadowTextureConfig_height_get(swigCPtr, this); } public void setFormat(PixelFormat value) { OgreJNI.ShadowTextureConfig_format_set(swigCPtr, this, value.swigValue()); } public PixelFormat getFormat() { return PixelFormat.swigToEnum(OgreJNI.ShadowTextureConfig_format_get(swigCPtr, this)); } public void setFsaa(long value) { OgreJNI.ShadowTextureConfig_fsaa_set(swigCPtr, this, value); } public long getFsaa() { return OgreJNI.ShadowTextureConfig_fsaa_get(swigCPtr, this); } public void setDepthBufferPoolId(int value) { OgreJNI.ShadowTextureConfig_depthBufferPoolId_set(swigCPtr, this, value); } public int getDepthBufferPoolId() { return OgreJNI.ShadowTextureConfig_depthBufferPoolId_get(swigCPtr, this); } public ShadowTextureConfig() { this(OgreJNI.new_ShadowTextureConfig(), true); } }
kitschpatrol/Cinder-ImagingSource
include/icimagingcontrol/iframe_def.h
#pragma once #include <vector> #include "udshl_defs.h" #include "simplectypes.h" #include "dvector.h" namespace _DSHOWLIB_NAMESPACE { struct FrameTypeInfo; /** An object implementing the IFrame interface permits access to its image data and the * frame type of the image. * * The pointer returned from getPtr may only be valid in the scope of the function in which get a reference * to the IFrame passed in. */ class IFrame { public: /** Returns the frame type of this frame. */ virtual const FrameTypeInfo& getFrameType() const = 0; /** Get pointer to the frame data. * @return pointer to the frame buffer. This may be 0. **/ virtual BYTE* getPtr() const = 0; /** Returns the sample description. */ virtual const tsMediaSampleDesc& getSampleDesc() const = 0; /* Retrieves the extended sample info * You have to supply a copy target. When the buffer is too small, no data is copied. * * Internal function, use media_sample_info::fill to fill the according structure and then perform the necessary operations on that. * * @param data_available contains the count of bytes that are available. * @return Returns false when no data is available or the buffer passed in is too small, * true otherwise. */ virtual bool getMediaSampleInfo_( void* buffer, int buffer_len, int& data_available ) const = 0; }; struct MediaSampleInfo; struct MediaSampleInfoDataStore { dvector<uint8_t> data; bool update( const IFrame& frame ); /* * Finds the chunk with the according id. * REturns either the pointer to the specific chunk or NULL */ UDSHL_EXP_API_ const uint8_t* findChunk( int& data_len, uint32_t chunk_id ) const; UDSHL_EXP_API_ const MediaSampleInfo* findSampleInfo() const; /* * Enumerates the chunks present in data. * The passed in function object must have the signature of bool (* func)( uint32_t chunk_id, const uint8_t* chun_data, uint32_t chunk_data_len ) * */ template<class TFunc> void enumChunkItems( TFunc func ) const; template<class TStruct> const TStruct* findChunk( uint32_t chunk_id ) const; template<class TStruct> const TStruct* findChunk() const; }; #pragma pack(push,1) struct MediaSampleInfo { enum { static_chunk_id = 'info' }; uint64_t driver_frame_number; uint64_t driver_frame_first_packet_time; // in us uint64_t driver_frame_last_packet_time; // in us uint64_t device_time_stamp; // this is the timestamp as supplied by the device, maybe 0 if not available uint64_t device_frame_number; // this is the frame number as supplied by the device, maybe 0 if not available. // note that this is device dependent. eg. GigECam wraps to 1 after hitting 2 ^ 16 uint32_t packet_resends_this_frame; // only applicable for devices with packet resend uint32_t bytes_missing_this_frame; // number of bytes missing this frame, most likely 0, otherwise this was delivered with DropIncompleteFrames disabled // note that the bytes missing can be at the end or in the center depending on the protocol used uint32_t frame_flags; // }; struct MediaSampleInfoMultiFrameSetFrameId { // This is the multi frame set frame id chunk sent by cameras with IMX174, IMX250, IMX252 sensors enum { static_chunk_id = 0x13370002 }; uint32_t reserved0 : 28; uint32_t frame_id : 2; uint32_t frame_set : 1; uint32_t reserved1 : 1; }; #pragma pack(pop) template<class TFunc> inline void MediaSampleInfoDataStore::enumChunkItems( TFunc func ) const { const uint8_t* ptr = &data[0]; const uint8_t* ptr_end = &data[0] + data.size(); while( (ptr + 8) < ptr_end ) { uint32_t chunk_data_len = *reinterpret_cast<const uint32_t*>(ptr + 0); uint32_t chunk_id = *reinterpret_cast<const uint32_t*>(ptr + 4); ptr += 8; const uint8_t* chunk_data = ptr; if( (ptr + chunk_data_len) > ptr_end ) return; bool should_exit = func( chunk_id, chunk_data, chunk_data_len ); if( should_exit ) return; ptr += chunk_data_len; } } template<class TStruct> const TStruct* MediaSampleInfoDataStore::findChunk( uint32_t chunk_id ) const { int blob_len = 0; const uint8_t* ptr = findChunk( blob_len, chunk_id ); if( ptr == 0 ) return 0; if( sizeof( TStruct ) > blob_len ) return 0; return reinterpret_cast<const TStruct*>(ptr); } template<class TStruct> const TStruct* MediaSampleInfoDataStore::findChunk() const { return findChunk<TStruct>( TStruct::static_chunk_id ); } inline bool MediaSampleInfoDataStore::update( const IFrame& frame ) { if( data.size() < 1024 ) // optimization, don't shrink size if enough space would be available { data.clear(); // clear so that the resize does not need to copy data.resize( 1024 ); // allocate 1024 for the first try } int data_available = 0; bool rval = frame.getMediaSampleInfo_( &data[0], (int)data.size(), data_available ); if( data_available == 0 ) // there is no data available { data.resize( 0 ); return false; } if( !rval ) { data.resize( data_available ); // resize to accommodate more data data_available = 0; rval = frame.getMediaSampleInfo_( &data[0], (int)data.size(), data_available ); if( !rval ) // some other error data_available = 0; } data.resize( data_available ); return rval; } }
rajflume/tf-quant-finance
tf_quant_finance/models/hull_white/one_factor.py
<reponame>rajflume/tf-quant-finance # Lint as: python3 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Lint as: python3 """One factor Hull-White model with time-dependent parameters.""" from tf_quant_finance.models.hull_white import vector_hull_white class HullWhiteModel1F(vector_hull_white.VectorHullWhiteModel): r"""One Factor Hull-White Model. Represents the Ito process: ```None dr(t) = (theta(t) - a(t) * r(t)) dt + sigma(t) * dW_{r}(t) ``` where `W_{r}` is a 1D Brownian motion. `theta`, `a`, `sigma`, are positive functions of time. `a` correspond to the mean-reversion rate, `sigma` is the volatility of the process, `theta(t)` is the function that determines long run behaviour of the process `r(t)` and is defined to match the market data through the instantaneous forward rate matching: ```None \theta = df(t) / dt + a * f(t) + 0.5 * sigma**2 / a * (1 - exp(-2 * a *t)), 1 <= i <= n ``` where `f(t)` is the instantaneous forward rate at time `0` for a maturity `t` and `df(t)/dt` is the gradient of `f` with respect to the maturity. See Section 3.3.1 of [1] for details. If the parameters `a` and `sigma` are piecewise constant functions, the process is sampled exactly. Otherwise, Euler sampling is used. ## Example. Hull-White processes with piecewise constant coefficients. ```python import numpy as np import tensorflow.compat.v2 as tf import tf_quant_finance as tff dtype = tf.float64 # Mean-reversion is a piecewise constant function. mean_reversion = tff.math.piecewise.PiecewiseConstantFunc( jump_locations=[1, 2, 3, 4], values=[0.1, 0.2, 0.3, 0.4, 0.5], dtype=dtype) # Volatility is a piecewise constant function. volatility = tff.math.piecewise.PiecewiseConstantFunc( jump_locations=[0.1, 2.], values=[0.1, 0.2, 0.1], dtype=dtype) instant_forward_rate_fn = lambda *args: [0.01] process = tff.models.hull_white.HullWhiteModel1F( mean_reversion=mean_reversion, volatility=volatility, instant_forward_rate_fn=instant_forward_rate_fn, dtype=dtype) # Sample 10000 paths using Sobol numbers as a random type. times = np.linspace(0., 1.0, 10) num_samples = 10000 # number of trajectories paths = process.sample_paths( times, num_samples=num_samples, initial_state=[0.1], random_type=tff.math.random.RandomType.SOBOL) # Compute mean for each Hull-White process at the terminal value tf.math.reduce_mean(paths[:, -1, 0], axis=0) # Expected value: 0.10928 ``` ### References: [1]: <NAME>, <NAME>. Interest Rate Models. 2007. """ def __init__(self, mean_reversion, volatility, instant_forward_rate_fn, dtype=None, name=None): """Initializes Hull-White Model. Args: mean_reversion: A real positive `Tensor` of shape `[1]` or a Python callable. The callable can be one of the following: (a) A left-continuous piecewise constant object (e.g., `tff.math.piecewise.PiecewiseConstantFunc`) that has a property `is_piecewise_constant` set to `True`. In this case the object should have a method `jump_locations(self)` that returns a `Tensor` of shape `[num_jumps]`. `mean_reversion(t)` should return a `Tensor` `t.shape`, where `t` is a rank 1 `Tensor` of the same `dtype` as the output. See example in the class docstring. (b) A callable that accepts scalars (stands for time `t`) and returns a `Tensor` of shape `[1]`. Corresponds to the mean reversion rate. volatility: A real positive `Tensor` of the same `dtype` as `mean_reversion` or a callable with the same specs as above. Corresponds to the lond run price variance. instant_forward_rate_fn: A Python callable that accepts expiry time as a scalar `Tensor` of the same `dtype` as `mean_reversion` and returns a `Tensor` of shape `[1]`. Corresponds to the instanteneous forward rate at the present time for the input expiry time. dtype: The default dtype to use when converting values to `Tensor`s. Default value: `None` which means that default dtypes inferred by TensorFlow are used. name: Python string. The name to give to the ops created by this class. Default value: `None` which maps to the default name `hull_white_model`. """ super(HullWhiteModel1F, self).__init__( 1, mean_reversion, volatility, instant_forward_rate_fn, corr_matrix=None, dtype=dtype, name=name)
Hisham-TK/Scratches
JavaScript/OMAC/M2/3-5.js
/* * programming quiz - checking your balance (3-5) * Using the flowchart below, write the code to represent checking your balance at the ATM. The yellow diamonds represent conditional statements and the blue rectangles with rounded corners represent what should be printed to the console. Flowchart for checking your balance at the ATM Flowchart for checking your balance at the ATM (Click the image to enlarge the flowchart). Use the following variables in your solution: balance - the account balance isActive - if account is active checkBalance - if you want to check balance Hint: The variable balance could be a value less than, greater than, or equal to 0. The variables isActive and checkBalance are booleans that can be set to true or false. TIP: To print out the account balance with decimal points (i.e. 325.00), use the .toFixed() method and pass it the number of decimal points you want to use. For example, balance.toFixed(2) returns 325.00. TIP: Make sure to test your code with different values. For example, If checkBalance equals true and isActive equals false, then Your account is no longer active. should be printed to the console. */ // change the values of `balance`, `checkbalance`, and `isactive` to test your code var balance = 0; var checkBalance = 1; var isActive = 1; // your code goes here for (let index = 0; index < 100; index++) { console.log(balance, checkBalance, isActive); // if (checkBalance) { // if (balance > 0 && isActive) { // console.log(`Your balance is $${balance.toFixed(2)}.`); // } else { // if (isActive === false) { // console.log('Your account is no longer active.'); // } else { // if (balance === 0) { // console.log('Your account is empty.'); // } else { // console.log('Your balance is negative. Please contact bank.'); // } // } // } // } else { // console.log('Thank you. Have a nice day!'); // } if (checkBalance) { console.log(balance > 0 && isActive ? `Your balance is $${balance.toFixed(2)}.` : isActive ? (balance ? 'Your balance is negative. Please contact bank.' : 'Your account is empty.') : 'Your account is no longer active.'); } else { console.log('Thank you. Have a nice day!'); } console.log(''); balance = Math.random() * 200 - 100; checkBalance = Math.round(Math.random()); isActive = Math.round(Math.random()); }
Tfarcenim/Beesourceful
src/main/java/tfar/beesourceful/blockentity/CentrifugeBlockEntity.java
<filename>src/main/java/tfar/beesourceful/blockentity/CentrifugeBlockEntity.java package tfar.beesourceful.blockentity; import tfar.beesourceful.BeeSourceful; import tfar.beesourceful.CentrifugeContainer; import tfar.beesourceful.block.CentrifugeBlock; import tfar.beesourceful.inventory.AutomationSensitiveItemStackHandler; import tfar.beesourceful.inventory.HoneyTank; import tfar.beesourceful.recipe.CentrifugeRecipe; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.container.Container; import net.minecraft.inventory.container.INamedContainerProvider; import net.minecraft.item.ItemStack; import net.minecraft.nbt.CompoundNBT; import net.minecraft.network.NetworkManager; import net.minecraft.network.play.server.SUpdateTileEntityPacket; import net.minecraft.tileentity.ITickableTileEntity; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.Direction; import net.minecraft.util.text.ITextComponent; import net.minecraft.util.text.TranslationTextComponent; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.util.LazyOptional; import net.minecraftforge.fluids.capability.CapabilityFluidHandler; import net.minecraftforge.fluids.capability.IFluidHandler; import net.minecraftforge.items.CapabilityItemHandler; import net.minecraftforge.items.IItemHandler; import net.minecraftforge.items.wrapper.RecipeWrapper; import org.apache.commons.lang3.tuple.Pair; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.List; import java.util.stream.Collectors; public class CentrifugeBlockEntity extends TileEntity implements ITickableTileEntity, INamedContainerProvider { public static final int HONEYCOMB_SLOT = 0; public static final int OUTPUT0 = 1; public static final int OUTPUT1 = 2; public static final int OUTPUT2 = 3; public static final int OUTPUT3 = 4; public boolean checkValid; public boolean processing; public AutomationSensitiveItemStackHandler h = new TileStackHandler(5); public LazyOptional<IItemHandler> lazyOptional = LazyOptional.of(() -> h); public HoneyTank fluidTank = new HoneyTank(10000); public LazyOptional<IFluidHandler> fluidOptional = LazyOptional.of(() -> fluidTank); public int time = 0; public CentrifugeRecipe recipe; public ItemStack failedMatch = ItemStack.EMPTY; public int totalTime = 0; public CentrifugeBlockEntity() { super(BeeSourceful.Objectholders.BlockEntities.centrifuge); } @Override public void tick() { if (!world.isRemote) { if (checkValid) { CentrifugeRecipe irecipe = getRecipe(); processing = irecipe != null && this.canProcess(irecipe); world.setBlockState(pos, getBlockState().with(CentrifugeBlock.PROPERTY_ON, processing)); checkValid = false; if (processing) totalTime = recipe.time; } if (processing) { time++; if (this.time == this.totalTime) { this.time = 0; CentrifugeRecipe irecipe = getRecipe(); this.processItem(irecipe); this.markDirty(); } } else time = 0; } } protected boolean canProcess(CentrifugeRecipe recipe) { List<ItemStack> outputs = recipe.outputs.stream().map(Pair::getLeft).collect(Collectors.toList()); return outputs.stream().map(stack -> addItemStack(stack, true)).allMatch(ItemStack::isEmpty); } private void processItem(CentrifugeRecipe recipe) { if (this.canProcess(recipe)) { ItemStack comb = h.getStackInSlot(HONEYCOMB_SLOT); List<ItemStack> outputs = getOutputs(recipe); outputs.forEach(stack -> addItemStack(stack, false)); comb.shrink(1); fluidTank.fill(recipe.fluid.copy(), IFluidHandler.FluidAction.EXECUTE); } time = 0; } public List<ItemStack> getOutputs(CentrifugeRecipe recipe) { return recipe.outputs.stream() .filter(pair -> pair.getRight() > Math.random()) .map(Pair::getLeft).map(ItemStack::copy) .collect(Collectors.toList()); } private ItemStack addItemStack(ItemStack stack, boolean simulate) { ItemStack rem = stack.copy(); for (int i = 1; i < 5; i++) { rem = addItemStackToSlot(rem, i, simulate); if (rem.isEmpty()) return ItemStack.EMPTY; } return rem; } private ItemStack addItemStackToSlot(ItemStack toAdd, int slot, boolean simulate) { ItemStack existing = h.getStackInSlot(slot); //handle empty if (existing.isEmpty()) { if (!simulate) h.setStackInSlot(slot, toAdd.copy()); return ItemStack.EMPTY; } //same item if (ItemStack.areItemsEqual(existing, toAdd) && ItemStack.areItemStackTagsEqual(existing, toAdd)) { int max = existing.getMaxStackSize(); int total = existing.getCount() + toAdd.getCount(); if (total <= max) { if (!simulate) h.setStackInSlot(slot, new ItemStack(toAdd.getItem(), total)); return ItemStack.EMPTY; } else { if (!simulate) h.setStackInSlot(slot, new ItemStack(existing.getItem(), max)); return new ItemStack(existing.getItem(), total - max); } } else //cant fit return toAdd; } protected CentrifugeRecipe getRecipe() { ItemStack input = h.getStackInSlot(HONEYCOMB_SLOT); if (input.isEmpty() || input == failedMatch) return null; if (recipe != null && recipe.matches(new RecipeWrapper(h), world)) return recipe; else { CentrifugeRecipe rec = world.getRecipeManager(). getRecipe(CentrifugeRecipe.CENTRIFUGE, new RecipeWrapper(h), this.world).orElse(null); if (rec == null) failedMatch = input; else failedMatch = ItemStack.EMPTY; return recipe = rec; } } //from server @Nullable @Override public SUpdateTileEntityPacket getUpdatePacket() { CompoundNBT nbt = new CompoundNBT(); nbt.put("fluids",fluidTank.serializeNBT()); return new SUpdateTileEntityPacket(pos,0,nbt); } //to client @Override public void onDataPacket(NetworkManager net, SUpdateTileEntityPacket pkt) { CompoundNBT nbt = pkt.getNbtCompound(); fluidTank.deserializeNBT(nbt.getCompound("fluids")); } @Override public void markDirty() { super.markDirty(); world.notifyBlockUpdate(pos,getBlockState(),getBlockState(),3); } @Nonnull @Override public CompoundNBT write(CompoundNBT tag) { CompoundNBT inv = this.h.serializeNBT(); CompoundNBT fluid = fluidTank.serializeNBT(); tag.put("inv", inv); tag.put("fluid", fluid); tag.putInt("time", time); tag.putInt("totalTime", totalTime); return super.write(tag); } @Override public void read(CompoundNBT tag) { CompoundNBT invTag = tag.getCompound("inv"); h.deserializeNBT(invTag); CompoundNBT fluid = tag.getCompound("fluid"); fluidTank.deserializeNBT(fluid); time = tag.getInt("time"); totalTime = tag.getInt("totalTime"); super.read(tag); } @Nonnull @Override public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { return cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY ? lazyOptional.cast() : cap == CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY ? fluidOptional.cast() : super.getCapability(cap, side); } public AutomationSensitiveItemStackHandler.IAcceptor getAcceptor() { return (slot, stack, automation) -> !automation || slot == 0/*&& StackUtil.isValid(FurnaceRecipes.instance().getSmeltingResult(stack))*/; } public AutomationSensitiveItemStackHandler.IRemover getRemover() { return (slot, automation) -> !automation || slot == 1 || slot == 2 || slot == 3 || slot == 4; } @Override public ITextComponent getDisplayName() { return new TranslationTextComponent("block.beesourceful.centrifuge"); } @Nullable @Override public Container createMenu(int i, PlayerInventory playerInventory, PlayerEntity playerEntity) { return new CentrifugeContainer(i, world, pos, playerInventory); } protected class TileStackHandler extends AutomationSensitiveItemStackHandler { protected TileStackHandler(int slots) { super(slots); } @Override public AutomationSensitiveItemStackHandler.IAcceptor getAcceptor() { return CentrifugeBlockEntity.this.getAcceptor(); } @Override public AutomationSensitiveItemStackHandler.IRemover getRemover() { return CentrifugeBlockEntity.this.getRemover(); } @Override protected void onContentsChanged(int slot) { super.onContentsChanged(slot); checkValid = true; markDirty(); } } }
chamathshashika/projects-python-wrappers
projects/model/Timelog.py
<reponame>chamathshashika/projects-python-wrappers #$Id$ class Timelog: """This class is used to create object for time log.""" def __init__(self): """Initialize parameters for timelog.""" self.grandtotal = "" self.role = "" self.date = [] def set_grandtotal(self, grandtotal): """Set grand total. Args: grandtotal(str): Grand total. """ self.grandtotal = grandtotal def get_grandtotal(self): """Get grand total. Returns: str: Grand total. """ return self.grandtotal def set_role(self, role): """Set role. Args: role(str): Role. """ self.role = role def get_role(self): """Get role. Returns: str: Role. """ return self.role def set_date(self, date): """Set date. Args: date(instance): Date object. """ self.date.append(date) def get_date(self): """Get date. Returns: list of instance: List of Date object. """ return self.date
electro-dan/diozero
diozero-provider-pi4j/src/main/java/com/diozero/sampleapps/ButtonTestPi4j.java
package com.diozero.sampleapps; /* * #%L * Organisation: mattjlewis * Project: Device I/O Zero - pi4j provider * Filename: ButtonTestPi4j.java * * This file is part of the diozero project. More information about this project * can be found at http://www.diozero.com/ * %% * Copyright (C) 2016 - 2017 mattjlewis * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * #L% */ import com.diozero.util.SleepUtil; import com.pi4j.io.gpio.*; import com.pi4j.io.gpio.event.GpioPinDigitalStateChangeEvent; import com.pi4j.io.gpio.event.GpioPinListenerDigital; import com.pi4j.wiringpi.GpioUtil; public class ButtonTestPi4j implements GpioPinListenerDigital { public static void main(String[] args) { new ButtonTestPi4j().test(12); } public void test(int gpio) { GpioFactory.setDefaultProvider(new RaspiGpioProvider(RaspiPinNumberingScheme.BROADCOM_PIN_NUMBERING)); GpioController gpio_controller = GpioFactory.getInstance(); Pin pin = RaspiBcmPin.getPinByAddress(gpio); GpioPinDigitalInput digitalInputPin = gpio_controller.provisionDigitalInputPin(pin, "Digital Input for BCM GPIO " + gpio, PinPullResistance.PULL_UP); GpioUtil.setEdgeDetection(pin.getAddress(), PinEdge.BOTH.getValue()); digitalInputPin.addListener(this); System.out.println("Waiting 20s for events..., thread name=" + Thread.currentThread().getName()); SleepUtil.sleepSeconds(20); gpio_controller.unprovisionPin(digitalInputPin); gpio_controller.shutdown(); } @Override public void handleGpioPinDigitalStateChangeEvent(GpioPinDigitalStateChangeEvent event) { System.out.println("handleGpioPinDigitalStateChangeEvent(" + event.getState().getValue() + ")"); } }
jchiatt/spectrum
mobile/views/ChannelDetail/index.js
// @flow import * as React from 'react'; import { Share } from 'react-native'; import compose from 'recompose/compose'; import { getChannelById, type GetChannelType, } from '../../../shared/graphql/queries/channel/getChannel'; import toggleChannelSubscription, { type ToggleChannelSubscriptionProps, } from '../../../shared/graphql/mutations/channel/toggleChannelSubscription'; import ViewNetworkHandler from '../../components/ViewNetworkHandler'; import Loading from '../../components/Loading'; import { FullscreenNullState } from '../../components/NullStates'; import { Wrapper } from './style'; import { ListItemWithButton, ListSection, ListSectionDivider, } from '../../components/Lists'; import MutationWrapper from '../../components/MutationWrapper'; import type { NavigationProps } from 'react-navigation'; import ModeratorList from '../CommunityDetail/ModeratorList'; type Props = { isLoading: boolean, hasError: boolean, navigation: NavigationProps, data: { channel?: GetChannelType }, ...$Exact<ToggleChannelSubscriptionProps>, }; class ChannelDetail extends React.Component<Props> { shareChannel = () => { const { channel } = this.props.data; if (!channel) return; return Share.share( { url: `https://spectrum.chat/${channel.community.slug}/${channel.slug}`, title: `${channel.name} channel`, }, { subject: `${channel.name} community`, } ); }; render() { const { data: { channel }, isLoading, hasError } = this.props; if (channel && channel.id) { const variables = { channelId: channel.id }; const { channelPermissions } = channel; return ( <Wrapper> <ListSectionDivider title={'Team'} /> <ListSection> <ModeratorList id={channel.community.id} first={20} filter={{ isModerator: true, isOwner: true }} /> </ListSection> <ListSectionDivider /> <ListSection> <ListItemWithButton onPressHandler={this.shareChannel} title={'Share'} divider={false} /> </ListSection> <ListSectionDivider /> <ListSection> {channelPermissions.isMember && ( <MutationWrapper mutation={this.props.toggleChannelSubscription} variables={variables} render={({ onPressHandler, isLoading }) => ( <ListItemWithButton isLoading={isLoading} onPressHandler={onPressHandler} title={`Leave channel`} divider={false} type={'destructive'} /> )} /> )} {!channelPermissions.isMember && !channelPermissions.isBlocked && ( <MutationWrapper mutation={this.props.toggleChannelSubscription} variables={variables} render={({ isLoading, onPressHandler }) => ( <ListItemWithButton isLoading={isLoading} onPressHandler={onPressHandler} title={`Join channel`} divider={false} /> )} /> )} </ListSection> <ListSectionDivider /> <ListSectionDivider /> </Wrapper> ); } if (isLoading) { return ( <Wrapper> <Loading /> </Wrapper> ); } if (hasError) { return <FullscreenNullState />; } return null; } } export default compose( getChannelById, toggleChannelSubscription, ViewNetworkHandler )(ChannelDetail);
maguon/ec_api
models/CategorySubDAO.js
const pgDb = require('../db/connections/PgConnection'); const serverLogger = require('../util/ServerLogger.js'); const logger = serverLogger.createLogger('CategorySubDAO.js'); class CategorySubDAO { static async queryCategorySub(params) { let query = " select csi.* ,ci.category_name , ci.status as category_status ,ui.real_name " + " from category_sub_info csi " + " left join category_info ci on ci.id = csi.category_id " + " left join user_info ui on ui.id = csi.op_user " + " where csi.id is not null "; let filterObj = {}; if(params.categorySubId){ query += " and csi.id = ${categorySubId} "; filterObj.categorySubId = params.categorySubId; } if(params.categoryId){ query += " and csi.category_id = ${categoryId} "; filterObj.categoryId = params.categoryId; } if(params.status){ query += " and csi.status = ${status} "; filterObj.status = params.status; } if(params.opUser){ query += " and csi.op_user = ${opUser} "; filterObj.opUser = params.opUser; } if(params.categorySubName){ query += " and csi.category_Sub_name like '%" + params.categorySubName + "%' "; } if(params.remark){ query += " and csi.remark = ${remark} "; filterObj.remark = params.remark; } query = query + ' order by csi.id desc '; if(params.start){ query += " offset ${start} "; filterObj.start = params.start; } if(params.size){ query += " limit ${size} "; filterObj.size = params.size; } logger.debug(' queryCategorySub '); return await pgDb.any(query,filterObj); } static async queryCategorySubCount(params) { let query = "select count(id) from category_sub_info where id is not null "; let filterObj = {}; if(params.categorySubId){ query += " and id = ${categorySubId} "; filterObj.categorySubId = params.categorySubId; } if(params.categoryId){ query += " and category_id = ${categoryId} "; filterObj.categoryId = params.categoryId; } if(params.status){ query += " and status = ${status} "; filterObj.status = params.status; } if(params.opUser){ query += " and op_user = ${opUser} "; filterObj.opUser = params.opUser; } if(params.categorySubName){ query += " and category_sub_name like '%" + params.categorySubName + "%' "; } if(params.remark){ query += " and remark = ${remark} "; filterObj.remark = params.remark; } logger.debug(' queryCategorySubCount '); return await pgDb.one(query,filterObj); } static async addCategorySub(params) { const query = 'INSERT INTO category_sub_info (status , op_user , remark , category_sub_name , category_id) ' + ' VALUES (${status} , ${opUser} , ${remark} , ${categorySubName} , ${categoryId}) RETURNING id '; let valueObj = {}; valueObj.status = params.status; valueObj.opUser = params.opUser; valueObj.remark = params.remark; valueObj.categorySubName = params.categorySubName; valueObj.categoryId = params.categoryId; logger.debug(' addCategorySub '); return await pgDb.any(query,valueObj); } static async updateCategorySub(params){ const query = 'update category_sub_info set op_user=${opUser} , remark=${remark} ,' + ' category_sub_name=${categorySubName} , category_id=${categoryId}' + ' where id =${categorySubId} RETURNING id '; let valueObj = {}; valueObj.opUser = params.opUser; valueObj.remark = params.remark; valueObj.categorySubName = params.categorySubName; valueObj.categoryId =params.categoryId; valueObj.categorySubId =params.categorySubId; logger.debug(' updateCategorySub '); return await pgDb.any(query,valueObj); } static async updateStatus(params){ const query = 'update category_sub_info set status=${status} , op_user=${opUser} ' + ' where id =${categorySubId} RETURNING id '; let valueObj = {}; valueObj.status = params.status; valueObj.opUser = params.opUser; valueObj.categorySubId = params.categorySubId; logger.debug(' updateStatus '); return await pgDb.any(query,valueObj); } static async deleteCategorySub(params){ const query = 'delete from category_sub_info where id =${categorySubId} RETURNING id '; let valueObj = {}; valueObj.categorySubId =params.categorySubId; logger.debug(' deleteCategorySub '); return await pgDb.any(query,valueObj); } } module.exports = CategorySubDAO;
joeykrug/augur-ui
src/modules/orders/reducers/order-books.js
<reponame>joeykrug/augur-ui import { UPDATE_ORDER_BOOK, CLEAR_ORDER_BOOK } from "modules/orders/actions/update-order-book"; import { RESET_STATE } from "modules/app/actions/reset-state"; const DEFAULT_STATE = {}; /** * @param {Object} orderBooks * @param {Object} action */ export default function(orderBooks = DEFAULT_STATE, action) { switch (action.type) { case UPDATE_ORDER_BOOK: { const { marketId, outcome, orderTypeLabel } = action; const marketOrderBook = orderBooks[marketId] || {}; const outcomeOrderBook = marketOrderBook[outcome] || {}; return { ...orderBooks, [marketId]: { ...marketOrderBook, [outcome]: { ...outcomeOrderBook, [orderTypeLabel]: { ...(outcomeOrderBook[orderTypeLabel] || {}), ...action.orderBook } } } }; } case CLEAR_ORDER_BOOK: { const { marketId, outcome, orderTypeLabel } = action; const marketOrderBook = orderBooks[marketId] || {}; const outcomeOrderBook = marketOrderBook[outcome] || {}; return { ...orderBooks, [marketId]: { ...marketOrderBook, [outcome]: { ...outcomeOrderBook, [orderTypeLabel]: {} } } }; } case RESET_STATE: return DEFAULT_STATE; default: return orderBooks; } }
documment/ng-cordova
test/plugins/batteryStatus.spec.js
<filename>test/plugins/batteryStatus.spec.js describe('Service: $cordovaBatteryStatus', function() { var $cordovaBatteryStatus, $rootScope; var eventNames = ['batterystatus', 'batterycritical', 'batterylow']; beforeEach(module('ngCordova.plugins.battery-status')); beforeEach(inject(function (_$cordovaBatteryStatus_, _$q_, _$rootScope_) { $cordovaBatteryStatus = _$cordovaBatteryStatus_; $rootScope = _$rootScope_; })); for (var i = 0; i < eventNames.length; i++) { (function(eventName) { it('should emit the `' + eventName + '` event the right way', function() { spyOn($cordovaBatteryStatus, '$emit'); var result = { 'isPlugged': true, 'level': 1 }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(eventName, false, false, result); window.dispatchEvent(evt); expect($cordovaBatteryStatus.$emit).toHaveBeenCalledWith(eventName, result); }); })(eventNames[i]); } });
paulxi/LeetCodeScala
src/main/scala/algorithm/easy/MostCommonWord.scala
package com.leetcode.algorithm.easy.MostCommonWord object Solution { def mostCommonWord(paragraph: String, banned: Array[String]): String = { val bannedSet = banned.toSet val words = paragraph .split(" !?',;.".toCharArray) .map(_.toLowerCase) .filterNot(str => { str.length == 0 || bannedSet.contains(str) }) var map: Map[String, Integer] = Map() val maxResult = words.foldLeft[(String, Integer)](("", 0))((result, word) => { map += (word -> (map.getOrElse[Integer](word, 0) + 1)) if (map(word) > result._2) { (word, map(word)) } else { result } }) maxResult._1 } }
ihsandemir/hazelcast
hazelcast/src/main/java/com/hazelcast/replicatedmap/impl/operation/ReplicatedMapDataSerializerHook.java
<reponame>ihsandemir/hazelcast /* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.hazelcast.replicatedmap.impl.operation; import com.hazelcast.nio.serialization.DataSerializableFactory; import com.hazelcast.internal.serialization.DataSerializerHook; import com.hazelcast.nio.serialization.IdentifiedDataSerializable; import com.hazelcast.internal.serialization.impl.ArrayDataSerializableFactory; import com.hazelcast.internal.serialization.impl.FactoryIdHelper; import com.hazelcast.replicatedmap.impl.messages.MultiReplicationMessage; import com.hazelcast.replicatedmap.impl.messages.ReplicationMessage; import com.hazelcast.replicatedmap.impl.record.ReplicatedRecord; import com.hazelcast.replicatedmap.impl.record.VectorClockTimestamp; import com.hazelcast.util.ConstructorFunction; import static com.hazelcast.internal.serialization.impl.FactoryIdHelper.REPLICATED_MAP_DS_FACTORY; import static com.hazelcast.internal.serialization.impl.FactoryIdHelper.REPLICATED_MAP_DS_FACTORY_ID; /** * This class contains all the ID hooks for IdentifiedDataSerializable classes used inside the replicated map. */ //Deactivated all checkstyle rules because those classes will never comply //CHECKSTYLE:OFF public class ReplicatedMapDataSerializerHook implements DataSerializerHook { public static final int F_ID = FactoryIdHelper.getFactoryId(REPLICATED_MAP_DS_FACTORY, REPLICATED_MAP_DS_FACTORY_ID); public static final int VECTOR = 0; public static final int RECORD = 1; public static final int REPL_UPDATE_MESSAGE = 2; public static final int REPL_CLEAR_MESSAGE = 3; public static final int REPL_MULTI_UPDATE_MESSAGE = 4; public static final int OP_INIT_CHUNK = 5; public static final int OP_POST_JOIN = 6; public static final int OP_CLEAR = 7; public static final int MAP_STATS = 8; private static final int LEN = MAP_STATS + 1; @Override public int getFactoryId() { return F_ID; } @Override public DataSerializableFactory createFactory() { ConstructorFunction<Integer, IdentifiedDataSerializable>[] constructors = new ConstructorFunction[LEN]; constructors[VECTOR] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new VectorClockTimestamp(); } }; constructors[RECORD] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new ReplicatedRecord(); } }; constructors[REPL_UPDATE_MESSAGE] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new ReplicationMessage(); } }; constructors[REPL_CLEAR_MESSAGE] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new VectorClockTimestamp(); } }; constructors[REPL_MULTI_UPDATE_MESSAGE] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { @Override public IdentifiedDataSerializable createNew(Integer arg) { return new MultiReplicationMessage(); } }; constructors[OP_INIT_CHUNK] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { @Override public IdentifiedDataSerializable createNew(Integer arg) { return new ReplicatedMapInitChunkOperation(); } }; constructors[OP_POST_JOIN] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { @Override public IdentifiedDataSerializable createNew(Integer arg) { return new ReplicatedMapPostJoinOperation(); } }; constructors[OP_CLEAR] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { @Override public IdentifiedDataSerializable createNew(Integer arg) { return new ReplicatedMapClearOperation(); } }; // constructors[MAP_STATS] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { // @Override // public IdentifiedDataSerializable createNew(Integer arg) { // return new LocalReplicatedMapStatsImpl(); // } // }; return new ArrayDataSerializableFactory(constructors); } }
xeroCBW/testmodel
rbacProject/apps/system/urls.py
<gh_stars>0 from django.urls import path from . import views_structure,views_user from rbac import views_menu app_name='[system]' urlpatterns = [ path('structure/', views_structure.structureView, name='structure'), path('structure/list', views_structure.structureListView, name='structure-list'), path('structure/detail', views_structure.structureDetailView, name='structure-detail'), path('structure/delete', views_structure.structureDeleteView, name='structure-delete'), path('structure/add_user', views_structure.structureAddUserView, name='structure-add_user'), path('user/', views_user.userView, name='user'), path('user/list', views_user.userListView, name='user-list'), path('user/detail', views_user.userDetailView, name='user-detail'), path('user/update', views_user.userUpdateView, name='user-update'), path('user/create', views_user.userCreateView, name='user-create'), path('user/delete', views_user.userDeleteView, name='user-delete'), path('user/enable', views_user.userEnableView, name='user-enable'), path('user/disable', views_user.userDisableView, name='user-disable'), path('user/adminpasswdchange', views_user.userAdminPasswordChangeView, name='user-adminpasswdchange'), ]
sharingbeforedying/corona_de_names
httpServer/server/app/shared/services/servers/rooms/RoomServiceFactory.js
<filename>httpServer/server/app/shared/services/servers/rooms/RoomServiceFactory.js import { AbsRoomServiceFactory } from './AbsRoomServiceFactory.js'; import { UniverseRoomService } from './universe/UniverseRoomService.js'; import { WelcomeRoomService } from './welcome/WelcomeRoomService.js'; import { PortalRoomService } from './portal/PortalRoomService.js'; import { ClientRoomService } from './client/ClientRoomService.js'; import { ChatRoomService } from './chat/ChatRoomService.js'; //halls import { A1RoomService } from './debug/a1/A1RoomService.js'; import { C1RoomService } from './debug/c1/C1RoomService.js'; import { SessionHallRoomService } from './halls/session/SessionHallRoomService.js'; //--- // import { SessionListRoomService } from './sessionList/SessionListRoomService.js'; import { SessionRoomService } from './session/SessionRoomService.js'; import { TeamsConfigRoomService } from './teamsConfig/TeamsConfigRoomService.js'; import { ContentConfigRoomService } from './contentConfig/ContentConfigRoomService.js'; import { InstanceBeginRoomService } from './instance/begin/InstanceBeginRoomService.js'; import { InstanceTellerRoomService } from './instance/teller/InstanceTellerRoomService.js'; import { InstanceGuesserRoomService } from './instance/guesser/InstanceGuesserRoomService.js'; import { InstanceEndRoomService } from './instance/end/InstanceEndRoomService.js'; // import { MoveToHelper } from '../MoveToHelper.js'; export class RoomServiceFactory extends AbsRoomServiceFactory { static roomServiceClassForRoomType(roomType) { console.log("roomServiceClass for roomType:", roomType); if(roomType == null) { throw new Error("roomType is null"); } switch(roomType) { // case -1: // return UniverseRoomService; // break; case 0: return WelcomeRoomService; break; case 1: return PortalRoomService; break; case 2: return ClientRoomService; break; case 3: return ChatRoomService; break; case 21: return A1RoomService; break; case 22: return C1RoomService; break; case 23: return SessionHallRoomService; break; //sessionList // case 41: // return SessionListRoomService; // break; //session case 51: return SessionRoomService; break; //instance config case 61: return TeamsConfigRoomService; break; case 62: return ContentConfigRoomService; break; //instance case 101: return InstanceBeginRoomService; break; case 131: return InstanceTellerRoomService; break; case 141: return InstanceGuesserRoomService; break; case 191: return InstanceEndRoomService; break; default: throw new Error("unknwon roomServiceClass for roomType:", roomType); break; } } static roomServiceClassForRoom_p(room) { return new Promise((resolve, reject) => { room.onStateChange.once((state) => { try { const roomType = state.roomType; const roomServiceClass = this.roomServiceClassForRoomType(roomType); resolve(roomServiceClass); } catch(e) { reject(e); } }); }); } static createRoomService_p(room) { console.log("RoomServiceFactory", "createRoomService", "room", room); return this.roomServiceClassForRoom_p(room) .then(roomServiceClass => { const roomService = new (roomServiceClass)(room); // roomService.moveToHelper = new MoveToHelper(roomService, this, this.navigationService); return roomService; }); } static createUniverseRoomService(config) { const roomService = new UniverseRoomService(config); // roomService.moveToHelper = new MoveToHelper(roomService, this); return roomService; } }
Hogwai/les-amis-de-l-escalade
src/main/java/com/lesamisdelescalade/consts/SiteConsts.java
package com.lesamisdelescalade.consts; /** * Site constants * @author Lilian * */ public class SiteConsts { private SiteConsts() { throw new IllegalStateException("Utility class"); } public static final String SITES = "sites"; public static final String CURRENT_SITE = "currentSite"; public static final String SITE_ID = "siteId"; public static final String LIBELLE = "libelle"; public static final String HAUTEUR = "hauteur"; public static final String TAG_YN = "tagYN"; public static final String VILLE = "ville"; public static final String PAYS = "pays"; public static final String VILLE_PAYS = "villePays"; public static final String NB_SECTEURS = "nbSecteurs"; public static final String SECTEURS = "secteurs"; public static final String NB_VOIES= "nbVoies"; public static final String VOIES = "voies"; public static final String NB_LONGUEURS= "nbLongueurs"; public static final String LONGUEURS = "longueur"; public static final String MODIFY_TAG = "modifyTag"; }
mathisonian/vega-browserify
src/parse/mark.js
var dl = require('datalib'), parseProperties = require('./properties'); function parseMark(model, mark) { var props = mark.properties, group = mark.marks; // parse mark property definitions dl.keys(props).forEach(function(k) { props[k] = parseProperties(model, mark.type, props[k]); }); // parse delay function if (mark.delay) { mark.delay = parseProperties(model, mark.type, {delay: mark.delay}); } // recurse if group type if (group) { mark.marks = group.map(function(g) { return parseMark(model, g); }); } return mark; } module.exports = parseMark; parseMark.schema = { "defs": { "mark": { "type": "object", "properties": { "name": {"type": "string"}, "key": {"type": "string"}, "type": {"enum": ["rect", "symbol", "path", "arc", "area", "line", "rule", "image", "text", "group"]}, "from": { "type": "object", "properties": { "data": {"type": "string"}, "mark": {"type": "string"}, "transform": {"$ref": "#/defs/transform"} }, "additionalProperties": false }, "delay": {"$ref": "#/refs/numberValue"}, "ease": { "enum": ["linear", "quad", "cubic", "sin", "exp", "circle", "bounce"].reduce(function(acc, e) { ["in", "out", "in-out", "out-in"].forEach(function(m) { acc.push(e+"-"+m); }); return acc; }, []) }, "interactive": {"type": "boolean"}, "properties": { "type": "object", "properties": { "enter": {"$ref": "#/defs/propset"}, "update": {"$ref": "#/defs/propset"}, "exit": {"$ref": "#/defs/propset"}, "hover": {"$ref": "#/defs/propset"} }, "additionalProperties": false, "anyOf": [{"required": ["enter"]}, {"required": ["update"]}] } }, // "additionalProperties": false, "anyOf": [{"required": ["type"]}, {"required": ["name"]}] } } };
bingoohuang/quartz-glass
src/main/java/org/n3r/quartz/glass/util/Keys.java
package org.n3r.quartz.glass.util; import com.google.common.collect.HashMultiset; import com.google.common.collect.Multiset; import lombok.val; import org.quartz.Scheduler; import org.quartz.utils.Key; import java.text.SimpleDateFormat; import java.util.Date; public class Keys { static Multiset<String> jobIndex = HashMultiset.create(); public static String nextJobIndexPostfix(String name) { jobIndex.add(name); int count = jobIndex.count(name); return name + (count == 1 ? "" : ("-" + count)); } public static String getFireKey() { val format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); return "FireNow-" + format.format(new Date()); } public static String desc(Key<?> key) { return key.getGroup().equals(Scheduler.DEFAULT_GROUP) ? key.getName() : key.toString(); } }
imslinn/AndroidCommon
common/src/main/java/tk/beason/common/modules/image/show/ShowPhotoDialog.java
/* * Copyright (C) 2017. The beasontk Android Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package tk.beason.common.modules.image.show; import android.app.Dialog; import android.content.Context; import android.os.Build; import android.os.Bundle; import androidx.viewpager.widget.ViewPager; import android.text.TextUtils; import android.view.View; import android.view.Window; import android.view.WindowManager; import tk.beason.common.R; import tk.beason.common.utils.DeviceUtils; import tk.beason.common.widget.viewpager.indicator.SizeIndicator; import java.util.ArrayList; import java.util.List; /** * 查看大图的Dialog */ public class ShowPhotoDialog extends Dialog { private List<String> mUrls; private View mBeforeView; private int mCurrentPosition; private boolean isShowThumb = true; public ShowPhotoDialog(Context context) { super(context, R.style.Theme_Dialog_Black); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); resetStatusBar(); setContentView(R.layout.widget_show_photo); ShowPhotoAdapter adapter = new ShowPhotoAdapter(getContext()); adapter.setBeforView(mBeforeView); adapter.setData(mUrls); adapter.setDialog(this); adapter.setShowThumb(isShowThumb); ViewPager pager = findViewById(R.id.content); pager.setAdapter(adapter); pager.setCurrentItem(mCurrentPosition); SizeIndicator indicator = findViewById(R.id.state); indicator.setViewPager(pager); // 只有一张图片的时候不需要显示指示器 if (mUrls.size() == 1) { indicator.setVisibility(View.GONE); } } public void setData(String url) { if (mUrls == null) { mUrls = new ArrayList<>(); } else { mUrls.clear(); } if (!TextUtils.isEmpty(url)) { mUrls.add(url); } } public void setData(List<String> urls) { if (urls == null) { mUrls = new ArrayList<>(); } else { mUrls = urls; } } /** * 如果不需要 显示缩略图就不要设置 */ public void setBeforeView(View view) { mBeforeView = view; } public void setShowThumb(boolean showThumb) { isShowThumb = showThumb; } public void setCurrentPosition(int position) { mCurrentPosition = position; } @Override public void show() { super.show(); int screen[] = DeviceUtils.getScreenSize(); Window window = getWindow(); WindowManager.LayoutParams lp = window.getAttributes(); lp.width = screen[0]; lp.height = screen[1]; window.setAttributes(lp); } private void resetStatusBar() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { Window window = getWindow(); window.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar // remove the following flag for version < API 19 | View.SYSTEM_UI_FLAG_IMMERSIVE); window.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS, WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); } } }
gianluca-m/SeeingTemperature
HoloLens/MyBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs77.cpp
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.IList`1<Newtonsoft.Json.Converters.IXmlNode> struct IList_1_tED3398E85BA08405C37E637E9FF3A6C056C208FA; // System.Collections.Generic.IList`1<UnityEngine.UI.Image> struct IList_1_t36DC82A13ADAB07D0739E9FF8B7C8FDD4163011A; // System.Collections.Generic.IList`1<UnityEngine.InputSystem.InputAction> struct IList_1_t0541E62E328F717354F9ACA35F6BC7DB68D748E6; // System.Collections.Generic.IList`1<UnityEngine.InputSystem.InputActionMap> struct IList_1_tCF17266CF8B7874A02B178ECD0D9FB661335B2E1; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.Input.InputAnimationMarker> struct IList_1_t61A586F394B8E3F7AEEB03B09E3C4D784134D7F4; // System.Collections.Generic.IList`1<UnityEngine.InputSystem.InputBinding> struct IList_1_tB1E6AF7276AB1966B61023DAA28806E89A274F10; // System.Collections.Generic.IList`1<UnityEngine.InputSystem.InputDevice> struct IList_1_tE9861488E15032E21A9879F79EE6724463714B97; // System.Collections.Generic.IList`1<UnityEngine.XR.InputDevice> struct IList_1_t4A665A29631FA0E6CF8A2B8447A26D771D5FD29D; // System.Collections.Generic.IList`1<UnityEngine.XR.InputDeviceCharacteristics> struct IList_1_tD5888E60EC1BE59B56D2E1E827BE6BB09410DC34; // System.Collections.Generic.IList`1<UnityEngine.InputSystem.Layouts.InputDeviceDescription> struct IList_1_t39E0FB42B9384DEAE02B8444A97EEACB9E11BCBB; // System.Collections.Generic.IList`1<UnityEngine.InputSystem.LowLevel.InputEventPtr> struct IList_1_tCFC11664C676CBD86ED2EFE788F415127EE83507; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorPropertySetting> struct IList_1_tAD19F4E3891B572EC89AC64D11B9511C9EDAA707; // System.Collections.Generic.IList`1<System.Int16> struct IList_1_t39ED903D5EB5F1BDDBDF9A3062027E5EE6E526B4; // System.Collections.Generic.IList`1<System.Int32> struct IList_1_t1C0FF9038440D4E3F8C4A2D43AF1062780CF179D; // System.Collections.Generic.IList`1<System.Int64> struct IList_1_t21B106893DBF2DEA041C6753D7D87E6B482C3EA1; // System.Collections.Generic.IList`1<UnityEngine.IntegratedSubsystem> struct IList_1_tC1715AD11F6A52AE1DEB96DD9E686A36CBBC1167; // System.Collections.Generic.IList`1<UnityEngine.IntegratedSubsystemDescriptor> struct IList_1_t520CDDCC61D8A1A2702E82DC4D81DB1322ABEF61; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.UI.InteractableEvent> struct IList_1_tCDBEFBC7FD0ACAB11E8343B51DEB18981B149F6C; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.UI.InteractableProfileItem> struct IList_1_t9EFF213C64E523E955EC9B82D7728E6AADA58406; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.UI.InteractableThemeBase> struct IList_1_t725C52BE18715D6C1203D5876AC8DC750C8D2A98; // System.Collections.Generic.IList`1<UnityEngine.InputSystem.Utilities.InternedString> struct IList_1_tEC1DD5B66D9B01C54A5650B62F743144EE5CC256; // System.Collections.Generic.IList`1<Newtonsoft.Json.Linq.JToken> struct IList_1_t1B835ABED4DA8CA5CC72CD36C380226D95A35AFA; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.JointKinematicBody> struct IList_1_tF0859632080A45B352108D721FF176F147C9D9E4; // System.Collections.Generic.IList`1<Newtonsoft.Json.JsonConverter> struct IList_1_tFCA8EA64EBB37AD1CDF92AB1C3591D6745600FAC; // System.Collections.Generic.IList`1<Newtonsoft.Json.JsonPosition> struct IList_1_t5BB8074E407646C60C6438CA713EEB9C0949F965; // System.Collections.Generic.IList`1<Newtonsoft.Json.Serialization.JsonProperty> struct IList_1_tA7ED239EAE00BD11B71BF91A88FF93A2C58378A2; // System.Collections.Generic.IList`1<TMPro.KerningPair> struct IList_1_t19A665A481E3EA8EFE2B57A8BD02F2E59F615D45; // System.Collections.Generic.IList`1<UnityEngine.KeyCode> struct IList_1_t49C7F7A7D212C0403645E69C3EDBC028087E3824; // System.Collections.Generic.IList`1<Mono.Globalization.Unicode.Level2Map> struct IList_1_t01368961FA84F5F7A87C18B7A1A5AA05FCC6E7D2; // System.Collections.Generic.IList`1<System.LocalDataStore> struct IList_1_tE4B5158F40BA8318A0F092B68CEB625BA0F2A2C4; // System.Collections.Generic.IList`1<UnityEngine.UI.Mask> struct IList_1_t7917AC1864547F97D0133710831A143BF33F8EDD; // System.Collections.Generic.IList`1<UnityEngine.Material> struct IList_1_t4C380BFFB44CACC2DE8FDB88B85242A16AFE8D02; // System.Collections.Generic.IList`1<UnityEngine.Matrix4x4> struct IList_1_t4E4E81999E24AD21BCE687FE0DE0987A5A204A36; // System.Collections.Generic.IList`1<System.Runtime.Serialization.MemberHolder> struct IList_1_t43CE05ABC7217045C76200E45372ED20D106610B; // System.Collections.Generic.IList`1<System.Reflection.MemberInfo> struct IList_1_t52E4CE6A2808933DF561E8BD1A816878E4ED6EF1; // System.Collections.Generic.IList`1<UnityEngine.XR.MeshInfo> struct IList_1_tE1F4B1A10A45B608D88546A419AABBD4E0FC3EE3; // System.Collections.Generic.IList`1<System.Reflection.MethodBase> struct IList_1_t230DA403B99F405B2FAF72072C6D5D3A847BCECA; // System.Collections.Generic.IList`1<System.Reflection.MethodInfo> struct IList_1_t0F7B0F34F2B477C2CFDFCD4D72A1CE31C4FD7864; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction> struct IList_1_t514FD4FD92F102FF9AC1E6C7B4F02877412271AA; // System.Collections.Generic.IList`1<Microsoft.MixedReality.Toolkit.MixedRealityToolkit> struct IList_1_t186B3D1588AA3B08D41FA70C7AD70BA98AB82B10; // System.Collections.Generic.IList`1<System.ModifierSpec> struct IList_1_tFBBF4B9A0F9619A016ECB94F0ADBF1CAC032EA12; // System.Collections.Generic.IList`1<System.Reflection.Module> struct IList_1_t83E25753E35B9827BE7396B648D6A322786B1482; struct IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8; struct IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB; struct IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA; struct IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953; struct IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588; struct IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824; struct IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4; struct IIterator_1_t3FD87DAE4281E0090447733627B3A0BA377B6CEC; struct IIterator_1_t6A46A7244E5AAD0AE4F2A07AF43DA5052D55F4A4; struct IIterator_1_t9B59C65AF91E97002623682A0C306DEBB34D8DE1; struct IIterator_1_t9BD98BF640DD88139F4CE1EEFF81DE452E2AFFB6; struct IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C; struct IIterator_1_tD5C5DE60C4A835F60D32B19C44430B59B26BFA67; struct IIterator_1_tE49C1648FC94E093BCD82BA18359053328200C9F; struct IIterator_1_tE84305D19EB46B9DD6D1B86BE7195EBA9B09BF2D; struct IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C; struct IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A; struct IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96; struct IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02; IL2CPP_EXTERN_C_BEGIN IL2CPP_EXTERN_C_END #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // Windows.Foundation.Collections.IIterable`1<System.Collections.Generic.IEnumerable`1<System.IDisposable>> struct NOVTABLE IIterable_1_t65C1CF61727FBB13369E9B777E6EA4756FFD7E3D : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_m2B4221348B2704C13FAEA47E445A5266F50F0552(IIterator_1_tE49C1648FC94E093BCD82BA18359053328200C9F** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.Collections.Generic.IEnumerable`1<System.Collections.IEnumerable>> struct NOVTABLE IIterable_1_t68030302F5F045341EA18D5793D2982A0229A0C9 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_mEC161C6918AC07CCD35F30165C19059B40CE65C9(IIterator_1_t9BD98BF640DD88139F4CE1EEFF81DE452E2AFFB6** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.Collections.Generic.IEnumerable`1<System.Object>> struct NOVTABLE IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1E9A9F6DA2EC9A3A751A6E85F67C9BB40798A879(IIterator_1_tD5C5DE60C4A835F60D32B19C44430B59B26BFA67** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.IDisposable> struct NOVTABLE IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_mDDCB90F64D3007CB280F2A112BFB11FEDF4CF937(IIterator_1_tE84305D19EB46B9DD6D1B86BE7195EBA9B09BF2D** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.Collections.IEnumerable> struct NOVTABLE IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_m512126C71D7E9D1C31B56F64455F33E9FEEC89F8(IIterator_1_t6A46A7244E5AAD0AE4F2A07AF43DA5052D55F4A4** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.Int16> struct NOVTABLE IIterable_1_tFF30A9E323D222B8189CEBCAC40464562B38A0C8 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_m3B459B11C7ABAED5258B394614E5D1C20BEE5F93(IIterator_1_t9B59C65AF91E97002623682A0C306DEBB34D8DE1** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.Int32> struct NOVTABLE IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.Int64> struct NOVTABLE IIterable_1_t30CEC1AA394C5CCDA490BB4CE97C7A91D3122A6F : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_mFE037A1FA26B15187119714FC35E6254FAE04579(IIterator_1_t3FD87DAE4281E0090447733627B3A0BA377B6CEC** comReturnValue) = 0; }; // Windows.Foundation.Collections.IIterable`1<System.Object> struct NOVTABLE IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Collections.Generic.IEnumerable`1<System.IDisposable>> struct NOVTABLE IVectorView_1_t03B981D4959A85B1286E3AF8D41F475472CBCF00 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m042A63FF0475CFCEEC8E1915D0D64456FFEAE240(uint32_t ___index0, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mA6B624B6AE7095D63A0C4B0F9663C34A93AB87DC(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mC1F322402A67373D7C1D2E5A2FBDED7E78DD3DB6(IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m40DC9455B44C37B0027C9A3F39E5F497BEF595BE(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588** ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Collections.Generic.IEnumerable`1<System.Collections.IEnumerable>> struct NOVTABLE IVectorView_1_tF12BFC686BC53C4732E3E15CED4C336F59DA021D : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m64E858AD8B3D4244ACF0A2242A234DCB94FB8D54(uint32_t ___index0, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mE01789A1C90721DB6BBA81B1A3769E60653CE5FE(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mB5A9D6847273099D13BBA93231EA8BF94E3619C5(IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m54061C8941806BF519B0BD9B92CEAFD47CB2B791(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824** ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Collections.Generic.IEnumerable`1<System.Object>> struct NOVTABLE IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m81C572FE9591C741899BB1DBFCBA0D16F83AFA2B(uint32_t ___index0, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m17D793E25CDC73C302DC09F9F44E3E945DB6D51B(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mDE5247D2CA481566F3163DD73813D5197E9A8C9F(IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m8C2CC34D9034DFED1C049E407D18F960E9D41D65(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.IDisposable> struct NOVTABLE IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mAAA90556845E6A9FA05500C3DA1B62AFCD594348(uint32_t ___index0, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mD62BFB5D4843800B4A741E45A641F4ADE113D420(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m746B31C36F4EA4DEE36100C137BB622A7FE4F896(IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m901FA6BCD9F6C87B5EBD41947DF80ACD2028AA55(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Collections.IEnumerable> struct NOVTABLE IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m72849F526862E096635BA971A074D9B06ABFEE1E(uint32_t ___index0, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mB93C08E36F2225BE1862007FAF30C9F2DEE8DAD9(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m3D87181F28EC65303ECB5017476C3B38D0944E17(IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mE432D0460C5D84FEC9104DF80F5809975EAE32F8(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Int16> struct NOVTABLE IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m5DE9B2098D4DAE2496F90B054BE80B34EE05AD6E(uint32_t ___index0, int16_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0D3C459E16F5437385214CE8009FEAFB744C56C0(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m8980FDBA6F7FDD65E6FBD85320B163D622B24A90(int16_t ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mF11922D03AA08082EED2964166D2AEC053394EA6(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int16_t* ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Int32> struct NOVTABLE IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m9029142654B458A0ECB830FFBA560BB1BEBE6438(uint32_t ___index0, int32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m81A8716B8EE4073EB609AB88E9F41ABEF8EBCFB5(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFD8C19EC4BF3B7A54F4FEBF39512C6751710596A(int32_t ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m0A5BC45B50025F2B15C29CE336E7475591196F2D(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int32_t* ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Int64> struct NOVTABLE IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mB0E991DE9FE594FB2EB2209EA381D1BF0422A8A1(uint32_t ___index0, int64_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0D8BF7C0B8A40CC705501CC5429AC374E2A83B28(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mC043CEC07F57B9F07625CB7A21A7E9A752A6EC46(int64_t ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mD6955F92312A5150492E2668D7EAF25C2DBD6351(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int64_t* ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVectorView`1<System.Object> struct NOVTABLE IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) = 0; }; // Windows.Foundation.Collections.IVector`1<System.Int16> struct NOVTABLE IVector_1_tA6391BBB37DE0CEA64CC41922B7A7892118AB227 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_m21A64A5AF83D486418DDFD5A96DF9CC2AB161BCB(uint32_t ___index0, int16_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_m82EFFFDAD58D38505683C8043BDF61465786307C(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m90D43A547061BCF6355934785FFDA7A506AADE25(IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_mF2834A87BC5F671D61FBB071CE5F73CB347B8388(int16_t ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_m30FC58D771364F0D52F4933C1F56C6934C7C181B(uint32_t ___index0, int16_t ___value1) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_m59BED08EED09CC4C0AF4B02EB42B1388D6D35C13(uint32_t ___index0, int16_t ___value1) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_m157F65439AB020556F2CDED9AC6CE3F675C4B7AF(uint32_t ___index0) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_Append_mE97BCBA8A46575F179C94D9B90C8E6B29E89124A(int16_t ___value0) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_mBA2E94039E6A020C3E742773C37507506D903024() = 0; virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mB9AF03AFF31B915DD3B8F46DA020E18A81FDD518() = 0; virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_mD8851DBF4427DDB405A087D095A3699A08FC39E8(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int16_t* ___items1, uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m7A2FD1D627344933003727CE43CCD76B39F6EB23(uint32_t ___items0ArraySize, int16_t* ___items0) = 0; }; // Windows.Foundation.Collections.IVector`1<System.Int32> struct NOVTABLE IVector_1_tBEB41D631CD5EAA9D9A6001A2B26D97EB506E592 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mC385A4DD94EB1B59BF11654532E06E70157D1B5B(uint32_t ___index0, int32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_m89D7587FCF4ABB37F45C5C4EA0998AB5A37F57AC(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m133513A05E0BFD7C6D819AE7DDC905EC28D23816(IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_m4E270AF507EA151A85A76F345E1855A43E74E833(int32_t ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_mF48CD85CFFB315F61000C855227B4038B6414963(uint32_t ___index0, int32_t ___value1) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_mCEDF91EEBB00EE5CFFFB4B67AE44C04F4558CE32(uint32_t ___index0, int32_t ___value1) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_m64F11541E6016B3797BC7CE71C82040882E5D6D3(uint32_t ___index0) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_Append_m8C18FCE7791B0C65E7E86FF24ED66919552F80DA(int32_t ___value0) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_m7E510C2AC3F36D9EE9A038720F1130162C552D52() = 0; virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mA538E886E7F2E0A2443CCA91F18168124036FF9F() = 0; virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m6508AF32689721AB76FFDEF0189F3A25479F79D9(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int32_t* ___items1, uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m7552401994424AF745AEF208E9091F6E6456D41E(uint32_t ___items0ArraySize, int32_t* ___items0) = 0; }; // Windows.Foundation.Collections.IVector`1<System.Int64> struct NOVTABLE IVector_1_tC19D5B7997A342CCE1601A0D6A0DF07867C15B3A : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mF9C6773505E8E9B9F2E7E7DAF967F96A1C2B8F76(uint32_t ___index0, int64_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_mCC7FCFB918CC840DA8F762F17B34497ACFE7B25F(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m5B12EFA5AB4033EED4225EF21E700C559350BC88(IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_m7318A3ACFB66E765973C77D45C8263837E61C473(int64_t ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_m06D6488C6592EE79CCAA4861DD163FC9CE5522BA(uint32_t ___index0, int64_t ___value1) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_m6894FF296E2F7A67A740962672A1CBAA112B51D2(uint32_t ___index0, int64_t ___value1) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_m08A7D1362C719C7EE99E32E293E97105967EA3F1(uint32_t ___index0) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_Append_mD130311A46572F4EBCEC07C75B94A631258096FC(int64_t ___value0) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_m09C39A00FC7774D051AD88157A5B01F2AD422CDA() = 0; virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mEDD12D76D5E58834B327194FD8916B5736030033() = 0; virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m1474AA7C0F3F775BA481B05222E83E39DD2AA111(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int64_t* ___items1, uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m63FF20B2E64A2C5938105604AD89B47EA9DE79E4(uint32_t ___items0ArraySize, int64_t* ___items0) = 0; }; // Windows.UI.Xaml.Interop.IBindableIterable struct NOVTABLE IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8 : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) = 0; }; // Windows.UI.Xaml.Interop.IBindableVector struct NOVTABLE IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC : Il2CppIInspectable { static const Il2CppGuid IID; virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() = 0; virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() = 0; }; // System.Object // System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.Converters.IXmlNode> struct ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.UI.Image> struct ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputAction> struct ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputActionMap> struct ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Input.InputAnimationMarker> struct ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputBinding> struct ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputDevice> struct ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.XR.InputDevice> struct ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.XR.InputDeviceCharacteristics> struct ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.Layouts.InputDeviceDescription> struct ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.LowLevel.InputEventPtr> struct ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorPropertySetting> struct ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Int16> struct ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Int32> struct ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Int64> struct ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.IntegratedSubsystem> struct ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.IntegratedSubsystemDescriptor> struct ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.UI.InteractableEvent> struct ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.UI.InteractableProfileItem> struct ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.UI.InteractableThemeBase> struct ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.Utilities.InternedString> struct ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.Linq.JToken> struct ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.JointKinematicBody> struct ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.JsonConverter> struct ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.JsonPosition> struct ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.Serialization.JsonProperty> struct ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<TMPro.KerningPair> struct ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.KeyCode> struct ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Mono.Globalization.Unicode.Level2Map> struct ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.LocalDataStore> struct ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.UI.Mask> struct ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.Material> struct ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.Matrix4x4> struct ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.Serialization.MemberHolder> struct ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.MemberInfo> struct ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.XR.MeshInfo> struct ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.MethodBase> struct ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.MethodInfo> struct ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction> struct ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.MixedRealityToolkit> struct ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.ModifierSpec> struct ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0 : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; // System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.Module> struct ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A : public RuntimeObject { public: // System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list RuntimeObject* ___list_0; // System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot RuntimeObject * ____syncRoot_1; public: inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A, ___list_0)); } inline RuntimeObject* get_list_0() const { return ___list_0; } inline RuntimeObject** get_address_of_list_0() { return &___list_0; } inline void set_list_0(RuntimeObject* value) { ___list_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value); } inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A, ____syncRoot_1)); } inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; } inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; } inline void set__syncRoot_1(RuntimeObject * value) { ____syncRoot_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_1), (void*)value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif il2cpp_hresult_t IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue); il2cpp_hresult_t IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable** comReturnValue); il2cpp_hresult_t IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue); il2cpp_hresult_t IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(RuntimeObject* __this, Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable* ___value1); il2cpp_hresult_t IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable* ___value1); il2cpp_hresult_t IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0); il2cpp_hresult_t IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(RuntimeObject* __this, Il2CppIInspectable* ___value0); il2cpp_hresult_t IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, Il2CppIInspectable** comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(RuntimeObject* __this, Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IIterable_1_First_mDDCB90F64D3007CB280F2A112BFB11FEDF4CF937_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tE84305D19EB46B9DD6D1B86BE7195EBA9B09BF2D** comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_mAAA90556845E6A9FA05500C3DA1B62AFCD594348_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_mD62BFB5D4843800B4A741E45A641F4ADE113D420_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_m746B31C36F4EA4DEE36100C137BB622A7FE4F896_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953* ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_m901FA6BCD9F6C87B5EBD41947DF80ACD2028AA55_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IIterable_1_First_m1E9A9F6DA2EC9A3A751A6E85F67C9BB40798A879_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tD5C5DE60C4A835F60D32B19C44430B59B26BFA67** comReturnValue); il2cpp_hresult_t IIterable_1_First_m2B4221348B2704C13FAEA47E445A5266F50F0552_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tE49C1648FC94E093BCD82BA18359053328200C9F** comReturnValue); il2cpp_hresult_t IIterable_1_First_m512126C71D7E9D1C31B56F64455F33E9FEEC89F8_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t6A46A7244E5AAD0AE4F2A07AF43DA5052D55F4A4** comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_m81C572FE9591C741899BB1DBFCBA0D16F83AFA2B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_m17D793E25CDC73C302DC09F9F44E3E945DB6D51B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_mDE5247D2CA481566F3163DD73813D5197E9A8C9F_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4* ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_m8C2CC34D9034DFED1C049E407D18F960E9D41D65_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_m042A63FF0475CFCEEC8E1915D0D64456FFEAE240_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588** comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_mA6B624B6AE7095D63A0C4B0F9663C34A93AB87DC_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_mC1F322402A67373D7C1D2E5A2FBDED7E78DD3DB6_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588* ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_m40DC9455B44C37B0027C9A3F39E5F497BEF595BE_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588** ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_m72849F526862E096635BA971A074D9B06ABFEE1E_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_mB93C08E36F2225BE1862007FAF30C9F2DEE8DAD9_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_m3D87181F28EC65303ECB5017476C3B38D0944E17_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8* ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_mE432D0460C5D84FEC9104DF80F5809975EAE32F8_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_GetAt_m21A64A5AF83D486418DDFD5A96DF9CC2AB161BCB_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int16_t* comReturnValue); il2cpp_hresult_t IVector_1_get_Size_m82EFFFDAD58D38505683C8043BDF61465786307C_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_GetView_m90D43A547061BCF6355934785FFDA7A506AADE25_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02** comReturnValue); il2cpp_hresult_t IVector_1_IndexOf_mF2834A87BC5F671D61FBB071CE5F73CB347B8388_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int16_t ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVector_1_SetAt_m30FC58D771364F0D52F4933C1F56C6934C7C181B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int16_t ___value1); il2cpp_hresult_t IVector_1_InsertAt_m59BED08EED09CC4C0AF4B02EB42B1388D6D35C13_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int16_t ___value1); il2cpp_hresult_t IVector_1_RemoveAt_m157F65439AB020556F2CDED9AC6CE3F675C4B7AF_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0); il2cpp_hresult_t IVector_1_Append_mE97BCBA8A46575F179C94D9B90C8E6B29E89124A_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int16_t ___value0); il2cpp_hresult_t IVector_1_RemoveAtEnd_mBA2E94039E6A020C3E742773C37507506D903024_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IVector_1_Clear_mB9AF03AFF31B915DD3B8F46DA020E18A81FDD518_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IVector_1_GetMany_mD8851DBF4427DDB405A087D095A3699A08FC39E8_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, int16_t* ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_ReplaceAll_m7A2FD1D627344933003727CE43CCD76B39F6EB23_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___items0ArraySize, int16_t* ___items0); il2cpp_hresult_t IIterable_1_First_m3B459B11C7ABAED5258B394614E5D1C20BEE5F93_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t9B59C65AF91E97002623682A0C306DEBB34D8DE1** comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_m5DE9B2098D4DAE2496F90B054BE80B34EE05AD6E_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int16_t* comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_m0D3C459E16F5437385214CE8009FEAFB744C56C0_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_m8980FDBA6F7FDD65E6FBD85320B163D622B24A90_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int16_t ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_mF11922D03AA08082EED2964166D2AEC053394EA6_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, int16_t* ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_GetAt_mC385A4DD94EB1B59BF11654532E06E70157D1B5B_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int32_t* comReturnValue); il2cpp_hresult_t IVector_1_get_Size_m89D7587FCF4ABB37F45C5C4EA0998AB5A37F57AC_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_GetView_m133513A05E0BFD7C6D819AE7DDC905EC28D23816_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A** comReturnValue); il2cpp_hresult_t IVector_1_IndexOf_m4E270AF507EA151A85A76F345E1855A43E74E833_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int32_t ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVector_1_SetAt_mF48CD85CFFB315F61000C855227B4038B6414963_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int32_t ___value1); il2cpp_hresult_t IVector_1_InsertAt_mCEDF91EEBB00EE5CFFFB4B67AE44C04F4558CE32_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int32_t ___value1); il2cpp_hresult_t IVector_1_RemoveAt_m64F11541E6016B3797BC7CE71C82040882E5D6D3_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0); il2cpp_hresult_t IVector_1_Append_m8C18FCE7791B0C65E7E86FF24ED66919552F80DA_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int32_t ___value0); il2cpp_hresult_t IVector_1_RemoveAtEnd_m7E510C2AC3F36D9EE9A038720F1130162C552D52_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IVector_1_Clear_mA538E886E7F2E0A2443CCA91F18168124036FF9F_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IVector_1_GetMany_m6508AF32689721AB76FFDEF0189F3A25479F79D9_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, int32_t* ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_ReplaceAll_m7552401994424AF745AEF208E9091F6E6456D41E_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___items0ArraySize, int32_t* ___items0); il2cpp_hresult_t IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_m9029142654B458A0ECB830FFBA560BB1BEBE6438_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_m81A8716B8EE4073EB609AB88E9F41ABEF8EBCFB5_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_mFD8C19EC4BF3B7A54F4FEBF39512C6751710596A_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int32_t ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_m0A5BC45B50025F2B15C29CE336E7475591196F2D_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, int32_t* ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_GetAt_mF9C6773505E8E9B9F2E7E7DAF967F96A1C2B8F76_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int64_t* comReturnValue); il2cpp_hresult_t IVector_1_get_Size_mCC7FCFB918CC840DA8F762F17B34497ACFE7B25F_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_GetView_m5B12EFA5AB4033EED4225EF21E700C559350BC88_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96** comReturnValue); il2cpp_hresult_t IVector_1_IndexOf_m7318A3ACFB66E765973C77D45C8263837E61C473_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int64_t ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVector_1_SetAt_m06D6488C6592EE79CCAA4861DD163FC9CE5522BA_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int64_t ___value1); il2cpp_hresult_t IVector_1_InsertAt_m6894FF296E2F7A67A740962672A1CBAA112B51D2_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int64_t ___value1); il2cpp_hresult_t IVector_1_RemoveAt_m08A7D1362C719C7EE99E32E293E97105967EA3F1_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0); il2cpp_hresult_t IVector_1_Append_mD130311A46572F4EBCEC07C75B94A631258096FC_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int64_t ___value0); il2cpp_hresult_t IVector_1_RemoveAtEnd_m09C39A00FC7774D051AD88157A5B01F2AD422CDA_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IVector_1_Clear_mEDD12D76D5E58834B327194FD8916B5736030033_ComCallableWrapperProjectedMethod(RuntimeObject* __this); il2cpp_hresult_t IVector_1_GetMany_m1474AA7C0F3F775BA481B05222E83E39DD2AA111_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, int64_t* ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IVector_1_ReplaceAll_m63FF20B2E64A2C5938105604AD89B47EA9DE79E4_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___items0ArraySize, int64_t* ___items0); il2cpp_hresult_t IIterable_1_First_mFE037A1FA26B15187119714FC35E6254FAE04579_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t3FD87DAE4281E0090447733627B3A0BA377B6CEC** comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_mB0E991DE9FE594FB2EB2209EA381D1BF0422A8A1_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, int64_t* comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_m0D8BF7C0B8A40CC705501CC5429AC374E2A83B28_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_mC043CEC07F57B9F07625CB7A21A7E9A752A6EC46_ComCallableWrapperProjectedMethod(RuntimeObject* __this, int64_t ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_mD6955F92312A5150492E2668D7EAF25C2DBD6351_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, int64_t* ___items1, uint32_t* comReturnValue); il2cpp_hresult_t IIterable_1_First_mEC161C6918AC07CCD35F30165C19059B40CE65C9_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_t9BD98BF640DD88139F4CE1EEFF81DE452E2AFFB6** comReturnValue); il2cpp_hresult_t IVectorView_1_GetAt_m64E858AD8B3D4244ACF0A2242A234DCB94FB8D54_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___index0, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824** comReturnValue); il2cpp_hresult_t IVectorView_1_get_Size_mE01789A1C90721DB6BBA81B1A3769E60653CE5FE_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t* comReturnValue); il2cpp_hresult_t IVectorView_1_IndexOf_mB5A9D6847273099D13BBA93231EA8BF94E3619C5_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824* ___value0, uint32_t* ___index1, bool* comReturnValue); il2cpp_hresult_t IVectorView_1_GetMany_m54061C8941806BF519B0BD9B92CEAFD47CB2B791_ComCallableWrapperProjectedMethod(RuntimeObject* __this, uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824** ___items1, uint32_t* comReturnValue); // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.Converters.IXmlNode> struct ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t0B566FA810AB87847FC057085EE09F66B7BAC98F_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.UI.Image> struct ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t4F44E0FCB1CE79550536BDC8E3C468C0BB84CD46_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputAction> struct ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A, IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E { inline ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(6); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588::IID; interfaceIds[2] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[3] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[4] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; interfaceIds[5] = IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E::IID; *iidCount = 6; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_mDDCB90F64D3007CB280F2A112BFB11FEDF4CF937(IIterator_1_tE84305D19EB46B9DD6D1B86BE7195EBA9B09BF2D** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_mDDCB90F64D3007CB280F2A112BFB11FEDF4CF937_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mAAA90556845E6A9FA05500C3DA1B62AFCD594348(uint32_t ___index0, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_mAAA90556845E6A9FA05500C3DA1B62AFCD594348_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mD62BFB5D4843800B4A741E45A641F4ADE113D420(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_mD62BFB5D4843800B4A741E45A641F4ADE113D420_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m746B31C36F4EA4DEE36100C137BB622A7FE4F896(IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_m746B31C36F4EA4DEE36100C137BB622A7FE4F896_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m901FA6BCD9F6C87B5EBD41947DF80ACD2028AA55(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m901FA6BCD9F6C87B5EBD41947DF80ACD2028AA55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t8C5098C390BB5316EBF4D1CA7AF98F51F5AD608F_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputActionMap> struct ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113, IIterable_1_t65C1CF61727FBB13369E9B777E6EA4756FFD7E3D, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A, IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001, IVectorView_1_t03B981D4959A85B1286E3AF8D41F475472CBCF00, IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A, IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E { inline ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t65C1CF61727FBB13369E9B777E6EA4756FFD7E3D::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t65C1CF61727FBB13369E9B777E6EA4756FFD7E3D*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t03B981D4959A85B1286E3AF8D41F475472CBCF00::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t03B981D4959A85B1286E3AF8D41F475472CBCF00*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(12); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113::IID; interfaceIds[2] = IIterable_1_t65C1CF61727FBB13369E9B777E6EA4756FFD7E3D::IID; interfaceIds[3] = IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824::IID; interfaceIds[4] = IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588::IID; interfaceIds[5] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[6] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[7] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; interfaceIds[8] = IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001::IID; interfaceIds[9] = IVectorView_1_t03B981D4959A85B1286E3AF8D41F475472CBCF00::IID; interfaceIds[10] = IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A::IID; interfaceIds[11] = IVectorView_1_tF548FBFC73854E307F2AA2286569F664A1E4591E::IID; *iidCount = 12; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1E9A9F6DA2EC9A3A751A6E85F67C9BB40798A879(IIterator_1_tD5C5DE60C4A835F60D32B19C44430B59B26BFA67** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m1E9A9F6DA2EC9A3A751A6E85F67C9BB40798A879_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m2B4221348B2704C13FAEA47E445A5266F50F0552(IIterator_1_tE49C1648FC94E093BCD82BA18359053328200C9F** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m2B4221348B2704C13FAEA47E445A5266F50F0552_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m512126C71D7E9D1C31B56F64455F33E9FEEC89F8(IIterator_1_t6A46A7244E5AAD0AE4F2A07AF43DA5052D55F4A4** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m512126C71D7E9D1C31B56F64455F33E9FEEC89F8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_mDDCB90F64D3007CB280F2A112BFB11FEDF4CF937(IIterator_1_tE84305D19EB46B9DD6D1B86BE7195EBA9B09BF2D** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_mDDCB90F64D3007CB280F2A112BFB11FEDF4CF937_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m81C572FE9591C741899BB1DBFCBA0D16F83AFA2B(uint32_t ___index0, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m81C572FE9591C741899BB1DBFCBA0D16F83AFA2B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m17D793E25CDC73C302DC09F9F44E3E945DB6D51B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m17D793E25CDC73C302DC09F9F44E3E945DB6D51B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mDE5247D2CA481566F3163DD73813D5197E9A8C9F(IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mDE5247D2CA481566F3163DD73813D5197E9A8C9F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m8C2CC34D9034DFED1C049E407D18F960E9D41D65(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m8C2CC34D9034DFED1C049E407D18F960E9D41D65_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m042A63FF0475CFCEEC8E1915D0D64456FFEAE240(uint32_t ___index0, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m042A63FF0475CFCEEC8E1915D0D64456FFEAE240_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mA6B624B6AE7095D63A0C4B0F9663C34A93AB87DC(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_mA6B624B6AE7095D63A0C4B0F9663C34A93AB87DC_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mC1F322402A67373D7C1D2E5A2FBDED7E78DD3DB6(IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mC1F322402A67373D7C1D2E5A2FBDED7E78DD3DB6_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m40DC9455B44C37B0027C9A3F39E5F497BEF595BE(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t5F4BD9477DDC56D9428ADFFD61354FCFE2E78588** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m40DC9455B44C37B0027C9A3F39E5F497BEF595BE_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m72849F526862E096635BA971A074D9B06ABFEE1E(uint32_t ___index0, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m72849F526862E096635BA971A074D9B06ABFEE1E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mB93C08E36F2225BE1862007FAF30C9F2DEE8DAD9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_mB93C08E36F2225BE1862007FAF30C9F2DEE8DAD9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m3D87181F28EC65303ECB5017476C3B38D0944E17(IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_m3D87181F28EC65303ECB5017476C3B38D0944E17_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mE432D0460C5D84FEC9104DF80F5809975EAE32F8(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_mE432D0460C5D84FEC9104DF80F5809975EAE32F8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mAAA90556845E6A9FA05500C3DA1B62AFCD594348(uint32_t ___index0, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_mAAA90556845E6A9FA05500C3DA1B62AFCD594348_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mD62BFB5D4843800B4A741E45A641F4ADE113D420(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_mD62BFB5D4843800B4A741E45A641F4ADE113D420_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m746B31C36F4EA4DEE36100C137BB622A7FE4F896(IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_m746B31C36F4EA4DEE36100C137BB622A7FE4F896_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m901FA6BCD9F6C87B5EBD41947DF80ACD2028AA55(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IClosable_t30CA7D2BE598B3BD6AA57CE9DF977DB51540B953** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m901FA6BCD9F6C87B5EBD41947DF80ACD2028AA55_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tFC2A657FF23B4E467C450C621BD2C11C355A9352_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Input.InputAnimationMarker> struct ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t91F9F4CD9664019B94387710CFAEEE4B585ED276_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputBinding> struct ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tFF9299E240F8992D3EE3E4CB89F462F1A70CCF52_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.InputDevice> struct ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t0D759F4AA634DAA1542DCABCF453F569441E5F14_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.XR.InputDevice> struct ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t16EF1F6AD4B5C9C06845D54FCB14FEF2032A1960_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.XR.InputDeviceCharacteristics> struct ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t11475476F80B096D93FCE92703624F8B04A92153_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.Layouts.InputDeviceDescription> struct ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t4633FB556737D6756ED2CA6DD592802048D825F3_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.LowLevel.InputEventPtr> struct ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t8167507878FBB1F6717C89740CE2879727357945_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorPropertySetting> struct ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t52F340BA9CB512499E5BB43D7BBB51DE1DEA2042_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Int16> struct ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1_ComCallableWrapper>, IVector_1_tA6391BBB37DE0CEA64CC41922B7A7892118AB227, IIterable_1_tFF30A9E323D222B8189CEBCAC40464562B38A0C8, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02 { inline ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVector_1_tA6391BBB37DE0CEA64CC41922B7A7892118AB227::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVector_1_tA6391BBB37DE0CEA64CC41922B7A7892118AB227*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_tFF30A9E323D222B8189CEBCAC40464562B38A0C8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_tFF30A9E323D222B8189CEBCAC40464562B38A0C8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(5); interfaceIds[0] = IVector_1_tA6391BBB37DE0CEA64CC41922B7A7892118AB227::IID; interfaceIds[1] = IIterable_1_tFF30A9E323D222B8189CEBCAC40464562B38A0C8::IID; interfaceIds[2] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[3] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[4] = IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02::IID; *iidCount = 5; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_m21A64A5AF83D486418DDFD5A96DF9CC2AB161BCB(uint32_t ___index0, int16_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetAt_m21A64A5AF83D486418DDFD5A96DF9CC2AB161BCB_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_m82EFFFDAD58D38505683C8043BDF61465786307C(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_get_Size_m82EFFFDAD58D38505683C8043BDF61465786307C_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m90D43A547061BCF6355934785FFDA7A506AADE25(IVectorView_1_t5D2E617B2F06AE1988AD1011CD05B7B988EBAC02** comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetView_m90D43A547061BCF6355934785FFDA7A506AADE25_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_mF2834A87BC5F671D61FBB071CE5F73CB347B8388(int16_t ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_IndexOf_mF2834A87BC5F671D61FBB071CE5F73CB347B8388_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_m30FC58D771364F0D52F4933C1F56C6934C7C181B(uint32_t ___index0, int16_t ___value1) IL2CPP_OVERRIDE { return IVector_1_SetAt_m30FC58D771364F0D52F4933C1F56C6934C7C181B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_m59BED08EED09CC4C0AF4B02EB42B1388D6D35C13(uint32_t ___index0, int16_t ___value1) IL2CPP_OVERRIDE { return IVector_1_InsertAt_m59BED08EED09CC4C0AF4B02EB42B1388D6D35C13_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_m157F65439AB020556F2CDED9AC6CE3F675C4B7AF(uint32_t ___index0) IL2CPP_OVERRIDE { return IVector_1_RemoveAt_m157F65439AB020556F2CDED9AC6CE3F675C4B7AF_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IVector_1_Append_mE97BCBA8A46575F179C94D9B90C8E6B29E89124A(int16_t ___value0) IL2CPP_OVERRIDE { return IVector_1_Append_mE97BCBA8A46575F179C94D9B90C8E6B29E89124A_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_mBA2E94039E6A020C3E742773C37507506D903024() IL2CPP_OVERRIDE { return IVector_1_RemoveAtEnd_mBA2E94039E6A020C3E742773C37507506D903024_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mB9AF03AFF31B915DD3B8F46DA020E18A81FDD518() IL2CPP_OVERRIDE { return IVector_1_Clear_mB9AF03AFF31B915DD3B8F46DA020E18A81FDD518_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_mD8851DBF4427DDB405A087D095A3699A08FC39E8(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int16_t* ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetMany_mD8851DBF4427DDB405A087D095A3699A08FC39E8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m7A2FD1D627344933003727CE43CCD76B39F6EB23(uint32_t ___items0ArraySize, int16_t* ___items0) IL2CPP_OVERRIDE { return IVector_1_ReplaceAll_m7A2FD1D627344933003727CE43CCD76B39F6EB23_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___items0ArraySize, ___items0); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m3B459B11C7ABAED5258B394614E5D1C20BEE5F93(IIterator_1_t9B59C65AF91E97002623682A0C306DEBB34D8DE1** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m3B459B11C7ABAED5258B394614E5D1C20BEE5F93_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m5DE9B2098D4DAE2496F90B054BE80B34EE05AD6E(uint32_t ___index0, int16_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m5DE9B2098D4DAE2496F90B054BE80B34EE05AD6E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0D3C459E16F5437385214CE8009FEAFB744C56C0(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m0D3C459E16F5437385214CE8009FEAFB744C56C0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m8980FDBA6F7FDD65E6FBD85320B163D622B24A90(int16_t ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_m8980FDBA6F7FDD65E6FBD85320B163D622B24A90_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mF11922D03AA08082EED2964166D2AEC053394EA6(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int16_t* ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_mF11922D03AA08082EED2964166D2AEC053394EA6_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t5E6B00808DB37CFD27A6751C519A5A1C829976E1_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Int32> struct ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF_ComCallableWrapper>, IVector_1_tBEB41D631CD5EAA9D9A6001A2B26D97EB506E592, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A { inline ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVector_1_tBEB41D631CD5EAA9D9A6001A2B26D97EB506E592::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVector_1_tBEB41D631CD5EAA9D9A6001A2B26D97EB506E592*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(5); interfaceIds[0] = IVector_1_tBEB41D631CD5EAA9D9A6001A2B26D97EB506E592::IID; interfaceIds[1] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID; interfaceIds[2] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[3] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[4] = IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A::IID; *iidCount = 5; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mC385A4DD94EB1B59BF11654532E06E70157D1B5B(uint32_t ___index0, int32_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetAt_mC385A4DD94EB1B59BF11654532E06E70157D1B5B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_m89D7587FCF4ABB37F45C5C4EA0998AB5A37F57AC(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_get_Size_m89D7587FCF4ABB37F45C5C4EA0998AB5A37F57AC_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m133513A05E0BFD7C6D819AE7DDC905EC28D23816(IVectorView_1_t20EE5E1CF0503314C54E43C97E6D6FF7FEAB850A** comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetView_m133513A05E0BFD7C6D819AE7DDC905EC28D23816_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_m4E270AF507EA151A85A76F345E1855A43E74E833(int32_t ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_IndexOf_m4E270AF507EA151A85A76F345E1855A43E74E833_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_mF48CD85CFFB315F61000C855227B4038B6414963(uint32_t ___index0, int32_t ___value1) IL2CPP_OVERRIDE { return IVector_1_SetAt_mF48CD85CFFB315F61000C855227B4038B6414963_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_mCEDF91EEBB00EE5CFFFB4B67AE44C04F4558CE32(uint32_t ___index0, int32_t ___value1) IL2CPP_OVERRIDE { return IVector_1_InsertAt_mCEDF91EEBB00EE5CFFFB4B67AE44C04F4558CE32_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_m64F11541E6016B3797BC7CE71C82040882E5D6D3(uint32_t ___index0) IL2CPP_OVERRIDE { return IVector_1_RemoveAt_m64F11541E6016B3797BC7CE71C82040882E5D6D3_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IVector_1_Append_m8C18FCE7791B0C65E7E86FF24ED66919552F80DA(int32_t ___value0) IL2CPP_OVERRIDE { return IVector_1_Append_m8C18FCE7791B0C65E7E86FF24ED66919552F80DA_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_m7E510C2AC3F36D9EE9A038720F1130162C552D52() IL2CPP_OVERRIDE { return IVector_1_RemoveAtEnd_m7E510C2AC3F36D9EE9A038720F1130162C552D52_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mA538E886E7F2E0A2443CCA91F18168124036FF9F() IL2CPP_OVERRIDE { return IVector_1_Clear_mA538E886E7F2E0A2443CCA91F18168124036FF9F_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m6508AF32689721AB76FFDEF0189F3A25479F79D9(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int32_t* ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetMany_m6508AF32689721AB76FFDEF0189F3A25479F79D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m7552401994424AF745AEF208E9091F6E6456D41E(uint32_t ___items0ArraySize, int32_t* ___items0) IL2CPP_OVERRIDE { return IVector_1_ReplaceAll_m7552401994424AF745AEF208E9091F6E6456D41E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___items0ArraySize, ___items0); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m9029142654B458A0ECB830FFBA560BB1BEBE6438(uint32_t ___index0, int32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m9029142654B458A0ECB830FFBA560BB1BEBE6438_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m81A8716B8EE4073EB609AB88E9F41ABEF8EBCFB5(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m81A8716B8EE4073EB609AB88E9F41ABEF8EBCFB5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFD8C19EC4BF3B7A54F4FEBF39512C6751710596A(int32_t ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFD8C19EC4BF3B7A54F4FEBF39512C6751710596A_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m0A5BC45B50025F2B15C29CE336E7475591196F2D(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int32_t* ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m0A5BC45B50025F2B15C29CE336E7475591196F2D_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t3E37961FF3644E8E5BC1468444123741B9E47EFF_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Int64> struct ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831_ComCallableWrapper>, IVector_1_tC19D5B7997A342CCE1601A0D6A0DF07867C15B3A, IIterable_1_t30CEC1AA394C5CCDA490BB4CE97C7A91D3122A6F, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96 { inline ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVector_1_tC19D5B7997A342CCE1601A0D6A0DF07867C15B3A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVector_1_tC19D5B7997A342CCE1601A0D6A0DF07867C15B3A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t30CEC1AA394C5CCDA490BB4CE97C7A91D3122A6F::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t30CEC1AA394C5CCDA490BB4CE97C7A91D3122A6F*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(5); interfaceIds[0] = IVector_1_tC19D5B7997A342CCE1601A0D6A0DF07867C15B3A::IID; interfaceIds[1] = IIterable_1_t30CEC1AA394C5CCDA490BB4CE97C7A91D3122A6F::IID; interfaceIds[2] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[3] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[4] = IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96::IID; *iidCount = 5; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IVector_1_GetAt_mF9C6773505E8E9B9F2E7E7DAF967F96A1C2B8F76(uint32_t ___index0, int64_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetAt_mF9C6773505E8E9B9F2E7E7DAF967F96A1C2B8F76_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_get_Size_mCC7FCFB918CC840DA8F762F17B34497ACFE7B25F(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_get_Size_mCC7FCFB918CC840DA8F762F17B34497ACFE7B25F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_GetView_m5B12EFA5AB4033EED4225EF21E700C559350BC88(IVectorView_1_t32F4E1B32732849E657FF87865811353F8BE9C96** comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetView_m5B12EFA5AB4033EED4225EF21E700C559350BC88_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_IndexOf_m7318A3ACFB66E765973C77D45C8263837E61C473(int64_t ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_IndexOf_m7318A3ACFB66E765973C77D45C8263837E61C473_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_SetAt_m06D6488C6592EE79CCAA4861DD163FC9CE5522BA(uint32_t ___index0, int64_t ___value1) IL2CPP_OVERRIDE { return IVector_1_SetAt_m06D6488C6592EE79CCAA4861DD163FC9CE5522BA_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IVector_1_InsertAt_m6894FF296E2F7A67A740962672A1CBAA112B51D2(uint32_t ___index0, int64_t ___value1) IL2CPP_OVERRIDE { return IVector_1_InsertAt_m6894FF296E2F7A67A740962672A1CBAA112B51D2_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAt_m08A7D1362C719C7EE99E32E293E97105967EA3F1(uint32_t ___index0) IL2CPP_OVERRIDE { return IVector_1_RemoveAt_m08A7D1362C719C7EE99E32E293E97105967EA3F1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IVector_1_Append_mD130311A46572F4EBCEC07C75B94A631258096FC(int64_t ___value0) IL2CPP_OVERRIDE { return IVector_1_Append_mD130311A46572F4EBCEC07C75B94A631258096FC_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IVector_1_RemoveAtEnd_m09C39A00FC7774D051AD88157A5B01F2AD422CDA() IL2CPP_OVERRIDE { return IVector_1_RemoveAtEnd_m09C39A00FC7774D051AD88157A5B01F2AD422CDA_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVector_1_Clear_mEDD12D76D5E58834B327194FD8916B5736030033() IL2CPP_OVERRIDE { return IVector_1_Clear_mEDD12D76D5E58834B327194FD8916B5736030033_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVector_1_GetMany_m1474AA7C0F3F775BA481B05222E83E39DD2AA111(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int64_t* ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVector_1_GetMany_m1474AA7C0F3F775BA481B05222E83E39DD2AA111_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVector_1_ReplaceAll_m63FF20B2E64A2C5938105604AD89B47EA9DE79E4(uint32_t ___items0ArraySize, int64_t* ___items0) IL2CPP_OVERRIDE { return IVector_1_ReplaceAll_m63FF20B2E64A2C5938105604AD89B47EA9DE79E4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___items0ArraySize, ___items0); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_mFE037A1FA26B15187119714FC35E6254FAE04579(IIterator_1_t3FD87DAE4281E0090447733627B3A0BA377B6CEC** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_mFE037A1FA26B15187119714FC35E6254FAE04579_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_mB0E991DE9FE594FB2EB2209EA381D1BF0422A8A1(uint32_t ___index0, int64_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_mB0E991DE9FE594FB2EB2209EA381D1BF0422A8A1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m0D8BF7C0B8A40CC705501CC5429AC374E2A83B28(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m0D8BF7C0B8A40CC705501CC5429AC374E2A83B28_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mC043CEC07F57B9F07625CB7A21A7E9A752A6EC46(int64_t ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mC043CEC07F57B9F07625CB7A21A7E9A752A6EC46_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mD6955F92312A5150492E2668D7EAF25C2DBD6351(uint32_t ___startIndex0, uint32_t ___items1ArraySize, int64_t* ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_mD6955F92312A5150492E2668D7EAF25C2DBD6351_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t0E19648F29BC0F3C57E47B010A8CBD3012F4C831_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.IntegratedSubsystem> struct ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tC1CC47313ECB871BB05F184F16EC5E8410E635AD_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.IntegratedSubsystemDescriptor> struct ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t5DD98C8EFDBE25F7CA28A1558F7189391FA0EE14_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.UI.InteractableEvent> struct ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t6029207A908B0C9A0561B83070574B097167C2FA_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.UI.InteractableProfileItem> struct ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t5D9715EB7A5D1731E49416D431C4F6ED550C182D_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.UI.InteractableThemeBase> struct ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t98DA2B0E7B90771B4697330BCFFE58590A428F32_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.InputSystem.Utilities.InternedString> struct ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tD6236E60CDCAF0D410F868100AACD9D209295509_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.Linq.JToken> struct ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113, IIterable_1_t68030302F5F045341EA18D5793D2982A0229A0C9, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A, IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001, IVectorView_1_tF12BFC686BC53C4732E3E15CED4C336F59DA021D, IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A { inline ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t68030302F5F045341EA18D5793D2982A0229A0C9::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t68030302F5F045341EA18D5793D2982A0229A0C9*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_tF12BFC686BC53C4732E3E15CED4C336F59DA021D::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_tF12BFC686BC53C4732E3E15CED4C336F59DA021D*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(10); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IIterable_1_tB7611E3565ADF2561FF7521E03A1E3B93F7BD113::IID; interfaceIds[2] = IIterable_1_t68030302F5F045341EA18D5793D2982A0229A0C9::IID; interfaceIds[3] = IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824::IID; interfaceIds[4] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[5] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[6] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; interfaceIds[7] = IVectorView_1_tDF19789741DDFC543BE092FE627C4F581626F001::IID; interfaceIds[8] = IVectorView_1_tF12BFC686BC53C4732E3E15CED4C336F59DA021D::IID; interfaceIds[9] = IVectorView_1_t7215C7C44306F73B6AC4A835AEABA3B0222EA80A::IID; *iidCount = 10; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m1E9A9F6DA2EC9A3A751A6E85F67C9BB40798A879(IIterator_1_tD5C5DE60C4A835F60D32B19C44430B59B26BFA67** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m1E9A9F6DA2EC9A3A751A6E85F67C9BB40798A879_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_mEC161C6918AC07CCD35F30165C19059B40CE65C9(IIterator_1_t9BD98BF640DD88139F4CE1EEFF81DE452E2AFFB6** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_mEC161C6918AC07CCD35F30165C19059B40CE65C9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m512126C71D7E9D1C31B56F64455F33E9FEEC89F8(IIterator_1_t6A46A7244E5AAD0AE4F2A07AF43DA5052D55F4A4** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m512126C71D7E9D1C31B56F64455F33E9FEEC89F8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m81C572FE9591C741899BB1DBFCBA0D16F83AFA2B(uint32_t ___index0, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m81C572FE9591C741899BB1DBFCBA0D16F83AFA2B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m17D793E25CDC73C302DC09F9F44E3E945DB6D51B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m17D793E25CDC73C302DC09F9F44E3E945DB6D51B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mDE5247D2CA481566F3163DD73813D5197E9A8C9F(IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mDE5247D2CA481566F3163DD73813D5197E9A8C9F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m8C2CC34D9034DFED1C049E407D18F960E9D41D65(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m8C2CC34D9034DFED1C049E407D18F960E9D41D65_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m64E858AD8B3D4244ACF0A2242A234DCB94FB8D54(uint32_t ___index0, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m64E858AD8B3D4244ACF0A2242A234DCB94FB8D54_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mE01789A1C90721DB6BBA81B1A3769E60653CE5FE(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_mE01789A1C90721DB6BBA81B1A3769E60653CE5FE_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mB5A9D6847273099D13BBA93231EA8BF94E3619C5(IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mB5A9D6847273099D13BBA93231EA8BF94E3619C5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m54061C8941806BF519B0BD9B92CEAFD47CB2B791(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IIterable_1_t6359E278A71A51A15FA83695BA7C54F9B3E04824** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m54061C8941806BF519B0BD9B92CEAFD47CB2B791_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m72849F526862E096635BA971A074D9B06ABFEE1E(uint32_t ___index0, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m72849F526862E096635BA971A074D9B06ABFEE1E_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_mB93C08E36F2225BE1862007FAF30C9F2DEE8DAD9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_mB93C08E36F2225BE1862007FAF30C9F2DEE8DAD9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_m3D87181F28EC65303ECB5017476C3B38D0944E17(IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_m3D87181F28EC65303ECB5017476C3B38D0944E17_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_mE432D0460C5D84FEC9104DF80F5809975EAE32F8(uint32_t ___startIndex0, uint32_t ___items1ArraySize, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_mE432D0460C5D84FEC9104DF80F5809975EAE32F8_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tF45374B1B00334ED79FD935E86EE6416E6198410_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.JointKinematicBody> struct ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t53ABA5061686EF291B1659AC28CB2968E7F249BD_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.JsonConverter> struct ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tB28CDD95F05AD338B7878B2ED1EB70CD32499EFB_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.JsonPosition> struct ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t5A9BBD6BB44B971B418C648FBD24644006A43832_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.Serialization.JsonProperty> struct ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t5E689BE1D0B1824BD128DB3EE84B42249BDD04D2_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<TMPro.KerningPair> struct ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t645749E11D4CAEE2F7FC057B0FA9E1EA2AF4DA0D_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.KeyCode> struct ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t4DC2AA16F02069B09AC5045B4C46F98E7003F64F_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Mono.Globalization.Unicode.Level2Map> struct ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tA54C27C95994D654C65FC25124F35C18214DD80D_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.LocalDataStore> struct ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t1785E5961DDDDA0F1EDD74476F2D2AA22A6BF1D9_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.UI.Mask> struct ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t2A2C6CDD333CFB2E158A64B630036ACAD00C809B_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.Material> struct ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tCADCF9DA5D0FC2D0192608B62527DB0BD9BD02D8_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.Matrix4x4> struct ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t446A18E8FDA4FB324C287382EB5ECCD5002863C1_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.Serialization.MemberHolder> struct ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t82DF94A510A9638D8017A61095595F1E08E304DC_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.MemberInfo> struct ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t1BDA19F8C4CB4BE530A2234A21A1B2C9FB3B7991_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<UnityEngine.XR.MeshInfo> struct ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t4F2EEA8552FE78A43619080BA74C999C6EDDE9CD_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.MethodBase> struct ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t1730FE5C8B7B4A018774E335B1752AE9FB663AB3_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.MethodInfo> struct ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_t065B389996DFA5C6E93266B18E7F14B70B6E56F8_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction> struct ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tD29FEAFF80828614266D16ACDEA5FE56D64084F6_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<Microsoft.MixedReality.Toolkit.MixedRealityToolkit> struct ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tA8F1EEE74026CCE5A03F9EF748F52DD01ECEC076_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.ModifierSpec> struct ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC { inline ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2); interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[1] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; *iidCount = 2; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tA59D70A187A06D1884428E83D863E27DDBFF2DF0_ComCallableWrapper(obj)); } // COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyCollection`1<System.Reflection.Module> struct ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8, IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC, IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A { inline ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A_ComCallableWrapper>(obj) {} virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE { if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0 || ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0) { *object = GetIdentity(); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIManagedObjectHolder*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIMarshal*>(this); AddRefImpl(); return IL2CPP_S_OK; } if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0) { *object = static_cast<Il2CppIWeakReferenceSource*>(this); AddRefImpl(); return IL2CPP_S_OK; } *object = NULL; return IL2CPP_E_NOINTERFACE; } virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE { return AddRefImpl(); } virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE { return ReleaseImpl(); } virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE { Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(4); interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID; interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID; interfaceIds[2] = IBindableVector_tC070A96258CD93818901E9B7808E1A8EFB64B7EC::IID; interfaceIds[3] = IVectorView_1_t9D427951F2D09C2E6F846759B5273E993F185D4A::IID; *iidCount = 4; *iids = interfaceIds; return IL2CPP_S_OK; } virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE { return GetRuntimeClassNameImpl(className); } virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE { return ComObjectBase::GetTrustLevel(trustLevel); } virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE { return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE { return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetAt_m33D2170810828C01473D9BDC22745A0354FA4FED_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_get_Size_m45347BCD42A1FE180ED2B377BB9C88C7B50CD7D9_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38(IBindableVectorView_tD80A01049DD2609FEA5FACD5E77BF95A875534FA** comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_GetView_m9736FE93BC8979E0CBF8ED26090D1FE54C2E1A38_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IBindableVector_IndexOf_m2F1A64750D19C5A03E9B65880F4A04275E6AABF4_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_SetAt_mD4C84EC02EAD7F636873B77E6D48E7132055A213_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5(uint32_t ___index0, Il2CppIInspectable* ___value1) IL2CPP_OVERRIDE { return IBindableVector_InsertAt_m19A0C885F7C7A7FFA257A46218D7232317E022B5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, ___value1); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0(uint32_t ___index0) IL2CPP_OVERRIDE { return IBindableVector_RemoveAt_m1AC6E54165809374E91F456B9922A9B24F8652B0_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0); } virtual il2cpp_hresult_t STDCALL IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F(Il2CppIInspectable* ___value0) IL2CPP_OVERRIDE { return IBindableVector_Append_mCA138F8E4026725AC867B607FA63709B6752BB7F_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0); } virtual il2cpp_hresult_t STDCALL IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3() IL2CPP_OVERRIDE { return IBindableVector_RemoveAtEnd_mB3178911995D4CC7BAC0EA43720C1280267E54E3_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF() IL2CPP_OVERRIDE { return IBindableVector_Clear_mEF05B40EFF6D42CBB5A5E336B0946FECE7A4A6EF_ComCallableWrapperProjectedMethod(GetManagedObjectInline()); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260(uint32_t ___index0, Il2CppIInspectable** comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetAt_m38CCDDE1E25317AEF5170D9818FC01816AF34260_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___index0, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B(uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_get_Size_m33BC340C458F20A80A8B07FF4764CEF1F5513F8B_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67(Il2CppIInspectable* ___value0, uint32_t* ___index1, bool* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_IndexOf_mFAE432DA0C1902EEF54AB68CFFD3E2182C443F67_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___value0, ___index1, comReturnValue); } virtual il2cpp_hresult_t STDCALL IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1(uint32_t ___startIndex0, uint32_t ___items1ArraySize, Il2CppIInspectable** ___items1, uint32_t* comReturnValue) IL2CPP_OVERRIDE { return IVectorView_1_GetMany_m6AA46969FB50015EB7107EBCC29E48B7AD4BB6B1_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), ___startIndex0, ___items1ArraySize, ___items1, comReturnValue); } }; IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A(RuntimeObject* obj) { void* memory = il2cpp::utils::Memory::Malloc(sizeof(ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A_ComCallableWrapper)); if (memory == NULL) { il2cpp_codegen_raise_out_of_memory_exception(); } return static_cast<Il2CppIManagedObjectHolder*>(new(memory) ReadOnlyCollection_1_tDC47EDB759259477B4076EB761E685C1E0EA566A_ComCallableWrapper(obj)); }
share-framework/share-platform-maven
share-basic/share-api/src/main/java/org/andot/share/basic/components/handler/UserMetaObjectHandler.java
<reponame>share-framework/share-platform-maven<filename>share-basic/share-api/src/main/java/org/andot/share/basic/components/handler/UserMetaObjectHandler.java<gh_stars>0 package org.andot.share.basic.components.handler; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import org.andot.share.basic.components.utils.CurrentUserUtil; import org.apache.ibatis.reflection.MetaObject; import org.springframework.stereotype.Component; import java.sql.Date; import java.time.LocalDateTime; import java.time.ZoneId; /** * 字段自动填充 * <a href="https://mp.baomidou.com/guide/auto-fill-metainfo.html">查看</a> * @author andot */ @Component public class UserMetaObjectHandler implements MetaObjectHandler { @Override public void insertFill(MetaObject metaObject) { this.fillStrategy(metaObject, "createdTime", Date.from(LocalDateTime.now().atZone(ZoneId.systemDefault()).toInstant())); this.fillStrategy(metaObject, "createdPerson", CurrentUserUtil.getUserName()); } @Override public void updateFill(MetaObject metaObject) { this.fillStrategy(metaObject, "updatedTime", Date.from(LocalDateTime.now().atZone(ZoneId.systemDefault()).toInstant())); this.fillStrategy(metaObject, "updatedPerson", CurrentUserUtil.getUserName()); } }
Maliarte/PrograminC
Funcao/BibliotecaDigital.c
#include <stdio.h> int somaAlgarismos (int a){ int soma, div1, div2; div1 = a/10; div2 = a%10; soma = div1 + div2; return soma; } int main (void){ int dia, mes, ano, diaSoma, mesSoma, ano1, anoSoma; printf ("Entre com o dia do seu nascimento: "); scanf ("%d", &dia); printf ("Entre com o mes do seu nascimento: "); scanf ("%d", &mes); printf ("Entre com o ano do seu nascimento com 4 digitos: "); scanf ("%d", &ano); diaSoma = somaAlgarismos (dia); mesSoma = somaAlgarismos (mes); ano1 = ano %100; anoSoma = somaAlgarismos (ano1); printf ("SENHA: %d%d%d", diaSoma, mesSoma, anoSoma); return 0; }