Home
last modified time | relevance | path

Searched refs:JSON_NEGATIVE_INFINITY (Results 1 – 4 of 4) sorted by relevance

/thrift-3.4.0/lib/go/thrift/
Dsimple_json_protocol_test.go331 if s != jsonQuote(JSON_NEGATIVE_INFINITY) {
332 …ad value for %s %v, wrote: %v, expected: %v", thetype, value, s, jsonQuote(JSON_NEGATIVE_INFINITY))
572 if s.(string) != JSON_NEGATIVE_INFINITY {
573 … expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote(JSON_NEGATIVE_INFINITY), str)
626 if s.(string) != JSON_NEGATIVE_INFINITY {
627 … expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote(JSON_NEGATIVE_INFINITY), str)
696 if s != jsonQuote(JSON_NEGATIVE_INFINITY) {
697 … at index %v %v, wrote: %v, expected: %v", thetype, k, value, s, jsonQuote(JSON_NEGATIVE_INFINITY))
Djson_protocol_test.go295 if s != jsonQuote(JSON_NEGATIVE_INFINITY) {
296 …ad value for %s %v, wrote: %v, expected: %v", thetype, value, s, jsonQuote(JSON_NEGATIVE_INFINITY))
504 if s.(string) != JSON_NEGATIVE_INFINITY {
505 … expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote(JSON_NEGATIVE_INFINITY), str)
558 if s.(string) != JSON_NEGATIVE_INFINITY {
559 … expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote(JSON_NEGATIVE_INFINITY), str)
628 … at index %v %v, wrote: %v, expected: %v", thetype, k, value, s, jsonQuote(JSON_NEGATIVE_INFINITY))
Dsimple_json_protocol.go169 JSON_NEGATIVE_INFINITY string var
189 JSON_NEGATIVE_INFINITY = "-Infinity"
707 v = string(JSON_QUOTE) + JSON_NEGATIVE_INFINITY + string(JSON_QUOTE)
1276 } else if buf.Len() == 1 && buf.Bytes()[0] == JSON_NEGATIVE_INFINITY[0] {
1277 buffer := make([]byte, len(JSON_NEGATIVE_INFINITY))
1278 buffer[0] = JSON_NEGATIVE_INFINITY[0]
1284 if JSON_NEGATIVE_INFINITY != string(buffer) {
1285 e := mismatch(JSON_NEGATIVE_INFINITY, string(buffer))
Dnumeric.go107 if sValue == JSON_NEGATIVE_INFINITY {