]> granicus.if.org Git - icu/commitdiff
ICU-22193 fix some CI test failures
authorMarkus Scherer <markus.icu@gmail.com>
Mon, 12 Dec 2022 22:12:20 +0000 (14:12 -0800)
committerMarkus Scherer <markus.icu@gmail.com>
Tue, 13 Dec 2022 19:18:44 +0000 (11:18 -0800)
icu4c/source/common/unicode/icuplug.h
icu4c/source/common/unicode/uclean.h
icu4c/source/test/depstest/dependencies.txt

index 205af360d45e9e622729a7d400df4cd5b523e44d..c787fcd426643e42b904570971273344c6fb545c 100644 (file)
@@ -187,8 +187,12 @@ typedef enum {
 
 /**
  * Entrypoint for an ICU plugin.
- * @param plug the UPlugData handle. 
- * @param status the plugin's extended status code.
+ * @param plug the UPlugData handle.
+ * @param reason the reason code for the entrypoint's call.
+ * @param status Standard ICU error code. Its input value must
+ *               pass the U_SUCCESS() test, or else the function returns
+ *               immediately. Check for U_FAILURE() on output or use with
+ *               function chaining. (See User Guide for details.)
  * @return A valid plugin must return UPLUG_TOKEN
  * @internal ICU 4.4 Technology Preview
  */
index c2d920a16ef48a73ee8063eb738dbcec1c2a17d3..f5b0aa088a94143245fca9ef03ad342ab408f231 100644 (file)
@@ -114,7 +114,8 @@ typedef void *U_CALLCONV UMemAllocFn(const void *context, size_t size);
 /**
   *  Pointer type for a user supplied memory re-allocation function.
   *  @param context user supplied value, obtained from u_setMemoryFunctions().
-  *  @param size    The number of bytes to be allocated
+  *  @param mem     Pointer to the memory block to be resized.
+  *  @param size    The new size for the block.
   *  @return        Pointer to the newly allocated memory, or NULL if the allocation failed.
   *  @stable ICU 2.8
   *  @system
@@ -124,8 +125,7 @@ typedef void *U_CALLCONV UMemReallocFn(const void *context, void *mem, size_t si
   *  Pointer type for a user supplied memory free  function.  Behavior should be
   *  similar the standard C library free().
   *  @param context user supplied value, obtained from u_setMemoryFunctions().
-  *  @param mem     Pointer to the memory block to be resized
-  *  @param size    The new size for the block
+  *  @param mem     Pointer to the memory block to be freed.
   *  @return        Pointer to the resized memory block, or NULL if the resizing failed.
   *  @stable ICU 2.8
   *  @system
index 7460caa7cddf9ae887e964e88fbd8612db7fae98..0a33ab038e9f6371e0d3ac3bec31c158eb5da0d4 100644 (file)
@@ -48,6 +48,9 @@ group: std_mutex
     std::condition_variable::~condition_variable()
     std::condition_variable_any::condition_variable_any()
     std::condition_variable_any::~condition_variable_any()
+    pthread_once
+    pthread_mutex_lock
+    pthread_mutex_unlock
 
 group: ubsan
     # UBSan=UndefinedBehaviorSanitizer, clang -fsanitize=bounds