MCPcopy Create free account

hub / github.com/chadaustin/sajson / functions

Functions327 in github.com/chadaustin/sajson

↓ 96 callersMethodget_type
Returns the JSON value's \ref type.
include/sajson.h:462
↓ 74 callersFunctionparse
include/sajson.h:2593
↓ 58 callersMethodget_array_element
Returns the nth element of an array. Calling with an out-of-bound index is undefined behavior. Only legal if get_type() is TYPE_ARRAY.
include/sajson.h:514
↓ 48 callersMethodGetFailureCount
third-party/UnitTest++/src/TestResults.cpp:54
↓ 46 callersMethodget_length
Returns the length of the object or array. Only legal if get_type() is TYPE_ARRAY or TYPE_OBJECT.
include/sajson.h:506
↓ 39 callersMethodget_root
If is_valid(), returns the document's root \ref value.
include/sajson.h:846
↓ 37 callersMethodis_valid
* Returns true if the document was parsed successfully. * If true, call get_root() to access the document's root value. * If false, call get
include/sajson.h:841
↓ 37 callersFunctionsuccess
tests/test.cpp:24
↓ 32 callersMethodAdd
third-party/UnitTest++/src/TestList.cpp:14
↓ 31 callersMethodget_error_line
If not is_valid(), returns the one-based line number where the parse failed.
include/sajson.h:850
↓ 30 callersMethod_internal_get_error_code
WARNING: Internal function which is subject to change
include/sajson.h:873
↓ 27 callersMethodGetText
third-party/UnitTest++/src/MemoryOutStream.cpp:8
↓ 24 callersMethodget_error_column
If not is_valid(), returns the one-based column number where the parse failed.
include/sajson.h:854
↓ 23 callersFunctionget_error_text
include/sajson.h:750
↓ 20 callersMethodOnTestFailure
third-party/UnitTest++/src/TestResults.cpp:25
↓ 19 callersMethodGetHead
third-party/UnitTest++/src/TestList.cpp:29
↓ 18 callersMethodRunTestsIf
third-party/UnitTest++/src/TestRunner.h:31
↓ 14 callersMethodReportTestStart
third-party/UnitTest++/src/tests/RecordingReporter.h:36
↓ 14 callersMethodget_double_value
If a numeric value was parsed as a double, returns it. Only legal if get_type() is TYPE_DOUBLE.
include/sajson.h:594
↓ 14 callersMethodget_integer_value
If a numeric value was parsed as a 32-bit integer, returns it. Only legal if get_type() is TYPE_INTEGER.
include/sajson.h:587
↓ 13 callersMethodlength
include/sajson.h:254
↓ 12 callersMethodget_number_value
Returns a numeric value as a double-precision float. Only legal if get_type() is TYPE_INTEGER or TYPE_DOUBLE.
include/sajson.h:601
↓ 11 callersMethodReportFailure
third-party/UnitTest++/src/tests/RecordingReporter.h:45
↓ 11 callersMethodRun
third-party/UnitTest++/src/Test.cpp:32
↓ 11 callersMethoddata
include/sajson.h:252
↓ 11 callersMethodget_data
include/sajson.h:220
↓ 9 callersMethodas_string
Returns a string's value as a std::string. Only legal if get_type() is TYPE_STRING.
include/sajson.h:666
↓ 9 callersFunctionunwrap
swift/sajson/sajson-ffi.cpp:10
↓ 8 callersFunctionCheckClose
third-party/UnitTest++/src/Checks.h:45
↓ 8 callersFunctionCheckEqual
third-party/UnitTest++/src/Checks.h:19
↓ 8 callersMethodReportSummary
third-party/UnitTest++/src/tests/RecordingReporter.h:67
↓ 8 callersFunctionThrowingFunction
third-party/UnitTest++/src/tests/TestCheckMacros.cpp:65
↓ 8 callersMethodget_int53_value
Returns true and writes to the output argument if the numeric value fits in a 53-bit integer. This is useful for timestamps and other situations wher
include/sajson.h:617
↓ 7 callersFunctionFormatToStream
third-party/UnitTest++/src/MemoryOutStream.cpp:29
↓ 7 callersMethodOnTestStart
third-party/UnitTest++/src/TestResults.cpp:17
↓ 7 callersMethodReportTestFinish
third-party/UnitTest++/src/tests/RecordingReporter.h:57
↓ 7 callersMethodfind_object_key
Given a string key, returns the index of the associated value if one exists. Returns get_length() if there is no such key. Note: sajson sorts object
include/sajson.h:562
↓ 7 callersMethodget_string_length
Returns the length of the string. Only legal if get_type() is TYPE_STRING.
include/sajson.h:647
↓ 7 callersMethodget_value_of_key
Given a string key, returns the value with that key or a null value if the key is not found. Running time is O(lg N). Only legal if get_type() is TYP
include/sajson.h:548
↓ 7 callersFunctionmake_element
include/sajson.h:131
↓ 6 callersMethodas_cstring
Returns a pointer to the beginning of a string value's data. WARNING: Calling this function and using the return value as a C-style string (that is, w
include/sajson.h:658
↓ 6 callersMethodget_object_value
Returns the nth value of an object. Calling with an out-of-bound index is undefined behavior. Only legal if get_type() is TYPE_OBJECT.
include/sajson.h:535
↓ 6 callersMethodreserve
include/sajson.h:1075
↓ 5 callersMethodGetFailedTestCount
third-party/UnitTest++/src/TestResults.cpp:49
↓ 5 callersFunctionReplaceChar
third-party/UnitTest++/src/XmlTestReporter.cpp:14
↓ 5 callersFunctionReportAssert
third-party/UnitTest++/src/ReportAssert.cpp:5
↓ 5 callersFunctionget_element_tag
include/sajson.h:125
↓ 5 callersFunctionget_element_value
include/sajson.h:129
↓ 5 callersFunctionis_plain_string_character
include/sajson.h:168
↓ 5 callersMethodpush
include/sajson.h:986
↓ 4 callersFunctionCheckStringsEqual
third-party/UnitTest++/src/Checks.cpp:8
↓ 4 callersFunctionFunctionWithSideEffects
third-party/UnitTest++/src/tests/TestCheckMacros.cpp:188
↓ 4 callersMethodOnTestFinish
third-party/UnitTest++/src/TestResults.cpp:38
↓ 4 callersMethodget_error_message_as_cstring
If not is_valid(), returns a null-terminated C string indicating why the parse failed.
include/sajson.h:866
↓ 4 callersMethodget_object_key
Returns the nth key of an object. Calling with an out-of-bound index is undefined behavior. Only legal if get_type() is TYPE_OBJECT.
include/sajson.h:527
↓ 3 callersFunctionCheckArray2DClose
third-party/UnitTest++/src/Checks.h:119
↓ 3 callersFunctionCheckArrayClose
third-party/UnitTest++/src/Checks.h:96
↓ 3 callersMethodGetCapacity
third-party/UnitTest++/src/MemoryOutStream.cpp:123
↓ 3 callersMethodGetTimeInMs
third-party/UnitTest++/src/Posix/TimeHelpers.cpp:18
↓ 3 callersMethodGetTotalTestCount
third-party/UnitTest++/src/TestResults.cpp:44
↓ 3 callersMethodStart
third-party/UnitTest++/src/Posix/TimeHelpers.cpp:12
↓ 3 callersMethodget_error_message_as_string
If not is_valid(), returns a std::string indicating why the parse failed.
include/sajson.h:859
↓ 3 callersMethodget_size
include/sajson.h:1007
↓ 3 callersMethodwhat
third-party/UnitTest++/src/AssertException.cpp:19
↓ 2 callersFunctionAreClose
third-party/UnitTest++/src/Checks.h:39
↓ 2 callersFunctionArrayAreClose
third-party/UnitTest++/src/Checks.h:87
↓ 2 callersFunctionCheckArrayEqual
third-party/UnitTest++/src/Checks.h:59
↓ 2 callersMethodFilename
third-party/UnitTest++/src/AssertException.cpp:24
↓ 2 callersFunctionFunctionWithSideEffects2
third-party/UnitTest++/src/tests/TestCheckMacros.cpp:582
↓ 2 callersFunctionFunctionWithSideEffects3
third-party/UnitTest++/src/tests/TestCheckMacros.cpp:766
↓ 2 callersMethodLineNumber
third-party/UnitTest++/src/AssertException.cpp:29
↓ 2 callersFunctionRunAllTests
third-party/UnitTest++/src/TestRunner.cpp:13
↓ 2 callersMethod_internal_get_error_argument
WARNING: Internal function which is subject to change
include/sajson.h:876
↓ 2 callersMethodcan_grow
include/sajson.h:1323
↓ 2 callersFunctionfindExtreme
(direction)
tools/genpow10.js:3
↓ 2 callersMethodget_pointer_from_offset
include/sajson.h:1011
↓ 2 callersMethodget_top
include/sajson.h:1009
↓ 2 callersMethodget_write_pointer_of
include/sajson.h:1073
↓ 2 callersFunctionload
include/sajson.h:414
↓ 2 callersMethodmatch
include/sajson.h:368
↓ 2 callersMethodreset
include/sajson.h:1005
↓ 2 callersFunctionshould_binary_search
* get_value_of_key for objects is O(lg N), but most objects have * small, bounded key sets, and the sort adds parsing overhead when a * linear scan
include/sajson.h:96
↓ 2 callersFunctionstore
include/sajson.h:420
↓ 2 callersFunctionwrap
swift/sajson/sajson-ffi.cpp:14
↓ 1 callersFunctionBuildFailureMessage
third-party/UnitTest++/src/XmlTestReporter.cpp:33
↓ 1 callersFunctionCheckBool
third-party/UnitTest++/src/tests/TestUnitTest++.cpp:146
↓ 1 callersFunctionExecuteTest
third-party/UnitTest++/src/ExecuteTest.h:16
↓ 1 callersFunctionFail
third-party/UnitTest++/src/tests/TestTest.cpp:113
↓ 1 callersMethodReportFailure
third-party/UnitTest++/src/TestReporterStdout.cpp:8
↓ 1 callersMethodReportSummary
third-party/UnitTest++/src/XmlTestReporter.cpp:49
↓ 1 callersMethodReportTestFinish
third-party/UnitTest++/src/TestReporterStdout.cpp:24
↓ 1 callersMethodReportTestStart
third-party/UnitTest++/src/TestReporterStdout.cpp:20
↓ 1 callersFunctionRoundUpToMultipleOfPow2Number
third-party/UnitTest++/src/MemoryOutStream.cpp:38
↓ 1 callersMethodRunImpl
third-party/UnitTest++/src/Test.cpp:37
↓ 1 callersFunctionXmlEscape
third-party/UnitTest++/src/XmlTestReporter.cpp:20
↓ 1 callersMethod_internal_get_root
WARNING: Internal function exposed only for high-performance language bindings.
include/sajson.h:889
↓ 1 callersMethod_internal_get_root_tag
WARNING: Internal function exposed only for high-performance language bindings.
include/sajson.h:885
↓ 1 callersMethodget_ast_root
include/sajson.h:1081
↓ 1 callersMethodget_document
include/sajson.h:1580
↓ 1 callersMethodget_stack_head
include/sajson.h:1066
next →1–100 of 327, ranked by callers