native_amd64.tmpl (3669B)
1 /* 2 * Copyright 2021 ByteDance Inc. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package {{PACKAGE}} 18 19 import ( 20 `unsafe` 21 22 `github.com/bytedance/sonic/internal/native/types` 23 ) 24 25 //go:nosplit 26 //go:noescape 27 //goland:noinspection GoUnusedParameter 28 func __i64toa(out *byte, val int64) (ret int) 29 30 //go:nosplit 31 //go:noescape 32 //goland:noinspection GoUnusedParameter 33 func __u64toa(out *byte, val uint64) (ret int) 34 35 //go:nosplit 36 //go:noescape 37 //goland:noinspection GoUnusedParameter 38 func __f64toa(out *byte, val float64) (ret int) 39 40 //go:nosplit 41 //go:noescape 42 //goland:noinspection GoUnusedParameter 43 func __f32toa(out *byte, val float32) (ret int) 44 45 //go:nosplit 46 //go:noescape 47 //goland:noinspection GoUnusedParameter 48 func __lspace(sp unsafe.Pointer, nb int, off int) (ret int) 49 50 //go:nosplit 51 //go:noescape 52 //goland:noinspection GoUnusedParameter 53 func __quote(sp unsafe.Pointer, nb int, dp unsafe.Pointer, dn *int, flags uint64) (ret int) 54 55 //go:nosplit 56 //go:noescape 57 //goland:noinspection GoUnusedParameter 58 func __html_escape(sp unsafe.Pointer, nb int, dp unsafe.Pointer, dn *int) (ret int) 59 60 //go:nosplit 61 //go:noescape 62 //goland:noinspection GoUnusedParameter 63 func __unquote(sp unsafe.Pointer, nb int, dp unsafe.Pointer, ep *int, flags uint64) (ret int) 64 65 //go:nosplit 66 //go:noescape 67 //goland:noinspection GoUnusedParameter 68 func __value(s unsafe.Pointer, n int, p int, v *types.JsonState, flags uint64) (ret int) 69 70 //go:nosplit 71 //go:noescape 72 //goland:noinspection GoUnusedParameter 73 func __vstring(s *string, p *int, v *types.JsonState, flags uint64) 74 75 //go:nosplit 76 //go:noescape 77 //goland:noinspection GoUnusedParameter 78 func __vnumber(s *string, p *int, v *types.JsonState) 79 80 //go:nosplit 81 //go:noescape 82 //goland:noinspection GoUnusedParameter 83 func __vsigned(s *string, p *int, v *types.JsonState) 84 85 //go:nosplit 86 //go:noescape 87 //goland:noinspection GoUnusedParameter 88 func __vunsigned(s *string, p *int, v *types.JsonState) 89 90 //go:nosplit 91 //go:noescape 92 //goland:noinspection GoUnusedParameter 93 func __skip_one(s *string, p *int, m *types.StateMachine, flags uint64) (ret int) 94 95 //go:nosplit 96 //go:noescape 97 //goland:noinspection GoUnusedParameter 98 func __skip_one_fast(s *string, p *int) (ret int) 99 100 //go:nosplit 101 //go:noescape 102 //goland:noinspection GoUnusedParameter 103 func __skip_array(s *string, p *int, m *types.StateMachine, flags uint64) (ret int) 104 105 //go:nosplit 106 //go:noescape 107 //goland:noinspection GoUnusedParameter 108 func __skip_object(s *string, p *int, m *types.StateMachine, flags uint64) (ret int) 109 110 //go:nosplit 111 //go:noescape 112 //goland:noinspection GoUnusedParameter 113 func __skip_number(s *string, p *int) (ret int) 114 115 //go:nosplit 116 //go:noescape 117 //goland:noinspection GoUnusedParameter 118 func __validate_one(s *string, p *int, m *types.StateMachine) (ret int) 119 120 //go:nosplit 121 //go:noescape 122 //goland:noinspection GoUnusedParameter 123 func __get_by_path(s *string, p *int, path *[]interface{}, m *types.StateMachine) (ret int) 124 125 //go:nosplit 126 //go:noescape 127 //goland:noinspection GoUnusedParameter 128 func __validate_utf8(s *string, p *int, m *types.StateMachine) (ret int) 129 130 //go:nosplit 131 //go:noescape 132 //goland:noinspection GoUnusedParameter 133 func __validate_utf8_fast(s *string) (ret int)