MCPcopy Create free account

hub / github.com/davmac314/dinit / functions

Functions1,514 in github.com/davmac314/dinit

↓ 581 callersMethodget_state
src/includes/service.h:630
↓ 383 callersMethodprocess_queues
Process state propagation and start/stop queues, until they are empty.
src/includes/service.h:1186
↓ 212 callersMethodadd_service
src/includes/service.h:1091
↓ 205 callersMethodc_str
src/includes/dinit-util.h:1302
↓ 200 callersMethodsize
src/includes/dinit-util.h:96
↓ 158 callersMethodstart
Start, in specified working directory, with given arguments
src/igr-tests/igr.h:197
↓ 149 callersMethodend
src/includes/dinit-util.h:105
↓ 125 callersFunctionclose
src/tests/test-bpsys.cc:557
↓ 107 callersMethodlength
src/includes/dinit-util.h:1317
↓ 101 callersMethodempty
src/includes/dinit-util.h:1312
↓ 97 callersMethodbegin
src/includes/dinit-util.h:104
↓ 97 callersMethoddata
src/includes/dinit-util.h:95
↓ 96 callersMethodconsume
Remove the given number of bytes from the start of the buffer.
src/includes/cpbuffer.h:114
↓ 96 callersMethodemplace_back
dasynq/include/dasynq/svec.h:201
↓ 90 callersFunctionlog
Log a message. A newline will be appended.
src/dinit-log.cc:483
↓ 80 callersMethodwait_for_term
src/igr-tests/igr.h:230
↓ 78 callersMethodinsert
src/includes/dinit-ll.h:131
↓ 73 callersMethodappend
src/includes/dinit-ll.h:45
↓ 66 callersMethodfind_service
src/service.cc:37
↓ 65 callersFunctionigr_assert_eq
src/igr-tests/igr.h:484
↓ 62 callersMethodremove_service
src/includes/service.h:1096
↓ 61 callersMethodget_target_state
Get the target (aka desired) state.
src/includes/service.h:555
↓ 61 callersFunctionliteral
src/includes/static-string.h:55
↓ 60 callersMethodpush_back
dasynq/include/dasynq/svec.h:181
↓ 59 callersMethodextract
Extract bytes from the buffer. The bytes remain in the buffer.
src/includes/cpbuffer.h:122
↓ 59 callersMethodstop
src/service.cc:601
↓ 58 callersMethodget_length
src/includes/cpbuffer.h:23
↓ 57 callersMethodstart_service
Start the specified service. The service will be marked active.
src/includes/service.h:1038
↓ 55 callersFunctionread_setting_value
Read a setting value, with an assignment or plus-assignment (append). In general a setting value is a single-line string. It may contain multiple par
src/includes/load-service.h:501
↓ 52 callersMethodstarted
src/tests/test_service.h:58
↓ 51 callersFunctioninit_service_defaults
src/tests/test_procservice.h:60
↓ 49 callersFunctionigr_assert
src/igr-tests/igr.h:492
↓ 47 callersFunctionextract_written_data
retrieve data written via write()
src/tests/test-bpsys.cc:331
↓ 47 callersFunctionread_file_contents
read entire file contents as a string
src/igr-tests/igr.h:448
↓ 45 callersMethodcount_active_services
Find out how many services are active (starting, running or stopping, but not stopped).
src/includes/service.h:1256
↓ 41 callersFunctionsupply_read_data
Supply data to be returned by read()
src/tests/test-bpsys.cc:303
↓ 37 callersMethodfind
src/includes/dinit-util.h:109
↓ 36 callersMethodnseconds
dasynq/include/dasynq/timerbase.h:40
↓ 36 callersMethodread_ready
src/includes/control.h:69
↓ 34 callersFunctionallocfd
Allocate a file descriptor
src/tests/test-bpsys.cc:281
↓ 34 callersMethoderase
src/includes/dinit-util.h:1044
↓ 34 callersMethodseconds
dasynq/include/dasynq/timerbase.h:39
↓ 33 callersFunctionfcntl
src/tests/test-includes/baseproc-sys.h:67
↓ 33 callersFunctionwait_for_reply
Wait for a reply packet, skipping over any information packets that are received in the meantime. Note the reply packet may be partially read. Caller
src/includes/dinit-client.h:201
↓ 31 callersFunctionopen
src/tests/test-bpsys.cc:469
↓ 30 callersMethodget_to
src/includes/service.h:193
↓ 30 callersMethodunlock
dasynq/include/dasynq/mutex.h:13
↓ 29 callersFunctionfill_buffer_to
Fill a circular buffer from a file descriptor, until it contains at least _rlength_ bytes. Throws cp_read_exception if the requested number of bytes c
src/includes/dinit-client.h:156
↓ 28 callersMethodget_stdout
src/igr-tests/igr.h:260
↓ 26 callersMethodlock
dasynq/include/dasynq/mutex.h:12
↓ 26 callersFunctionwrite_all_x
Write all the requested buffer, and throw an exception on failure. Note: count is int
src/includes/dinit-client.h:319
↓ 25 callersMethodget_from
src/includes/service.h:188
↓ 25 callersMethodget_ptr
src/includes/cpbuffer.h:33
↓ 24 callersMethodprep_socket_path
src/igr-tests/igr.h:383
↓ 23 callersMethodadvance_time
Advance the simulated current time by the given amount, and call timer callbacks.
src/tests/test-includes/dinit.h:33
↓ 23 callersMethodappend
Append a message. If the message will not fit in the buffer, discard it and mark overflow.
src/shutdown.cc:120
↓ 23 callersMethodget_stop_reason
Why did the service stop?
src/includes/service.h:729
↓ 23 callersMethodget_type
Get the type of this service record
src/includes/service.h:541
↓ 23 callersFunctionread
src/tests/test-bpsys.cc:578
↓ 23 callersMethodset_var
src/includes/dinit-env.h:285
↓ 22 callersMethodclear
Resets current state, other than 'buffer_fail_bit', to clear (error-free).
src/includes/dinit-iostream.h:351
↓ 22 callersMethodset_auto_restart
Set whether this service should automatically restart when it dies
src/includes/service.h:583
↓ 21 callersFunctionfind_service
src/tests/cptests/cptests.cc:120
↓ 21 callersMethodget
src/includes/dinit-util.h:203
↓ 21 callersMethodstopped
src/tests/test_service.h:40
↓ 19 callersMethodderegister
src/tests/test-includes/dinit.h:236
↓ 19 callersFunctionsupply_pid_contents
simulate the launcher process forking a daemon process, and supply the process ID of that daemon process in a pid file.
src/tests/proctests.cc:1413
↓ 19 callersFunctionwrite
src/tests/test-bpsys.cc:590
↓ 18 callersMethodempty
dasynq/include/dasynq/svec.h:235
↓ 18 callersMethodget_stderr
src/igr-tests/igr.h:265
↓ 18 callersMethodset_restart_delay
src/includes/proc-service.h:533
↓ 18 callersFunctionsetenv
src/tests/test-bpsys.cc:627
↓ 17 callersMethodstop_timer
src/tests/test-includes/dinit.h:231
↓ 16 callersFunctiongetenv
src/tests/test-bpsys.cc:614
↓ 16 callersMethodis_in
src/includes/dinit-util.h:38
↓ 16 callersFunctionload_service
Load a service: issue load command, wait for reply. Parameters: dinit_conn - details of the connection to dinit server process name - the name of the
src/dinitctl.cc:716
↓ 16 callersMethodset_pid_file
src/includes/proc-service.h:822
↓ 16 callersFunctionvalue
src/includes/dinit-util.h:52
↓ 15 callersFunctionreport_service_description_err
src/dinit-check.cc:558
↓ 15 callersMethodreserve
dasynq/include/dasynq/svec.h:249
↓ 15 callersMethodset_smooth_recovery
src/includes/service.h:588
↓ 14 callersMethodadd_watch
src/tests/test-includes/dinit.h:121
↓ 14 callersMethodclear
src/dinit-iostream.cc:494
↓ 14 callersMethodget_pid
src/includes/service.h:744
↓ 14 callersMethodprep_output_file
Prepare an output file in the output directory: determine full path name, unlink any existing file
src/igr-tests/igr.h:373
↓ 14 callersFunctionread_value_resolved
src/includes/load-service.h:1438
↓ 13 callersMethodget_exit_status
src/includes/service.h:749
↓ 13 callersMethodsigmaskf
Alter the current thread signal mask using the correct function (sigprocmask or pthread_sigmask):
dasynq/include/dasynq/basewatchers.h:44
↓ 13 callersFunctionvalue_var_subst
src/includes/load-service.h:1208
↓ 12 callersMethodadd_prop_queue
Add a service record to the state propagation queue. The service record will have its do_propagation() method called when the queue is processed.
src/includes/service.h:1169
↓ 12 callersMethodget_contiguous_length
src/includes/cpbuffer.h:46
↓ 12 callersMethodsubstr
src/includes/dinit-util.h:1322
↓ 11 callersMethodfill_to
fill by reading from the given fd, until at least the specified number of bytes are in the buffer. Return 0 if end-of-file reached before fill complet
src/includes/cpbuffer.h:91
↓ 11 callersFunctionkill
src/tests/test-bpsys.cc:572
↓ 10 callersFunctionlog
Convenience methods which perform type conversion of the argument.
src/includes/dinit-log.h:86
↓ 10 callersMethodpush
Push a new input file TODO limit depth and/or prevent recursion
src/includes/file-input-stack.h:39
↓ 10 callersMethodrestart
src/service.cc:637
↓ 10 callersMethodstop_service
Stop the specified service. Its active mark will be cleared.
src/includes/service.h:1045
↓ 10 callersFunctionsupply_file_content
Supply a file content
src/tests/test-bpsys.cc:440
↓ 9 callersMethodforced_stop
Mark this and all dependent services to be force-stopped.
src/service.cc:583
next →1–100 of 1,514, ranked by callers